From 8a30efc1202fa4e7952feed1e2055059222824e1 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 12 May 2017 19:50:15 -0700 Subject: image_type_tezi: make small volumes static The volumes for kernel, device tree and Cortex-M4 firmware get updated with a single binary for which a static volume is better suited. This also allows the boot code to only load the amount of written bytes and therefore speeds up boot time. Static volumes have been used already with the update.sh script based update method. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler --- classes/image_type_tezi.bbclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index da19532..94ee31a 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -108,6 +108,7 @@ def rootfs_tezi_rawnand(d): { "name": "kernel", "size_kib": 8192, + "type": "static", "content": { "rawfile": { "filename": d.getVar('KERNEL_IMAGETYPE', True), @@ -120,11 +121,13 @@ def rootfs_tezi_rawnand(d): "content": { "rawfiles": dtfiles }, - "size_kib": 128 + "size_kib": 128, + "type": "static" }, { "name": "m4firmware", - "size_kib": 896 + "size_kib": 896, + "type": "static" }, { "name": "rootfs", -- cgit v1.2.3