<?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: Kernel data corruption while flashing u-boot with kobs-ng</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511575#M83419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The issue is resolved with the kobs-ng patch : &lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="258403" data-objecttype="13" href="https://community.freescale.com/servlet/JiveServlet/download/2004-304760-318027-258403/0002-set-dbbt-fingerprint2-to-same-as-mx53-rom-and-enable.patch.zip"&gt;https://community.freescale.com/servlet/JiveServlet/download/2004-304760-318027-258403/0002-set-dbbt-fingerprint2-to-same-as-mx53-rom-and-enable.patch.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was checking the differences in FCB with and without patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With patch:&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;FCB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000 0000 0000 4346 2042 0001 0000 0000 0000&lt;/P&gt;&lt;P&gt;0000010 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000060 0000 0000 0000 0000 0200 0000 1100 0000&lt;/P&gt;&lt;P&gt;0000070 0064 0000 0064 0000 0100 0000 07d0 0000&lt;/P&gt;&lt;P&gt;0000080 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;00000a0 0000 0000 0000 0000 0000 0000 0001 0000&lt;/P&gt;&lt;P&gt;00000b0 0831 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;00000c0 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000800 ffff ffff ffff ffff ffff ffff ffff ffff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without patch:&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;FCB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000 0000 0000 4346 2042 0001 0000 0000 0000&lt;/P&gt;&lt;P&gt;0000010 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000060 0000 0000 0000 0000 0200 0000 1100 0000&lt;/P&gt;&lt;P&gt;0000070 0064 0000 0064 0000 0100 0000 0000 0000&lt;/P&gt;&lt;P&gt;0000080 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000800 ffff ffff ffff ffff ffff ffff ffff ffff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following doubhts in FCB format, can you help me to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FCB format.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27285i674971649C6FF3D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="FCB format.png" alt="FCB format.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Here Primary and secondary images refers to u-boot and kernel respectively?&lt;/P&gt;&lt;P&gt;2. What is mean by Bad block marker offset?&lt;/P&gt;&lt;P&gt;3. What will happen if Bad block marker swapping is enabled?&lt;/P&gt;&lt;P&gt;4. What is mean by Bad block marker offset to spare byte?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 08:33:53 GMT</pubDate>
    <dc:creator>kravik</dc:creator>
    <dc:date>2016-04-01T08:33:53Z</dc:date>
    <item>
      <title>Kernel data corruption while flashing u-boot with kobs-ng</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511574#M83418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using IMX53 based custom board with micron flash. I have flashed NAND as follows after booting with sdcard, but in Kernel partition (/dev/mtd1) specific memory locations (2002 byte, 4050=2002+2048 byte, 6098=4050+2048 byte) at end of every 2048 byte was corrupted(the values is always FF).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Step 1. Flashed kernel image using nandwrite.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; #flash_erase /dev/mtd1 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; #nandwrite -b 1 -n /dev/mtd1 -p /home/uImage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Step 2. Flashed u-boot using kobs-ng.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; #flash_erase /dev/mtd0 0 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&amp;nbsp; #kobs-ng init -v --chip_0_device_path=/dev/mtd0 /home/u-boot.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After Step1 the memory locations(2002 byte, 4050=2002+2048 byte, 6098=4050+2048 byte etc...) are having correct values, but after flashing u-boot with kobs-ng those memory locations(2002 byte, 4050 (2002+2048)byte, 6098(4050+2048) etc...) of kernel partition values are changes to FF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the first memory location corruption example:&lt;/P&gt;&lt;P&gt;Actual value after Step 1:&lt;/P&gt;&lt;P&gt;---------------------------------&lt;/P&gt;&lt;P&gt;# nanddump -c -n -l 1 /dev/mtd2 | grep "000007d0:"&lt;/P&gt;&lt;P&gt;Block size 131072, page size 2048, OOB size 64&lt;/P&gt;&lt;P&gt;Dumping data starting at 0x00000000 and ending at 0x00000001...&lt;/P&gt;&lt;P&gt;0x000007d0: &lt;STRONG&gt;10&lt;/STRONG&gt; af 40 ee 9a af 07 ee 15 af 07 ee 9a af 07 ee&amp;nbsp; |..@.............|&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Corrupted value after Step 2:&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;# nanddump -c -n -l 1 /dev/mtd2 | grep "000007d0:"&lt;/P&gt;&lt;P&gt;Block size 131072, page size 2048, OOB size 64&lt;/P&gt;&lt;P&gt;Dumping data starting at 0x00000000 and ending at 0x00000001...&lt;/P&gt;&lt;P&gt;0x000007d0: &lt;STRONG&gt;ff&lt;/STRONG&gt; af 40 ee 9a af 07 ee 15 af 07 ee 9a af 07 ee&amp;nbsp; |..@.............|&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The corrupted value(10 changes to ff) highlighted with bold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My doubht here is why kernel partition value is corrupted while flasing u-boot using kobs-ng. When I flash u-boot also with nandwrite then values are not corrupted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I flash u-boot first( using kobs-ng) and kernel second then also same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guide me to debug the issue while using kobs-ng for flashing u-boot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 06:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511574#M83418</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-03-30T06:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel data corruption while flashing u-boot with kobs-ng</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511575#M83419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The issue is resolved with the kobs-ng patch : &lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="258403" data-objecttype="13" href="https://community.freescale.com/servlet/JiveServlet/download/2004-304760-318027-258403/0002-set-dbbt-fingerprint2-to-same-as-mx53-rom-and-enable.patch.zip"&gt;https://community.freescale.com/servlet/JiveServlet/download/2004-304760-318027-258403/0002-set-dbbt-fingerprint2-to-same-as-mx53-rom-and-enable.patch.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was checking the differences in FCB with and without patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With patch:&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;FCB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000 0000 0000 4346 2042 0001 0000 0000 0000&lt;/P&gt;&lt;P&gt;0000010 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000060 0000 0000 0000 0000 0200 0000 1100 0000&lt;/P&gt;&lt;P&gt;0000070 0064 0000 0064 0000 0100 0000 07d0 0000&lt;/P&gt;&lt;P&gt;0000080 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;00000a0 0000 0000 0000 0000 0000 0000 0001 0000&lt;/P&gt;&lt;P&gt;00000b0 0831 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;00000c0 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000800 ffff ffff ffff ffff ffff ffff ffff ffff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without patch:&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;FCB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000 0000 0000 4346 2042 0001 0000 0000 0000&lt;/P&gt;&lt;P&gt;0000010 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000060 0000 0000 0000 0000 0200 0000 1100 0000&lt;/P&gt;&lt;P&gt;0000070 0064 0000 0064 0000 0100 0000 0000 0000&lt;/P&gt;&lt;P&gt;0000080 0000 0000 0000 0000 0000 0000 0000 0000&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;0000800 ffff ffff ffff ffff ffff ffff ffff ffff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following doubhts in FCB format, can you help me to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FCB format.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27285i674971649C6FF3D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="FCB format.png" alt="FCB format.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Here Primary and secondary images refers to u-boot and kernel respectively?&lt;/P&gt;&lt;P&gt;2. What is mean by Bad block marker offset?&lt;/P&gt;&lt;P&gt;3. What will happen if Bad block marker swapping is enabled?&lt;/P&gt;&lt;P&gt;4. What is mean by Bad block marker offset to spare byte?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 08:33:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511575#M83419</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-04-01T08:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel data corruption while flashing u-boot with kobs-ng</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511576#M83420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help to understand the doubts updated in above post related to badblocks in FCB format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 06:27:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511576#M83420</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-04-04T06:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel data corruption while flashing u-boot with kobs-ng</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511577#M83421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your solution. This is very helpful.&lt;/P&gt;&lt;P&gt;Regarding your questions I think I might help with a few of them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.- Both images correspond to the boot image, that is ussually u-boot.&lt;/P&gt;&lt;P&gt;2.- The offset in the BCH page where the ROM code swaps the first byte metadata.&lt;/P&gt;&lt;P&gt;3.- The BootRom code will swap BadBlockMarkerByt with metadata[0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 20:03:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511577#M83421</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2016-04-07T20:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel data corruption while flashing u-boot with kobs-ng</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511578#M83422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. &lt;/P&gt;&lt;P&gt;If both images refers to U-boot then u-boot will store at two locations in NAND?&lt;/P&gt;&lt;P&gt;I started learning NAND basics with this issue, can you please tell me what is mean&amp;nbsp; by BCH page? What metadata contains?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 17:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Kernel-data-corruption-while-flashing-u-boot-with-kobs-ng/m-p/511578#M83422</guid>
      <dc:creator>kravik</dc:creator>
      <dc:date>2016-04-08T17:00:42Z</dc:date>
    </item>
  </channel>
</rss>

