Created attachment 171865 [details] New port patch This patch adds u-boot for the Olimex A20 SOM EVB board. We can't use the existing Allwinner u-boot port as a master like the ones already in tree because we need 2016.05 for the ethernet controller to works correctly. This ports will also be used as a master for ones that needs the 2016.05 version.
Created attachment 171866 [details] New port patch Add myself as the maintainer
Created attachment 171870 [details] u-boot olimex shar Provide shar file as requested.
Created attachment 171873 [details] u-boot olimex shar Fix a few issues found by portlint. portlint: OK testport: OK
Fails to build on FreeBSD 9: =======================<phase: build >============================ ===> Building for u-boot-olimex-a20-som-evb-2016.05 scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h UPD include/config.h GEN include/autoconf.mk GEN include/autoconf.mk.dep GEN spl/include/autoconf.mk CHK include/config/uboot.release CHK include/generated/timestamp_autogenerated.h ./scripts/dtc-version.sh: dtc: not found UPD include/config/uboot.release UPD include/generated/timestamp_autogenerated.h ./scripts/dtc-version.sh: dtc: not found *** Your dtc is too old, please upgrade to dtc 1.4 or newer gmake: *** [Makefile:1374: checkdtc] Error 1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/u-boot-olimex-a20-som-evb. build of sysutils/u-boot-olimex-a20-som-evb ended at Sun Jul 3 19:05:53 CEST 2016 build time: 00:00:18 !!! build failure encountered !!!
Created attachment 172082 [details] New port shar Require FreeBSD 11 or later
A commit references this bug: Author: pawel Date: Sun Jul 10 15:06:15 UTC 2016 New revision: 418324 URL: https://svnweb.freebsd.org/changeset/ports/418324 Log: 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.bin using the fdtfile env variable. ubldr.bin 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 Cubieboard, see https://wiki.freebsd.org/FreeBSD/arm/Allwinner For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot PR: 210625 Submitted by: manu Changes: head/sysutils/Makefile head/sysutils/u-boot-olimex-a20-som-evb/ head/sysutils/u-boot-olimex-a20-som-evb/Makefile head/sysutils/u-boot-olimex-a20-som-evb/distinfo head/sysutils/u-boot-olimex-a20-som-evb/files/ head/sysutils/u-boot-olimex-a20-som-evb/files/patch-api_api.c head/sysutils/u-boot-olimex-a20-som-evb/files/patch-api_api__net.c head/sysutils/u-boot-olimex-a20-som-evb/files/patch-cmd_elf.c head/sysutils/u-boot-olimex-a20-som-evb/files/patch-cmd_test.c head/sysutils/u-boot-olimex-a20-som-evb/files/patch-include_configs_sunxi-common.h head/sysutils/u-boot-olimex-a20-som-evb/pkg-descr