diff --git a/Create-DevTerm-R01-OS-image-from-scratch.md b/Create-DevTerm-R01-OS-image-from-scratch.md index bbf6341..8835ee0 100644 --- a/Create-DevTerm-R01-OS-image-from-scratch.md +++ b/Create-DevTerm-R01-OS-image-from-scratch.md @@ -39,18 +39,18 @@ pushd sun20i_d1_spl sudo dd if=nboot/boot0_sdcard_sun20iw1p1.bin of=/dev/sdX bs=512 seek=16 ``` -git clone https://github.com/tekkamanninja/opensbi -b allwinner_d1 -pushd opensbi -CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generic FW_PIC=y BUILD_INFO=y make -popd +git clone https://github.com/tekkamanninja/opensbi -b allwinner_d1 +pushd opensbi +CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generic FW_PIC=y BUILD_INFO=y make +popd ``` -git clone https://github.com/tekkamanninja/u-boot -b allwinner_d1 -pushd u-boot -make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv nezha_defconfig -make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv menuconfig -make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv u-boot.bin u-boot.dtb -popd +git clone https://github.com/tekkamanninja/u-boot -b allwinner_d1 +pushd u-boot +make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv nezha_defconfig +make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv menuconfig +make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv u-boot.bin u-boot.dtb +popd ``` **in menuconfig, there is an import option must be selected:**