[coreboot] Payload size, memory size and linux kernel
joe at settoplinux.org
Mon Jun 29 15:58:33 CEST 2009
On Mon, 29 Jun 2009 02:42:21 -0700 (PDT), Rick Ant <rick_077 at yahoo.com>
> I tried to build but can't get a good size...
> Which linux kernel should i use to get 512Kbyte flash ROM or 2Mbyte Max ?
> How can I compress the kernel and while loaded it's uncompressed on RAM?
> I have 128Mbytes RAM and 512Kbytes ROM
> objcopy --gap-fill 0xff -O binary coreboot coreboot.strip
> PAYLOAD=payload; if [ 0 -eq 1 ]; then PAYLOAD=/dev/null; touch
> cbfs-support; fi; ./buildrom coreboot.strip coreboot.rom $PAYLOAD 0x10000
> ERROR: payload (3650704) + coreboot (65536) - Size is 144 bytes larger
> than ROM size (3716096).
As I keep saying, you are not going to be able to fit coreboot + kernel +
root filesystem on a 512k chip. You need a larger chip.
More information about the coreboot