mirror of
https://github.com/lupyuen/nuttx-star64.git
synced 2025-01-12 20:58:32 +08:00
Rename FIT to nuttx
This commit is contained in:
parent
982949ad43
commit
ed3c88c276
2 changed files with 6 additions and 3 deletions
|
@ -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"
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue