[U-Boot] Combine zImage and rootfs in single uImage

Wolfgang Denk wd at denx.de
Tue May 22 18:08:46 CEST 2012


Dear Grant Edwards,

In message <jpgbbm$1hk$1 at dough.gmane.org> you wrote:
> Currently, I build a linux kernel that contains the root fileystem in
> the zImage file, when then gets converted into a uImage and booted
> from NAND flash.  This is all working fine, but having the kernel
> build depend on the rootfs build is a problem.
> 
> In another mailing list, somebody told me that if I was using U-Boot,
> I could build the zImage and rootfs separately and then combine them
> into a single uImage file for distribution.

The (deprecated) old style way (using legacy image format) is called
"multi-file images".

The modern, recommended way to do things like this is using FIT
images.

See the respective documentation.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Cleverness and Style have no place in getting a project completed.
                                                  -- Tom Christiansen


More information about the U-Boot mailing list