summaryrefslogtreecommitdiffstats
path: root/classes/sota_freedom-u540.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sota_freedom-u540.bbclass')
-rw-r--r--classes/sota_freedom-u540.bbclass12
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/sota_freedom-u540.bbclass b/classes/sota_freedom-u540.bbclass
new file mode 100644
index 0000000..c287154
--- /dev/null
+++ b/classes/sota_freedom-u540.bbclass
@@ -0,0 +1,12 @@
1OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${MACHINE}"
2
3OSTREE_BOOTLOADER ?= "u-boot"
4INITRAMFS_FSTYPES = "cpio.gz"
5PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot"
6
7IMAGE_BOOT_FILES += "uEnv.txt"
8IMAGE_BOOT_FILES_remove = "fitImage"
9
10OSTREE_KERNEL_ARGS_sota ?= "earlycon=sbi console=ttySIF0 ramdisk_size=16384 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/mmcblk0p3"
11
12WKS_FILE_sota = "freedom-u540-opensbi-sota.wks"