diff options
author | Ricardo Salveti <ricardo@foundries.io> | 2019-07-24 11:25:22 -0300 |
---|---|---|
committer | Ricardo Salveti <ricardo@foundries.io> | 2019-07-24 18:01:25 -0300 |
commit | 942562e70a01440c4586d25870a8d7be92a6602e (patch) | |
tree | 02bdf7437414169a3aebe22063f7b12da3ac69bc /classes/sota_freedom-u540.bbclass | |
parent | 1e229a8747283d93eca0fc3c8ef90c52aca4187d (diff) | |
download | meta-updater-942562e70a01440c4586d25870a8d7be92a6602e.tar.gz |
sota: add support for freedom-u540
fitImage used by default.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Diffstat (limited to 'classes/sota_freedom-u540.bbclass')
-rw-r--r-- | classes/sota_freedom-u540.bbclass | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/classes/sota_freedom-u540.bbclass b/classes/sota_freedom-u540.bbclass new file mode 100644 index 0000000..90d11c2 --- /dev/null +++ b/classes/sota_freedom-u540.bbclass | |||
@@ -0,0 +1,16 @@ | |||
1 | # Support fitImage by default | ||
2 | KERNEL_CLASSES_sota = " kernel-fitimage " | ||
3 | KERNEL_IMAGETYPE_sota = "fitImage" | ||
4 | KERNEL_IMAGETYPES_remove_sota = "uImage" | ||
5 | OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${MACHINE}" | ||
6 | |||
7 | OSTREE_BOOTLOADER ?= "u-boot" | ||
8 | INITRAMFS_FSTYPES = "cpio.gz" | ||
9 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" | ||
10 | |||
11 | IMAGE_BOOT_FILES_sota ?= "fw_payload.bin boot.scr uEnv.txt" | ||
12 | KERNEL_DEVICETREE_sota ?= "sifive/${RISCV_SBI_FDT}" | ||
13 | |||
14 | OSTREE_KERNEL_ARGS_sota ?= "earlycon=sbi console=ttySIF0 ramdisk_size=16384 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/mmcblk0p3" | ||
15 | |||
16 | WKS_FILE_sota = "freedom-u540-opensbi-sota.wks" | ||