Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F6256158
raw.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
thj
Mar 15 2020, 10:46 AM
2020-03-15 10:46:32 (UTC+0)
Size
635 B
Referenced Files
None
Subscribers
None
raw.txt
View Options
#!/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
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2539778
Default Alt Text
raw.txt (635 B)
Attached To
Mode
P375 Masterwork From Distant Lands
Attached
Detach File
Event Timeline
Log In to Comment