arm-bsp/u-boot: corstone1000: enable OF_UPSTREAM device tree support
PATCH 1/1 arm-bsp/u-boot: corstone1000: enable OF_UPSTREAM device tree support
Enable OF_UPSTREAM support for the corstone1000 platforms in U-Boot.
This patchset enables OF_UPSTREAM device tree support in U-Boot for the corstone1000 platforms. This allows U-Boot to build using upstream Linux kernel device tree sources instead of downstream copies.
The following changes are introduced:
- Enable OF_UPSTREAM to support upstream device tree.
- Update DEVICE_TREE naming with "arm/" prefix.
- Add device tree overlay to retain U-Boot specific device tree nodes.
- Remove legacy device trees for corstone1000.
Signed-off-by Clement Faure <[email protected]>
--- .../u-boot/u-boot-corstone1000.inc | 9 +- ...able-OF_UPSTREAM-device-tree-support.patch | 525 ++++++++++++++++++ 2 files changed, 532 insertions(+), 2 deletions(-) create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch
meta-arm-bsp/recipes-bsp/u-boot/u-boot-corstone1000.inc +7 -2
@@ -1,8 +1,8 @@ # Corstone1000 specific U-boot support DEPENDS:append = " openssl-native efitools-native" -CORSTONE1000_DEVICE_TREE:corstone1000-mps3 = "corstone1000-mps3" -CORSTONE1000_DEVICE_TREE:corstone1000-fvp = "corstone1000-fvp" +CORSTONE1000_DEVICE_TREE:corstone1000-mps3 = "arm/corstone1000-mps3" +CORSTONE1000_DEVICE_TREE:corstone1000-fvp = "arm/corstone1000-fvp" EXTRA_OEMAKE:append = ' DEVICE_TREE=${CORSTONE1000_DEVICE_TREE}' UBOOT_CONFIG ??= "EFI"
@@ -64,6 +64,11 @@ SRC_URI:append = " \ '', 'file://0037-corstone1000-purge-remoteproc-DTS-node.patch' , d)} \ " +# Add OF_UPSTREAM support +SRC_URI:append = " \ + file://0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch \ +" + do_configure:append() { openssl req -x509 -sha256 -newkey rsa:2048 -subj /CN=CRT/ -keyout ${B}/CRT.key -out ${B}/corstone1000_defconfig/CRT.crt -nodes -days 365 }
meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0038-corstone1000-enable-OF_UPSTREAM-device-tree-support.patch new file +525 -0
525 lines not on this page · raw message
Signature · 1 line
2.43.0