<?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: Regarding the Partition on the SD Card in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178526#M7183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I always give first partition 20 M, How big is your uImage? Please, double check it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I always format second partition. You choose the file system (ext2, ext3, ext4, vfat, whatever one kernel recognizes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I copy the u-boot-noparding.bin using this command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ sudo dd if=u-boot-no-padding.bin of=/dev/sdX bs=1K seek=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for uImage I use this command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ sudo dd if=uImage of=/dev/sdX bs=1M seek=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are you using? Please, paste over here the log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2011 14:34:14 GMT</pubDate>
    <dc:creator>daiane_angolini</dc:creator>
    <dc:date>2011-10-20T14:34:14Z</dc:date>
    <item>
      <title>Regarding the Partition on the SD Card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178522#M7179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;user@ACN:~/ltib/ltib/rootfs/boot$ sudo fdisk /dev/sdb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel&lt;BR /&gt;Building a new DOS disklabel with disk identifier 0x5d2fa167.&lt;BR /&gt;Changes will remain in memory only, until you decide to write them.&lt;BR /&gt;After that, of course, the previous content won't be recoverable.&lt;BR /&gt;&lt;BR /&gt;Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;WARNING: DOS-compatible mode is deprecated. It's strongly recommended to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch off the mode (command 'c') and change display units to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sectors (command 'u').&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Command (m for help): u&lt;BR /&gt;Changing display/entry units to sectors&lt;BR /&gt;&lt;BR /&gt;Command (m for help): d&lt;BR /&gt;No partition is defined yet!&lt;BR /&gt;&lt;BR /&gt;Command (m for help): n&lt;BR /&gt;Command action&lt;BR /&gt;&amp;nbsp;&amp;nbsp; e&amp;nbsp;&amp;nbsp; extended&lt;BR /&gt;&amp;nbsp;&amp;nbsp; p&amp;nbsp;&amp;nbsp; primary partition (1-4)&lt;BR /&gt;p&lt;BR /&gt;Partition number (1-4): 1&lt;BR /&gt;First sector (62-7744511, default 62): 8192&lt;BR /&gt;Last sector, +sectors or +size{K,M,G} (8192-7744511, default 7744511): &lt;BR /&gt;Using default value 7744511&lt;BR /&gt;&lt;BR /&gt;Command (m for help): w&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;The partition table has been altered!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;Calling ioctl() to re-read partition table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;WARNING: Re-reading the partition table failed with error 16: Device or resource busy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;The kernel still uses the old table. The new table will be used at&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;the next reboot or after you run partprobe(8) or kpartx(8)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;Syncing disks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-4" style="color: #0000ff;"&gt;&lt;SPAN style="color: #333333;"&gt;Highlighted lines are those where I need some inferences&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 10:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178522#M7179</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2011-10-20T10:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the Partition on the SD Card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178523#M7180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like it is in use somehow. So unmount it first before running fdisk on it:&lt;/P&gt;&lt;P&gt;sudo umount /dev/sdb*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 11:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178523#M7180</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2011-10-20T11:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the Partition on the SD Card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178524#M7181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your SDCard MBR looks like being corrupted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you´re getting trouble using fdisk (I absolutly get confused with it), please use gparted (I use this because I don´t like to count blocks)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look here ﻿&lt;A href="http://imxcommunity.org/xn/detail/4103961:Comment:23615" target="_self"&gt;http://imxcommunity.org/xn/detail/4103961:Comment:23615&lt;/A&gt;&amp;nbsp;to see how I use gparted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, create the MBR again. So, create any partition you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And don´t forget SDCard is (for linux booting):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first 512 -&amp;gt; MBR&lt;/P&gt;&lt;P&gt;at 1K -&amp;gt; bootloarder&lt;/P&gt;&lt;P&gt;at 1M -&amp;gt; uImage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 14:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178524#M7181</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2011-10-20T14:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the Partition on the SD Card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178525#M7182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You,Daiane..... Thats exactly is the answer I require Daiane.&lt;/P&gt;&lt;P&gt;But, I dont know the partition scheme.&lt;/P&gt;&lt;P&gt;I have tried this with the gparted and am attaching an image,&lt;/P&gt;&lt;P&gt;I want to use and place my u-boot.bin and uImage in the locations you have specified, for that I gave partition 1, a size of 4 MB, using sudo fdisk /dev/sdb the sequence next being&amp;nbsp; u d n p 1 8192 Enter w&amp;nbsp;&amp;nbsp; against command(m for help):&amp;nbsp;&amp;nbsp;&amp;nbsp; prompt.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="612-gpart_daiane.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118750i5296B5981EEB2A50/image-size/large?v=v2&amp;amp;px=999" role="button" title="612-gpart_daiane.png" alt="612-gpart_daiane.png" /&gt;&lt;/span&gt;I ran the steps according to linux-3DStack guide and copied all the supporting files to SD Card, But, there is no boot because the 4MB has to be filled with the u-boot.bin &amp;amp; uImage which in my case has not happened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards::: Krishna Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 14:28:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178525#M7182</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2011-10-20T14:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the Partition on the SD Card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178526#M7183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I always give first partition 20 M, How big is your uImage? Please, double check it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I always format second partition. You choose the file system (ext2, ext3, ext4, vfat, whatever one kernel recognizes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I copy the u-boot-noparding.bin using this command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ sudo dd if=u-boot-no-padding.bin of=/dev/sdX bs=1K seek=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for uImage I use this command line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ sudo dd if=uImage of=/dev/sdX bs=1M seek=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are you using? Please, paste over here the log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 14:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regarding-the-Partition-on-the-SD-Card/m-p/178526#M7183</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2011-10-20T14:34:14Z</dc:date>
    </item>
  </channel>
</rss>

