diff options
Diffstat (limited to 'classes/sota_freedom-u540.bbclass')
-rw-r--r-- | classes/sota_freedom-u540.bbclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/classes/sota_freedom-u540.bbclass b/classes/sota_freedom-u540.bbclass index 90d11c2..c287154 100644 --- a/classes/sota_freedom-u540.bbclass +++ b/classes/sota_freedom-u540.bbclass | |||
@@ -1,15 +1,11 @@ | |||
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}" | 1 | OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${MACHINE}" |
6 | 2 | ||
7 | OSTREE_BOOTLOADER ?= "u-boot" | 3 | OSTREE_BOOTLOADER ?= "u-boot" |
8 | INITRAMFS_FSTYPES = "cpio.gz" | 4 | INITRAMFS_FSTYPES = "cpio.gz" |
9 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" | 5 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" |
10 | 6 | ||
11 | IMAGE_BOOT_FILES_sota ?= "fw_payload.bin boot.scr uEnv.txt" | 7 | IMAGE_BOOT_FILES += "uEnv.txt" |
12 | KERNEL_DEVICETREE_sota ?= "sifive/${RISCV_SBI_FDT}" | 8 | IMAGE_BOOT_FILES_remove = "fitImage" |
13 | 9 | ||
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" | 10 | 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 | 11 | ||