Index: sysutils/u-boot-rpi-0-w/Makefile =================================================================== --- /dev/null +++ sysutils/u-boot-rpi-0-w/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../u-boot-master + +MODEL= rpi_0_w +BOARD_CONFIG= rpi_0_w_defconfig +FAMILY= rpi + +DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware + +.include "${MASTERDIR}/Makefile" Index: sysutils/u-boot-rpi-0-w/pkg-descr =================================================================== --- /dev/null +++ sysutils/u-boot-rpi-0-w/pkg-descr @@ -0,0 +1,17 @@ +U-Boot loader for Raspberry Pi 0 W + +To install this bootloader, copy u-boot.bin in the share/u-boot/u-boot-rpi +directory to the first partition, formatted as FAT16 or FAT32, on an SD card. +You will also need the firmware files from the rpi-firmware package. + +This version is patched so that: + * ELF and API features are enabled. + * The distroboot command knows how to load FreeBSD loader(8) + * By default, it loads ubldr.bin (PIE) from file ubldr.bin on the FAT + partition to address ${kernel_addr_r}, and launches it. If ubldr.bin is + not found, it falls back on ubldr + +For information about running FreeBSD on RaspberryPi, see +https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi + +WWW: http://www.denx.de/wiki/U-Boot