<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic iMX6 Yocto how to create fsl-image-gui with multiple partitions using 'wic' in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Yocto-how-to-create-fsl-image-gui-with-multiple-partitions/m-p/709042#M110204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for our customized system we need to have a additional partition to store application data on SD-Card.&lt;/P&gt;&lt;P&gt;Tried to use 'wic' for this purpose, followed this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/389816"&gt;Yocto WIC image creator with fixed partition sizes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can successfully build image for 'core-image-minimal' and 'fsl-image-gui' using 'bitbake'. I managed to create such SD-Card image for 'core-image-minimal' with following '.wks' file and command 'wic create imx6dl-ctems-2part.wks -e core-image-minimal'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# file name&amp;nbsp;imx6dl-ctems-2part.wks&lt;/P&gt;&lt;P&gt;# Image Creator .wks&lt;BR /&gt;part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 1&lt;/P&gt;&lt;P&gt;# Boot partition&lt;BR /&gt;part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0&lt;/P&gt;&lt;P&gt;# Rootfs partition&lt;BR /&gt;part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 --size 256M --extra-space 0 --overhead-factor 1&lt;/P&gt;&lt;P&gt;# User data partition&lt;BR /&gt;part /opt/user --ondisk mmcblk --fstype=ext4 --label ctems --align 4096 --size 128M --extra-space 0 --overhead-factor 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do this for 'fsl-image-gui' by command 'wic create imx6dl-ctems-2part.wks -e fsl-image-gui' I got the following error:&lt;/P&gt;&lt;P&gt;Checking basic build environment...&lt;BR /&gt;Done.&lt;/P&gt;&lt;P&gt;Creating image(s)...&lt;/P&gt;&lt;P&gt;Warning: bootloader config not specified, using defaults&lt;BR /&gt;Error: exec_cmd: 'export PSEUDO_PREFIX=/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/sysroots/x86_64-linux/usr;export PSEUDO_LOCALSTATEDIR=/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/work/imx6dl_ctems-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs/../pseudo;export PSEUDO_PASSWD=/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/work/imx6dl_ctems-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs;export PSEUDO_NOSYMLINKEXP=1;/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/sysroots/x86_64-linux/usr/bin/pseudo mkfs.ext4 -F -i 8192 /var/tmp/wic/build/rootfs_root.3.ext4 -L root -d /home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/work/imx6dl_ctems-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs' returned '1' instead of 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux target system is Kernel 4.1.15_2.0.0 (fsl release) on iMX6DL, build system Yocto 2.1 Krogoth running on Ubuntu 14.04.1 LTS 64 bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated?&lt;/P&gt;&lt;P&gt;Thanks Torsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 14:50:57 GMT</pubDate>
    <dc:creator>torstenkrieger</dc:creator>
    <dc:date>2017-08-28T14:50:57Z</dc:date>
    <item>
      <title>iMX6 Yocto how to create fsl-image-gui with multiple partitions using 'wic'</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Yocto-how-to-create-fsl-image-gui-with-multiple-partitions/m-p/709042#M110204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for our customized system we need to have a additional partition to store application data on SD-Card.&lt;/P&gt;&lt;P&gt;Tried to use 'wic' for this purpose, followed this thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/389816"&gt;Yocto WIC image creator with fixed partition sizes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can successfully build image for 'core-image-minimal' and 'fsl-image-gui' using 'bitbake'. I managed to create such SD-Card image for 'core-image-minimal' with following '.wks' file and command 'wic create imx6dl-ctems-2part.wks -e core-image-minimal'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# file name&amp;nbsp;imx6dl-ctems-2part.wks&lt;/P&gt;&lt;P&gt;# Image Creator .wks&lt;BR /&gt;part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 1&lt;/P&gt;&lt;P&gt;# Boot partition&lt;BR /&gt;part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0&lt;/P&gt;&lt;P&gt;# Rootfs partition&lt;BR /&gt;part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 --size 256M --extra-space 0 --overhead-factor 1&lt;/P&gt;&lt;P&gt;# User data partition&lt;BR /&gt;part /opt/user --ondisk mmcblk --fstype=ext4 --label ctems --align 4096 --size 128M --extra-space 0 --overhead-factor 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do this for 'fsl-image-gui' by command 'wic create imx6dl-ctems-2part.wks -e fsl-image-gui' I got the following error:&lt;/P&gt;&lt;P&gt;Checking basic build environment...&lt;BR /&gt;Done.&lt;/P&gt;&lt;P&gt;Creating image(s)...&lt;/P&gt;&lt;P&gt;Warning: bootloader config not specified, using defaults&lt;BR /&gt;Error: exec_cmd: 'export PSEUDO_PREFIX=/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/sysroots/x86_64-linux/usr;export PSEUDO_LOCALSTATEDIR=/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/work/imx6dl_ctems-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs/../pseudo;export PSEUDO_PASSWD=/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/work/imx6dl_ctems-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs;export PSEUDO_NOSYMLINKEXP=1;/home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/sysroots/x86_64-linux/usr/bin/pseudo mkfs.ext4 -F -i 8192 /var/tmp/wic/build/rootfs_root.3.ext4 -L root -d /home/plexus/fsl-yocto-L4.1.15_2.0.0-ga/fsl-release-bsp/build_ctems_fb-opengl_readonlyRFS/tmp/work/imx6dl_ctems-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs' returned '1' instead of 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux target system is Kernel 4.1.15_2.0.0 (fsl release) on iMX6DL, build system Yocto 2.1 Krogoth running on Ubuntu 14.04.1 LTS 64 bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated?&lt;/P&gt;&lt;P&gt;Thanks Torsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 14:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-Yocto-how-to-create-fsl-image-gui-with-multiple-partitions/m-p/709042#M110204</guid>
      <dc:creator>torstenkrieger</dc:creator>
      <dc:date>2017-08-28T14:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 Yocto how to create fsl-image-gui with multiple partitions using 'wic'</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-Yocto-how-to-create-fsl-image-gui-with-multiple-partitions/m-p/709043#M110205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; In case anyone else encounters this issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Seems like this is related to&amp;nbsp;&lt;A class="link-titled" href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=6863" title="https://bugzilla.yoctoproject.org/show_bug.cgi?id=6863"&gt;Bug 6863 – Wic fails to create a working image for a large file system&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;Fixed by increasing overhead for the rootfs partition in the .wks file, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 --size 256M --extra-space 0 --overhead-factor &lt;STRONG&gt;1.3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 10:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-Yocto-how-to-create-fsl-image-gui-with-multiple-partitions/m-p/709043#M110205</guid>
      <dc:creator>stasgil</dc:creator>
      <dc:date>2018-03-20T10:59:03Z</dc:date>
    </item>
  </channel>
</rss>

