readme.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Intro
  2. =====
  3. This directory contains a buildroot configuration for building a
  4. LicheePi Zero.
  5. How to build it
  6. ===============
  7. Configure Buildroot
  8. -------------------
  9. $ make licheepi_zero_defconfig
  10. Build the rootfs
  11. ----------------
  12. Note: you will need to have access to the network, since Buildroot
  13. will download the packages' sources.
  14. You may now build your rootfs with:
  15. $ make
  16. (This may take a while, consider getting yourself a coffee ;-) )
  17. Result of the build
  18. -------------------
  19. After building, you should obtain this tree:
  20. output/images/
  21. +-- boot.scr
  22. +-- boot.vfat
  23. +-- rootfs.ext2
  24. +-- rootfs.ext4 -> rootfs.ext2
  25. +-- rootfs.tar
  26. +-- sdcard.img
  27. +-- sun8i-v3s-licheepi-zero-dock.dtb
  28. +-- sun8i-v3s-licheepi-zero.dtb
  29. +-- u-boot.bin
  30. +-- u-boot-sunxi-with-spl.bin
  31. `-- zImage
  32. How to write the SD card
  33. ========================
  34. Once the build process is finished you will have an image called
  35. "sdcard.img" in the output/images/ directory.
  36. Copy the bootable "sdcard.img" onto an SD card with "dd":
  37. $ sudo dd if=output/images/sdcard.img of=/dev/sdX
  38. Alternatively, you can use the Etcher graphical tool to burn the image
  39. to the SD card safely and on any platform:
  40. https://etcher.io/
  41. Once the SD card is burned, insert it into your LicheePi Zero board,
  42. and power it up. Your new system should come up now and start a
  43. console on the UART0 serial port.