Page MenuHomeFreeBSD
Paste P375

Masterwork From Distant Lands
ActivePublic

Authored by thj on Mar 15 2020, 10:46 AM.
Tags
None
Referenced Files
F6256158: raw.txt
Mar 15 2020, 10:46 AM
Subscribers
None
#!/bin/sh
#
# $FreeBSD$
#
EMBEDDED_TARGET_ARCH="aarch64"
EMBEDDED_TARGET="arm64"
EMBEDDEDBUILD=1
EMBEDDEDPORTS="sysutils/u-boot-rock64"
FAT_SIZE="54m -b 1m"
FAT_TYPE="16"
IMAGE_SIZE="3072M"
KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
NODOC=1
PART_SCHEME="MBR"
FDT_OVERLAYS=""
export BOARDNAME="ROCK"
arm_install_uboot() {
UBOOT_DIR="/usr/local/share/u-boot/u-boot-rock64"
UBOOT_IDB="idbloader.img"
UBOOT_IMG="u-boot.itb"
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_IDB} \
of=/dev/${mddev} seek=64 bs=512 conv=sync
chroot ${CHROOTDIR} dd if=${UBOOT_DIR}/${UBOOT_IMG} \
of=/dev/${mddev} seek=16384 bs=512 conv=sync
return 0
}

Event Timeline

thj changed the title of this paste from untitled to Masterwork From Distant Lands.