aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Oleksandr Zhadan <oleks@arcturusnetworks.com>2018-03-15 17:07:49 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-03-26 22:38:16 +0200
commit363505241f081314383af413b62a91bda53ef9c8 (patch)
treea186ff12e46126b8f0d1df16fb7f1cff04f5749b /board
parentad980ccc3639baa2e517c4d36e836b71ab9f5b8f (diff)
downloadbuildroot-363505241f081314383af413b62a91bda53ef9c8.tar.gz
buildroot-363505241f081314383af413b62a91bda53ef9c8.tar.bz2
configs/arcturus_ucls1012a: new defconfig
The uCLS1012A-SOM product family (ucls1012a) is an Arcturus Networks Inc. 64bit ARM Cortex-A53 class System on Module powered by a NXP QorIQ LS1012A Low Power Communication Processor. This 314 pin MXM3.0/SMARC module card contains DDR3, QSPI NOR Flash, eMMC NAND Flash, optional Audio CODEC and is available with 1 or 2 Gig-Ethernet PHYs. Signed-off-by: Oleksandr Zhadan <oleks@arcturusnetworks.com> Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com> Changes v1 -> v2: - updated kernel and u-boot source repositories to github Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board')
-rwxr-xr-xboard/arcturus/aarch64-ucls1012a/post-image.sh6
-rw-r--r--board/arcturus/aarch64-ucls1012a/readme.txt74
-rwxr-xr-xboard/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload14
3 files changed, 94 insertions, 0 deletions
diff --git a/board/arcturus/aarch64-ucls1012a/post-image.sh b/board/arcturus/aarch64-ucls1012a/post-image.sh
new file mode 100755
index 0000000000..ccfacd3858
--- /dev/null
+++ b/board/arcturus/aarch64-ucls1012a/post-image.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+MKIMAGE=${HOST_DIR}/usr/bin/mkimage
+MKIMAGE_IN=${BINARIES_DIR}/br2-ucls1012a.its
+MKIMAGE_OUT=${BINARIES_DIR}/part0-000000.itb
+${MKIMAGE} -f ${MKIMAGE_IN} ${MKIMAGE_OUT}
diff --git a/board/arcturus/aarch64-ucls1012a/readme.txt b/board/arcturus/aarch64-ucls1012a/readme.txt
new file mode 100644
index 0000000000..483d5e9aef
--- /dev/null
+++ b/board/arcturus/aarch64-ucls1012a/readme.txt
@@ -0,0 +1,74 @@
+Arcturus uCLS1012A SoM
+======================
+
+This tutorial describes how to use the predefined Buildroot
+configuration for the Arcturus uCLS101A SoM platform.
+
+Additional information about the uCLS1012A System on Module can be found at
+https://www.arcturusnetworks.com/products/ucls1012a
+and product support for registered users at
+https://www.arcturusnetworks.com/support
+
+Building
+--------
+
+Return to the top directory <buildrootdir> and execute the following commands.
+
+ make arcturus_ucls1012a_defconfig
+ make
+
+Result of the build
+-------------------
+
+After building, you should obtain this tree:
+
+ output/images/
+ +-- arc-ucls1012a.dtb
+ +-- Image
+ +-- part0-000000.itb
+ +-- rootfs.cpio
+ +-- rootfs.cpio.gz
+ +-- rootfs.tar
+ +-- u-boot.bin
+ +-- ucls1012a.its
+
+Flashing
+--------
+
+You'll need to program the image created by buildroot into the SPI NOR flash.
+
+1. Reboot your module and via the serial console press <escape> to enter the B$
+u-boot shell.
+ From the shell you will need to update four environment variables replacing the
+ IPv4 IP Address with ones that will work with your network and tftp server.
+
+ B$ setenv ipaddr 192.168.1.81
+ B$ setenv serverip 192.168.1.80
+ B$ setenv gatewayip 192.168.1.1
+ B$ setenv netmask 255.255.255.0
+ B$ saveenv
+
+2. Enable tftp server to serve the <buildrootdir>/output/images/ folder.
+
+3. Program the new U-Boot binary (optional)
+ If you don't feel confident upgrading your bootloader then don't do it,
+ it's unnecessary most of the time.
+
+ B$ tftp u-boot.bin
+ B$ run program_uboot
+
+4. Program the ITB image (includes Kernel, DTB and Ramdisk)
+
+ B$ tftp part0-000000.itb
+ B$ run iprogram
+
+5. Booting your new system
+
+ Reboot your system by reset command
+ B$ reset
+
+ or
+
+ B$ run bootcmd
+
+Good Luck !
diff --git a/board/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload b/board/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload
new file mode 100755
index 0000000000..c87ffda14f
--- /dev/null
+++ b/board/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+case "$1" in
+ start)
+ modprobe pfe
+ ;;
+ stop)
+ ;;
+ restart|reload)
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac