summaryrefslogtreecommitdiffstats
path: root/release/arm
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2015-05-07 23:49:48 +0000
committergjb <gjb@FreeBSD.org>2015-05-07 23:49:48 +0000
commitd0610f154f234a31ee4de0b6db3c6c47f423b246 (patch)
tree3a58bf8dd485096aa6f320328c189c7c21d3fd8b /release/arm
parent463d845cba83532d3529b93bd29e0d8bd19c5de0 (diff)
downloadFreeBSD-src-d0610f154f234a31ee4de0b6db3c6c47f423b246.zip
FreeBSD-src-d0610f154f234a31ee4de0b6db3c6c47f423b246.tar.gz
Copy the rpi.dtb file to the FAT partition, preventing the
'Unrecognized partition table' error, causing boot failure. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/arm')
-rw-r--r--release/arm/RPI-B.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/arm/RPI-B.conf b/release/arm/RPI-B.conf
index 4715c73..6130d8c 100644
--- a/release/arm/RPI-B.conf
+++ b/release/arm/RPI-B.conf
@@ -30,6 +30,8 @@ arm_install_uboot() {
done
cp -p ${CHROOTDIR}/${UFSMOUNT}/boot/ubldr \
${CHROOTDIR}/${FATMOUNT}/ubldr
+ cp -p ${CHROOTDIR}/${UFSMOUNT}/boot/dtb/rpi.dtb \
+ ${CHROOTDIR}/${FATMOUNT}/rpi.dtb
echo 'loadbootscript=fatload mmc 0 0x2000000 ubldr' > \
${CHROOTDIR}/${FATMOUNT}/uenv.txt
echo 'bootscript=fdt addr 0x100;bootelf 0x2000000' >> \
OpenPOWER on IntegriCloud