aboutsummaryrefslogtreecommitdiffstats
path: root/platforms/bananaPro
diff options
context:
space:
mode:
authorJybz <j.biernacki@free.fr>2020-08-30 02:22:28 +0200
committerJybz <j.biernacki@free.fr>2020-08-30 02:22:28 +0200
commit522cff4aaaf7beb0c0fb6ae3e183750ab0a408b5 (patch)
treed764254e20cd877e3380f7a9dbc2af9bcae43df6 /platforms/bananaPro
parent39907b526df4b1325fac16f5f704f39a4e973fe2 (diff)
downloadmageia4arm-522cff4aaaf7beb0c0fb6ae3e183750ab0a408b5.tar
mageia4arm-522cff4aaaf7beb0c0fb6ae3e183750ab0a408b5.tar.gz
mageia4arm-522cff4aaaf7beb0c0fb6ae3e183750ab0a408b5.tar.bz2
mageia4arm-522cff4aaaf7beb0c0fb6ae3e183750ab0a408b5.tar.xz
mageia4arm-522cff4aaaf7beb0c0fb6ae3e183750ab0a408b5.zip
Switch from u-boot project binaries to Mageia's BS rpm.
Diffstat (limited to 'platforms/bananaPro')
-rwxr-xr-xplatforms/bananaPro/specialFunctions.sh8
1 files changed, 5 insertions, 3 deletions
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
}