
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