1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

New port: sysutils/u-boot-clearfog

This is the U-Boot bootloader for the SolidRun ClearFog Pro.

Submitted by:	ml@vishwin.info
Differential Revision:	https://reviews.freebsd.org/D19230
This commit is contained in:
Emmanuel Vadot 2019-02-18 15:01:50 +00:00
parent a488a8299f
commit 411c6a05f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493265
4 changed files with 26 additions and 0 deletions

View File

@ -1371,6 +1371,7 @@
SUBDIR += u-boot-bananapim2
SUBDIR += u-boot-beaglebone
SUBDIR += u-boot-chip
SUBDIR += u-boot-clearfog
SUBDIR += u-boot-cubieboard
SUBDIR += u-boot-cubieboard2
SUBDIR += u-boot-cubox-hummingboard

View File

@ -0,0 +1,9 @@
# $FreeBSD$
MASTERDIR= ${.CURDIR}/../u-boot-master
MODEL= clearfog
BOARD_CONFIG= clearfog_defconfig
FAMILY= armada38x
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,9 @@
U-Boot loader for the SolidRun ClearFog Pro.
Install the u-boot-spl.kwb file onto the boot disk using:
dd if=u-boot-spl.kwb of=/dev/whatever bs=512 seek=1
The BootROM searches for U-Boot after the first 512 bytes.
WWW: https://www.denx.de/wiki/U-Boot

View File

@ -93,6 +93,13 @@ UBOOT_METADATA_IMX6_RAW_BS= 512
UBOOT_PLIST_RK3399= idbspl.img u-boot.itb
UBOOT_ARCH_RK3399= aarch64
# Override for ARMADA38X family
UBOOT_PLIST_ARMADA38X= u-boot-spl.kwb
UBOOT_METADATA_ARMADA38X_FILES= ${UBOOT_PLIST_ARMADA38X}
UBOOT_METADATA_ARMADA38X_METHOD= raw
UBOOT_METADATA_ARMADA38X_RAW_OFFSET= 1
UBOOT_METADATA_ARMADA38X_RAW_BS= 512
# Uboot variables
.if !defined(UBOOT_VERSION) && defined(UBOOT_VERSION_${FAMILY:tu})
UBOOT_VERSION=${UBOOT_VERSION_${FAMILY:tu}}