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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter