diff --git a/sysutils/u-boot-orangepi-one/Makefile b/sysutils/u-boot-orangepi-one/Makefile new file mode 100644 index 0000000..7a3c8fc --- /dev/null +++ b/sysutils/u-boot-orangepi-one/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PKGNAMESUFFIX= -${MODEL} + +COMMENT= Cross-build U-Boot loader for OrangePi One + +LICENSE= GPLv2 + +MASTERDIR= ${.CURDIR}/../u-boot-olimex-a20-som-evb +DESCR= ${.CURDIR}/pkg-descr +MODEL= orangepi-one +BOARD_CONFIG= orangepi_one_defconfig + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/u-boot-orangepi-one/pkg-descr b/sysutils/u-boot-orangepi-one/pkg-descr new file mode 100644 index 0000000..e3f7d73 --- /dev/null +++ b/sysutils/u-boot-orangepi-one/pkg-descr @@ -0,0 +1,19 @@ +U-Boot loader for Banana Pi M2. + +To install this bootloader, follow the instructions in + http://linux-sunxi.org/Bootable_SD_card#Bootloader + +This version is patched so that: + * ELF and API features are enabled. + * The default environment is trimmed to just what's needed to boot. + * The saveenv command writes to the file u-boot.env on the FAT partition. + * The DTB file name is chosen based on the board model and passed to ubldr + using the fdtfile env variable. ubldr loads the DTB from /boot/dtb/ on + the FreeBSD partition. + * By default, it loads PIE ubldr.bin from file ubldr.bin on the FAT partition + to address 0x42000000, and launches it. + +For information about running FreeBSD on Banana Pi, see + https://wiki.freebsd.org/FreeBSD/arm/Allwinner + +For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot