mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-17 04:38:51 +01:00
Updated Create DevTerm R01 OS image from scratch (markdown)
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
|
||||
```
|
||||
|
||||
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:**
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user