All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] wic: Add wic support to generate rootfs image for uboot
@ 2014-06-10 13:41 Adrian Calianu
  2014-06-10 13:41 ` [PATCH 1/1] " Adrian Calianu
  0 siblings, 1 reply; 11+ messages in thread
From: Adrian Calianu @ 2014-06-10 13:41 UTC (permalink / raw)
  To: openembedded-core

Hi,

We tried to extend existing wic tool to generates rootfs images for U-Boot.
This will be possible from cooked mode(existing build folder) and from raw 
mode where you have to provide a list of packages to be installed and 
a native rootfs with necessary tools. 

Some prerequisites are required for this new build setup in wic.conf file. 
As package manager only opkg and only web paths(repourl) are supported by now.
../poky/scripts/lib/image/config/wic.conf
[create]
arch=target_arch (example: powerpc, arm, x86)
pkgmgr=opkg
repourl=http://example.distro/p2020rdb/ipk/all http://example.distro/p2020rdb/ipk/p2020rdb http://example.distro/p2020rdb/ipk/ppce500v2

    1) Build rootfs image from an existing bitbake build:
       wic create ../poky/scripts/lib/image/canned-wks/uboot.wks -e core-image-minimal -o .../output

    2) Build rootfs image from an existing rootfs and native_sysroot:
       wic create ../poky/scripts/lib/image/canned-wks/uboot.wks -r .../path_to_rootfs -n .../path_to_native_sysroot -o .../output

    3) Build rootfs image only from a package list (on wks file) similar with IMAGE_INSTALL from bitbake. 
       Package dependencies will be installed by default by the package manager.

       Add the list of packages to be installed as rootfs on ../poky/scripts/lib/image/canned-wks/uboot.wks:
       %packages
       packagegroup-core-boot
       pramfs-init
       run-postinsts
       packagegroup-core-ssh-dropbear
       %end

       Generate rootfs image:
       wic create ../poky/scripts/lib/image/canned-wks/uboot.wks  -n .../path_to_native_sysroot -o .../output

 
Adrian Calianu (1):
  Add wic support to generate rootfs image for uboot

 scripts/lib/image/canned-wks/uboot.wks             |   17 +
 scripts/lib/image/config/wic.conf                  |    4 +
 scripts/lib/image/engine.py                        |    7 +-
 scripts/lib/mic/imager/direct.py                   |    4 +
 .../lib/mic/kickstart/custom_commands/partition.py |  128 ++++
 scripts/lib/mic/plugin.py                          |   11 +-
 scripts/lib/mic/pluginbase.py                      |    9 +
 scripts/lib/mic/plugins/source/uboot.py            |  173 +++++
 scripts/lib/mic/utils/oe/package_manager.py        |  810 ++++++++++++++++++++
 scripts/wic                                        |   88 ++-
 10 files changed, 1219 insertions(+), 32 deletions(-)
 create mode 100644 scripts/lib/image/canned-wks/uboot.wks
 create mode 100644 scripts/lib/mic/plugins/source/uboot.py
 create mode 100644 scripts/lib/mic/utils/oe/package_manager.py

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-06-20 14:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-10 13:41 [PATCH 0/1] wic: Add wic support to generate rootfs image for uboot Adrian Calianu
2014-06-10 13:41 ` [PATCH 1/1] " Adrian Calianu
2014-06-12  2:49   ` Saul Wold
2014-06-12  8:43     ` [PATCHv2 0/2] wic: " y
2014-06-12  8:43       ` [PATCHv2 1/2] " y
2014-06-13 20:18         ` Tom Zanussi
2014-06-16 13:18           ` Adrian Calianu
2014-06-17  9:35             ` Anders Darander
2014-06-20 14:46             ` Tom Zanussi
     [not found]     ` <53996893.88fd440a.0627.25d6SMTPIN_ADDED_BROKEN@mx.google.com>
2014-06-12 14:02       ` Otavio Salvador
2014-06-13  6:43         ` Adrian Calianu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.