From 04e1f2ad374fc429cc129acf562f714e1e37e38c Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Tue, 9 Mar 2021 09:03:54 +0000 Subject: [PATCH] Add sysutils/u-boot-orangepi-zero-plus: Das U-Boot build for orangepi-zero-plus PR: 253052 Submitted by: balazs@wee.hu Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D28325 --- sysutils/Makefile | 1 + sysutils/u-boot-orangepi-zero-plus/Makefile | 9 +++++++++ sysutils/u-boot-orangepi-zero-plus/pkg-descr | 13 +++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 sysutils/u-boot-orangepi-zero-plus/Makefile create mode 100644 sysutils/u-boot-orangepi-zero-plus/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index 38905c197da0..628ae622594b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1385,6 +1385,7 @@ SUBDIR += u-boot-orangepi-plus-2e SUBDIR += u-boot-orangepi-r1 SUBDIR += u-boot-orangepi-zero + SUBDIR += u-boot-orangepi-zero-plus SUBDIR += u-boot-pandaboard SUBDIR += u-boot-pcduino3 SUBDIR += u-boot-pine-h64 diff --git a/sysutils/u-boot-orangepi-zero-plus/Makefile b/sysutils/u-boot-orangepi-zero-plus/Makefile new file mode 100644 index 000000000000..21fb82fc6677 --- /dev/null +++ b/sysutils/u-boot-orangepi-zero-plus/Makefile @@ -0,0 +1,9 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../u-boot-master + +MODEL= orangepi-zero-plus +BOARD_CONFIG= orangepi_zero_plus_defconfig +FAMILY= allwinner64 + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/u-boot-orangepi-zero-plus/pkg-descr b/sysutils/u-boot-orangepi-zero-plus/pkg-descr new file mode 100644 index 000000000000..f7b55b254e9c --- /dev/null +++ b/sysutils/u-boot-orangepi-zero-plus/pkg-descr @@ -0,0 +1,13 @@ +U-Boot loader for OrangePi Zero Plus. + +To install this bootloader on an sdcard just do : +dd if=$LOCALBASE/share/u-boot/u-boot-orangepi-zero-plus/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=128k seek=1 conv=sync + +This version is patched so that: + * API features are enabled. + * A boot.scr (U-Boot script) that loads ubldr.bin and execute it is included + +For information about running FreeBSD on Allwinner boards, see +https://wiki.freebsd.org/FreeBSD/arm/Allwinner + +WWW: https://www.denx.de/wiki/U-Boot