
17 May
2010
17 May
'10
4:06 p.m.
Shawn Jin wrote:
However my concern is specific to the powerpc arch. If I understand correctly, the powerpc arch expects a bootloader provide a DTS file. I'm not sure how the current U-Boot transfers such info to the kernerl.
One of the registers (r7 maybe?) contains the address of the device tree.
People here can shed some light on this? I'm certain the old U-Boot (e.g. 1.1.2) doesn't have this kind of capability.
That's why cuImage was invented. cuImage embeds the device tree in the kernel image. The drawback is that you can't rely on U-Boot to do any fixups.
The bd_info is still one of data transferred to the kernel, right? How does bd_info work with the DTS info?
That, I don't know.
--
Timur Tabi
Linux kernel developer at Freescale