1Intro 2===== 3 4The default configuration described below will allow you to start 5experimenting with the buildroot environment for the SolidRun Clearfog GT-8K 6based on the Marvell Armada 8040 SoC. 7 8This default configuration will bring up the board and allow shell command 9line access through the serial console. 10 11How to build 12============ 13 14 $ make solidrun_clearfog_gt_8k_defconfig 15 $ make 16 17How to write the SD card 18======================== 19 20Once the build process is finished you will have an image file named 21"sdcard.img" in the output/images/ directory. 22 23Copy the bootable "sdcard.img" onto an SD card with "dd": 24 25 $ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=1M conv=fsync 26 27How to boot the board 28===================== 29 30The Clearfog GT-8K can be setup to load the bootloader from different sources 31including eMMC, SPI flash, and SD-card. 32 33To select boot from SD-card the DIP switches in SW6 (at the bottom of the 34board) should be configured as follows: 35 36 SW6: 11010 37 38Insert the micro SDcard in the Cleargfog GT-8K and power it up. 39 40Serial console 41============== 42 43The serial console is accessible at the J27 pins header (TTL UART) with the 44following pinout (pin #1 is marked with triangle on the PCB): 45 46 pin #1: Ground 47 pin #2: Armada 8040 Rx 48 pin #3: Armada 8040 Tx 49 50Enable the switch (yellow) Ethernet ports 51========================================= 52 53To enable the Clearfog GT-8K internal switch port make sure to load the 54'mv88e6xxx' kernel module, and up the switch up-link port (eth2 by default): 55 56 modprobe mv88e6xxx 57 ifconfig eth2 up 58 59Then you can configure each switch port separately. These port are named 60'lan1' to 'lan4' by default. 'lan1' is closest to the USB port, while 'lan4' 61is closest to the blue Ethernet port. 62