Name Date Size #Lines LOC

..--

boot.cmdH A D05-Jun-2025220 54

genimage.cfgH A D05-Jun-2025497 3731

readme.txtH A D05-Jun-20251.4 KiB6343

readme.txt

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