Updated Create DevTerm R01 OS image from scratch (markdown)

GNU 2022-10-24 16:22:16 +08:00
parent e8de53b4fd
commit 5591d0edba

@ -39,18 +39,18 @@ pushd sun20i_d1_spl
sudo dd if=nboot/boot0_sdcard_sun20iw1p1.bin of=/dev/sdX bs=512 seek=16 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 git clone https://github.com/tekkamanninja/opensbi -b allwinner_d1
pushd opensbi pushd opensbi
CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generic FW_PIC=y BUILD_INFO=y make CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generic FW_PIC=y BUILD_INFO=y make
popd popd
``` ```
git clone https://github.com/tekkamanninja/u-boot -b allwinner_d1 git clone https://github.com/tekkamanninja/u-boot -b allwinner_d1
pushd u-boot pushd u-boot
make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv nezha_defconfig 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 menuconfig
make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv u-boot.bin u-boot.dtb make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv u-boot.bin u-boot.dtb
popd popd
``` ```
**in menuconfig, there is an import option must be selected:** **in menuconfig, there is an import option must be selected:**