Date: Mon, 1 Jan 2018 09:56:12 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457761 - in head/sysutils: . u-boot-orangepi-zero Message-ID: <201801010956.w019uCmG065426@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Mon Jan 1 09:56:12 2018 New Revision: 457761 URL: https://svnweb.freebsd.org/changeset/ports/457761 Log: Add slave port for OrangePi Zero ARM SoC board u-boot support. Added: head/sysutils/u-boot-orangepi-zero/ head/sysutils/u-boot-orangepi-zero/Makefile (contents, props changed) head/sysutils/u-boot-orangepi-zero/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Jan 1 09:18:20 2018 (r457760) +++ head/sysutils/Makefile Mon Jan 1 09:56:12 2018 (r457761) @@ -1225,6 +1225,7 @@ SUBDIR += u-boot-orangepi-one SUBDIR += u-boot-orangepi-pc2 SUBDIR += u-boot-orangepi-plus-2e + SUBDIR += u-boot-orangepi-zero SUBDIR += u-boot-pandaboard SUBDIR += u-boot-pcduino3 SUBDIR += u-boot-pine64 Added: head/sysutils/u-boot-orangepi-zero/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-orangepi-zero/Makefile Mon Jan 1 09:56:12 2018 (r457761) @@ -0,0 +1,10 @@ +# $FreeBSD$ + +MAINTAINER= kevlo@FreeBSD.org +MASTERDIR= ${.CURDIR}/../u-boot-master + +MODEL= orangepi-zero +BOARD_CONFIG= orangepi_zero_defconfig +FAMILY= allwinner + +.include "${MASTERDIR}/Makefile" Added: head/sysutils/u-boot-orangepi-zero/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-orangepi-zero/pkg-descr Mon Jan 1 09:56:12 2018 (r457761) @@ -0,0 +1,19 @@ +U-Boot loader for OrangePi Zero. + +To install this bootloader on an sdcard just do : +dd if=/usr/local/share/u-boot/u-boot-orangepi-zero/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801010956.w019uCmG065426>