readme.txt 1.7 KB

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