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

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