summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-05-22 18:55:31 -0300
committerRicardo Salveti <ricardo@opensourcefoundries.com>2018-05-23 18:15:07 -0300
commite91dcc7274dd957b18fcfc65265499871b77b698 (patch)
treed4b8cd3bb46ec4e6947efb1e40ca3be244611d5a /classes
parentcc86e27697f09830dfc1dbec44a9a348d71b520c (diff)
lmp-machine-custom: add freedom-u540 specific options
Target doesn't yet support standard bootloaders, so bundle initrd together with kernel (used together with bbl). Also include an ota-compatible wic file specific to this target. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/lmp-machine-custom.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/lmp-machine-custom.bbclass b/classes/lmp-machine-custom.bbclass
index 9fb416e..f26d57b 100644
--- a/classes/lmp-machine-custom.bbclass
+++ b/classes/lmp-machine-custom.bbclass
@@ -51,6 +51,11 @@ IMAGE_FSTYPES_remove_qemuriscv64 = "wic.gz wic.bmap"
INITRAMFS_IMAGE_BUNDLE_qemuriscv64 = "1"
KERNEL_INITRAMFS_qemuriscv64 = '-initramfs'
RISCV_BBL_PAYLOAD_qemuriscv64 = "${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin"
+## Freedom U540 target doesn't yet support standard bootloaders (e.g. u-boot)
+INITRAMFS_IMAGE_BUNDLE_freedom-u540 = "1"
+KERNEL_INITRAMFS_freedom-u540 = '-initramfs'
+RISCV_BBL_PAYLOAD_freedom-u540 = "${KERNEL_IMAGETYPE}${KERNEL_INITRAMFS}-${MACHINE}.bin"
+WKS_FILE_sota_freedom-u540 = "freedom-u540-bbl-sota.wks"
# Intel
IMAGE_INSTALL_remove_intel-corei7-64 = " minnowboard-efi-startup"