Re: [yocto] [WIC] Wic creates spurious partition

2020-04-30 Thread Rudolf J Streif
Ok, I found the answer to my own question. It's the typical extended partition issue. :rjs On 4/30/20 4:36 PM, Rudolf J Streif via lists.yoctoproject.org wrote: > I seem to be running into wic problems today... > > I have the following wks file: > > part SPL --source rawcopy

Re: [yocto] [WIC] Wic creates spurious partition

2020-04-30 Thread Scott Murray
On Thu, 30 Apr 2020, Rudolf J Streif wrote: > I seem to be running into wic problems today... > > I have the following wks file: > > > > part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk > --no-table --align 1 > part u-boot --source rawcopy

Re: [yocto] [WIC] Wic creates spurious partition

2020-04-30 Thread Sergey Bostandzhyan
Hi Rudi, On Thu, Apr 30, 2020 at 04:36:39PM -0700, Rudolf J Streif wrote: > bootloader --ptable msdos > > > That should create 7 partitions of which 5 have a file system. However, > when I flash the emmc with it and boot the device: did you mean --ptable gpt? > /dev/mmcblk1p4  1392640

[yocto] [WIC] Wic creates spurious partition

2020-04-30 Thread Rudolf J Streif
I seem to be running into wic problems today... I have the following wks file: > part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 part u-boot --source rawcopy --sourceparams="file=${UBOOT_BINARY}" --ondisk mmcblk --no-table --align 69 part /boot

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Khem Raj
On 4/30/20 4:11 PM, Rudolf J Streif wrote: Thanks, guys, I appreciate it. Doing it dynamically on first boot would probably work as it is a data partition and not the rootfs partition. I will give it a try. 96boards-tools also has a script which works regardless of init systems

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Rudolf J Streif
Thanks, guys, I appreciate it. Doing it dynamically on first boot would probably work as it is a data partition and not the rootfs partition. I will give it a try. :rjs On 4/30/20 12:13 PM, Michael Nazzareno Trimarchi wrote: > Hi > > On Thu, Apr 30, 2020 at 9:10 PM Michael Nazzareno Trimarchi

Re: [yocto][PATCH] openssl: Fix dependency loop with PACKAGECONFIG cryptodev-linux

2020-04-30 Thread Denys Dmytriyenko
On Thu, Apr 30, 2020 at 08:23:11PM +, Scott Ellis wrote: Hi, Scott, Sorry, I'm not trying to discourage you from submitting patches, but there are few issues with your patch here - see below and inline. First of all, patches for OE-core should be sent to:

[yocto] How to include initrd.cpio to image

2020-04-30 Thread Gmane Admin
I am generating core-image-minimal-initramfs-edison.cpio.gz which is found in the deploy-core-image-minimal-initramfs-image-complete/ directory. When I build my image edison-image initrd gets included and deployed in edison-image-edison.hddimg. But I am not using that. I also generate

[yocto][PATCH] openssl: Fix dependency loop with PACKAGECONFIG cryptodev-linux

2020-04-30 Thread Scott Ellis
Applies to both zeus and dunfell ERROR: Nothing RPROVIDES 'cryptodev-module-native' (but virtual:native:/home/scott/poky-zeus/meta/recipes-connectivity/openssl/openssl_1.1.1f.bb RDEPENDS on or otherwise requires it) ERROR: Required build target 'openssl' has no buildable providers. Missing or

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Michael Nazzareno Trimarchi
Hi On Thu, Apr 30, 2020 at 9:10 PM Michael Nazzareno Trimarchi via lists.yoctoproject.org wrote: > > Hi > > Well I have write something like this > > [Unit] > Description=Increases rootfs image size to fit partition > Requires=dev-disk-by\x2dpartlabel-rootfs.device >

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Michael Nazzareno Trimarchi
Hi Well I have write something like this [Unit] Description=Increases rootfs image size to fit partition Requires=dev-disk-by\x2dpartlabel-rootfs.device After=dev-disk-by\x2dpartlabel-rootfs.device [Service] Type=oneshot ExecStart=/usr/sbin/sgdisk /dev/disk/by-path/platform-ff0f.dwmmc -e

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Marek Belisko
On Thu, Apr 30, 2020 at 8:27 PM Khem Raj wrote: > > > > On 4/30/20 11:25 AM, Marek Belisko wrote: > > On Thu, Apr 30, 2020 at 8:23 PM Khem Raj wrote: > >> > >> > >> > >> On 4/30/20 11:16 AM, Marek Belisko wrote: > >>> Hi Rudolf, > >>> > >>> On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif > >>>

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Khem Raj
On 4/30/20 11:25 AM, Marek Belisko wrote: On Thu, Apr 30, 2020 at 8:23 PM Khem Raj wrote: On 4/30/20 11:16 AM, Marek Belisko wrote: Hi Rudolf, On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif wrote: I was looking for a way in a wks file to have wic grow the last partition to fill up

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Marek Belisko
On Thu, Apr 30, 2020 at 8:23 PM Khem Raj wrote: > > > > On 4/30/20 11:16 AM, Marek Belisko wrote: > > Hi Rudolf, > > > > On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif > > wrote: > >> > >> I was looking for a way in a wks file to have wic grow the last > >> partition to fill up the remainder of

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Khem Raj
On 4/30/20 11:16 AM, Marek Belisko wrote: Hi Rudolf, On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif wrote: I was looking for a way in a wks file to have wic grow the last partition to fill up the remainder of the disk. Of course wic does not know how large the disk is but that could be a

Re: [yocto] [WIC] Grow last partition up to disk size

2020-04-30 Thread Marek Belisko
Hi Rudolf, On Thu, Apr 30, 2020 at 7:39 PM Rudolf J Streif wrote: > > I was looking for a way in a wks file to have wic grow the last > partition to fill up the remainder of the disk. Of course wic does not > know how large the disk is but that could be a parameter. > > The alternative way is to

[linux-yocto] [PATCH yocto-dev] yaffs: fix misplaced variable declaration

2020-04-30 Thread Paul Gortmaker
A variable declaration landed one function higher than intended, leading to an unused variable warning for configurations with YAFFS_USE_DIR_ITERATE=y and a build failure for configurations with the same being unset. Fixes: "yaffs: Fix build failure by handling inode i_version with proper atomic

[yocto] License files path

2020-04-30 Thread Teemu K.
Hi, Is there a way to determine where the license files are stored? It would help a lot in automatizing build system when you'd know where to copy licenses from. They go to build/tmp/deploy/licenses, but then license.manifest containing list of all the licenses in an image is under that

Re: [yocto] Which recipe for Linux tools to run u-boot command inside Linux?

2020-04-30 Thread Nicolas Jeker
On Thu, 2020-04-30 at 16:34 +1000, JH wrote: > Hi Yann, > > Thanks for the tips, I have run to add libubootenv, but got so many > errors, I can build a good Yocto image before adding libubootenv, > what > was it going on? Does that mean I need to add all kernel modules and > to rebuild kernel

Re: [yocto] Which recipe for Linux tools to run u-boot command inside Linux?

2020-04-30 Thread JH
Hi Yann, Thanks for the tips, I have run to add libubootenv, but got so many errors, I can build a good Yocto image before adding libubootenv, what was it going on? Does that mean I need to add all kernel modules and to rebuild kernel configure? kernel-image kernel-base kernel-image-zimage