kumquat-buildroot/board/sipeed/licheepi_zero
Francois Dugast 72c653367d board/licheepi_zero: move board files to their own directory
Group files for board licheepi_zero under the existing manufacturer
directory, like all the other boards by Sipeed.

Signed-off-by: Francois Dugast <francois.dugast.foss@gmail.com>
[yann.morin.1998@free.fr: use the manufacturer sub-dir]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-10-29 19:42:56 +01:00
..
boot.cmd board/licheepi_zero: move board files to their own directory 2023-10-29 19:42:56 +01:00
genimage.cfg board/licheepi_zero: move board files to their own directory 2023-10-29 19:42:56 +01:00
readme.txt board/licheepi_zero: move board files to their own directory 2023-10-29 19:42:56 +01:00

Intro
=====

This directory contains a buildroot configuration for building a
LicheePi Zero.

How to build it
===============

Configure Buildroot
-------------------

  $ make sipeed_licheepi_zero_defconfig

Build the rootfs
----------------

Note: you will need to have access to the network, since Buildroot
will download the packages' sources.

You may now build your rootfs with:

  $ make

(This may take a while, consider getting yourself a coffee ;-) )

Result of the build
-------------------

After building, you should obtain this tree:

    output/images/
    +-- boot.scr
    +-- boot.vfat
    +-- rootfs.ext2
    +-- rootfs.ext4 -> rootfs.ext2
    +-- rootfs.tar
    +-- sdcard.img
    +-- sun8i-v3s-licheepi-zero-dock.dtb
    +-- sun8i-v3s-licheepi-zero.dtb
    +-- u-boot.bin
    +-- u-boot-sunxi-with-spl.bin
    `-- zImage

How to write the SD card
========================

Once the build process is finished you will have an image called
"sdcard.img" in the output/images/ directory.

Copy the bootable "sdcard.img" onto an SD card with "dd":

  $ sudo dd if=output/images/sdcard.img of=/dev/sdX

Alternatively, you can use the Etcher graphical tool to burn the image
to the SD card safely and on any platform:

https://etcher.io/

Once the SD card is burned, insert it into your LicheePi Zero board,
and power it up. Your new system should come up now and start a
console on the UART0 serial port.