<?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: Boot up error in updater.sb in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179752#M7427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter Chan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know, how you have created the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; customized i.MX233 updater.sb from Linux BSP L2.6.31&lt;/SPAN&gt;??&lt;/P&gt;&lt;P&gt;I am unable to get any documentation on this.&lt;/P&gt;&lt;P&gt;Also, does the updater.sb which comes with MfgTool by default works for any NAND flash listed under nand_device_info.c file in the Linux Drivers??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 07:32:42 GMT</pubDate>
    <dc:creator>GopiNagaBharath</dc:creator>
    <dc:date>2013-08-23T07:32:42Z</dc:date>
    <item>
      <title>Boot up error in updater.sb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179749#M7424</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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sometimes&amp;nbsp;a&amp;nbsp;customized i.MX233 updater.sb from Linux BSP L2.6.31_10.05.02_ER may run into below&amp;nbsp;error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Unable to handle kernel NULL pointer dereference at virtual address 0000001d&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;pgd = c0004000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[0000001d] *pgd=00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Internal error: Oops: 1 [#1] PREEMPT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;last sysfs file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CPU: 0&amp;nbsp;&amp;nbsp;&amp;nbsp; Not tainted&amp;nbsp; (2.6.35.3-571-gcca29a0-g6f363e1 #2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;PC is at regulator_is_enabled+0x10/0x54&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LR is at state_machine_work+0xa4/0x230&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;pc : [&amp;lt;c01ab1b4&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;c0203828&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp; psr: a0000013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sp : c3c2df40&amp;nbsp; ip : c3c2df58&amp;nbsp; fp : c3c2df54&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r10: 00000000&amp;nbsp; r9 : c33ee108&amp;nbsp; r8 : c3c2df84&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r7 : c3c00568&amp;nbsp; r6 : c33ee104&amp;nbsp; r5 : c33ee000&amp;nbsp; r4 : ffffffed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r3 : 00000000&amp;nbsp; r2 : 00000000&amp;nbsp; r1 : ffff8c2e&amp;nbsp; r0 : ffffffed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Flags: NzCv&amp;nbsp; IRQs on&amp;nbsp; FIQs on&amp;nbsp; Mode SVC_32&amp;nbsp; ISA ARM&amp;nbsp; Segment kernel&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Control: 0005317f&amp;nbsp; Table: 40004000&amp;nbsp; DAC: 00000017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Process events/0 (pid: 4, stack limit = 0xc3c2c270)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Stack: (0xc3c2df40 to 0xc3c2e000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;df40: c33ee0dc c33ee000 c3c2df74 c3c2df58 c0203828 c01ab1b4 c3c2c000 c3c00560&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;df60: c0203784 c3c00568 c3c2dfc4 c3c2df78 c004fd9c c0203794 c3c2c000 c029a978&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;df80: 00000000 00000000 c3c208a0 c0053b54 c3c2df90 c3c2df90 00000000 c3c23f28&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;dfa0: c3c2dfcc c004fc00 c3c00560 00000000 00000000 00000000 c3c2dff4 c3c2dfc8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;dfc0: c00537c8 c004fc10 00000000 00000000 c3c2dfd0 c3c2dfd0 c3c23f28 c0053744&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;dfe0: c003f984 00000013 00000000 c3c2dff8 c003f984 c0053754 bdf7bfff bfffdf7f&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Backtrace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[&amp;lt;c01ab1a4&amp;gt;] (regulator_is_enabled+0x0/0x54) from [&amp;lt;c0203828&amp;gt;] (state_machine_work+0xa4/0x230)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;r5:c33ee000 r4:c33ee0dc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[&amp;lt;c0203784&amp;gt;] (state_machine_work+0x0/0x230) from [&amp;lt;c004fd9c&amp;gt;] (worker_thread+0x19c/0x25c)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;r7:c3c00568 r6:c0203784 r5:c3c00560 r4:c3c2c000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[&amp;lt;c004fc00&amp;gt;] (worker_thread+0x0/0x25c) from [&amp;lt;c00537c8&amp;gt;] (kthread+0x84/0x8c)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[&amp;lt;c0053744&amp;gt;] (kthread+0x0/0x8c) from [&amp;lt;c003f984&amp;gt;] (do_exit+0x0/0x694)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;r7:00000013 r6:c003f984 r5:c0053744 r4:c3c23f28&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Code: e1a0c00d e92dd830 e24cb004 e1a04000 (e5900030)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;---[ end trace 7588d1786d25b7c6 ]---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is caused by a software bug in the mxs power driver. Please apply the attached patch &lt;A _jive_internal="true" href="https://community.nxp.com/discussions/48-mx23_updater_crash.patch" target="_self"&gt;mx23_updater_crash.patch&lt;/A&gt;&amp;nbsp;to resolve this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 07:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179749#M7424</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2012-08-02T07:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Boot up error in updater.sb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179750#M7425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I am hitting this bug.&amp;nbsp; I get an Oops very similar to the above during boot, but only if I have a LiIon battery connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The linked to the patch is no longer working.&amp;nbsp; Can you make it available somewhere ?&amp;nbsp; Or do you know if the patch has been applied in any repositories ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 06:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179750#M7425</guid>
      <dc:creator>kean</dc:creator>
      <dc:date>2012-10-26T06:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Boot up error in updater.sb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179751#M7426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry I made a big mistake in this post here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the log, you may see that the kernel version in this error is 2.6.35. For i.MX233, however, kernel 2.6.31 should always be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error happens because a false configuration is used. If the mfg build is configured properly, we shouldn't see such error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your interest, below is change in mx23_updater_crash.patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;diff --git a/drivers/power/mxs/linux.c b/drivers/power/mxs/linux.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;index 3388307..efdd45d 100644&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;--- a/drivers/power/mxs/linux.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;+++ b/drivers/power/mxs/linux.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;@@ -970,7 +970,7 @@ static int mxs_bat_probe(struct platform_device *pdev)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; info-&amp;gt;onboard_vbus5v = regulator_get(NULL, "vbus5v");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;- if (IS_ERR(info-&amp;gt;regulator)) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;+ if (IS_ERR(info-&amp;gt;onboard_vbus5v)) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; pr_debug("No onboard vbus 5v reg provided\n");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; info-&amp;gt;onboard_vbus5v = NULL;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 03:52:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179751#M7426</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2012-10-30T03:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Boot up error in updater.sb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179752#M7427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter Chan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know, how you have created the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; customized i.MX233 updater.sb from Linux BSP L2.6.31&lt;/SPAN&gt;??&lt;/P&gt;&lt;P&gt;I am unable to get any documentation on this.&lt;/P&gt;&lt;P&gt;Also, does the updater.sb which comes with MfgTool by default works for any NAND flash listed under nand_device_info.c file in the Linux Drivers??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 07:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-up-error-in-updater-sb/m-p/179752#M7427</guid>
      <dc:creator>GopiNagaBharath</dc:creator>
      <dc:date>2013-08-23T07:32:42Z</dc:date>
    </item>
  </channel>
</rss>

