1#!/bin/sh 2# |
3# $FreeBSD: head/release/arm/BEAGLEBONE.conf 288374 2015-09-29 16:09:59Z gjb $ |
4# 5 6EMBEDDEDBUILD=1 7EMBEDDED_TARGET="arm" 8EMBEDDED_TARGET_ARCH="armv6" 9EMBEDDEDPORTS="sysutils/u-boot-beaglebone" 10KERNEL="BEAGLEBONE" 11WORLD_FLAGS="${WORLD_FLAGS} UBLDR_LOADADDR=0x88000000" --- 9 unchanged lines hidden (view full) --- 21 FATMOUNT="${DESTDIR%${KERNEL}}/fat" 22 UFSMOUNT="${DESTDIR%${KERNEL}}/ufs" 23 chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}" "${UFSMOUNT}" 24 chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT} 25 chroot ${CHROOTDIR} mount /dev/${mddev}s2a ${UFSMOUNT} 26 chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/MLO ${FATMOUNT}/MLO 27 chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/u-boot.img ${FATMOUNT}/u-boot.img 28 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr ${FATMOUNT}/ubldr |
29 chroot ${CHROOTDIR} cp -p ${UFSMOUNT}/boot/ubldr.bin \ 30 ${FATMOUNT}/ubldr.bin |
31 chroot ${CHROOTDIR} touch ${UFSMOUNT}/firstboot 32 sync 33 umount_loop ${CHROOTDIR}/${FATMOUNT} 34 umount_loop ${CHROOTDIR}/${UFSMOUNT} 35 chroot ${CHROOTDIR} rmdir ${FATMOUNT} 36 chroot ${CHROOTDIR} rmdir ${UFSMOUNT} 37 38 return 0 39} |