From 5e4c168c05b8e9c1952a16c1c06ea4b270c83531 Mon Sep 17 00:00:00 2001 From: Lu Date: Tue, 26 Mar 2024 09:42:41 +0800 Subject: [PATCH] doc update --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89ea60554..4aad23a4b 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,28 @@ # LicheeRV-Nano-Build -# how to build +# download source ``` git clone https://github.com/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 +docker export | sqfstar licheervnano-build-ubuntu.sqfs +singularity shell -e licheervnano-build-ubuntu.sqfs +``` + +# build it + +``` source build/cvisetup.sh # C906: defconfig sg2002_licheervnano_sd