Skip to content

Commit

Permalink
Added uboot FIT images for each board
Browse files Browse the repository at this point in the history
  • Loading branch information
tim committed May 26, 2022
1 parent 894b5f2 commit 516b0f4
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 0 deletions.
61 changes: 61 additions & 0 deletions config/lichee_rv_86_boot.its
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/dts-v1/;

/ {
description = "Lichee RV FIT Image";
#address-cells = <1>;

images {
uboot {
description = "U-Boot";
data = /incbin/("u-boot-nodtb.bin");
type = "standalone";
os = "U-Boot";
arch = "riscv";
compression = "none";
load = <0x4a000000>;
};
opensbi {
description = "RISC-V OpenSBI";
data = /incbin/("fw_dynamic.bin");
type = "firmware";
os = "opensbi";
arch = "riscv";
compression = "none";
load = <0x40000000>;
entry = <0x40000000>;
};
fdt {
description = "DTB";
data = /incbin/("u-boot/arch/riscv/dts/sun20i-d1-lichee-rv-86-panel.dtb");
type = "flat_dt";
arch = "riscv";
compression = "none";
load = <0x44000000>;
entry = <0x44000000>;
hash {
algo = "sha1";
};
};
initrd {
description = "Initrd";
data = /incbin/("core-image-minimal-nitrogen8m.ext2.gz");
type = "ramdisk";
arch = "riscv64";
os = "linux";
compression = "none";
hash {
algo = "sha1";
};
};
};

configurations {
default = "standard";
standard {
description = "Standard Boot";
description = "U-Boot FIT";
firmware = "opensbi";
loadables = "uboot";
};
};
};
61 changes: 61 additions & 0 deletions config/lichee_rv_dock_boot.its
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/dts-v1/;

/ {
description = "Lichee RV FIT Image";
#address-cells = <1>;

images {
uboot {
description = "U-Boot";
data = /incbin/("u-boot-nodtb.bin");
type = "standalone";
os = "U-Boot";
arch = "riscv";
compression = "none";
load = <0x4a000000>;
};
opensbi {
description = "RISC-V OpenSBI";
data = /incbin/("fw_dynamic.bin");
type = "firmware";
os = "opensbi";
arch = "riscv";
compression = "none";
load = <0x40000000>;
entry = <0x40000000>;
};
fdt {
description = "DTB";
data = /incbin/("u-boot/arch/riscv/dts/sun20i-d1-lichee-rv-dock.dtb");
type = "flat_dt";
arch = "riscv";
compression = "none";
load = <0x44000000>;
entry = <0x44000000>;
hash {
algo = "sha1";
};
};
initrd {
description = "Initrd";
data = /incbin/("core-image-minimal-nitrogen8m.ext2.gz");
type = "ramdisk";
arch = "riscv64";
os = "linux";
compression = "none";
hash {
algo = "sha1";
};
};
};

configurations {
default = "standard";
standard {
description = "Standard Boot";
description = "U-Boot FIT";
firmware = "opensbi";
loadables = "uboot";
};
};
};

0 comments on commit 516b0f4

Please sign in to comment.