Skip to content

DeviceTree: add support for initrd in the DT

Vicente Bergas barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2DeviceTree: add support for initrd in the DTarch/arm/lib/armlinux.c common/oftree.c include/of.h+69 -01 reply
2/2ArchosG9: boot linux kernel with DTarch/arm/boards/archosg9/env/config arch/arm/configs/archosg9_defconfig arch/arm/configs/archosg9_xload_defconfig+6 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] DeviceTree: add support for initrd in the DT

Following Jean-Christophe's recommendation the patch has been splitted in two, supressed extra spaces and substituted a ==NULL for a !.

Regarding to the questions:
I'm not checking the return value of fdt_initrd because in case of error
1) fdt_initrd will print a message to inform the user.
2) it's not a blocking error (from the bootloader point-of-view), so we can still try to boot.
fdt_setprop gets a buffer of data that must be in BigEndian order to be standard compliant.
It's defined to be BigEndian probably because it comes from PowerPC.
I've also tested it before submitting and it works fine.

Thank you for your comments.
Regards,
Vicente.

Vicente Bergas (2):
DeviceTree: add support for initrd in the DT
ArchosG9: boot linux kernel with DT

 arch/arm/boards/archosg9/env/config       |  1 +
 arch/arm/configs/archosg9_defconfig       |  4 ++
 arch/arm/configs/archosg9_xload_defconfig |  1 +
 arch/arm/lib/armlinux.c                   |  2 +
 common/oftree.c                           | 66 +++++++++++++++++++++++++++++++
 include/of.h                              |  1 +
 6 files changed, 75 insertions(+)
Signature · 7 lines
1.8.1.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox