<?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>i.MX ProcessorsのトピックRe: formatting SD card</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164224#M4085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mickey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AN3875 is a good place to start but I found it took a lot of massaging to get right.&amp;nbsp; Attached are the instructions that I use for first loading the SD card followed by the NAND image.&amp;nbsp; Once you have the SD card image set up, you can update it with the NAND image as you play with ltib.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few&amp;nbsp;things first:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Don't use VMware.&amp;nbsp; It takes a lot of work to configure it right and you will have to manage resources used by both systems (the Linux image in VMware and the PC Windows) which is a pain in the bum.&amp;nbsp; I spent $200 getting a refurbished PC, loaded Linux on it and never looked back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When transferring files between your Linux and Windows system, I recommend that you get&amp;nbsp;a USB key drive and implement a "sneakernet" system.&amp;nbsp; Otherwise, you are going to have to set up a Samba drive on your Linux system that can be accessed by Windows (which is a pain with Windows 7, if you are using it).&amp;nbsp; &lt;STRONG&gt;NOTE:&lt;/STRONG&gt; you would have to do this with VMware as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Ubuntu seems to work better than Debian right from the start (I have tried both).&amp;nbsp; I'm using 10.10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Create &lt;STRONG&gt;TWO&lt;/STRONG&gt; versions of the ltib directories for the i.MX233 (I called mine i.MX233_SD_ltib (for the image put on the SD card) and i.MX233_NAND_ltib (for the image put on the NAND Flash of the EVK)).&amp;nbsp; The NAND kernel and rootfs is put on the SD card version in the "/home" directory and is loaded from here into the EVK's Flash.&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Once I have set up the NAND Flash, I download application code via&amp;nbsp;tftp and debug it via gdb/ethernet using the process described in AN3870.&amp;nbsp;&amp;nbsp;Note that&amp;nbsp;App Notes&amp;nbsp;seems to imply that you reload the NAND Flash image each time you update your application, this seems like overkill which is why I use&amp;nbsp;tftp to download the application code (and other files) from my Linux system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; Talking to other people, it seems like when somebody is first getting started with the i.MX processors, they don't create an new Linux image.&amp;nbsp; Instead they use the one already burned into the EVK and use NFS to debug their code and familiarize themselves with Linux.&amp;nbsp; If you don't know what you are selecting, you could end up with a system that is bricked (and you will have to use the Mfg. Tool).&amp;nbsp;&lt;/P&gt;&lt;P&gt;7.&amp;nbsp; When updating files on the EVK remember to ALWAYS execute "sync" afterwards.&amp;nbsp; There are quite a few times where the RAM image is different from the Flash and restarting without synching the contents of RAM with Flash could cause some problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;8.&amp;nbsp; When setting up your NAND Flash image, I recommend that you make the primary boot statement the NAND Flash and the secondary (on Button "1" or S37) boots from the SD Card.&amp;nbsp; This way you don't have to play with the boot switches when you are reloading the Kernel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;9.&amp;nbsp; Don't follow my process blindly.&amp;nbsp; It took several weeks for me to get it right for my set up.&amp;nbsp; While I don't see any way you can dick up your PC, you can brick your EVK.&amp;nbsp; Spend some time reviewing the steps below and ask questions if it doesn't seem right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;10.&amp;nbsp; I'm not a FSL FAE and I am not paid to support you or your set up.&amp;nbsp; Despite the fact that the procedures outlined below have been reviewed by FSL FAEs, I cannot promise that it will work with your set up, will not cause problems with your PC(s) or brick your EVK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If something bad happens, please do not hesitate to ask on this forum, but I cannot spend a significant amount of time helping you.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Aug 2011 16:25:35 GMT</pubDate>
    <dc:creator>myke_predko</dc:creator>
    <dc:date>2011-08-01T16:25:35Z</dc:date>
    <item>
      <title>formatting SD card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164220#M4081</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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to linux ...and got stuck in the first stage of using the imx development board. I have an imx 233 eval board. I have followed the steps in AN3875 to install debian linux on a vmware virtual machine. Now i am following the "i.MX23 EVK Linux User’s Guide" to format my SD card. I am using a 2gb micro SD card from kingston.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the tutorial, I am using &lt;STRONG&gt;"fdisk /dev/sdb1"&lt;/STRONG&gt; for disk partition, when i use the &lt;STRONG&gt;"w"&lt;/STRONG&gt; i am getting the error - "&lt;STRONG&gt;partition table failed with error - 22" ,&lt;/STRONG&gt; but when i use the command &lt;STRONG&gt;"fdisk -l /dev/sdb1"&lt;/STRONG&gt; i could see the partition table.&lt;/P&gt;&lt;P&gt;So i proceed to the next step of using the &lt;STRONG&gt;"mkfs.ext2 /dev/sdb1p3&lt;/STRONG&gt;" command to format the ext2 file type. But I am getting this error"&lt;STRONG&gt;Could not stat /dev/sdb1p3 -- No such file or directory&lt;/STRONG&gt;" &lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or suggestion would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 07:21:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164220#M4081</guid>
      <dc:creator>MickeyMouse</dc:creator>
      <dc:date>2011-08-01T07:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: formatting SD card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164221#M4082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At first you can run following command to identify the device node assigned to the SD card:&lt;/P&gt;&lt;P&gt;$ cat /proc/partitions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume, in your case, the device node assigned by kernel is /dev/sdb.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then use the following fdisk command&lt;/P&gt;&lt;P&gt;sudo fdisk /dev/sdb&lt;/P&gt;&lt;P&gt;Following the fdisk process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 09:25:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164221#M4082</guid>
      <dc:creator>PrabhuSundarara</dc:creator>
      <dc:date>2011-08-01T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: formatting SD card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164222#M4083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that /dev/sdb is the correct device node for your SD card. &amp;nbsp; You can do this by checking dmesg after you insert the card. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure the card is not write protected. &amp;nbsp;&lt;/P&gt;&lt;P&gt;You might need to run fdisk as root. &amp;nbsp;"sudo fdisk /dev/sdb"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 10:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164222#M4083</guid>
      <dc:creator>Philip_FSL</dc:creator>
      <dc:date>2011-08-01T10:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: formatting SD card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164223#M4084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use gparted instead fdisk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 16:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164223#M4084</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2011-08-01T16:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: formatting SD card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164224#M4085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mickey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AN3875 is a good place to start but I found it took a lot of massaging to get right.&amp;nbsp; Attached are the instructions that I use for first loading the SD card followed by the NAND image.&amp;nbsp; Once you have the SD card image set up, you can update it with the NAND image as you play with ltib.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few&amp;nbsp;things first:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Don't use VMware.&amp;nbsp; It takes a lot of work to configure it right and you will have to manage resources used by both systems (the Linux image in VMware and the PC Windows) which is a pain in the bum.&amp;nbsp; I spent $200 getting a refurbished PC, loaded Linux on it and never looked back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When transferring files between your Linux and Windows system, I recommend that you get&amp;nbsp;a USB key drive and implement a "sneakernet" system.&amp;nbsp; Otherwise, you are going to have to set up a Samba drive on your Linux system that can be accessed by Windows (which is a pain with Windows 7, if you are using it).&amp;nbsp; &lt;STRONG&gt;NOTE:&lt;/STRONG&gt; you would have to do this with VMware as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Ubuntu seems to work better than Debian right from the start (I have tried both).&amp;nbsp; I'm using 10.10.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; Create &lt;STRONG&gt;TWO&lt;/STRONG&gt; versions of the ltib directories for the i.MX233 (I called mine i.MX233_SD_ltib (for the image put on the SD card) and i.MX233_NAND_ltib (for the image put on the NAND Flash of the EVK)).&amp;nbsp; The NAND kernel and rootfs is put on the SD card version in the "/home" directory and is loaded from here into the EVK's Flash.&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Once I have set up the NAND Flash, I download application code via&amp;nbsp;tftp and debug it via gdb/ethernet using the process described in AN3870.&amp;nbsp;&amp;nbsp;Note that&amp;nbsp;App Notes&amp;nbsp;seems to imply that you reload the NAND Flash image each time you update your application, this seems like overkill which is why I use&amp;nbsp;tftp to download the application code (and other files) from my Linux system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; Talking to other people, it seems like when somebody is first getting started with the i.MX processors, they don't create an new Linux image.&amp;nbsp; Instead they use the one already burned into the EVK and use NFS to debug their code and familiarize themselves with Linux.&amp;nbsp; If you don't know what you are selecting, you could end up with a system that is bricked (and you will have to use the Mfg. Tool).&amp;nbsp;&lt;/P&gt;&lt;P&gt;7.&amp;nbsp; When updating files on the EVK remember to ALWAYS execute "sync" afterwards.&amp;nbsp; There are quite a few times where the RAM image is different from the Flash and restarting without synching the contents of RAM with Flash could cause some problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;8.&amp;nbsp; When setting up your NAND Flash image, I recommend that you make the primary boot statement the NAND Flash and the secondary (on Button "1" or S37) boots from the SD Card.&amp;nbsp; This way you don't have to play with the boot switches when you are reloading the Kernel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;9.&amp;nbsp; Don't follow my process blindly.&amp;nbsp; It took several weeks for me to get it right for my set up.&amp;nbsp; While I don't see any way you can dick up your PC, you can brick your EVK.&amp;nbsp; Spend some time reviewing the steps below and ask questions if it doesn't seem right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;10.&amp;nbsp; I'm not a FSL FAE and I am not paid to support you or your set up.&amp;nbsp; Despite the fact that the procedures outlined below have been reviewed by FSL FAEs, I cannot promise that it will work with your set up, will not cause problems with your PC(s) or brick your EVK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If something bad happens, please do not hesitate to ask on this forum, but I cannot spend a significant amount of time helping you.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 16:25:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164224#M4085</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2011-08-01T16:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: formatting SD card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164225#M4086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank to everyone for all the suggestion ...the issue was using /dev/sdb1 ...once I changed it to /dev/sdb&amp;nbsp; I got the SD card formatted properly .. :-) ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael ..Thanks for the document and the suggestion ...I liked the suggestion of using a linux system ...also vmware is little painful ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;keep the good work going :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 03:46:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/formatting-SD-card/m-p/164225#M4086</guid>
      <dc:creator>MickeyMouse</dc:creator>
      <dc:date>2011-08-02T03:46:43Z</dc:date>
    </item>
  </channel>
</rss>

