Skip to content

patches to allow DTB to be appended to the ARM zImage

Dmitry Eremin-Solenikov linux-arm-kernel linux-arm-msm linux-devicetree 1 version New

Get series with b4
b4 am '[email protected]'

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 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/3] patches to allow DTB to be appended to the ARM zImage
Quoted 11 lines · Russell King - ARM Linux
Quoted 4 lines · Arnd Bergmann

Of course it should override the device tree, I'm not arguing that. All I'm saying is that we don't need to special-case this or support both formats once the kernel is there as long as we move the information into appropriate DT-representation of the same data.

You're arguing for it to be parsed by whatever fragment of assembly code we have to place around the zImage to merge it into DT.

And yes, it's going to have to be assembly code because we don't have a C environment at that point which can run in a relocatable way.

Please, again look at the cuboot stuff which is used on powerpc. It uses limited C environment: it's executed before kernel entry, so it can use stack, etc. as setup by the bootloader.

Signature · 2 lines
With best wishes
Dmitry