|
@@ -10,6 +10,7 @@
|
|
|
|
|
|
aliases {
|
|
|
serial0 = &uart0;
|
|
|
+ spi0 = &qspi1;
|
|
|
};
|
|
|
|
|
|
chosen {
|
|
@@ -95,24 +96,29 @@
|
|
|
|
|
|
partition@0 {
|
|
|
reg = <0x000000 0x1000>;
|
|
|
- label = "boot copier";
|
|
|
+ label = "Boot Copier";
|
|
|
/*read-only;*/
|
|
|
};
|
|
|
|
|
|
partition@1000 {
|
|
|
reg = <0x1000 0x1000>;
|
|
|
- label = "boot jump";
|
|
|
+ label = "Boot Jump Code";
|
|
|
/*read-only;*/
|
|
|
};
|
|
|
|
|
|
partition@2000 {
|
|
|
- reg = <0x2000 0x2000>;
|
|
|
- label = "DTB";
|
|
|
+ reg = <0x2000 0x40000>;
|
|
|
+ label = "U-Boot SPL";
|
|
|
};
|
|
|
|
|
|
- partition@4000 {
|
|
|
- reg = <0x4000 0x7ffc000>;
|
|
|
- label = "FW_payload (OpenSBI and Linux)";
|
|
|
+ partition@42000 {
|
|
|
+ reg = <0x00042000 0x00100000>;
|
|
|
+ label = "U-Boot FIT Image";
|
|
|
+ };
|
|
|
+
|
|
|
+ partition@142000 {
|
|
|
+ reg = <0x00142000 0x07ebe000>;
|
|
|
+ label = "User";
|
|
|
};
|
|
|
};
|
|
|
};
|
|
@@ -122,70 +128,3 @@
|
|
|
&uart0 {
|
|
|
status = "okay";
|
|
|
};
|
|
|
-
|
|
|
-&binman {
|
|
|
- kernel_fit {
|
|
|
- filename = "kernel.itb";
|
|
|
- fit {
|
|
|
- description = "FIT with Linux kernel image and FDT";
|
|
|
- #address-cells = <1>;
|
|
|
- images {
|
|
|
- kernel {
|
|
|
- description = "Linux kernel";
|
|
|
- type = "kernel";
|
|
|
- arch = "riscv";
|
|
|
- os = "linux";
|
|
|
- compression = "none";
|
|
|
- load = <0x80200000>;
|
|
|
- entry = <0x80200000>;
|
|
|
- kernel_blob: blob-ext {
|
|
|
- filename = "Image";
|
|
|
- };
|
|
|
- };
|
|
|
- fdt_kernel {
|
|
|
- description = "Linux kernel device tree binary";
|
|
|
- type = "flat_dt";
|
|
|
- arch = "riscv";
|
|
|
- compression = "none";
|
|
|
- load = <0x88000000>;
|
|
|
- fdt_kernel_blob: blob-ext {
|
|
|
- filename = "dubhe_fpga_linux.dtb";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- configurations {
|
|
|
- default = "conf";
|
|
|
- conf {
|
|
|
- description = "Starfive Dubhe FPGA";
|
|
|
- kernel = "kernel";
|
|
|
- fdt = "fdt_kernel";
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
- };
|
|
|
-
|
|
|
- QSPI_Image_binary {
|
|
|
- filename = "QSPI-Image.bin";
|
|
|
- pad-byte = <0xff>;
|
|
|
-
|
|
|
- bootcopier_blob: blob-ext@0 {
|
|
|
- filename = "dubhe_fpga_bootcode.bin";
|
|
|
- offset = <0x0>;
|
|
|
- };
|
|
|
-
|
|
|
- bootjump_blob: blob-ext@1 {
|
|
|
- filename = "dubhe_fpga_bootjump.bin";
|
|
|
- offset = <0x1000>;
|
|
|
- };
|
|
|
-
|
|
|
- u-boot-spl {
|
|
|
- offset = <0x2000>;
|
|
|
- };
|
|
|
-
|
|
|
- qspi_ubootproper_opensbi_blob: blob-ext@2 {
|
|
|
- filename = "u-boot.itb";
|
|
|
- offset = <0x42000>;
|
|
|
- };
|
|
|
- };
|
|
|
-};
|