U-Boot loader for Olinuxino Lime.

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

PR:		211950
Submitted by:	Emmanuel Vadot
This commit is contained in:
Pawel Pekala 2016-08-18 17:23:00 +00:00
parent bf08a0ffa5
commit 9e8b88e0fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420415
3 changed files with 34 additions and 0 deletions

View File

@ -1111,6 +1111,7 @@
SUBDIR += u-boot-cubox-hummingboard
SUBDIR += u-boot-duovero
SUBDIR += u-boot-olimex-a20-som-evb
SUBDIR += u-boot-olinuxino-lime
SUBDIR += u-boot-orangepi-one
SUBDIR += u-boot-pandaboard
SUBDIR += u-boot-pine64

View File

@ -0,0 +1,14 @@
# $FreeBSD$
PKGNAMESUFFIX= -${MODEL}
COMMENT= Cross-build U-Boot loader for Olinuxino Lime
LICENSE= GPLv2
MASTERDIR= ${.CURDIR}/../u-boot-olimex-a20-som-evb
DESCR= ${.CURDIR}/pkg-descr
MODEL= olinuxino-lime
BOARD_CONFIG= A10-OLinuXino-Lime_defconfig
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,19 @@
U-Boot loader for Olinuxino Lime.
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