1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add u-boot port for Sopine/Pine64-LTS

Reviewed by:	imp (earlier version)
Approved by:	imp
Differential Revision:	https://reviews.freebsd.org/D13022
This commit is contained in:
Emmanuel Vadot 2017-11-11 17:08:49 +00:00
parent bf47e1b2c5
commit d257b921aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453980
3 changed files with 26 additions and 0 deletions

View File

@ -1222,6 +1222,7 @@
SUBDIR += u-boot-rpi2
SUBDIR += u-boot-rpi3
SUBDIR += u-boot-sinovoip-bpi-m3
SUBDIR += u-boot-sopine
SUBDIR += u-boot-utilite
SUBDIR += u-boot-wandboard
SUBDIR += u-boot-zedboard

View File

@ -0,0 +1,16 @@
# $FreeBSD$
MAINTAINER= manu@FreeBSD.org
MASTERDIR= ${.CURDIR}/../u-boot-master
MODEL= sopine
BOARD_CONFIG= sopine_baseboard_defconfig
FAMILY= allwinner64
BUILD_DEPENDS= ${LOCALBASE}/share/atf-allwinner/bl31.bin:sysutils/atf-allwinner
MAKE_ENV+= BL31=${LOCALBASE}/share/atf-allwinner/bl31.bin
post-build:
${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin
.include "${MASTERDIR}/Makefile"

View File

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