Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P375
Masterwork From Distant Lands
Active
Public
Actions
Authored by
thj
on Mar 15 2020, 10:46 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F6256158: raw.txt
Mar 15 2020, 10:46 AM
2020-03-15 10:46:32 (UTC+0)
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
edited the content of this paste.
(Show Details)
Mar 15 2020, 10:46 AM
2020-03-15 10:46:32 (UTC+0)
thj
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
Log In to Comment