[U-Boot] Booting zImage from UBOOT

Fabio Estevam festevam at gmail.com
Wed Mar 20 22:40:30 CET 2013


On Wed, Mar 20, 2013 at 6:02 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 03/20/2013 01:27 PM, Ritu Sharma wrote:
> ...
>> I read that uImage is nothing more than (64byte header + zImage). I've been
>> studying decompression code so it suited me to tweak UBOOT code to boot
>> zImage rather than writing my own bootcode. Just a small modification in
>> do_bootm_linux function did the job:
>
> In recent versions of U-Boot, you can simply enable the bootz command,
> which boots a raw zImage.

And in order to enable the bootz command, you need to add:
#define CONFIG_CMD_BOOTZ

,in your board config file (include/configs/)


More information about the U-Boot mailing list