Questions tagged [yocto-wic]

The wic command generates partitioned images from existing OpenEmbedded (yocto) build artifacts.

35 questions
15
votes
1 answer

Difference between wic and hddimg format in yocto

I have generated a core-image-minimal image for my Intel board in Yocto. Looking into tmp/deploy/images folder they are many images. I flashed *.wic image using dd command on USB and it created two partitions ( Boot and Platform ) and allowed only…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
11
votes
2 answers

Yocto - Create and populate a separate /home partition

I'm creating quite a simple Yocto image based on x86. I want the / file system to be readonly, so I set the IMAGE_FEATURES_append = " read-only-rootfs " in a custom copy of the original core-image-minimal.bb. I do want to have the /home writable…
fault-tolerant
  • 451
  • 5
  • 15
6
votes
1 answer

How to create a custom partition layout using yocto wic?

This might be a fairly simple question, there is a few things I'm missing. I'm trying to use wic as a replacement for a custom script for laying out a boot partition. The device is an IMX6 and has uboot written at 0x400, and a fat32 boot partition…
Kevin
  • 320
  • 5
  • 17
4
votes
0 answers

How do I install initramfs in rootfs/boot?

I want to install an initramfs in the rootfs /boot (not the same as a wic boot partition). In rootfs /boot, there are a kernel image, and a fit image installed. I don't bundle the initramfs in the kernel, but put it in the fit image, but this fit…
Sam Liddicott
  • 1,265
  • 12
  • 24
3
votes
0 answers

Yocto - read-only-rootfs - unable to remount as RW on .hddimg

So we have a yocto warrior 2.7.1 system. Converting from an EOL board based on an ancient yocto to a newer one. I have the following added to make rootfs RO. IMAGE_FEATURES += " read-only-rootfs" We have a very small handful of times when we need…
H. Egan
  • 51
  • 6
2
votes
0 answers

How do I generate a multi-boot Grub EFI WIC image from Yocto

I am trying to implement a software update process for a generic x86_64 system using Yocto and SWUpdate. I would like to have two root partitions, with SWUpdate overwriting the inactive one (dual copy strategy). I am trying to create a WIC image to…
docsteer
  • 2,506
  • 16
  • 16
2
votes
1 answer

Yocto: custom Image /var/lib/dpkg missing

I am building a custom yocto image based on rocko (2.5.2) for a custom board equiped with a Xilinx Zynq7000.to generate a wic file I am usind sdimage-sota.wks. I added debian package management in my local.conf with PACKAGE_CLASSES ?= "…
1
vote
1 answer

How can I speed up flashing SD card ( wic Image)

Flashing an SD card using dd is slow, is there another option to increase speed?
Florian Berndl
  • 1,136
  • 8
  • 27
1
vote
0 answers

Using WIC to format FAT32 partition to expose via USB mass storage

I have a partition on an eMMC in an embedded linux device that I would like to expose as storage through the g_mass_storage USB gadget. Everything is being build via yocto/bitbake and mostly works; where I am stumbling is in the configuration of the…
sdude
  • 11
  • 1
1
vote
1 answer

where is uboot environment variables stored in emmc?

I'm trying to understand where uboot stores the environment variables in emmc. I have the following set in the uboot config file…
Vinay
  • 131
  • 6
1
vote
1 answer

Create Yocto Filesystem of type rootfs.img

I'm trying to create filesystem of extension rootfs.img from Yocto. Adding IMAGE_FSTYPE="img" is failing, saying img is not recognized because its definition is not defined in any meta class. I have looked into using wic, but cant find the command…
psy
  • 181
  • 1
  • 8
1
vote
1 answer

yocto recipe how to install file to rootfs

sorry I am a little new to syntax of yocto, this is how I have modified my recipe: LICENSE = "LGPLv2.1" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI = "file://myscript.sh" FILES_${PN} += "${sysconfdir}/init.d/myscript.sh" do_install() { …
homer69
  • 53
  • 1
  • 8
1
vote
1 answer

Yocto - How do I change the rootfs file system type

I'm trying to build vdi image with squashfs rootfs, but cannot find where to change current ext4 fs into squash. Closest solutions I found is here: How do I change the rootfs file system type used for the sdcard image in yocto? But I don't feel like…
EatTheGiant
  • 13
  • 1
  • 3
1
vote
0 answers

How to integrate hddimg function to wic image Yocto

I need to create wic image with enable secureboot. Then I changed in local.conf to "IMAGE_FSTYPES = "wic" " then bitbake-core-image-sato-sdk to get the image. The generated image able to boot but cannot boot with secureboot. I investigated and found…
James Bond
  • 11
  • 1
1
vote
0 answers

Yocto - Warrior - how to create wic image installer

Hi: I'm on Yocto warrior 2.7.1. I am a bit stuck on one thing. I needed to create an additional r/w partition for persistent application storage, so I found that the only way to accomplish this was with wic. Thanks to this answer I was able to get…
H. Egan
  • 51
  • 6
1
2 3