diff --git a/README.md b/README.md index 9a463dae..97e5fea9 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ - [2.1. Preparation](#21-preparation) - [2.2 Checkout code](#22-checkout-code) - [2.3 Build](#23-build) - - [2.4 How to flash](#24-how-to-flash) + - [2.4 Flashing](#24-flashing) ## 1. Official reference -- https://developer.sophgo.com/thread/471.html +- [Developer Portal](https://developer.sophgo.com/thread/471.html) ## 2. How to start @@ -26,15 +26,15 @@ ### 2.2 Checkout code -- Checkout +- Clone the Repository ```bash - git clone https://github.com/mingzhangqun/reCamera.git -b sg200x-reCamera + git clone https://github.com/Seeed-Studio/reCamera.git -b sg200x-reCamera cd reCamera git submodule update --init --recursive ``` -- Update submodules +- Update Submodules ```bash ./scripts/repo_clone.sh --gitpull external/subtree.xml @@ -42,30 +42,32 @@ ### 2.3 Build -- Where is project defconfig? +- Location of the ${project}_defconfig ```bash ls external/configs/ sg2002_recamera_emmc_defconfig sg2002_recamera_sd_defconfig sg2002_xiao_sd_defconfig ``` -- Build +- Building the Project ```bash make ${project} ``` - Such as: + + Example: ```bash make sg2002_recamera_emmc ``` -- Where is build targets? +- Location of the Build Targets ```bash ls -l output/${project}/install/soc_${project}/${project} ``` - Such as: + Example: + ```bash cd output/sg2002_recamera_emmc/install/soc_sg2002_recamera_emmc/ ls -l *.zip @@ -75,16 +77,16 @@ sg2002_reCamera_0.0.1_emmc.zip ``` -### 2.4 How to flash +### 2.4 Flashing -- Flash to emmc +- Flashing to eMMC - - 解压:[CviBurn_v2.0_cli_windows.zip](./external/tools/CviBurn_v2.0_cli_windows.zip) - - 解压 [2.3](#23-build) 中生成的镜像,比如: - > ./output/sg2002_recamera_emmc/install/soc_sg2002_recamera_emmc/sg2002_reCamera_0.0.1_emmc.zip - - 在Windows命令行中执行命令,[-m xx:xx:xx:xx:xx:xx]以太网MAC地址(可选): + - Unzip the [CviBurn_v2.0_cli_windows.zip](./external/tools/CviBurn_v2.0_cli_windows.zip) package. + - Unzip the package generated by [Section 2.3](#23-build), for example: + ./output/sg2002_recamera_emmc/install/soc_sg2002_recamera_emmc/sg2002_reCamera_0.0.1_emmc.zip + - Execute the following command in Windows (use [-m xx:xx:xx:xx:xx:xx] to configure the Ethernet MAC address): > usb_dl.exe -c cv181x -s linux -i ..\sg2002_reCamera_0.0.1_emmc [-m xx:xx:xx:xx:xx:xx] -- Flash to sdcard +- Flashing to SD Card - [Reference to](./build/README.md) \ No newline at end of file + Refer to this [README.md](./build/README.md) for more details. \ No newline at end of file