summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r--meta/conf/machine/include/riscv/qemuriscv.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc
index aa1eba77da..84d09fa78e 100644
--- a/meta/conf/machine/include/riscv/qemuriscv.inc
+++ b/meta/conf/machine/include/riscv/qemuriscv.inc
@@ -6,6 +6,8 @@ require conf/machine/include/riscv/tune-riscv.inc
6MACHINE_FEATURES = "screen keyboard ext2 ext3 serial" 6MACHINE_FEATURES = "screen keyboard ext2 ext3 serial"
7 7
8KERNEL_IMAGETYPE = "Image" 8KERNEL_IMAGETYPE = "Image"
9KERNEL_IMAGETYPES += "uImage"
10KEEPUIMAGE = "no"
9 11
10SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" 12SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0"
11 13
@@ -17,6 +19,9 @@ EXTRA_IMAGEDEPENDS += "opensbi"
17RISCV_SBI_PLAT ?= "qemu/virt" 19RISCV_SBI_PLAT ?= "qemu/virt"
18RISCV_SBI_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin" 20RISCV_SBI_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin"
19 21
22UBOOT_ENTRYPOINT_riscv32 = "0x80400000"
23UBOOT_ENTRYPOINT_riscv64 = "0x80200000"
24
20# qemuboot options 25# qemuboot options
21QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi" 26QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"
22QB_MEM = "-m 512" 27QB_MEM = "-m 512"