The wic command generates partitioned images from existing OpenEmbedded (yocto) build artifacts.
Questions tagged [yocto-wic]
35 questions
1
vote
0 answers
yocto image size gets increased with increase in partition size
I am creating an empty partition for my yocto image file(.wic) by adding below line to directdisk.wks:
part /opt --use-uuid --fstype=ext4 --label user --align 1024 --size 1024
Able to create a partition but the image size gets increased i.e. image…

Raxesh Oriya
- 383
- 6
- 27
1
vote
2 answers
wic image is EFI but need legacy
I added meta-intel layer to build a hardware image.
After build ( bitbake xxxxxx ) I got output:
core-image-minimal-genericx86-64.wic
I dd copy this file to a USB, it can boot and login to yocto.
but it is EFI mode.
How to generate image to legacy…

GreenTea
- 769
- 1
- 10
- 36
1
vote
1 answer
Yocto wic Creates Unexpected Small Partition
I am using Yocto and it's wic tool to build my embedded Linux image.
The wic configuration file looks like this:
part /boot --source bootimg-partition --ondisk mmcblk --fstype=msdos --label boot --align 1024 --fixed-size 64
part / --source rootfs…

PhilBot
- 748
- 18
- 85
- 173
1
vote
0 answers
Building yocto/poky image with wic?
If I try to bitbake an image
bitbake name-of-image
with local.conf containing this:
…
WKS_FILE="directdisk-multi-rootfs.wks"
IMAGE_FSTYPES = "wic wic.bmap"
…
Then the build exits with error:
ERROR: Couldn't find correct bootimg_dir, exiting
If I…

Varyag
- 676
- 12
- 29
1
vote
1 answer
How do I boot a Yocto generated image on the MX6 SABRE devices
Question: What output should I expect from core-image-minimal the U-boot platform, running on i.MX6 quad core Sabre devkit?
I can see a splash screen with the Freescale logo, but then the display goes blank. I was expecting some kind of…

Mattis Asp
- 993
- 3
- 14
- 29
0
votes
0 answers
I tried to include gpiozero in my custom build with yocto project with raspberry pi 3
ERROR: core-image-base-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/jakinboy/projects/build_folder/build_rpi/tmp/work/raspberrypi3_64-poky-linux/core-image-base/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c…
0
votes
0 answers
How to append to a bootfile using do_deploy in Yocto?
this is a question for BitBake / Yocto on the Kirkstone branch (4.2). I am trying to append to a config.txt (for a Raspberry Pi) in my custom layer meta-x under meta-x/recipes-bsp/bootfiles/ using an rpi-config_git.bbappend file.
I have seen online…

hal
- 33
- 6
0
votes
0 answers
Yocto ERROR: Nothing PROVIDES 'core'. Close matches: pcre
I get the following error when trying to do a bitbake core image minimal: ERROR: Nothing PROVIDES 'core'. Close matches: pcre When doing an Internet search nothing comes up. If anyone knows what this error relates to, I would be grateful to know. …

hahobson
- 37
- 2
- 10
0
votes
0 answers
Partitioning image using wic and .wks causes kernel panic error
I'm trying to partition my Yocto image using wic and a .wks file, but I'm running into issues. This is what my current .wks file looks like:
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --size 20M
part /…

Ozmydis
- 53
- 4
0
votes
0 answers
Running PowerVR NativeSDK Vulkan Application in R-Car h3e sk
Specifications:—
Hardware Platform :Renesas r-car H3e
GPU Device : PowerVR Series6XT, GX6650
Operating System : Linux h3ulcb 5.10.41-yocto-standard
I ran Vulkan of NativeSDK which is provided by PowerVR in Linux h3ulcb 5.10.41-yocto-standard but…

Sumit Patel
- 1
- 2
0
votes
1 answer
Create an image with a read write partition using a Read-only file-system on yocto
I've build a Linux image with Yocto Poky kirkstone (4.0.2) for corei7-64-poky-linux 'core-image-minimal'.
rootfs is mounted on RAM as read-only using:
IMAGE_FEATURES += "read-only-rootfs"
I'm now trying to create a new rw partition ( mounted on…

durje
- 135
- 1
- 2
- 10
0
votes
2 answers
How to copy whole directories containing subdirectories to /boot (i.e bootfs) in Yocto while inheriting core-image class?
I have a directory which again contains subdirectories, which are built has part of other recipe and moved to DEPLOY_DIR_IMAGE using deploy bb class. So now I want to copy it to main image boot partition.
If it was a single file then appending…

geralt rivia
- 11
- 2
0
votes
1 answer
bitbake/wic error when making squashfs file systems
When I specify the squashfs file system type in the wic kickstart file (.wks file):
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=ext4 --label bootfs --uuid 69AE36A5-1C24-412C-89F4-5E8D9123376C --fixed-size 32M
part …

Rachid K.
- 4,490
- 3
- 11
- 30
0
votes
1 answer
What is the maximum file size we can copy to a custom partition using "wic cp" command for an yocto image?
I am trying to copy a folder to a custom partition using wic cp command. The file size is 5.1gb,
after copying it into partition, when I boot the image and check, it shows only 1GB. So, my question is: Is there any limit to the file size we can copy…

Arjun BM
- 1
- 2
0
votes
0 answers
How to enable logging of python script in yocto poky layer?
I want to see all the logs which are thrown by a python script present in yocto poky layer for my debugging.
How do I do that?
Python script location - poky/scripts/lib/wic/plugins/source/bootimg-pcbios.py

Raxesh Oriya
- 383
- 6
- 27