View | Details | Raw Unified | Return to bug 211043 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/u-boot-orangepi-one/Makefile (+14 lines)
Added Link Here
1
# $FreeBSD$
2
3
PKGNAMESUFFIX=	-${MODEL}
4
5
COMMENT=	Cross-build U-Boot loader for OrangePi One
6
7
LICENSE=	GPLv2
8
9
MASTERDIR=	${.CURDIR}/../u-boot-olimex-a20-som-evb
10
DESCR=		${.CURDIR}/pkg-descr
11
MODEL=		orangepi-one
12
BOARD_CONFIG=	orangepi_one_defconfig
13
14
.include "${MASTERDIR}/Makefile"
(-)b/sysutils/u-boot-orangepi-one/pkg-descr (+19 lines)
Added Link Here
1
U-Boot loader for OrangePi One.
2
3
To install this bootloader on an sdcard just do :
4
dd if=/usr/local/share/u-boot/u-boot-boardname/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=1k seek=8 conv=notrunc,sync
5
6
This version is patched so that:
7
 * ELF and API features are enabled.
8
 * The default environment is trimmed to just what's needed to boot.
9
 * The saveenv command writes to the file u-boot.env on the FAT partition.
10
 * The DTB file name is chosen based on the board model and passed to ubldr.bin
11
   using the fdtfile env variable. ubldr.bin loads the DTB from /boot/dtb/ on
12
   the FreeBSD partition.
13
 * By default, it loads PIE ubldr.bin from file ubldr.bin on the FAT partition
14
   to address 0x42000000, and launches it.
15
16
For information about running FreeBSD on Allwinner boards, see
17
 https://wiki.freebsd.org/FreeBSD/arm/Allwinner
18
19
For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot

Return to bug 211043