<?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 Re: ltib cannot create rootfs /var/lib/rpm database for imx28 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486738#M77900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thank you for the document. I understand the process much better now. Since my post I have purchased a imx28 evk and moved to my home lab where I control everything. Things are much easier this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have had success with building ltib and have the root file system with a fully populated boot directory. I am at the point where I am trying to gain confidence with the steps to build, load, run. Yesterday I did boot the board with the supplied SD card. I was then attempting to HID boot the imx28_ivt_uboot.sb but could not get sb_loader to find the HID. My windows PC does show a HID device but sb_loader does find it when I kick off sb_loader -f imx28_ivt_uboot.sb. I have the supplied usb cable attached to the USP OTP header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried to find mk_mx28_sd script but have had no luck. I have been following the BSP user guide that mentions an SDK package with a L2.6.XX_SDK.scripts.ta.gz but cannot locate that package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project is to get a uboot, kernel, and rootfs for a customer's custom board that is based on the imx28. It is not highly customized, but enough that I don't think the eval package will completely work without changes to uart in use, and a few other little things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2016 10:24:27 GMT</pubDate>
    <dc:creator>dan_edmondson</dc:creator>
    <dc:date>2016-04-22T10:24:27Z</dc:date>
    <item>
      <title>ltib cannot create rootfs /var/lib/rpm database for imx28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486735#M77897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to get the imx28 eval package L2.6.35_1.1.0_130130_source built. I have worked through adding some needed libraries and now have the ltib configuration menu coming up. I can navigate through the menu, select imx28 and the default minimum package, and save the configuration. However, after ltib continues I get the following error, which seems to be caused when ltib is trying to create the rpm database in the new rootfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press &amp;lt;enter to continue&amp;gt;&lt;/P&gt;&lt;P&gt;error: cannot open Packages index using db3 - No such file or directory (2)&lt;BR /&gt;CONFIG_TOOLCHAIN forced a full rebuild&lt;BR /&gt;Installing: gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12-1.i386.rpm&lt;BR /&gt;sudo /opt/freescale/ltib/usr/bin/rpm --dbpath /opt/freescale/ltib/var/lib/rpm -ivh --force --ignorearch --nodeps /opt/freescale/pkgs/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12-1.i386.rpm&lt;BR /&gt;Preparing...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ########################################### [100%]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 1:gcc-4.6.2-glibc-2.13-li########################################### [100%]&lt;/P&gt;&lt;P&gt;Processing platform: Freescale iMX28 Based Boards&lt;BR /&gt;===================================================&lt;BR /&gt;using config/platform/imx/.config&lt;BR /&gt;error: cannot open Packages index using db3 - No such file or directory (2)&lt;BR /&gt;/opt/freescale/ltib/usr/bin/rpm --root /nxp_linux/ltib/rootfs --dbpath /var/lib/rpm -qa --queryformat '%{name} ' at ./ltib line 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is the rootfs that ltib is attempting to build and it is blank.&lt;/P&gt;&lt;P&gt;/nxp_linux/ltib/rootfs/var/lib/rpm: ls&lt;/P&gt;&lt;P&gt;/nxp_linux/ltib/rootfs/var/lib/rpm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried --initdb and --rebuilddb but cannot get the rootfs to build properly. I am hoping someone else has had this issue and discovered how to resolve this. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 20:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486735#M77897</guid>
      <dc:creator>dan_edmondson</dc:creator>
      <dc:date>2016-04-06T20:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: ltib cannot create rootfs /var/lib/rpm database for imx28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486736#M77898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, here is the contents of the /opt/freescale/ltib directory for var/lib/rpm&lt;/P&gt;&lt;P&gt;/opt/freescale/ltib/var/lib/rpm: ls&lt;/P&gt;&lt;P&gt;Basenames&amp;nbsp; Filemd5s&amp;nbsp; Installtid&amp;nbsp; Packages&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Provideversion&amp;nbsp; Requireversion&amp;nbsp; Sigmd5&lt;/P&gt;&lt;P&gt;Dirnames&amp;nbsp;&amp;nbsp; Group&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Providename&amp;nbsp; Requirename&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sha1header&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Triggername&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 20:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486736#M77898</guid>
      <dc:creator>dan_edmondson</dc:creator>
      <dc:date>2016-04-06T20:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: ltib cannot create rootfs /var/lib/rpm database for imx28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486737#M77899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you try to run ltib without adding any packages&lt;/P&gt;&lt;P&gt;(with default package selection). Also please check attached&lt;/P&gt;&lt;P&gt;document sect.6 Install Host Packages Needed by LTIB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 01:32:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486737#M77899</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-07T01:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: ltib cannot create rootfs /var/lib/rpm database for imx28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486738#M77900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thank you for the document. I understand the process much better now. Since my post I have purchased a imx28 evk and moved to my home lab where I control everything. Things are much easier this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have had success with building ltib and have the root file system with a fully populated boot directory. I am at the point where I am trying to gain confidence with the steps to build, load, run. Yesterday I did boot the board with the supplied SD card. I was then attempting to HID boot the imx28_ivt_uboot.sb but could not get sb_loader to find the HID. My windows PC does show a HID device but sb_loader does find it when I kick off sb_loader -f imx28_ivt_uboot.sb. I have the supplied usb cable attached to the USP OTP header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried to find mk_mx28_sd script but have had no luck. I have been following the BSP user guide that mentions an SDK package with a L2.6.XX_SDK.scripts.ta.gz but cannot locate that package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project is to get a uboot, kernel, and rootfs for a customer's custom board that is based on the imx28. It is not highly customized, but enough that I don't think the eval package will completely work without changes to uart in use, and a few other little things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486738#M77900</guid>
      <dc:creator>dan_edmondson</dc:creator>
      <dc:date>2016-04-22T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: ltib cannot create rootfs /var/lib/rpm database for imx28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486739#M77901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find attached scripts, as sb_loader issue, note&lt;/P&gt;&lt;P&gt;documentation assumes WinXP usage. Suggest to create new&lt;/P&gt;&lt;P&gt;thread for that issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486739#M77901</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-04-22T10:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: ltib cannot create rootfs /var/lib/rpm database for imx28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486740#M77902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent! Thanks, Igor!&lt;/P&gt;&lt;P&gt;Yes, while searching around I've found some posts about windows XP and sb_loader. I'll have to keep digging on this. I have Windows 7 at home, but this customer is running windows 7 professional and sb_loader works fine there.&lt;/P&gt;&lt;P&gt;I'll search around here some more and open a new issue if I can't come up with something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 12:36:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ltib-cannot-create-rootfs-var-lib-rpm-database-for-imx28/m-p/486740#M77902</guid>
      <dc:creator>dan_edmondson</dc:creator>
      <dc:date>2016-04-22T12:36:56Z</dc:date>
    </item>
  </channel>
</rss>

