Index: sysutils/u-boot-olimex-a20-som-evb/Makefile =================================================================== --- /dev/null +++ sysutils/u-boot-olimex-a20-som-evb/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +PKGNAMESUFFIX= -olimex-a20-som-evb + +COMMENT= Cross-build U-Boot loader for Olimex A20 SOM EVB + +LICENSE= GPLv2 + +# Local overrides +MASTERDIR= ${.CURDIR}/../u-boot-cubieboard +DESCR= ${.CURDIR}/pkg-descr +MODEL= olimex-a20-som-evb +CONF_TARGET= A20-OLinuXino-Lime2_defconfig + +.include "${MASTERDIR}/Makefile" Index: sysutils/u-boot-olimex-a20-som-evb/pkg-descr =================================================================== --- /dev/null +++ sysutils/u-boot-olimex-a20-som-evb/pkg-descr @@ -0,0 +1,19 @@ +U-Boot loader for Olimex A20 SOM EVB. + +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 ELF ubldr from file ubldr.bin on the FAT partition + to address ${kernel_addr_r}, and launches it. + +For information about running FreeBSD on Olimex A20 SOM EVB, see + https://wiki.freebsd.org/FreeBSD/arm/Allwinner + +For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot