From ed3c88c276f0b4792f3d841a729cbe5a0d412275 Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Fri, 4 Aug 2023 09:27:58 +0800 Subject: [PATCH] Rename FIT to nuttx --- README.md | 3 +++ nuttx.its | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 77b3bce..67b6cc9 100644 --- a/README.md +++ b/README.md @@ -4315,7 +4315,9 @@ Generate FIT: https://github.com/starfive-tech/VisionFive2/blob/JH7110_VisionFiv brew install u-boot-tools sudo apt install u-boot-tools +## Generate FIT Image cp ../nuttx-star64/nuttx.its . +cp ../jh7110-visionfive-v2.dtb . mkimage \ -f nuttx.its \ -A riscv \ @@ -4323,6 +4325,7 @@ mkimage \ -T flat_dt \ starfiveu.fit rm nuttx.its +rm jh7110-visionfive-v2.dtb ## Copy to microSD cp starfiveu.fit "/Volumes/NO NAME" diff --git a/nuttx.its b/nuttx.its index b98d999..a2e9b97 100644 --- a/nuttx.its +++ b/nuttx.its @@ -30,7 +30,7 @@ }; fdt { - data = /incbin/("../jh7110-visionfive-v2.dtb"); + data = /incbin/("./jh7110-visionfive-v2.dtb"); type = "flat_dt"; arch = "riscv"; load = <0x0 0x46000000>; @@ -42,9 +42,9 @@ }; configurations { - default = "config-1"; + default = "nuttx"; - config-1 { + nuttx { description = "NuttX"; kernel = "vmlinux"; fdt = "fdt";