script: build: Fix wrong arm 32bit dtb path 97/309497/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 11 Apr 2024 11:15:22 +0000 (20:15 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 11 Apr 2024 11:21:53 +0000 (20:21 +0900)
Case of arm 32bit, raspberry pi dtb files are also in
boot/dts/broadcom directory. Fix path for arm 32bit dtb.

Change-Id: Id8831c4a8fde26e394e8cd712c10dd97262022ff
Fixes: commit 301a853e585a ("script: build: Add option to create boot.img")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
build-rpi4.sh

index d7066bba11eb655cb899d785e04bdb66826fd3fa..a453b292091484e844217c3182594970fb3f63fb 100755 (executable)
@@ -69,7 +69,7 @@ function mk_bootimg()
                echo "Create 32bit boot image"
                cp -a $BOOT_PATH/config.txt ${TMP_PATH}
                cp -a arch/arm/boot/zImage ${TMP_PATH}
-               cp -a arch/arm/boot/dts/bcm*.dtb ${TMP_PATH}
+               cp -a arch/arm/boot/dts/broadcom/bcm*.dtb ${TMP_PATH}
        fi
        mkdir -p ${TMP_PATH}/overlays
        cp -a arch/arm/boot/dts/overlays/*.dtbo ${TMP_PATH}/overlays