Carl-Daniel Hailfinger wrote: > Stefan Reinauer wrote: > > * Carl-Daniel Hailfinger wrote: > > > > > What we need from you is a way to use nrv2b compressed ELF images as > > > payload. Please don't say that is impossible. > > > > CONFIG_COMPRESSED_ROM_STREAM does exactly that. > > > > You need to give it an uncompressed payload since it does compression > > on its own. > > ARGH! Now that indeed explains things very well. > > Attached is a patch to make LinuxBIOS support precompressed payloads. > > Although the patch modifies targets/olpc/rev_a/Config.1M.lb this has no > effect on current OLPC buildrom because it checks out an earlier revision > of LinuxBIOS. So it should be a safe to apply.
And here is the patch to buildrom to make use of the new infrastructure. Please note that it should only be applied AFTER the LinuxBIOS patch in my last mail has been merged upstream. You may have to change the checked out revision in packages/linuxbios/linuxbios.mk. Regards, Carl-Daniel -- Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit! "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
diff --git a/Config.mk b/Config.mk index 179504c..f861a7f 100644 --- a/Config.mk +++ b/Config.mk @@ -32,11 +32,11 @@ LINUXBIOS_PACKAGE=y #### Payload selection # Uncomment this to select the old school elf target -PAYLOAD_TARGET=$(OUTPUT_DIR)/olpc-payload.elf +#PAYLOAD_TARGET=$(OUTPUT_DIR)/olpc-payload.elf # Uncomment this to select the NRV2B compressed payload # NOTE! This doesn't work right now! -#PAYLOAD_TARGET=$(OUTPUT_DIR)/olpc-payload.elf.nrv2b +PAYLOAD_TARGET=$(OUTPUT_DIR)/olpc-payload.elf.nrv2b ########################################### # You shouldn't change anything under this point diff --git a/packages/linuxbios/linuxbios.mk b/packages/linuxbios/linuxbios.mk index b85daf9..65d4b21 100644 --- a/packages/linuxbios/linuxbios.mk +++ b/packages/linuxbios/linuxbios.mk @@ -23,7 +23,7 @@ LINUXBIOS_CONFIG_NAME=$(LINUXBIOS_TARGET LINUXBIOS_BUILD_DIR=$(LINUXBIOS_TARGET_DIR)/$(LINUXBIOS_TARGET_NAME)/$(LINUXBIOS_TDIR) LINUXBIOS_STAMP_DIR=$(LINUXBIOS_DIR)/stamps LINUXBIOS_LOG_DIR=$(LINUXBIOS_DIR)/logs -LINUXBIOS_VER=2348 +LINUXBIOS_VER=2358 ifeq ($(VERBOSE),y) LINUXBIOS_FETCH_LOG=/dev/stdout
-- linuxbios mailing list [email protected] http://www.openbios.org/mailman/listinfo/linuxbios
