Page MenuHomeFreeBSD
Authored By
thj
Mar 15 2020, 10:46 AM
Size
635 B
Referenced Files
None
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
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2539778
Default Alt Text
raw.txt (635 B)

Event Timeline