1#!/bin/sh 2# |
3# $FreeBSD: head/release/arm/RPI-B.conf 288374 2015-09-29 16:09:59Z gjb $ |
4# 5 6EMBEDDEDBUILD=1 7EMBEDDED_TARGET="arm" 8EMBEDDED_TARGET_ARCH="armv6" 9EMBEDDEDPORTS="sysutils/u-boot-rpi" 10KERNEL="RPI-B" 11WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x2000000" --- 13 unchanged lines hidden (view full) --- 25 chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}" 26 chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT} 27 chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT} 28 for _UF in ${UBOOT_FILES}; do 29 chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/${_UF} \ 30 ${FATMOUNT}/${_UF} 31 done 32 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr ${FATMOUNT}/ubldr |
33 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \ 34 ${FATMOUNT}/ubldr.bin |
35 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/dtb/rpi.dtb \ 36 ${FATMOUNT}/rpi.dtb 37 chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot 38 sync 39 umount_loop ${CHROOTDIR}/${FATMOUNT} 40 umount_loop ${CHROOTDIR}/${UFSMOUNT} 41 chroot ${CHROOTDIR} rmdir ${FATMOUNT} 42 chroot ${CHROOTDIR} rmdir ${UFSMOUNT} 43 44 return 0 45} |