Created attachment 171869 [details] bananapim2 u-boot port This adds a new u-boot port for bananapim2. It depends on the master port submitted in bug #210625
Created attachment 171871 [details] u-boot bananapim2 shar Provide shar file as requested.
Created attachment 171874 [details] u-boot bananapim2 shar Fix a few issues found by portlint portlint: OK testport: OK
A commit references this bug: Author: pawel Date: Sun Jul 10 15:22:02 UTC 2016 New revision: 418325 URL: https://svnweb.freebsd.org/changeset/ports/418325 Log: 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 PR: 210628 Submitted by: manu Changes: head/sysutils/Makefile head/sysutils/u-boot-bananapim2/ head/sysutils/u-boot-bananapim2/Makefile head/sysutils/u-boot-bananapim2/pkg-descr