Rename FIT to nuttx

This commit is contained in:
Lee Lup Yuen 2023-08-04 09:27:58 +08:00
parent 982949ad43
commit ed3c88c276
2 changed files with 6 additions and 3 deletions

View file

@ -4315,7 +4315,9 @@ Generate FIT: https://github.com/starfive-tech/VisionFive2/blob/JH7110_VisionFiv
brew install u-boot-tools brew install u-boot-tools
sudo apt install u-boot-tools sudo apt install u-boot-tools
## Generate FIT Image
cp ../nuttx-star64/nuttx.its . cp ../nuttx-star64/nuttx.its .
cp ../jh7110-visionfive-v2.dtb .
mkimage \ mkimage \
-f nuttx.its \ -f nuttx.its \
-A riscv \ -A riscv \
@ -4323,6 +4325,7 @@ mkimage \
-T flat_dt \ -T flat_dt \
starfiveu.fit starfiveu.fit
rm nuttx.its rm nuttx.its
rm jh7110-visionfive-v2.dtb
## Copy to microSD ## Copy to microSD
cp starfiveu.fit "/Volumes/NO NAME" cp starfiveu.fit "/Volumes/NO NAME"

View file

@ -30,7 +30,7 @@
}; };
fdt { fdt {
data = /incbin/("../jh7110-visionfive-v2.dtb"); data = /incbin/("./jh7110-visionfive-v2.dtb");
type = "flat_dt"; type = "flat_dt";
arch = "riscv"; arch = "riscv";
load = <0x0 0x46000000>; load = <0x0 0x46000000>;
@ -42,9 +42,9 @@
}; };
configurations { configurations {
default = "config-1"; default = "nuttx";
config-1 { nuttx {
description = "NuttX"; description = "NuttX";
kernel = "vmlinux"; kernel = "vmlinux";
fdt = "fdt"; fdt = "fdt";