From 522cff4aaaf7beb0c0fb6ae3e183750ab0a408b5 Mon Sep 17 00:00:00 2001 From: Jybz Date: Sun, 30 Aug 2020 02:22:28 +0200 Subject: Switch from u-boot project binaries to Mageia's BS rpm. --- platforms/bananaPro/specialFunctions.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'platforms') diff --git a/platforms/bananaPro/specialFunctions.sh b/platforms/bananaPro/specialFunctions.sh index 84f846e..24c9bf8 100755 --- a/platforms/bananaPro/specialFunctions.sh +++ b/platforms/bananaPro/specialFunctions.sh @@ -58,11 +58,13 @@ function postPrepareChroot() # info "copying kernel-desktop, dtb, boot.scr and vmlinuz symlink in ${BUILD_PATH}/boot" info "copying dtb and boot.scr in ${BUILD_PATH}/boot" #Generating uboot autoboot script : - mkimage -C none -A arm -T script -d "${CONFIG_PATH}/boot.cmd" "${BUILD_PATH}/boot/boot.scr" - /usr/bin/cp --preserve=mode "${CONFIG_PATH}/u-boot.dtb" "${BUILD_PATH}/boot/" +# mkimage -C none -A arm -T script -d "${CONFIG_PATH}/boot.cmd" "${BUILD_PATH}/boot/boot.scr" + /usr/bin/cp --preserve=mode "${BUILD_PATH}/usr/lib/u-booot/bananapro/u-boot.dtb" "${BUILD_PATH}/boot/" + /usr/bin/cp --preserve=mode "${BUILD_PATH}/usr/lib/u-booot/bananapro/u-boot.env" "${BUILD_PATH}/boot/" # /usr/bin/cp --preserve=mode "${CONFIG_PATH}/sun7i-a20-bananapro.dtb" "${BUILD_PATH}/boot/" # /usr/bin/cp --preserve=mode -d "${CONFIG_PATH}/vmlinuz" "${BUILD_PATH}/boot/" # /usr/bin/cp --preserve=mode -r "${CONFIG_PATH}/lib" "${BUILD_PATH}/" + return 0 } @@ -70,7 +72,7 @@ function bunrningBootloader() { # DEVICE is set just before this function and looped. title "Burning the bootloader..." - dd if=${CONFIG_PATH}/u-boot-sunxi-with-spl.bin of=${DEVICE} bs=1024 seek=8 + dd if=${BUILD_PATH}/usr/lib/u-booot/bananapro/u-boot-sunxi-with-spl.bin of=${DEVICE} bs=1024 seek=8 return 0 } -- cgit v1.2.1