From: Wolfgang Denk Date: Sat, 10 Dec 2011 23:53:12 +0100 Subject: [U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address In-Reply-To: References: <1320164902-24190-1-git-send-email-swarren@nvidia.com> <74CDBE0F657A3D45AFBB94109FB122FF173F9A5035@HQMAIL01.nvidia.com> <20111107202633.92FE4189301B@gemini.denx.de> <201111072204.41980.marek.vasut@gmail.com> <20111107222736.EA07D189301B@gemini.denx.de> <20111107232514.C0E7C189301B@gemini.denx.de> Message-ID: <20111210225312.E478F1F4E08@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 Linus Walleij, In message you wrote: > > > Can I assume that we have (or can have) a 'make uImage' target or > > similar in the kernel which can pack together: > > > > - a compressed kernel (not zImage, I mean something that U-Boot can > > decompress), with a rel_offset of 32KB > > As explained by Nico, having the boot loader decompress the > kernel is *bad*. This is your point of view, but others (including me) think different. > I configure it in like this with the config script > (you can also use menuconfig or interactive config...): > > scripts/config --file .config \ > --enable BLK_DEV_INITRD \ > --set-str INITRAMFS_SOURCE rootfs.cpio \ > --enable INITRAMFS_COMPRESSION_GZIP \ > --enable RD_GZIP > > Since this was so convenient I made a patch to attach a DTB Convenient? Again, this is a matter of taste and aquired habits. With U-Boot none of this is needed. 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 Power is danger. -- The Centurion, "Balance of Terror", stardate 1709.2