path: root/board/solidrun/clearfog_gt_8k
diff options
authorGravatar Baruch Siach <baruch@tkos.co.il>2019-06-16 11:18:47 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-06-19 13:59:21 +0200
commit0de91e572569fc450f74839b1bd3683aed16c196 (patch)
tree69bf45a27ad8ec07989af371e94ea9934124175b /board/solidrun/clearfog_gt_8k
parent26c876cd072bcceb67e11b4d173bd848f89476c3 (diff)
configs/solidrun_clearfog_gt_8k: new defconfig
Add support for the SolidRun Armada 8040 based Clearfog GT-8K. This board has the same processor as the Macchiatobin, so we can reuse the Macchiatobin U-Boot and image definitions. The kernel fragment enables drivers that are necessary to make networking ports work (SFP, Ethernet port, and Ethernet switch). Cc: Jan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board/solidrun/clearfog_gt_8k')
6 files changed, 72 insertions, 0 deletions
diff --git a/board/solidrun/clearfog_gt_8k/extlinux.conf b/board/solidrun/clearfog_gt_8k/extlinux.conf
new file mode 100644
index 0000000000..aae0c0d5fb
--- /dev/null
+++ b/board/solidrun/clearfog_gt_8k/extlinux.conf
@@ -0,0 +1,4 @@
+label Clearfog GT-8K Linux
+ kernel /boot/Image
+ devicetree /boot/armada-8040-clearfog-gt-8k.dtb
+ append console=ttyS0,115200n8 root=/dev/mmcblk1p1 rootwait
diff --git a/board/solidrun/clearfog_gt_8k/genimage.cfg b/board/solidrun/clearfog_gt_8k/genimage.cfg
new file mode 120000
index 0000000000..0cc2754ff6
--- /dev/null
+++ b/board/solidrun/clearfog_gt_8k/genimage.cfg
@@ -0,0 +1 @@
+../macchiatobin/genimage.cfg \ No newline at end of file
diff --git a/board/solidrun/clearfog_gt_8k/linux-extras.config b/board/solidrun/clearfog_gt_8k/linux-extras.config
new file mode 100644
index 0000000000..bce2a2e9d2
--- /dev/null
+++ b/board/solidrun/clearfog_gt_8k/linux-extras.config
@@ -0,0 +1,4 @@
diff --git a/board/solidrun/clearfog_gt_8k/post-build-mainline.sh b/board/solidrun/clearfog_gt_8k/post-build-mainline.sh
new file mode 120000
index 0000000000..a8c9a52437
--- /dev/null
+++ b/board/solidrun/clearfog_gt_8k/post-build-mainline.sh
@@ -0,0 +1 @@
+../macchiatobin/post-build-mainline.sh \ No newline at end of file
diff --git a/board/solidrun/clearfog_gt_8k/readme.txt b/board/solidrun/clearfog_gt_8k/readme.txt
new file mode 100644
index 0000000000..1648ffa38d
--- /dev/null
+++ b/board/solidrun/clearfog_gt_8k/readme.txt
@@ -0,0 +1,61 @@
+The default configuration described below will allow you to start
+experimenting with the buildroot environment for the SolidRun Clearfog GT-8K
+based on the Marvell Armada 8040 SoC.
+This default configuration will bring up the board and allow shell command
+line access through the serial console.
+How to build
+ $ make solidrun_clearfog_gt_8k_defconfig
+ $ make
+How to write the SD card
+Once the build process is finished you will have an image file named
+"sdcard.img" in the output/images/ directory.
+Copy the bootable "sdcard.img" onto an SD card with "dd":
+ $ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M conv=fsync
+How to boot the board
+The Clearfog GT-8K can be setup to load the bootloader from different sources
+including eMMC, SPI flash, and SD-card.
+To select boot from SD-card the DIP switches in SW6 (at the bottom of the
+board) should be configured as follows:
+ SW6: 11010
+Insert the micro SDcard in the Cleargfog GT-8K and power it up.
+Serial console
+The serial console is accessible at the J27 pins header (TTL UART) with the
+following pinout (pin #1 is marked with triangle on the PCB):
+ pin #1: Ground
+ pin #2: Armada 8040 Rx
+ pin #3: Armada 8040 Tx
+Enable the switch (yellow) Ethernet ports
+To enable the Clearfog GT-8K internal switch port make sure to load the
+'mv88e6xxx' kernel module, and up the switch up-link port (eth2 by default):
+ modprobe mv88e6xxx
+ ifconfig eth2 up
+Then you can configure each switch port separately. These port are named
+'lan1' to 'lan4' by default. 'lan1' is closest to the USB port, while 'lan4'
+is closest to the blue Ethernet port.
diff --git a/board/solidrun/clearfog_gt_8k/uboot-fragment.config b/board/solidrun/clearfog_gt_8k/uboot-fragment.config
new file mode 120000
index 0000000000..996c4aa6b6
--- /dev/null
+++ b/board/solidrun/clearfog_gt_8k/uboot-fragment.config
@@ -0,0 +1 @@
+../macchiatobin/uboot-fragment.config \ No newline at end of file