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. While the LinuxBIOS build system can compress payloads on its own, the OLPC build system benefits from delivering a precompressed (and size-checked) payload.
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.
As a reply to this message, I'll post the necessary OLPC buildrom changes to make use of the new infrastructure.
Regards, Carl-Daniel