aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/conf
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/conf')
-rw-r--r--arch/riscv/conf/apos.its17
-rw-r--r--arch/riscv/conf/boot.cmd2
-rw-r--r--arch/riscv/conf/initrd.txt1
3 files changed, 19 insertions, 1 deletions
diff --git a/arch/riscv/conf/apos.its b/arch/riscv/conf/apos.its
index c3611dd..7c05044 100644
--- a/arch/riscv/conf/apos.its
+++ b/arch/riscv/conf/apos.its
@@ -18,6 +18,19 @@
algo = "sha1";
};
};
+
+ initrd {
+ description = "Gargabbio initrd";
+ data = /incbin/("initrd.txt");
+ type = "ramdisk";
+ arch = "riscv";
+ os = "apos";
+ compression = "none";
+ load = <0x88300000>;
+ hash-1 {
+ algo = "sha1";
+ };
+ };
};
configurations {
@@ -26,6 +39,10 @@
config {
description = "Default configuration";
kernel = "kernel";
+ ramdisk = "initrd";
+ hash-1 {
+ algo = "sha1";
+ };
};
};
};
diff --git a/arch/riscv/conf/boot.cmd b/arch/riscv/conf/boot.cmd
index 782c1e8..a7517fd 100644
--- a/arch/riscv/conf/boot.cmd
+++ b/arch/riscv/conf/boot.cmd
@@ -1,4 +1,4 @@
fdt move ${fdt_addr} ${fdt_addr_r}
fdt addr ${fdt_addr_r}
load ${devtype} ${devnum} ${kernel_addr_r} apos.itb
-bootm ${kernel_addr_r} - ${fdt_addr_r}
+bootm ${kernel_addr_r} ${kernel_addr_r} ${fdt_addr_r}
diff --git a/arch/riscv/conf/initrd.txt b/arch/riscv/conf/initrd.txt
new file mode 100644
index 0000000..e965047
--- /dev/null
+++ b/arch/riscv/conf/initrd.txt
@@ -0,0 +1 @@
+Hello