mirror of
https://github.com/sipeed/LicheeRV-Nano-Build.git
synced 2026-09-19 15:23:30 -05:00
11974a258091db988fa8ff4ab657f08bfcd066cf
licheervnano sdk
download
git clone https://github.com/sipeed/LicheeRv-Nano-Build --depth=1 --recursive
cd LicheeRv-Nano-Build
git config user.name Name
git config user.email nano@none.nop
sh ./apply_patches.sh
echo $?
setup build environment
cd docker/
podman build -t LicheeRv-Nano-Build .
podman run --rm -it -v /path/to/LicheeRv-Nano-Build:/path/to/LicheeRv-Nano-Build /bin/bash
build whole system
source build/cvisetup.sh
defconfig sg2002_licheervnano_sd
build_all
./build/tools/common/sd_tools/sd_gen_burn_image_rootless.sh install/soc_sg2002_licheervnano_sd/
ls -lh install/soc_sg2002_licheervnano_sd/images/*
make bootable sdcard image
dd if= install/soc_sg2002_licheervnano_sd/images/DATE.img of=/dev/your_sdcard
Description
Languages
C
94.3%
Python
2.8%
Assembly
1.1%
Makefile
0.8%
Shell
0.3%
Other
0.3%