
21 Jan
2016
21 Jan
'16
8:56 p.m.
On Thu, Jan 21, 2016 at 02:11:13PM -0500, Tom Rini wrote:
On Thu, Jan 21, 2016 at 11:35:01AM +0100, Ladislav Michl wrote:
Enable CONFIG_CMD_SETEXPR, useful when passing initramfs end address: $ fatload mmc 0:1 $rdaddr root.cpio.gz $ setexpr rdendaddr $rdaddr + $filesize $ fdt chosen $rdaddr $rdendaddr $ bootz $loadaddr - $fdtaddr
OK, but why do that instead of 'bootz $loadaddr $rdaddr $fdtaddr' ?
=> bootz $loadaddr $rdaddr $fdtaddr Wrong Ramdisk Image Format Ramdisk image is corrupt or invalid
Well, perhaps that could be done with CONFIG_SUPPORT_RAW_INITRD, which expects size of initrd, not an end address. I'll give it a try and possibly enable that instead.
ladis