Skip to content

Switch internal registers address to 0xF1 on Armada 370/XP

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 9 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Switch internal registers address to 0xF1 on Armada 370/XP
Quoted 7 lines · Thomas Petazzoni

Russell,

Quoted 3 lines · Russell King - ARM Linux

No, I'm not asking about the principle. I'm asking _in this particular problem case_ who provides the DT blob?

Quoted 7 lines
Quoted 2 lines

So the person to answer that question is Thomas or someone who is using the boards concerned.

The DTB is built from arch/arm/boot/dts/, together with the kernel image itself. As far as I'm aware of, there is for the moment no plan to "burn" the DTB on the board and therefore make the Device Tree really separated from the kernel.

Right, so we're still in the position where we aren't dealing with vendor provided DT blobs... this also means of course that the DT blob isn't going to get updated by the boot loader depending on where it decides to set the registers.

I suspect as far as the boot loaders on these boards go, the DT blob is "just another file" to be loaded into memory by the boot loader, and it is completely untouched by the boot loader.

Unfortunately, it also means that it's _completely_ our problem to select the appropriate DT file for the boot loader behaviour, _or_ just not bother with the problematical devices in DT and stick to "the old way" of doing this if we can detect where they are.

For the latter, it really is not worth the effort of stuffing the DT file full of definitions which are either (a) possibly wrong on the hardware and (b) aren't being used because we're having to override them in the kernel.

Another solution to this is to document the problem on a website, and provide two DT blobs, and tell people to try one, if that fails to boot, try the other, and only if that also fails to ask for help. Yea, I know, people don't bother reading websites though, it's loads easier to send an email to a mailing list or someone else. :P