FreeBSD
Description
Prepare your uSD card
Configure partitions of uSD card
# dd if=/dev/zero of=/dev/mmcsd0
# gpart create -s MBR mmcsd0
# gpart add -t \!12 -b 4096 -s 32m mmcsd0
# gpart set -a active -i 1 mmcsd0
# gpart add -t \!12 -s 32m mmcsd0
# gpart set -a active -i 2 mmcsd0
# gpart add -t freebsd -s 2048m mmcsd0
# gpart create -s BSD mmcsd0s3
# gpart add -t freebsd-ufs -a 2m mmcsd0s3
# newfs_msdos /dev/mmcsd0s2
# newfs /dev/mmcsd0s3aMount uSD card
Install FreeBSD on uSD card
Download sources
Export variables for cross-compilation
Build and install kernel
Build and install world
Copy loader to boot partition
Configure fstab
Environment variables for loader + tuning the kernel
Unmount uSD card
U-Boot
Get toolchain and set env variables for cross compilation
Download and build u-boot
U-boot configuration
Finalizing
Set root password
Create ordinary user
Grow rootfs partition
Official SolidRun Images
Known Issues
External Links
Last updated