Page MenuHomeFreeBSD

D19230.id.diff
No OneTemporary

D19230.id.diff

Index: head/sysutils/Makefile
===================================================================
--- head/sysutils/Makefile
+++ head/sysutils/Makefile
@@ -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
Index: head/sysutils/u-boot-clearfog/Makefile
===================================================================
--- head/sysutils/u-boot-clearfog/Makefile
+++ head/sysutils/u-boot-clearfog/Makefile
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+MODEL= clearfog
+BOARD_CONFIG= clearfog_defconfig
+FAMILY= armada38x
+
+.include "${MASTERDIR}/Makefile"
Index: head/sysutils/u-boot-clearfog/pkg-descr
===================================================================
--- head/sysutils/u-boot-clearfog/pkg-descr
+++ head/sysutils/u-boot-clearfog/pkg-descr
@@ -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
Index: head/sysutils/u-boot-master/Makefile
===================================================================
--- head/sysutils/u-boot-master/Makefile
+++ head/sysutils/u-boot-master/Makefile
@@ -93,6 +93,13 @@
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}}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 19, 3:31 PM (5 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27723068
Default Alt Text
D19230.id.diff (1 KB)

Event Timeline