Date: Sun, 10 Jul 2016 15:22:02 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418325 - in head/sysutils: . u-boot-bananapim2 Message-ID: <201607101522.u6AFM2QJ006285@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sun Jul 10 15:22:01 2016 New Revision: 418325 URL: https://svnweb.freebsd.org/changeset/ports/418325 Log: U-Boot loader for Banana Pi M2. To install this bootloader, follow the instructions in http://linux-sunxi.org/Bootable_SD_card#Bootloader 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 using the fdtfile env variable. ubldr 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 Banana Pi, see https://wiki.freebsd.org/FreeBSD/arm/Allwinner For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot PR: 210628 Submitted by: manu Added: head/sysutils/u-boot-bananapim2/ head/sysutils/u-boot-bananapim2/Makefile (contents, props changed) head/sysutils/u-boot-bananapim2/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sun Jul 10 15:06:14 2016 (r418324) +++ head/sysutils/Makefile Sun Jul 10 15:22:01 2016 (r418325) @@ -1087,6 +1087,7 @@ SUBDIR += tw_cli SUBDIR += tzdialog SUBDIR += u-boot-bananapi + SUBDIR += u-boot-bananapim2 SUBDIR += u-boot-beaglebone SUBDIR += u-boot-cubieboard SUBDIR += u-boot-cubieboard2 Added: head/sysutils/u-boot-bananapim2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-bananapim2/Makefile Sun Jul 10 15:22:01 2016 (r418325) @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PKGNAMESUFFIX= -${MODEL} + +COMMENT= Cross-build U-Boot loader for bananapi M2 + +LICENSE= GPLv2 + +MASTERDIR= ${.CURDIR}/../u-boot-olimex-a20-som-evb +DESCR= ${.CURDIR}/pkg-descr +MODEL= bananapim2 +BOARD_CONFIG= Sinovoip_BPI_M2_defconfig + +.include "${MASTERDIR}/Makefile" Added: head/sysutils/u-boot-bananapim2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-bananapim2/pkg-descr Sun Jul 10 15:22:01 2016 (r418325) @@ -0,0 +1,19 @@ +U-Boot loader for Banana Pi M2. + +To install this bootloader, follow the instructions in + http://linux-sunxi.org/Bootable_SD_card#Bootloader + +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 + using the fdtfile env variable. ubldr 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 Banana Pi, 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?201607101522.u6AFM2QJ006285>