[yocto] [meta-raspberrypi] [PATCH 0/2] wic: fixes for wic support
Khem Raj
raj.khem at gmail.com
Fri Mar 10 17:40:50 PST 2017
On 2/27/17 3:46 AM, Maciej Borzecki wrote:
> 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"
>
I have staged it in kraj/master and will test out image generation using
wic.
>
> 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%)
>
More information about the yocto
mailing list