Last active
January 3, 2022 14:24
-
-
Save nekoprog/5099d9fcf9f7b9658a372e8039127669 to your computer and use it in GitHub Desktop.
OPNsense aarch64 Todo List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.worksonarm.com/explore/freebsd/ | |
https://wiki.freebsd.org/arm64 | |
https://wiki.freebsd.org/arm64?action=AttachFile&do=view&target=arm64_build.sh | |
https://ci.freebsd.org/job/FreeBSD-stable-11-aarch64-build/ | |
https://github.com/HardenedBSD/hardenedbsd-ports/blob/master/sysutils/Makefile | |
https://www.aliexpress.com/item/32880728063.html | |
http://www.banana-pi.org/r64.html | |
http://espressobin.net/ | |
http://wiki.espressobin.net/tiki-index.php | |
# | |
# Setup rootfs for QEMU | |
# | |
echo '/dev/vtbd0s2 / ufs rw,noatime 1 1' > $ROOTFS/etc/fstab | |
echo './etc/fstab type=file uname=root gname=wheel mode=644' >> $ROOTFS/METALOG | |
# | |
# time= workaround | |
# | |
sed -i '' -E 's/(time=[0-9]*)\.[0-9]*/\1.0/' ${WORKSPACE}/rootfs/METALOG | |
# | |
# Rootfs image. 1G size, 10k free inodes | |
# | |
cd $ROOTFS && \ | |
/usr/sbin/makefs -f 10000 -s 1073741824 -D rootfs.img METALOG || exit $? | |
# | |
# Final ARM64 image. Notice: you may have to update your mkimg(1) from svn src head. | |
# | |
echo "Using $WORKSPACE/obj/arm64.aarch64/$SRC/sys/boot/efi/boot1/boot1.efifat" | |
/usr/bin/mkimg -s mbr -p efi:=$WORKSPACE/obj/arm64.aarch64/$SRC/sys/boot/efi/boot1/boot1.efifat -p freebsd:=rootfs.img -o disk.img || exit $? | |
#opnsense base kernel product name | |
https://github.com/opnsense/tools/commit/24bf4e00c0ef28de353a2d1572638d345d152098 | |
https://github.com/opnsense/tools/commit/fd9e920b21f29244a4a71d6ac0b110227fa18b41 | |
https://github.com/opnsense/tools/commit/5dfee1c0411e6f6a0374e250b8fea958975d5073 | |
https://github.com/opnsense/tools/commit/bb1b755b098773ba51e4b51744437b7fef007068 | |
50m -b 1m | |
.ifdef QEMU_EMULATING | |
# XXX bug 224740: configure hangs: GSlice: failed to allocate 496 bytes (alignment: 512) | |
CONFIGURE_ENV+= gl_cv_func_printf_enomem=no | |
.endif | |
#configs | |
https://svnweb.freebsd.org/base/head/sys/arm/conf/GENERIC?view=markup | |
https://svnweb.freebsd.org/base/head/sys/arm64/conf/GENERIC?view=markup | |
https://svnweb.freebsd.org/base/head/release/tools/arm.subr?view=markup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment