From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 22 May 2012 18:08:46 +0200 Subject: [U-Boot] Combine zImage and rootfs in single uImage In-Reply-To: References: Message-ID: <20120522160846.9B89F20716D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Grant Edwards, In message 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