diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2019-06-19 16:48:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-21 00:33:22 +0100 |
commit | e7810c76013c207020f97406e827f674ab36470f (patch) | |
tree | 69e4deea9bff47cc340b3829d95bade235fcf532 /meta | |
parent | 70b6880c550c0a9c5ee36ac3c4d7884a17683843 (diff) | |
download | poky-e7810c76013c207020f97406e827f674ab36470f.tar.gz |
qemuriscv: Build uImage for RISC-V machines
(From OE-Core rev: 12dc5569d832d57b52ed68bc9009506b2d183795)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/include/riscv/qemuriscv.inc | 5 |
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 | |||
6 | MACHINE_FEATURES = "screen keyboard ext2 ext3 serial" | 6 | MACHINE_FEATURES = "screen keyboard ext2 ext3 serial" |
7 | 7 | ||
8 | KERNEL_IMAGETYPE = "Image" | 8 | KERNEL_IMAGETYPE = "Image" |
9 | KERNEL_IMAGETYPES += "uImage" | ||
10 | KEEPUIMAGE = "no" | ||
9 | 11 | ||
10 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" | 12 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;hvc0" |
11 | 13 | ||
@@ -17,6 +19,9 @@ EXTRA_IMAGEDEPENDS += "opensbi" | |||
17 | RISCV_SBI_PLAT ?= "qemu/virt" | 19 | RISCV_SBI_PLAT ?= "qemu/virt" |
18 | RISCV_SBI_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin" | 20 | RISCV_SBI_PAYLOAD ?= "${KERNEL_IMAGETYPE}-${MACHINE}.bin" |
19 | 21 | ||
22 | UBOOT_ENTRYPOINT_riscv32 = "0x80400000" | ||
23 | UBOOT_ENTRYPOINT_riscv64 = "0x80200000" | ||
24 | |||
20 | # qemuboot options | 25 | # qemuboot options |
21 | QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi" | 26 | QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi" |
22 | QB_MEM = "-m 512" | 27 | QB_MEM = "-m 512" |