Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2019 15:01:51 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493265 - in head/sysutils: . u-boot-clearfog u-boot-master
Message-ID:  <201902181501.x1IF1pbH046110@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Mon Feb 18 15:01:50 2019
New Revision: 493265
URL: https://svnweb.freebsd.org/changeset/ports/493265

Log:
  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

Added:
  head/sysutils/u-boot-clearfog/
  head/sysutils/u-boot-clearfog/Makefile   (contents, props changed)
  head/sysutils/u-boot-clearfog/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile
  head/sysutils/u-boot-master/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Mon Feb 18 14:58:12 2019	(r493264)
+++ head/sysutils/Makefile	Mon Feb 18 15:01:50 2019	(r493265)
@@ -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

Added: head/sysutils/u-boot-clearfog/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-clearfog/Makefile	Mon Feb 18 15:01:50 2019	(r493265)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../u-boot-master
+
+MODEL=		clearfog
+BOARD_CONFIG=	clearfog_defconfig
+FAMILY=		armada38x
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/u-boot-clearfog/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-clearfog/pkg-descr	Mon Feb 18 15:01:50 2019	(r493265)
@@ -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

Modified: head/sysutils/u-boot-master/Makefile
==============================================================================
--- head/sysutils/u-boot-master/Makefile	Mon Feb 18 14:58:12 2019	(r493264)
+++ head/sysutils/u-boot-master/Makefile	Mon Feb 18 15:01:50 2019	(r493265)
@@ -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}}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902181501.x1IF1pbH046110>