diff options
author | Michael Scott <mike@foundries.io> | 2019-04-11 22:46:25 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-12 13:37:11 +0100 |
commit | 35d0842c637b7d7ce0ab01f43b594c19a964872f (patch) | |
tree | acf7af363262992ef75ad888351daf8190e24a6f | |
parent | 83faaf7b2a5f4fc4ae504b300134409e90389770 (diff) | |
download | openembedded-core-contrib-35d0842c637b7d7ce0ab01f43b594c19a964872f.tar.gz |
kernel-fitimage: support RISC-V
Support RISC-V kernel image, using the "Image" target.
This change allows RISC-V support for fitImage via the following
flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage
with ramdisk and dtb).
This was tested using QEMU RISC-V 64-bit.
Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel-fitimage.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 2517d75746..2820ff9689 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass @@ -10,6 +10,8 @@ python __anonymous () { uarch = d.getVar("UBOOT_ARCH") if uarch == "arm64": replacementtype = "Image" + elif uarch == "riscv": + replacementtype = "Image" elif uarch == "mips": replacementtype = "vmlinuz.bin" elif uarch == "x86": |