Adrian Calianu | 10 Jun 15:41 2014

[PATCH 0/1] wic: Add wic support to generate rootfs image for uboot

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
(Continue reading)

Adrian Calianu | 10 Jun 15:41 2014

[PATCH 1/1] Add wic support to generate rootfs image for uboot

Add support in wic to build ramdisk uboot images from list of packages or
from an existing rootfs folder.

Some prerequisites are required for this new build setup:
../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 an 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 an 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 an rootfs image only from a package list (on wks file):

       Add the package list 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

Signed-off-by: Adrian Calianu <adrian.calianu-AM1FMPraTHU <at> public.gmane.org>
(Continue reading)

Saul Wold | 12 Jun 04:49 2014
Picon

Re: [PATCH 1/1] Add wic support to generate rootfs image for uboot

On 06/10/2014 06:41 AM, Adrian Calianu wrote:
> Add support in wic to build ramdisk uboot images from list of packages or
> from an existing rootfs folder.
>
> Some prerequisites are required for this new build setup:
> ../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 an 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 an 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 an rootfs image only from a package list (on wks file):
>
>         Add the package list 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
>
(Continue reading)

y | 12 Jun 10:43 2014
Picon

[PATCHv2 0/2] wic: Add wic support to generate rootfs image for uboot

From: Adrian Calianu <adrian.calianu@...>

v2 
Fix upstream compatibility with latest on master.

v1
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:
(Continue reading)


Gmane