<?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: I2C command in 2014.01 u-boot on sabresd</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302074#M38183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would better enter a post in the u-boot list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 14:44:48 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2014-04-25T14:44:48Z</dc:date>
    <item>
      <title>I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302071#M38180</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;I am using sabresd with 2014.01 u-boot ("mx6qsabresd_config" configuration) and I got the u-boot prompt on the board. But there is no "i2c" command by default. And I tried to bring up the "i2c" command. For this, I added these lines in "include/configs/mx6sabresd.h" file (I referred LTIB BSP u-boot code which is 2009.08 version )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp;&amp;nbsp; /* I2C configs */&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; #define CONFIG_CMD_I2C&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; #define CONFIG_SYS_I2C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; #define CONFIG_I2C_MXC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; #define CONFIG_SYS_I2C_PORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C2_BASE_ADDR&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; #define CONFIG_SYS_I2C_SPEED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; #define CONFIG_SYS_I2C_SLAVE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P&gt;And with this settings, I got the u-boot prompt with i2c command but it is not working properly. Below is the attached boot log message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;U-Boot 2014.01 (Apr 23 2014 - 17:03:14)&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;CPU:&amp;nbsp;&amp;nbsp; Freescale i.MX6Q rev1.2 at 792 MHz&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Reset cause: POR&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Board: MX6-SabreSD&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;I2C:&amp;nbsp;&amp;nbsp; Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;ready&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;DRAM:&amp;nbsp; 1 GiB&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;*** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;auto-detected panel HDMI&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Display: HDMI (1024x768)&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Net:&amp;nbsp;&amp;nbsp; FEC [PRIME]&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;=&amp;gt; i2c probe&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Valid chip addresses:Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;data abort&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAYBE you should read doc/README.arm-unaligned-accesses&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;pc : [&amp;lt;4ffa0bf4&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;4ff8d220&amp;gt;]&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;sp : 4f570dd8&amp;nbsp; ip : 00000034&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fp : 00000000&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;r10: 00000002&amp;nbsp; r9 : 4f570f30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r8 : 4f876cc8&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;r7 : 00000000&amp;nbsp; r6 : ffffffff&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r5 : 00000000&amp;nbsp; r4 : 4ffa0bd0&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;r3 : 00000083&amp;nbsp; r2 : 00000060&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r1 : 00000000&amp;nbsp; r0 : 00000000&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Flags: nZCv&amp;nbsp; IRQs off&amp;nbsp; FIQs off&amp;nbsp; Mode SVC_32&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Resetting CPU ...&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;resetting ...&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;U-Boot 2014.01 (Apr 23 2014 - 17:03:14)&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;CPU:&amp;nbsp;&amp;nbsp; Freescale i.MX6Q rev1.2 at 792 MHz&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Reset cause: WDOG&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Board: MX6-SabreSD&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;I2C:&amp;nbsp;&amp;nbsp; Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;ready&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;DRAM:&amp;nbsp; 1 GiB&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;*** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Error, wrong i2c adapter 0 max 0 possible&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;auto-detected panel HDMI&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Display: HDMI (1024x768)&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Net:&amp;nbsp;&amp;nbsp; FEC [PRIME]&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;=&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;As you can see, when I try for "i2c probe", the board is reset with "Error, wrong i2c adapter 0 max 0 possible" error message. Do I need any other configuration for "i2c" command to work properly?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 12:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302071#M38180</guid>
      <dc:creator>jaiganesh</dc:creator>
      <dc:date>2014-04-23T12:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302072#M38181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at mx6qsabreauto board in U-boot 2014.04 for a working reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 14:39:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302072#M38181</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-04-23T14:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302073#M38182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabio,&lt;/P&gt;&lt;P&gt;I took mx6qsabrelite in 2014.01 as reference (where i2c is working fine in sabrelite baord) and looked at it. And i guess that the error we saw in the boot log is thrown from the file "drivers/i2c/i2c_core.c", in the function "i2c_set_bus_num()",&amp;nbsp; line &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE height="149" style="width: 360px; height: 90px;" width="358"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;max = ll_entry_count(struct i2c_adapter, i2c);&lt;/P&gt;&lt;P&gt;if (I2C_ADAPTER(bus) &amp;gt;= max) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; printf("Error, wrong i2c adapter %d max %d possible\n",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C_ADAPTER(bus), max);&lt;/P&gt;&lt;P&gt;&amp;nbsp; return -2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put some debug messages there and found that the variable "max" is set to 0 in case of sabresd, but in the case of sabrelite it is 3. This function is called from "arch/arm/lib/board.c" which is common to both sabrelite and sabresd and I guess no board specific confgiuration with respect to i2c is made before that function call. So I wonder how the "max" variable differs in these two cases. Meanwhile I googeled for "ll_entry_count" which specifies " returns the number of elements in the linker generated array" and I am not sure what is linker generated array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so I cannot guess what is the cause of this error. Can you guide me in this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 09:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302073#M38182</guid>
      <dc:creator>jaiganesh</dc:creator>
      <dc:date>2014-04-25T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302074#M38183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would better enter a post in the u-boot list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 14:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302074#M38183</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-04-25T14:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302075#M38184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you manage to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have the same problem (right now using 2013.10).&lt;/P&gt;&lt;P&gt;When I tried to set something (speed) or do a probe, u-boot restarts.&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; i2c speed 100000&lt;/P&gt;&lt;P&gt;Setting bus speed to 100000 Hz&lt;/P&gt;&lt;P&gt;data abort&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAYBE you should read doc/README.arm-unaligned-accesses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pc : [&amp;lt;4ff9ad30&amp;gt;]&amp;nbsp;&amp;nbsp; lr : [&amp;lt;4ff9a75c&amp;gt;]&lt;/P&gt;&lt;P&gt;sp : 4f584e00&amp;nbsp; ip : 00000000 fp : 4f585860&lt;/P&gt;&lt;P&gt;r10: 4ffba700&amp;nbsp; r9 : 4f584f38 r8 : 00000003&lt;/P&gt;&lt;P&gt;r7 : 00000002&amp;nbsp; r6 : 4f5858a4 r5 : 4ffb983c&amp;nbsp; r4 : 00000000&lt;/P&gt;&lt;P&gt;r3 : 00000039&amp;nbsp; r2 : 00000300 r1 : 4ffae44c&amp;nbsp; r0 : 4ffae4dc&lt;/P&gt;&lt;P&gt;Flags: nzCv&amp;nbsp; IRQs off&amp;nbsp; FIQs off&amp;nbsp; Mode SVC_32&lt;/P&gt;&lt;P&gt;Resetting CPU ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resetting ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 23:36:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302075#M38184</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2014-05-06T23:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302076#M38185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Niklas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just tested with U-boot 2014.04 and the i2c commands work fine. You can apply this patch that adds pfuze100 pmic which is connected via i2c:&lt;/P&gt;&lt;P&gt;&lt;A href="http://lists.denx.de/pipermail/u-boot/2014-May/178916.html" title="http://lists.denx.de/pipermail/u-boot/2014-May/178916.html"&gt;[U-Boot] [PATCH v3] mx6sabred: Add PFUZE100 PMIC support&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 00:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302076#M38185</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-05-07T00:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302077#M38186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fabio.It works fine in 2014.04 u-boot with the above patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the post I made above, I made a small mistake in adding a line in "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;"include/configs/mx6sabresd.h&lt;/SPAN&gt;". I added "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; #define CONFIG_I2C_MXC " but it must be "#define CONFIG_SYS_I2C_MXC". After changing this line i2c command works but "i2c probe" does not show any devices connected to it even after probing all the buses.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 06:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302077#M38186</guid>
      <dc:creator>jaiganesh</dc:creator>
      <dc:date>2014-05-07T06:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302078#M38187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilkas,&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; F&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;or the post I made above, I made a small mistake in adding a line in "&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;"include/configs/mx6sabresd.h&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;". I added "&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt; #define CONFIG_I2C_MXC " but it must be "#define CONFIG_SYS_I2C_MXC". After changing this line i2c command works but "i2c probe" does not show any devices connected to it even after probing all the buses.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&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; But it works fine in 2014.04 u-boot with the patch posted by Fabio.[&lt;A class="jive-link-external-small" data-content-finding="Community" href="http://lists.denx.de/pipermail/u-boot/2014-May/178916.html" style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #6a737b; background-color: #f6f6f6;"&gt;[U-Boot] [PATCH v3] mx6sabred: Add PFUZE100 PMIC support&lt;/A&gt;&lt;/SPAN&gt;]. Please do try this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 06:40:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302078#M38187</guid>
      <dc:creator>jaiganesh</dc:creator>
      <dc:date>2014-05-07T06:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302079#M38188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fabio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a working version now that handles both I2C1 and I2C3 busses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 00:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302079#M38188</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2014-05-08T00:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: I2C command in 2014.01 u-boot on sabresd</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302080#M38189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jai and&amp;nbsp; Niklas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to know that this issue has been resolved. Could you please mark my reply as 'Correct Answer'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 00:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-command-in-2014-01-u-boot-on-sabresd/m-p/302080#M38189</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-05-08T00:45:26Z</dc:date>
    </item>
  </channel>
</rss>

