A Yocto/OpenEmbedded layer for the Sipeed LicheeRV Nano, based on the Sophgo SG2002 SoC.
This layer defines the licheerv-nano machine, the SG2002 kernel and boot
chain, and a bootable SD-card image. It is a Yocto/OpenEmbedded conversion of
varyhin/licheervnano, whose
mainline source pins, boot flow, board patches, and hardware enablement form
the basis of this project.
Nano-W and Nano-WE images include the AIC8800 SDIO Wi-Fi/BT driver modules and vendor firmware. The same universal image also boots Nano-B and Nano-E; the AIC8800 modules simply find no device on those variants.
The layer currently declares compatibility with:
- Wrynose
Use KAS to fetch the compatible dependency set and build the reference image:
kas build kas/licheerv-nano.ymlTo use an existing Poky build environment, add this layer and set the machine:
MACHINE = "licheerv-nano"Build the layer's reference image:
bitbake licheerv-nano-imageSee docs/bringup.md for source pins and peripheral integration, and docs/boot-architecture.md for the hardware and firmware boot chain.
This layer is distributed under the MIT License. See LICENSE.