root@gigabyte:~ # git clone https://github.com/freebsd/crochet /crochet
Cloning into '/crochet'...
remote: Counting objects: 5233, done.
remote: Total 5233 (delta 0), reused 0 (delta 0), pack-reused 5233
Receiving objects: 100% (5233/5233), 8.14 MiB | 13.56 MiB/s, done.
Resolving deltas: 100% (2715/2715), done.
root@gigabyte:~ # cd /crochet
root@gigabyte:/crochet # ./crochet.sh -b RaspberryPi3
Starting at Sat Sep 9 18:17:33 EDT 2017
Board: RaspberryPi3
Source version is: 323380M
Building FreeBSD version: 11.1
Image name is:
/crochet/work/FreeBSD-aarch64-11.1-GENERIC-323380M-RaspberryPi3.img
Building FreeBSD version: 11.1
Object files are at: /crochet/work/obj/arm64.aarch64/usr/src
Found suitable FreeBSD source tree in:
/usr/src
Found U-Boot port in:
/usr/local/share/u-boot/u-boot-rpi3
Building FreeBSD aarch64 world at Sat Sep 9 18:17:34 EDT 2017
(Logging to /crochet/work/_.buildworld.aarch64.log)
Building FreeBSD aarch64-GENERIC kernel at Sat Sep 9 18:49:15 EDT 2017
(Logging to /crochet/work/_.buildkernel.aarch64-GENERIC.log)
Building FreeBSD aarch64-GENERIC efi at Sat Sep 9 18:50:58 EDT 2017
(Logging to /crochet/work/efi-aarch64-GENERIC/_.efi.aarch64-GENERIC.build.log)
Creating a 2000MB raw disk image in:
/crochet/work/FreeBSD-aarch64-11.1-GENERIC-323380M-RaspberryPi3.img
Partitioning the raw disk image with MBR at Sat Sep 9 18:51:02 EDT 2017
gpart create -s MBR md0
md0 created
Creating a 50m FAT partition at Sat Sep 9 18:51:02 EDT 2017 with start block 63 and label BOOT
active set on md0s1
Creating an auto-sized UFS partition at Sat Sep 9 18:51:02 EDT 2017
md0s2 created
/dev/md0s2a: 1856.4MB (3801984 sectors) block size 32768, fragment size 4096
using 4 cylinder groups of 464.12MB, 14852 blks, 59520 inodes.
super-block backups (for fsck_ffs -b #) at:
192, 950720, 1901248, 2851776
tunefs: soft updates set
Using inode 4 in cg 0 for 4194304 byte journal
tunefs: soft updates journaling set
tunefs: NFSv4 ACLs set
Mounting all file systems:
Mounting FAT partition 1 at /crochet/work/_.mount.boot
Mounting UFS partition 1 at /crochet/work/_.mount.freebsd
bcm2710-rpi-3-b.dtb 100% of 17 kB 1328 kBps 00m00s
overlays/mmc.dtbo 100% of 1099 B 18 MBps 00m00s
overlays/pi3-disable-bt.dtbo 100% of 818 B 15 MBps 00m00s
Installing boot1.efi in aarch64
Installing FreeBSD world at Sat Sep 9 18:51:04 EDT 2017
Destination: /crochet/work/_.mount.freebsd
Overlaying board-specific files from /crochet/board/RaspberryPi3/overlay
2 blocks
Installing FreeBSD kernel at Sat Sep 9 18:51:52 EDT 2017
Destination: /crochet/work/_.mount.freebsd
Unmounting /crochet/work/_.mount.boot
Unmounting /crochet/work/_.mount.freebsd
Releasing md0
DONE.
Completed disk image is in: /crochet/work/FreeBSD-aarch64-11.1-GENERIC-323380M-RaspberryPi3.img
Copy to a suitable memory card using a command such as:
dd if=/crochet/work/FreeBSD-aarch64-11.1-GENERIC-323380M-RaspberryPi3.img of=/dev/da0 bs=1m
(Replace /dev/da0 with the appropriate path for your card reader.)
Finished at Sat Sep 9 18:51:58 EDT 2017