sysutils/u-boot-pine-h64: Add new port

U-boot variant for the Pine64 H64 board.
This commit is contained in:
Emmanuel Vadot 2020-11-24 20:15:58 +00:00
parent 69a0764207
commit 3ba503d439
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556182
4 changed files with 25 additions and 0 deletions

View File

@ -1379,6 +1379,7 @@
SUBDIR += u-boot-orangepi-zero
SUBDIR += u-boot-pandaboard
SUBDIR += u-boot-pcduino3
SUBDIR += u-boot-pine-h64
SUBDIR += u-boot-pine64
SUBDIR += u-boot-pine64-lts
SUBDIR += u-boot-pinebook

View File

@ -151,9 +151,14 @@ UBOOT_MOVE=${UBOOT_MOVE_${FAMILY:tu}}
# Per family dependancies
.if defined(FAMILY) && ${FAMILY} == allwinner64
.if defined(SUBFAMILY) && ${SUBFAMILY} == h6
BUILD_DEPENDS+= ${LOCALBASE}/share/atf-sun50i_h6/bl31.bin:sysutils/atf-sun50i_h6
MAKE_ENV+= BL31=${LOCALBASE}/share/atf-sun50i_h6/bl31.bin
.else
BUILD_DEPENDS+= ${LOCALBASE}/share/atf-sun50i_a64/bl31.bin:sysutils/atf-sun50i_a64
MAKE_ENV+= BL31=${LOCALBASE}/share/atf-sun50i_a64/bl31.bin
.endif
.endif
.if defined(FAMILY) && ${FAMILY} == rk3328
BUILD_DEPENDS+= ${LOCALBASE}/share/atf-rk3328/bl31.elf:sysutils/atf-rk3328 \

View File

@ -0,0 +1,10 @@
# $FreeBSD$
MASTERDIR= ${.CURDIR}/../u-boot-master
MODEL= pine-h64
BOARD_CONFIG= pine_h64_defconfig
FAMILY= allwinner64
SUBFAMILY= h6
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,9 @@
U-Boot loader and related files for the Pine H64
To install this bootloader on an sdcard just do:
dd if=/usr/local/share/u-boot/u-boot-pine-h64/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=128k seek=1 conv=sync
For information about running FreeBSD on Allwinner boards, see
https://wiki.freebsd.org/FreeBSD/arm/Allwinner
WWW: https://www.denx.de/wiki/U-Boot