release: Update u-boot and firmware file for RPI-B target
THe u-boot port for RPI-B was updated to use u-boot-master, this cause an update in u-boot version to v2017.09 and changing the filename. The various firmware files for the RPI* are now in a common ports sysutils/rpi-firmware as they are shared on all the RPI version. Update the release files to copy the right files from the right location. Reviewed by: gjb MFC after: 3 days
This commit is contained in:
parent
fab7d89796
commit
4f99504d8b
@ -6,7 +6,7 @@
|
||||
EMBEDDEDBUILD=1
|
||||
EMBEDDED_TARGET="arm"
|
||||
EMBEDDED_TARGET_ARCH="armv6"
|
||||
EMBEDDEDPORTS="sysutils/u-boot-rpi"
|
||||
EMBEDDEDPORTS="sysutils/u-boot-rpi sysutils/rpi-firmware"
|
||||
KERNEL="RPI-B"
|
||||
IMAGE_SIZE="3072M"
|
||||
PART_SCHEME="MBR"
|
||||
@ -17,8 +17,11 @@ NODOC=1
|
||||
|
||||
arm_install_uboot() {
|
||||
UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi"
|
||||
UBOOT_FILES="bootcode.bin config.txt fixup.dat fixup_cd.dat \
|
||||
start.elf start_cd.elf u-boot.img"
|
||||
RPI_FIRMWARE_DIR="/usr/local/share/rpi-firmware"
|
||||
UBOOT_FILES="u-boot.bin"
|
||||
RPI_FIRMWARE_FILES="bootcode.bin config.txt \
|
||||
fixup.dat fixup_cd.dat fixup_db.dat fixup_x.dat \
|
||||
start.elf start_cd.elf start_db.elf start_x.elf"
|
||||
FATMOUNT="${DESTDIR%${KERNEL}}/fat"
|
||||
UFSMOUNT="${DESTDIR%${KERNEL}}/ufs"
|
||||
chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}"
|
||||
@ -28,6 +31,10 @@ arm_install_uboot() {
|
||||
chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/${_UF} \
|
||||
${FATMOUNT}/${_UF}
|
||||
done
|
||||
for _UF in ${RPI_FIRMWARE_FILES}; do
|
||||
chroot ${CHROOTDIR} cp -p ${RPI_FIRMWARE_DIR}/${_UF} \
|
||||
${FATMOUNT}/${_UF}
|
||||
done
|
||||
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \
|
||||
${FATMOUNT}/ubldr.bin
|
||||
chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/dtb/rpi.dtb \
|
||||
|
Loading…
x
Reference in New Issue
Block a user