readme.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Amarula A64 Relic
  2. ================
  3. Amarula A64-Relic is an Allwinner A64 based IoT device, which supports:
  4. - Allwinner A64 Cortex-A53
  5. - Mali-400MP2 GPU
  6. - AXP803 PMIC
  7. - 1GB DDR3 RAM
  8. - 8GB eMMC
  9. - AP6330 Wifi/BLE
  10. - MIPI-DSI
  11. - CSI: OV5640 sensor
  12. - USB OTG
  13. - 12V DC power supply
  14. Wiki link:
  15. https://openedev.amarulasolutions.com/display/ODWIKI/Amarual+A64-Relic
  16. Build
  17. =====
  18. $ make amarula_a64_relic_defconfig
  19. $ make
  20. build files at output/images/:
  21. - sunxi-spl.bin
  22. - u-boot.itb
  23. - Image
  24. - sun50i-a64-amarula-relic.dtb
  25. - boot.vfat
  26. - rootfs.ext4
  27. Write eMMC
  28. =========
  29. The board comes with an operating system preloaded on the eMMC.
  30. To replace it with the Buildroot-built system, take the following
  31. steps
  32. 1. Connect the board UART with host and open minicom(ttyUSBx/115200N8)
  33. 2. Supply 12V DC for power-on the board.
  34. 3. Interrupt U-Boot by pressing enter
  35. 4. Create GPT partitions
  36. => mmc dev 1
  37. => gpt write mmc 1 $partitions
  38. 5. Connect the board USB-OTG with USB slot on the host.
  39. 6. Initiate fastboot
  40. => fastboot 0
  41. 7. Write images from host onto eMMC using fastboot
  42. $ cd output/images
  43. $ sudo fastboot -i 0x1f3a flash loader1 sunxi-spl.bin
  44. $ sudo fastboot -i 0x1f3a flash loader2 u-boot.itb
  45. $ sudo fastboot -i 0x1f3a flash esp boot.vfat
  46. $ sudo fastboot -i 0x1f3a flash system rootfs.ext4
  47. Update eMMC during Development
  48. ==============================
  49. During development, reflashing the entire filesystem image at every
  50. change is time consuming. A useful alternative is to directly access
  51. over USB the filesystem stored on the eMMC, using the USB Mass Storage
  52. capability of U-Boot. To achieve this:
  53. 1. Build U-Boot by enabling UMS
  54. $ make uboot-menuconfig
  55. (select CONFIG_CMD_USB_MASS_STORAGE=y)
  56. 2. Follow all 6 steps from 'Write eMMC' and mount eMMC on host
  57. => mmc dev 1
  58. => ums 0 mmc 1
  59. WiFi
  60. ====
  61. # wpa_passphrase ACCESSPOINTNAME >> /etc/wpa_supplicant.conf
  62. (type password and enter)
  63. # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
  64. # udhcpc -i wlan0
  65. # ping google.com
  66. --
  67. Jagan Teki <jagan@amarulasolutions.com>
  68. 29-Jun-2018