
On Sun, Nov 29, 2015 at 07:40:12PM +0100, Marco Schuster wrote:
On Raspberry Pi, the primary bootloader start.elf uses the options in config.txt, as well as options hidden in the firmware itself, to tell the Linux kernel e.g. framebuffer sizes, memory regions, MAC addresses and more.
While Stephen has made some important and useful comments, I want to poke at one other thing:
* To force start.elf to pass a processed, ready-to-go DT,
* you have to use the mkknlimg tool on the u-boot image:
* ./mkknlimg --dtok u-boot.bin /boot/u-boot.bin
*
* mkknlimg can be obtained from
https://github.com/raspberrypi/tools/blob/master/mkimage/knlinfo
I think there is value in being able to support the Pi-official flow. What I'd like to see (along with making sure that we don't break support of using mainline kernels) is that knlinfo be updated with a more complete license statement (it doesn't say what version of the GPL it's licensed under) and then dropped into U-Boot so that we can generate the correct binary for this case out of the box. That's a much cleaner experience for the users.