Thread (22 messages) flat view 22 messages, 4 authors, 2012-08-28
STALE5119d

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

From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-08-21 08:44:05

On Tuesday 21 August 2012, Barry Song wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help