[PATCH 1/3] ARM: PRIMA2: use DT_MACHINE_START and convert to generic board

Arnd Bergmann arnd at arndb.de
Tue Aug 21 04:44:05 EDT 2012


On Tuesday 21 August 2012, Barry Song wrote:
> > I mean the old version, not the new one. If you use MACHINE_START,
> > you cannot access the device tree data from the boot loader, which
> > means that none of the device drivers find their devices.
> 
> sorry i didn't get you.
> 
> DT is read to 0x3608000 by bootloader, and bootm has param "bootm
> 0x02008000 - 0x3608000" as:
> 
> bootcmd=mmc read 0 0x3608000 0x3780 0x80;mmc read 0 0x02008000 0x1800
> 0x1800;fdt addr 0x3608000;
> fdt resize;bootm 0x02008000 - 0x3608000
> 
> kernel has been always able to read DT data from bootloader.

Ah, right. I had to read the initialition code again, my incorrect
assumption was that we could not use a machine_desc that is
declared with MACHINE_START() together with a flattened device tree.

	Arnd



More information about the linux-arm-kernel mailing list