diff options
Diffstat (limited to 'classes/sota_raspberrypi.bbclass')
| -rw-r--r-- | classes/sota_raspberrypi.bbclass | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/classes/sota_raspberrypi.bbclass b/classes/sota_raspberrypi.bbclass index e1c0054..88b5f21 100644 --- a/classes/sota_raspberrypi.bbclass +++ b/classes/sota_raspberrypi.bbclass | |||
| @@ -2,16 +2,12 @@ RPI_USE_U_BOOT_sota = "1" | |||
| 2 | 2 | ||
| 3 | KERNEL_CLASSES_append_sota = " kernel-fitimage" | 3 | KERNEL_CLASSES_append_sota = " kernel-fitimage" |
| 4 | KERNEL_IMAGETYPE_sota = "fitImage" | 4 | KERNEL_IMAGETYPE_sota = "fitImage" |
| 5 | INITRAMFS_FSTYPES = "cpio.gz" | ||
| 6 | OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${KERNEL_FIT_LINK_NAME}" | 5 | OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${KERNEL_FIT_LINK_NAME}" |
| 7 | 6 | ||
| 8 | # DTB needs to be relocated to apply overlays | 7 | # DTB needs to be relocated to apply overlays |
| 9 | UBOOT_DTB_LOADADDRESS = "0x05000000" | 8 | UBOOT_DTB_LOADADDRESS = "0x05000000" |
| 10 | UBOOT_DTBO_LOADADDRESS = "0x06000000" | 9 | UBOOT_DTBO_LOADADDRESS = "0x06000000" |
| 11 | 10 | ||
| 12 | # Deploy config fragment list to OSTree root fs | ||
| 13 | IMAGE_INSTALL_append = " fit-conf" | ||
| 14 | |||
| 15 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" | 11 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" |
| 16 | UBOOT_ENTRYPOINT_sota ?= "0x00008000" | 12 | UBOOT_ENTRYPOINT_sota ?= "0x00008000" |
| 17 | 13 | ||
| @@ -19,7 +15,7 @@ IMAGE_FSTYPES_remove_sota = "rpi-sdimg" | |||
| 19 | OSTREE_BOOTLOADER ?= "u-boot" | 15 | OSTREE_BOOTLOADER ?= "u-boot" |
| 20 | 16 | ||
| 21 | # OSTree puts its own boot.scr to bcm2835-bootfiles | 17 | # OSTree puts its own boot.scr to bcm2835-bootfiles |
| 22 | IMAGE_BOOT_FILES_sota = "bcm2835-bootfiles/* u-boot.bin;${SDIMG_KERNELIMAGE}" | 18 | IMAGE_BOOT_FILES_sota = "bcm2835-bootfiles/* uEnv.txt u-boot.bin;${SDIMG_KERNELIMAGE}" |
| 23 | 19 | ||
| 24 | # Just the overlays that will be used should be listed | 20 | # Just the overlays that will be used should be listed |
| 25 | KERNEL_DEVICETREE_raspberrypi2_sota ?= " bcm2709-rpi-2-b.dtb " | 21 | KERNEL_DEVICETREE_raspberrypi2_sota ?= " bcm2709-rpi-2-b.dtb " |
| @@ -35,3 +31,5 @@ OSTREE_KERNEL_ARGS_sota ?= " 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.f | |||
| 35 | 31 | ||
| 36 | SOTA_CLIENT_FEATURES_append = " ubootenv" | 32 | SOTA_CLIENT_FEATURES_append = " ubootenv" |
| 37 | 33 | ||
| 34 | SOTA_ROLLBACK_MECHANISM = "file-env" | ||
| 35 | |||
