summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@opensourcefoundries.com>2018-04-29 15:53:37 -0300
committerRicardo Salveti <ricardo@opensourcefoundries.com>2018-04-29 19:34:00 -0300
commitb6a29f70b7dbffb0944fd3d6ad01fa650dd8d947 (patch)
tree80bde31a24b96da8659650e13d8d5c3f1e7e1b6d
parente5a348c02f0a6e39f32cea046c58f924d64c6a40 (diff)
lmp-machine-custom: add support for raspberrypi0-wifi
Specify kernel image type and device tree files for raspberrypi0-wifi, as done with raspberrypi 3 (specified here as it is also changed by meta-updater). Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
-rw-r--r--classes/lmp-machine-custom.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/lmp-machine-custom.bbclass b/classes/lmp-machine-custom.bbclass
index ab348c1..21adb5e 100644
--- a/classes/lmp-machine-custom.bbclass
+++ b/classes/lmp-machine-custom.bbclass
@@ -28,9 +28,15 @@ RPI_USE_U_BOOT = "1"
VC4DTBO_raspberrypi3-64 = "vc4-kms-v3d"
IMAGE_FSTYPES_remove_rpi = " ext3 rpi-sdimg"
IMAGE_BOOT_FILES_append_rpi = " ${@make_dtb_boot_files(d)} boot.scr uEnv.txt"
+KERNEL_IMAGETYPE_sota_raspberrypi0-wifi = "zImage"
KERNEL_IMAGETYPE_sota_raspberrypi3-64 = "Image.gz"
## We don't want fitimage by default yet as it blocks overlay support
KERNEL_CLASSES_remove_rpi = "kernel-fitimage"
+KERNEL_DEVICETREE_raspberrypi0-wifi_sota = "bcm2708-rpi-0-w.dtb bcm2835-rpi-zero-w.dtb \
+ overlays/i2c-rtc.dtbo overlays/rpi-ft5406.dtbo overlays/vc4-kms-v3d.dtbo overlays/vc4-fkms-v3d.dtbo \
+ overlays/pitft22.dtbo overlays/pitft28-resistive.dtbo overlays/pitft35-resistive.dtbo \
+ overlays/w1-gpio.dtbo overlays/w1-gpio-pullup.dtbo \
+"
KERNEL_DEVICETREE_raspberrypi3-64_sota = "\
broadcom/bcm2710-rpi-3-b.dtb broadcom/bcm2837-rpi-3-b.dtb broadcom/bcm2710-rpi-3-b-plus.dtb \
overlays/i2c-rtc.dtbo overlays/rpi-ft5406.dtbo overlays/vc4-kms-v3d.dtbo overlays/vc4-fkms-v3d.dtbo \