On Tue, Aug 27, 2013 at 04:11:17PM -0600, Jason Gunthorpe wrote:
On Tue, Aug 27, 2013 at 06:04:31PM -0400, Jason Cooper wrote:
quoted
</pokes self> Once pxa-impedance-matcher can edit the dtb, those users
would have a means to upgrade to a DT enabled kernel without bootloader
modifications... I really gotta get back to that. :)
Doesn't appended dtb already work?
Yes, but this allows you to append N dtbs, and select from them based on
any silly code you need to overcome vendor 'creativeness'. Also, you
can handle non-standard atags without polluting (or at least attempting
to) atags_to_fdt.c. eg ethernet address passing.
It should also allow Thomas to implement his CP15 hack to detect where
the bootloader mapped the register base address, and update the dtb
accordingly.
iow, it's a dirty place to work around any unforseen bootloader code
without polluting the kernel.
thx,
Jason.