LicheeRV-Nano-Build
  • C 94.2%
  • Python 2.8%
  • Assembly 1.1%
  • Makefile 0.8%
  • Shell 0.3%
  • Other 0.4%
Find a file
2026-05-06 15:36:29 -04:00
.forgejo/workflows fix: use action checkout 2026-05-06 15:36:29 -04:00
.github/workflows
build optimize startup logo load and add PyQT5 package 2025-07-28 18:55:41 +08:00
buildroot * fix reboot adbd issue 2026-01-14 09:49:36 +08:00
demo
freertos
fsbl
host
isp_tuning
LicheeRV-Nano-Build@2f653670ab Merge branch 'main' of https://vc.maxkaya.com/maxpeterkaya/LicheeRV-Nano-Build 2026-05-04 09:18:55 -04:00
linux_5.10
middleware/v2
opensbi
osdrv * support sdio bluetooth 2025-12-29 18:47:11 +08:00
oss
ramdisk fix init dev failed error 2025-07-30 13:34:59 +08:00
u-boot-2021.10 i2c: fix stack buffer overflow vulnerability in i2c md command 2025-12-17 11:55:45 +08:00
.gitignore fix gitignore file error 2025-07-29 15:27:01 +08:00
build.sh Merge branch 'main' of https://vc.maxkaya.com/maxpeterkaya/LicheeRV-Nano-Build 2026-05-04 09:18:55 -04:00
Dockerfile Merge branch 'main' of https://vc.maxkaya.com/maxpeterkaya/LicheeRV-Nano-Build 2026-05-04 09:18:55 -04:00
post-build.sh Merge branch 'main' of https://vc.maxkaya.com/maxpeterkaya/LicheeRV-Nano-Build 2026-05-04 09:18:55 -04:00
README.md

LicheeRV-Nano-Build

download source

git clone https://github.com/sipeed/LicheeRV-Nano-Build --depth=1
cd LicheeRV-Nano-Build
git clone https://github.com/sophgo/host-tools --depth=1

host environment

you can use container:

cd host/ubuntu
docker build -t licheervnano-build-ubuntu .
docker run --name licheervnano-build-ubuntu licheervnano-build-ubuntu
docker export licheervnano-build-ubuntu | sqfstar licheervnano-build-ubuntu.sqfs
singularity shell -e licheervnano-build-ubuntu.sqfs

build it

source build/cvisetup.sh
# C906:
defconfig sg2002_licheervnano_sd
# A53:
# defconfig sg2002_licheea53nano_sd
build_all

build fail

on some system, qt5svg or qt5base will build failed on first build, please retry command:

build_all

how to modify image after build:

# first partition
touch wifi.sta
mcopy -i install/xxx/xxx.img@@1s wifi.sta ::/

# second partition
./host/mount_ext4.sh install/xxx/xxx.img mountpoint
cd mountpoint
touch xxx

logo

./host/make_logo.sh input.jpeg logo.jpeg
mcopy -i install/xxx/xxx.img@@1s logo.jpeg ::/