Copy the rpi.dtb file to the FAT partition, preventing the

'Unrecognized partition table' error, causing boot failure.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2015-05-07 23:49:48 +00:00
parent 869ef34722
commit 70437a3a2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-arm-redux/; revision=282616

View File

@ -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' >> \