diff options
author | Luiz Otavio O Souza <loos@FreeBSD.org> | 2015-07-06 19:50:03 +0000 |
---|---|---|
committer | Luiz Otavio O Souza <loos@FreeBSD.org> | 2015-07-06 19:50:03 +0000 |
commit | ae951602785ddf875b3ce8e66690b51e94a94dea (patch) | |
tree | 771118f806441b62dba80e48428a831e888aded1 /sysutils/u-boot-bananapi | |
parent | net-p2p/py-kenosis: Mark DEPRECATED as fails to run with modern python (diff) |
Adds the U-Boot loader for Banana pi, Cubieboard and Cubieboard2.
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 on the FAT partition to
address 0x42000000, and launches it.
For information about running FreeBSD on Allwinner SoCs, see
https://wiki.freebsd.org/FreeBSD/arm/Allwinner
Differential Revision: https://reviews.freebsd.org/D2874
Reviewed by: garga
Approved by: garga
Notes
Notes:
svn path=/head/; revision=391476
Diffstat (limited to 'sysutils/u-boot-bananapi')
-rw-r--r-- | sysutils/u-boot-bananapi/Makefile | 15 | ||||
-rw-r--r-- | sysutils/u-boot-bananapi/pkg-descr | 19 |
2 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/u-boot-bananapi/Makefile b/sysutils/u-boot-bananapi/Makefile new file mode 100644 index 000000000000..23f173ee2cb4 --- /dev/null +++ b/sysutils/u-boot-bananapi/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +PKGNAMESUFFIX= -bananapi + +COMMENT= Cross-build U-Boot loader for Banana Pi + +LICENSE= GPLv2 + +# Local overrides +MASTERDIR= ${.CURDIR}/../u-boot-cubieboard +DESCR= ${.CURDIR}/pkg-descr +MODEL= bananapi +CONF_TARGET= Bananapi_defconfig + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/u-boot-bananapi/pkg-descr b/sysutils/u-boot-bananapi/pkg-descr new file mode 100644 index 000000000000..6a1701888400 --- /dev/null +++ b/sysutils/u-boot-bananapi/pkg-descr @@ -0,0 +1,19 @@ +U-Boot loader for Banana Pi. + +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 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 |