mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
Create hard links to the installed dtb files for the BEAGLEBONE [1]
and WANDBOARD [2] images to fix a boot issue. This is a direct commit to stable/10, as the change is not needed for head and stable/11. Approved by: re (marius) Help from: manu [1], ian [2] Tested by: gjb [1], ian [2] Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6bcb4a7105
commit
a26c2dc81b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=322666
@ -28,6 +28,10 @@ arm_install_uboot() {
|
||||
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr ${FATMOUNT}/ubldr
|
||||
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
|
||||
${FATMOUNT}/ubldr.bin
|
||||
chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/beaglebone.dtb \
|
||||
${UFSMOUNT}/boot/dtb/am335x-bone.dtb
|
||||
chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/beaglebone-black.dtb \
|
||||
${UFSMOUNT}/boot/dtb/am335x-boneblack.dtb
|
||||
chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
|
@ -31,6 +31,10 @@ arm_install_uboot() {
|
||||
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr ${FATMOUNT}/ubldr
|
||||
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
|
||||
${FATMOUNT}/ubldr.bin
|
||||
chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/imx6dl-wandboard.dtb \
|
||||
${UFSMOUNT}/boot/dtb/imx6dl-wandboard-revb1.dtb
|
||||
chroot ${CHROOTDIR} ln ${UFSMOUNT}/boot/dtb/imx6q-wandboard.dtb
|
||||
${UFSMOUNT}/boot/dtb/imx6q-wandboard-revb1.dtb
|
||||
chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${FATMOUNT}
|
||||
|
Loading…
Reference in New Issue
Block a user