[haiku-bugs] [Haiku] #5137: [PATCH] Compressed Kernel and Modules.

  • From: "Grey" <trac@xxxxxxxxxxxx>
  • Date: Wed, 16 Dec 2009 19:56:41 -0000

#5137: [PATCH] Compressed Kernel and Modules.
------------------------------------+---------------------------------------
 Reporter:  Grey                    |       Owner:  axeld    
     Type:  enhancement             |      Status:  new      
 Priority:  normal                  |   Milestone:  R1       
Component:  System/Boot Loader      |     Version:  R1/alpha1
 Keywords:  compressed kernel CELF  |   Blockedby:           
 Platform:  All                     |    Blocking:           
------------------------------------+---------------------------------------
 Patch for loading compressed kernel and modules (and uncompressed too).
 It's accelerate system loading.[[BR]]
 Utility "recompress" used for compressing or decompressing kernel and
 drivers.[[BR]]
 It's working patch, but not perfect. Because I am newbie in Haiku and jam.
 For example:[[BR]]
 1.[[BR]]
 actions CompressFile1[[BR]]
 {[[BR]]
 echo
 
"$(HAIKU_TOP)/generated/objects/linux/$(TARGET_ARCH)/release/bin/recompress/recompres
 $(HAIKU_TOP)/$(1) $(HAIKU_TOP)/$(1)" >> $(HAIKU_OUTPUT_DIR)/haiku.image-
 copy-files[[BR]]
 }[[BR]]
 It's terrible. But I don't know how to make this rule perfect and in
 style.[[BR]]

 2. Current compressor based on Zlib. It's good choice, but not best
 (IMHO).[[BR]]
 3. There are no special header for compressed ELF (CELF). Only zlib header
 used.[[BR]]
 4. Compressed drivers located in /boot/system/add-ons/kernel/boot (insted
 symlinks).[[BR]]
 ... and so on...

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5137>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: