Re: [yocto] wic- optimizing an image containing a large empty partition

2018-01-16 Thread Ed Bartosh
On Tue, Jan 16, 2018 at 09:22:07AM +, Martin Siegumfeldt wrote: > Hi, > > > I am trying to optimize an image having a fairly large empty partition with > regards to file size - wks file: > > > martin@martin-Precision-5510:~/work/z7000-distro_wic/meta-z7000$ cat >

Re: [linux-yocto] Custom wic imager plugin

2017-11-22 Thread Ed Bartosh
).get(pname) > > if not plugin_class: > > raise WicError('Unknown plugin: %s' % pname) > > diff --git a/scripts/wic b/scripts/wic > > index a5f2dbfc6f..15e23211e5 100755 > > --- a/scripts/wic > > +++ b/scripts/wic > > @@ -138,6 +138,7 @@ def

Re: [linux-yocto] Custom wic imager plugin

2017-11-06 Thread Ed Bartosh
, dest="debug", action="store_true", >default=False, help="output debug information") > +parser.add_option("-i", "--imager", dest="imager", default="direct", > help="The wic imager plugin&quo

Re: [linux-yocto] Custom wic imager plugin

2017-10-31 Thread Ed Bartosh
On Sun, Oct 29, 2017 at 10:03:46PM -0400, Paul Knopf wrote: > I am able to create and use custom source plugins for wic, all good. > > However, I can't figure out how to use a custom imager plugin. The code has > support for it, but it is hard-coded to use "direct" as the plugin. There > is no

Re: [yocto] dd to nand flash chip?

2017-08-21 Thread Ed Bartosh
nd for this issue(you can switch to using device names instead of PARTUUID in .wks). However, it would be better to investigate and fix this properly. As I don't have a device to reproduce this I need your help. We can either continue here or you can contact me(ed21) on #yocto freenode channel. The

Re: [yocto] dd to nand flash chip?

2017-08-21 Thread Ed Bartosh
On Sat, Aug 19, 2017 at 10:08:06AM +0800, Riko wrote: > Is it related with : > > https://stackoverflow.com/questions/43211384/how-to-get-to-menuconfig-for-u-boot-in-yocto-environment > I don't think so. It's about kernel build configuration. > ? > > Thanks > > >

Re: [yocto] dd to nand flash chip?

2017-08-21 Thread Ed Bartosh
ve different bootloader. > Thanks and regards, > Riko > On Aug 18, 2017 5:22 PM, "Ed Bartosh" <ed.bart...@linux.intel.com> wrote: > > > On Fri, Aug 18, 2017 at 11:40:58AM +0800, Riko wrote: > > > Here's the boot messages : > > > > >

Re: [yocto] dd to nand flash chip?

2017-08-18 Thread Ed Bartosh
On Fri, Aug 18, 2017 at 11:40:58AM +0800, Riko wrote: > Here's the boot messages : > > === > > VFS: PARTUUID= is invalid. > Expected PARTUUID=[/PARTNROFF=%d] > Disabling rootwait; root= is invalid. > VFS: Cannot open root device "PARTUUID=" or unknown-block(0,0): error -6 Looks like you have

[yocto] [patchtest][PATCH] patchtestdata: convert paths to absolute paths

2016-12-22 Thread Ed Bartosh
From: Ed Bartosh <eduard.bart...@intel.com> Some tests fail if relative paths are provided to patchtest. Converting --repo-dir and --start-dir arguments to abosolute paths should make paths absolute, which is what patchset code currently assumes. Signed-off-by: Ed Bartosh &l

[yocto] [PATCH v2] ref-manual: New WKS_FILE variable glossary entry.

2016-12-12 Thread Ed Bartosh
Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/ref-manual/ref-variables.xml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 4e003cd..9c03364

[yocto] [PATCH] dev-manual: describe creation of wic images by oe build system

2016-12-08 Thread Ed Bartosh
Explained creation of wic partitioned images using oe build system. This way is preferable as it's more natural and easier to use and understand than currently documented way of using wic as a stand-alone tool. Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- .../dev-manual/dev-

[yocto] [PATCH] ref-manual: New WKS_FILE variable glossary entry.

2016-12-08 Thread Ed Bartosh
Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/ref-manual/ref-variables.xml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index af1ed84..aa18bd6

Re: [yocto] Question about wic partition creation

2016-11-07 Thread Ed Bartosh
On Tue, Nov 01, 2016 at 11:14:48AM -0400, Nicolas Bigaouette wrote: > We are using Yocto (jethro and krogoth) to build an image for a device. > > I organized the compilation process into multiple stages for easier > integration with our tooling. The last stage is a call to `wic` to > create a

Re: [yocto] Git/yocto newbie question re: submodules and multiple layers

2016-08-26 Thread Ed Bartosh
On Thu, Aug 25, 2016 at 04:24:34PM -0500, Michael Habibi wrote: > Hi, I am well-versed with Git but I haven't really ever had to use > submodules. I am trying to create a git repository on our server that > will host our yocto distribution. Our distribution will include the > yocto repo, plus

Re: [yocto] Trying to run toaster off master, running into issues w/ django

2016-08-24 Thread Ed Bartosh
On Tue, Aug 23, 2016 at 04:49:42PM -0500, Michael Habibi wrote: > I am running the master branch and trying to run toaster to play > around with the web interface (already successfully completed a build > w/o toaster setup). > > I followed the instructions in the documentation. I created a >

Re: [yocto] Can wic split rootfs files across partitions?

2016-04-01 Thread Ed Bartosh
On Wed, Mar 30, 2016 at 11:48:21AM -0700, Karl Voelker wrote: > I am trying to build a multi-partition image with wic, with separate > partitions for / and /var. So, the / partition should get all the files > except those under /var, and the /var partition should get the files > under /var. > > I

Re: [yocto] [wic] Creating sdimage-bootpart

2016-03-03 Thread Ed Bartosh
On Wed, Mar 02, 2016 at 09:29:16PM +0100, Maciej Borzecki wrote: > > > Dnia 2 marzec 2016 o 07:47 Ed Bartosh <ed.bart...@linux.intel.com> > > napisał(a): > > > > > > Hi Rudolf, > > > > Interesting. I thought that this commit shoud fix the issue:

Re: [yocto] wic: Setting partition id value?

2016-02-11 Thread Ed Bartosh
On Wed, Feb 10, 2016 at 10:23:13PM +0500, Usman, Fahad wrote: > Hi, > Is there a way to create a partition with an arbitrary partition id, > using wic tool. We want to create a disk image using wic for Altera > Cyclone V. It require the partition id to be set to a particular hex > value for the

Re: [yocto] wic adds wrong mount lines to my fstab

2016-02-10 Thread Ed Bartosh
Hi Oliver, On Tue, Feb 09, 2016 at 09:29:16AM +0100, Oliver Graute wrote: > # It uses SPL and u-boot > # > # The disk layout used is: > # - - - -- - -- > # | | SPL | u-boot | /boot1 | /boot2 | rootfs1 | rootfs2 |data| > # -

Re: [yocto] [Toaster] Production Instance Setup

2016-01-15 Thread Ed Bartosh
Hi Rudolf, I'm sorry for unpleasant experience you had with this setup. I confirm that most of the issues you've pointed out exist and I was able to reproduce them. Eventually I managed to run Toaster in this configuration. Please, read my comments below. On Thu, Jan 14, 2016 at 03:03:19PM

[yocto] [PATCH 0/7] Update wic related documentation

2016-01-05 Thread Ed Bartosh
repository at: git://git.yoctoproject.org/poky-contrib ed/wic/documentation-8821 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/documentation-8821 Ed Bartosh (7): dev-manual: describe creation of empty partition dev-manual: add description of --no-table option dev-manual: add

[yocto] [PATCH 1/7] dev-manual: describe creation of empty partition

2016-01-05 Thread Ed Bartosh
Copied an explanations of empty partition creation from 'wic help kickstart' output. [YOCTO #8821] Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/dev-manual/dev-manual-common-tasks.xml | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

[yocto] [PATCH 2/7] dev-manual: add description of --no-table option

2016-01-05 Thread Ed Bartosh
Added description of wic kickstart part --no-table option to OpenEmbedded Kickstart (.wks) Reference Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/dev-manual/dev-manual-common-tasks.xml | 4 1 file changed, 4 insertions(+) diff --git a/documentation/dev-

[yocto] [PATCH 4/7] dev-manual: add description of --overhead-factor option

2016-01-05 Thread Ed Bartosh
Added description of wic kickstart part --overhead-factor option to OpenEmbedded Kickstart (.wks) Reference Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/dev-manual/dev-manual-common-tasks.xml | 4 1 file changed, 4 insertions(+) diff --git a/documentati

[yocto] [PATCH 3/7] dev-manual: add description of --extra-space option

2016-01-05 Thread Ed Bartosh
Added description of wic kickstart part --extra-space option to OpenEmbedded Kickstart (.wks) Reference Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/dev-manual/dev-manual-common-tasks.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/documentati

[yocto] [PATCH 6/7] dev-manual: add description of --configfile option

2016-01-05 Thread Ed Bartosh
Added description of wic kickstart bootloader --configfile option to OpenEmbedded Kickstart (.wks) Reference. Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/dev-manual/dev-manual-common-tasks.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/documentati

[yocto] [PATCH 5/7] dev-manual: add description of UUID options

2016-01-05 Thread Ed Bartosh
Added description of 3 wic kickstart part options related to UUID: --part-type, --use-uuid and --uuid to OpenEmbedded Kickstart (.wks) Reference. Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/dev-manual/dev-manual-common-tasks.xml | 14 ++ 1 file c

[yocto] [PATCH 7/7] ref-variables: update list of image types

2016-01-05 Thread Ed Bartosh
Updated list of supported image types. Ordered them alphabetically to make the list more readable. Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com> --- documentation/ref-manual/ref-variables.xml | 41 -- 1 file changed, 27 insertions(+), 14 deletions(-)

[yocto] [PATCH 0/2] Improving Toaster documentation

2015-12-18 Thread Ed Bartosh
Hi, This patchset includes the following fixes for Toaster documentation: - A couple of old sections that no longer apply were commented out. Remove the content, since it is obsolete. - The sentence explaining how to run builds was not very specific. Make explicit that you can run builds both

[yocto] [PATCH 1/2] toaster-manual: Remove commented content

2015-12-18 Thread Ed Bartosh
From: Belen Barros Pena <belen.barros.p...@intel.com> A couple of old sections that no longer apply were commented out. Remove the content, since it is obsolete. Signed-off-by: Belen Barros Pena <belen.barros.p...@intel.com> Signed-off-by: Ed Bartosh <ed.bart...@linux.intel.com>

[yocto] [PATCH 2/2] toaster-manual: Add some details to section 3.1

2015-12-18 Thread Ed Bartosh
From: Belen Barros Pena <belen.barros.p...@intel.com> The sentence explaining how to run builds was not very specific. Make explicit that you can run builds both using the command line and the Toaster web interface. Signed-off-by: Belen Barros Pena <belen.barros.p...@intel.com> Signe

Re: [yocto] Using wic from a Bitbake task

2015-07-28 Thread Ed Bartosh
On Mon, Jul 27, 2015 at 12:49:12PM +, Ahsan, Noor wrote: May I know it’s expected completion date? I hope to get it done till the end of August. This bug has the highest priority, so I'll start working on it as soon as I'm back to wic development. Noor From:

[yocto] [PATCH] dev-manual: Updated wic runtime requirements

2015-04-14 Thread Ed Bartosh
Wic is not using parted and other runtime dependencies from host system anymore. It uses native tools instead. Removed host parted from the list of requirements. Added instructions to build native tools. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com --- documentation/dev-manual/dev

Re: [yocto] [PATCH] Get rid of do_shared_workdir task

2015-03-12 Thread ed . bartosh
On Wed, Mar 11, 2015 at 11:30 PM, Bruce Ashfield bruce.ashfi...@gmail.com wrote: Why would you be working on a bug, that is currently assigned to me .. without even mentioning it ? Aha! I see the bug was updated right before the patch was sent. So assuming that you only started working

[yocto] [PATCH] Get rid of do_shared_workdir task

2015-03-11 Thread Ed Bartosh
Merged do_shared_workdir into kernel_do_compile This change should fix race condition between do_compilemodules and do_shared_workdir. Race occurs when do_compilemodules changes include/generated/ directory content while do_shared_workdir tries to copy it. Fixes [YOCTO #7321] Signed-off-by: Ed

[yocto] [PATCH] yocto-project-qs: update OpenSUSE essentials

2015-03-06 Thread Ed Bartosh
number of packages installed on the host system as installing texinfo causes installation of around 1500 texlive-* packages and requires around 1Gb of additional disk space on OpenSUSE. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com --- documentation/poky.ent | 2 +- 1 file changed, 1 insertion