[U-Boot] [PATCH v2 3/3] image: Allow images to indicate they're loadable at any address

Wolfgang Denk
2011-12-10T22:53:12Z

Dear Linus Walleij,

In message <CACRpkdY7fov87fuSS+KfbDtyGhR2NtbTXzVEEDrBUawXeHPmUw@mail.gmail.com> 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