FreeBSD for Khadas Edge SBCs
Thankful appreciation to the efforts of @hyphop and @SleepWalker, who spent the last few weeks making FreeBSD compatible with the Edge and Edge-V!
- Edge Expandable Rockchip RK3399 SBC https://www.khadas.com/edge-1
- Edge-V VIM Form Factor RK3399 SBC https://www.khadas.com/edge-v
- Edge / Edge-V with at least 4GB of RAM
- 8GB of larger micro SD card
BOOTABLE SD IMAGE
An example of downloading and writing the image to an SD card.
cd /tmp wget https://dl.khadas.com/Firmware/Edge/FreeBSD/EDGE-FreeBSD-20191022-2342.img.gz gzip -dc EDGE-FreeBSD-20191022-2342.img.gz | sudo dd bs=1M of=/dev/YOUR_SD_CARD_DEVICE sync
NOTE: Erase internal emmc before booting from the SD card!
- FreeBSD 13.0-CURRENT
- mainline uboot U-Boot TPL 2019.10-rc3
- bootup from SD
- eth OK
- uart OK
- emmc OK
- sd OK
- USB 2.0 OK
- USB HID OK
- USB DISK OK
- USB 3.0
- NVme m2
- boot from eMMC
FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular open-source BSD operating system, accounting for more than three-quarters of all installed BSD systems.
FreeBSD has similarities with Linux, with two major differences in scope and licensing: FreeBSD maintains a complete system, i.e. the project delivers a kernel, device drivers, userland utilities, and documentation, as opposed to Linux only delivering a kernel and drivers, and relying on third-parties for system software; and FreeBSD source code is generally released under a permissive BSD license, as opposed to the copyleft GPL used by Linux.
The FreeBSD project includes a security team overseeing all software shipped in the base distribution. A wide range of additional third-party applications may be installed using the pkg package management system or FreeBSD Ports, or by compiling source code.
Due to its licensing, much of FreeBSD’s codebase has become an integral part of other operating systems, such as Apple’s Darwin (the basis for macOS, iOS, watchOS, and tvOS), FreeNAS (an open-source NAS/SAN operating system), and the system software for Sony’s PlayStation 3 and PlayStation 4.