<?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: About HW_RTC_PERSISTENT1 register on i.MX28 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307619#M39741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In i.MX28 Reference Manual, you can see. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HW_RTC_PERSISTENT1:0x8005C070:1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROM_SECONDARY_BOOT—When this bit is set, ROM attempts to boot&lt;/P&gt;&lt;P&gt;from the secondary image if the boot driver supports it. This bit is set by the&lt;/P&gt;&lt;P&gt;ROM boot driver and cleared by the SDK after repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the error log,&amp;nbsp; &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; text-decoration: underline;"&gt;0x80501003&lt;/EM&gt;&lt;/STRONG&gt; means ROM can't successfully load boot image from NAND, so ROM_SECONDARY_BOOT of HW_RTC_PERSISTENT1 is set by ROM and ROM tries to load the secondary image, but also error occurs and error code &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;0x8050100b&lt;/EM&gt;&lt;/STRONG&gt; returned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to change the NANDTiming parameters of&amp;nbsp; of Firmware Configuration Block&amp;nbsp; which is set by kobs-ng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information about FCB, reference 12.12.1.13 Firmware Configuration Block Structure and Definitions of&amp;nbsp; i.MX28 Reference Manual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NANDTiming: &lt;/P&gt;&lt;P&gt;8 bytes of data for 8 NAND Timing Parameters from NAND datasheet. The 8 parameters are: data_setup, data_hold, address_setup, dsample_time,&lt;/P&gt;&lt;P&gt;and_timing_state, REA, RLOH, RHOH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run "./ltib -p kobs-ng -m prep" to get kobs-ng source code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2014 02:54:45 GMT</pubDate>
    <dc:creator>GraceH</dc:creator>
    <dc:date>2014-06-03T02:54:45Z</dc:date>
    <item>
      <title>About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307617#M39739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My system is consist of the NAND(K9F1G08U) boot on i.MX28.&lt;/P&gt;&lt;P&gt;I downloaded kernel boot and UBI Filesystem with Mfgtools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm testing the NAND boot.&lt;/P&gt;&lt;P&gt;Most of NAND boot work well. But some NAND has a problem.&lt;/P&gt;&lt;P&gt;So I move the problem NAND to another linux platform(mini2440 Board + uboot + linux) then It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are 2 logs. one is OK log, another is Error log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. OK log&lt;/P&gt;&lt;P&gt;======================================================================&lt;/P&gt;&lt;P&gt;HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLC&lt;BR /&gt; hylim 0 _start : &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;HW_RTC_PERSISTENT1_RD = [0x00000000]&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;.&lt;BR /&gt;PowerPrep start initialize power...&lt;BR /&gt;...&lt;BR /&gt; hylim 0 PowerPrep_ConfigurePowerSource : HW_RTC_PERSISTENT1_RD = [0x00000000]&lt;/P&gt;&lt;P&gt; hylim &amp;gt;&amp;gt; Configured for 5v only power source.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Battery powered operation disabled.&lt;BR /&gt;..........&lt;BR /&gt; hylim 0-2 PowerPrep_ConfigurePowerSource : HW_RTC_PERSISTENT1_RD = [0x00000800]&lt;/P&gt;&lt;P&gt; hylim 1 PowerPrep_ConfigurePowerSource : HW_RTC_PERSISTENT1_RD = [0x00000800]&lt;BR /&gt;..LLLCMay 28 201416:16:17&lt;BR /&gt;FRAC 0x92925552&lt;BR /&gt;memory type is W9751G6JB DDR2&lt;BR /&gt;&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;&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; Wait for ddr ready 1power 0x00820710&lt;BR /&gt;Frac 0x92925552&lt;BR /&gt;start change cpu freq&lt;BR /&gt;hbus 0x00000003&lt;BR /&gt;cpu 0x00010001&lt;BR /&gt;LLLLLLLFLCLLJUncompressing Linux... done, booting the kernel.&lt;BR /&gt;Linux version 2.6.35.3-670-g914558e (hylim@hylim-virtual-machine) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #1024 PREEMPT Tue May 13 12:08:09 KST 2014&lt;BR /&gt;============================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Error log&lt;/P&gt;&lt;P&gt;============================================================================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;0x80501003&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLC&lt;BR /&gt; hylim 0 _start :&lt;SPAN style="text-decoration: underline;"&gt; &lt;STRONG&gt;&lt;EM&gt;HW_RTC_PERSISTENT1_RD&lt;/EM&gt;&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;=&lt;/SPAN&gt; [0x00000002]&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;.&lt;BR /&gt;PowerPrep start initialize power...&lt;BR /&gt;...&lt;BR /&gt; hylim 0 PowerPrep_ConfigurePowerSource : HW_RTC_PERSISTENT1_RD = [0x00000002]&lt;/P&gt;&lt;P&gt; hylim &amp;gt;&amp;gt; Configured for 5v only power source.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Battery powered operation disabled.&lt;BR /&gt;..........&lt;BR /&gt; hylim 0-2 PowerPrep_ConfigurePowerSource : HW_RTC_PERSISTENT1_RD = [0x00000802]&lt;/P&gt;&lt;P&gt; hylim 1 PowerPrep_ConfigurePowerSource : HW_RTC_PERSISTENT1_RD = [0x00000802]&lt;BR /&gt;..LLLCMay 28 201416:16:17&lt;BR /&gt;FRAC 0x92925552&lt;BR /&gt;memory type is W9751G6JB DDR2&lt;BR /&gt;&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;&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; Wait for ddr ready 1power 0x00820710&lt;BR /&gt;Frac 0x92925552&lt;BR /&gt;start change cpu freq&lt;BR /&gt;hbus 0x00000003&lt;BR /&gt;cpu 0x00010001&lt;BR /&gt;LLLLLLLFLCL&lt;STRONG&gt;&lt;EM&gt;0x8050100b&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;============================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But both of them are different.&lt;/P&gt;&lt;P&gt;HW_RTC_PERSISTENT1 is&lt;/P&gt;&lt;P&gt;ERROR : 0x00000002&lt;/P&gt;&lt;P&gt;OK :&amp;nbsp; 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read &lt;STRONG&gt;&lt;EM&gt;HW_RTC_PERSISTENT1_RD()&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp; in pwer_prep.c&lt;/P&gt;&lt;P&gt;============================================================================&lt;/P&gt;&lt;P&gt;pwer_prep.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int _start( void )&lt;BR /&gt;{&lt;BR /&gt; int iRtn = SUCCESS;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;printf("\r\n hylim 0 _start : HW_RTC_PERSISTENT1_RD = [0x%X]\x0d\x0a",HW_RTC_PERSISTENT1_RD());&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ifndef mx28&lt;BR /&gt; HW_DIGCTL_CTRL_SET(BM_DIGCTL_CTRL_USE_SERIAL_JTAG);&lt;BR /&gt;#else&lt;/P&gt;&lt;P&gt;#define SSP0_PIN_DRIVE_12mA 0x2&lt;/P&gt;&lt;P&gt;&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;&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; :&lt;/P&gt;&lt;P&gt;============================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HW_RTC_PERSISTENT1_RD value is used&amp;nbsp; in setup_cmdline_tag() function in /linux_prep/core/setup.c as " adding one to the rootfs partition number".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know about "HW_RTC_PERSISTENT1_RD = [0x00000002]" in details?&lt;/P&gt;&lt;P&gt;How can HW_RTC_PERSISTENT1 register is changed by H/W or&amp;nbsp; S/W?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hongyup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 23:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307617#M39739</guid>
      <dc:creator>hongyuplim</dc:creator>
      <dc:date>2014-05-28T23:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307618#M39740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody help me please!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 00:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307618#M39740</guid>
      <dc:creator>hongyuplim</dc:creator>
      <dc:date>2014-06-03T00:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307619#M39741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In i.MX28 Reference Manual, you can see. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HW_RTC_PERSISTENT1:0x8005C070:1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROM_SECONDARY_BOOT—When this bit is set, ROM attempts to boot&lt;/P&gt;&lt;P&gt;from the secondary image if the boot driver supports it. This bit is set by the&lt;/P&gt;&lt;P&gt;ROM boot driver and cleared by the SDK after repair.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the error log,&amp;nbsp; &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; text-decoration: underline;"&gt;0x80501003&lt;/EM&gt;&lt;/STRONG&gt; means ROM can't successfully load boot image from NAND, so ROM_SECONDARY_BOOT of HW_RTC_PERSISTENT1 is set by ROM and ROM tries to load the secondary image, but also error occurs and error code &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;0x8050100b&lt;/EM&gt;&lt;/STRONG&gt; returned. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to change the NANDTiming parameters of&amp;nbsp; of Firmware Configuration Block&amp;nbsp; which is set by kobs-ng.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information about FCB, reference 12.12.1.13 Firmware Configuration Block Structure and Definitions of&amp;nbsp; i.MX28 Reference Manual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NANDTiming: &lt;/P&gt;&lt;P&gt;8 bytes of data for 8 NAND Timing Parameters from NAND datasheet. The 8 parameters are: data_setup, data_hold, address_setup, dsample_time,&lt;/P&gt;&lt;P&gt;and_timing_state, REA, RLOH, RHOH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run "./ltib -p kobs-ng -m prep" to get kobs-ng source code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 02:54:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307619#M39741</guid>
      <dc:creator>GraceH</dc:creator>
      <dc:date>2014-06-03T02:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307620#M39742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Grace Si&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am modifying the below value base on &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/servlet/JiveServlet/download/406936-275702/k9f1g08u0d.pdf"&gt;k9f1g08u0d.pdf&lt;/A&gt;&amp;nbsp; but it dosen't solve.&lt;/P&gt;&lt;P&gt;// kobs-ng-2.6.35.3-1.1.0/src/mtd.c&lt;/P&gt;&lt;P&gt;const struct mtd_config default_mtd_config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/P&gt;&lt;P&gt; .data_setup_time =&lt;STRONG&gt; xx&lt;/STRONG&gt;, &lt;/P&gt;&lt;P&gt; .data_hold_time = &lt;STRONG&gt;xx&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt; .address_setup_time = &lt;STRONG&gt;xx&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt; .data_sample_time = 6,&lt;/P&gt;&lt;P&gt;&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; :&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I don't&amp;nbsp; know what is wrong.&lt;/P&gt;&lt;P&gt;please give me any advices and how can it get the ROM source code iMX28 cpu?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 07:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307620#M39742</guid>
      <dc:creator>hongyuplim</dc:creator>
      <dc:date>2014-06-03T07:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307621#M39743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hongyup,&lt;/P&gt;&lt;P&gt;probably reason of this misbehaviour is&lt;/P&gt;&lt;P&gt;poor soldering of components, for example capacitors.&lt;/P&gt;&lt;P&gt;You can try to change (resolder) processor and check more carefully power&lt;/P&gt;&lt;P&gt;supplies and NAND signals by oscilloscope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&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>Tue, 03 Jun 2014 07:58:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307621#M39743</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-06-03T07:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307622#M39744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hongyup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROM sources are closed for customers, also they will not help you&lt;/P&gt;&lt;P&gt;because they are much more complicated than this ubifs issue.&lt;/P&gt;&lt;P&gt;I would suggest to use and test NAND with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCIMX28EVKJ&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;IMX_OBDS&lt;/A&gt; &lt;IMG alt="" class="jiveImage" src="http://www.freescale.com/files/graphic/SECURITYINFOIMAGE.gif" /&gt; : On-Board Diagnostic Suit for the i.MX28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check NAND timings with oscilloscope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 02:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307622#M39744</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-06-04T02:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307623#M39745</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;I know someting strange.&lt;/P&gt;&lt;P&gt;I downloaded imx28_ivt_linux.sb using kobs-ng on Mfgtools.&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;P&gt;&amp;lt;CMD type="push" body="send" file="files/imx28_ivt_linux.sb"&amp;gt;Sending firmware&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CMD type="push" body="$ kobs-ng init -v $FILE"&amp;gt;Flashing firmware&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;P&gt;I am not sure but I realized that kobs-ng write the below data into the NAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FCB0 : 0x0 (NAND address)&lt;/P&gt;&lt;P&gt;FCB1 : 0x20000&lt;/P&gt;&lt;P&gt;FCB2 : 0x40000&lt;/P&gt;&lt;P&gt;FCB3 : 0x60000&lt;/P&gt;&lt;P&gt;DBBT0 : 0x80000&lt;/P&gt;&lt;P&gt;DBBT1 : 0xa0000&lt;/P&gt;&lt;P&gt;DBBT2 : 0xc0000&lt;/P&gt;&lt;P&gt;DBBT3 : 0xe0000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Firmware image 0(kernel boot) : 0x100000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Firmware image 1(Copy kernel boot&lt;/STRONG&gt;)&lt;STRONG&gt; : 0xa80000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this NAND has bad block as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bad eraseblock 8 at 0x000000100000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Bad eraseblock 42 at 0x000000540000&lt;/P&gt;&lt;P&gt;Bad eraseblock 44 at 0x000000580000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bad eraseblock 90 at 0x000000b40000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Bad eraseblock 105 at 0x000000d20000&lt;/P&gt;&lt;P&gt;Bad eraseblock 485 at 0x000003ca0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kernel boot(imx28_ivt_linux.sb) size is 0x412960.&lt;/P&gt;&lt;P&gt;the NAND Bad blcok is located in the both Firmware image 0(block 8) and Firmware image 1(block 90)&amp;nbsp; area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realized if one of the Firmware image (0 or 1) avoids&amp;nbsp; the bad block then It works well (Booting is OK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder about who handles the Bad block .&lt;/P&gt;&lt;P&gt;I wonder whether the Bad block is handled.&lt;/P&gt;&lt;P&gt;In case , What do I do for avoiding bad block?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me a help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hongyup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 08:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307623#M39745</guid>
      <dc:creator>hongyuplim</dc:creator>
      <dc:date>2014-06-04T08:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: About HW_RTC_PERSISTENT1 register on i.MX28</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307624#M39746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bad block table is written by kobs-ng also. Please reference "12.12.1.12 Bad Block Handling in the ROM" of reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12.12.1.12 Bad Block Handling in the ROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bad blocks are not an issue for the FCB, because FCB found from a search. The search for&lt;/P&gt;&lt;P&gt;the DBBT works with a similar mechanism. The search starts where the FCB indicates the&lt;/P&gt;&lt;P&gt;DBBT Search Area should be and progresses until efNANDBootSearchLimit times in the&lt;/P&gt;&lt;P&gt;same fashion as the search described in Boot Control Blocks (BCB).&lt;/P&gt;&lt;P&gt;ROM uses DBBT to skip any bad block that falls within firmware data on NAND Flash&lt;/P&gt;&lt;P&gt;device.&lt;/P&gt;&lt;P&gt;If the address of DBBT Search Area in FCB is 0, ROM will rely on factory marked bad&lt;/P&gt;&lt;P&gt;block markers to find out if a block is good or bad. The location of bad block information&lt;/P&gt;&lt;P&gt;is at the first 3 or last 3 pages in every block of the NAND Flash. NAND manufacturers&lt;/P&gt;&lt;P&gt;normally use one byte in the spare area of certain pages within a block to mark a block to&lt;/P&gt;&lt;P&gt;be good or bad. 0xFF means good block, non FF means bad block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 09:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-HW-RTC-PERSISTENT1-register-on-i-MX28/m-p/307624#M39746</guid>
      <dc:creator>GraceH</dc:creator>
      <dc:date>2014-06-04T09:28:56Z</dc:date>
    </item>
  </channel>
</rss>

