diff options
author | Warner Losh <imp@FreeBSD.org> | 2016-08-11 05:26:42 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2016-08-11 05:26:42 +0000 |
commit | fbc6be1c3850784b39cdf88869a812fd18b14bd2 (patch) | |
tree | e527e4a26302ec650a3063f551c8963efac37d9c /sysutils | |
parent | shells/klish: 2.1.2 -> 2.1.3 (diff) |
Add slave port for the pcDuino3.
Notes
Notes:
svn path=/head/; revision=420049
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/u-boot-pcduino3/Makefile | 14 | ||||
-rw-r--r-- | sysutils/u-boot-pcduino3/pkg-descr | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/u-boot-pcduino3/Makefile b/sysutils/u-boot-pcduino3/Makefile new file mode 100644 index 000000000000..3c29e6a00967 --- /dev/null +++ b/sysutils/u-boot-pcduino3/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PKGNAMESUFFIX= -${MODEL} + +COMMENT= Cross-build U-Boot loader for OrangePi One + +LICENSE= GPLv2 + +MASTERDIR= ${.CURDIR}/../u-boot-olimex-a20-som-evb +DESCR= ${.CURDIR}/pkg-descr +MODEL= pcduino3 +BOARD_CONFIG= Linksprite_pcDuino3_defconfig + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/u-boot-pcduino3/pkg-descr b/sysutils/u-boot-pcduino3/pkg-descr new file mode 100644 index 000000000000..fab16d0dcb3c --- /dev/null +++ b/sysutils/u-boot-pcduino3/pkg-descr @@ -0,0 +1,19 @@ +U-Boot loader for pcDuino3 + +To install this bootloader on an sdcard just do : +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 + +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.bin + using the fdtfile env variable. ubldr.bin loads the DTB from /boot/dtb/ on + the FreeBSD partition. + * By default, it loads PIE ubldr.bin from file ubldr.bin on the FAT partition + to address 0x42000000, and launches it. + +For information about running FreeBSD on Allwinner boards, see + https://wiki.freebsd.org/FreeBSD/arm/Allwinner + +For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot |