Skip to content

wic: fixes for wic support

Maciej Borzecki yocto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wic: move sdimage-raspberrypi to toplevel wic locationwic/sdimage-raspberrypi.wks+0 -00 replies
2/2rpi-base: wic: generate entries for device tree filesconf/machine/include/rpi-base.inc+31 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-raspberrypi] [PATCH 0/2] wic: fixes for wic support

A small series with 2 patches that enable using wic (once again).

The first patch moves sdimage-wks to ${LAYERDIR}/wic. This is already implemented in meta-yocto-bsp. The goal is to make wks files easier to find. Since Yocto is in general dumping custom image building methods in favor of wic, one would expect that wic is also usable with meta-raspberrypi.

The second patch adds support for KERNEL_DEVICETREE to IMAGE_BOOT_FILES. Currently, DTs will be copied over to boot partition when building rpi-sdimg. However, when building a wic image, none of this happens and once the process comlpetes, one will get an unbootable image. The patch adds proper entries to IMAGE_BOOT_FILES also taking care of proper file name transformation.

With these 2 patches, a wic image can be built by adding the following settings to conf/local.conf:

IMAGE_FSTYPES_append = " wic"

   # or with your favourite compression, eg. wic.xz
   WKS_FILES = "sdimage-raspberrypi.wks"

Maciej Borzecki (2):
wic: move sdimage-raspberrypi to toplevel wic location
rpi-base: wic: generate entries for device tree files

 conf/machine/include/rpi-base.inc                  | 32 +++++++++++++++++++++-
 .../canned-wks => wic}/sdimage-raspberrypi.wks     |  0
 2 files changed, 31 insertions(+), 1 deletion(-)
 rename {scripts/lib/image/canned-wks => wic}/sdimage-raspberrypi.wks (100%)
Signature · 1 line
2.5.5