aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/u-boot-clearfog/Makefile9
-rw-r--r--sysutils/u-boot-clearfog/pkg-descr9
-rw-r--r--sysutils/u-boot-master/Makefile7
4 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 479a0771659d..5704580b6cb0 100644
--- a/sysutils/Makefile
+++ b/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
diff --git a/sysutils/u-boot-clearfog/Makefile b/sysutils/u-boot-clearfog/Makefile
new file mode 100644
index 000000000000..01ca03e174f4
--- /dev/null
+++ b/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"
diff --git a/sysutils/u-boot-clearfog/pkg-descr b/sysutils/u-boot-clearfog/pkg-descr
new file mode 100644
index 000000000000..c9cc0c8652c2
--- /dev/null
+++ b/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
diff --git a/sysutils/u-boot-master/Makefile b/sysutils/u-boot-master/Makefile
index 142d0922ef5b..846a3ddecc16 100644
--- a/sysutils/u-boot-master/Makefile
+++ b/sysutils/u-boot-master/Makefile
@@ -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}}