<?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>Layerscape中的主题 LS1012A Cannot boot without flash chip select I2C</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1012A-Cannot-boot-without-flash-chip-select-I2C/m-p/1695486#M12974</link>
    <description>&lt;P&gt;Our custom LS1012A board missing I2C flash select chip.&lt;/P&gt;&lt;P&gt;On older U-Boot it was working fine.&lt;/P&gt;&lt;P&gt;On newer U-Boot it seems has strict check for that chip and refuses to boot.&lt;/P&gt;&lt;P&gt;Is there a way to disable this check in board config?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Boot log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SoC:  LS1012AE Rev2.0 (0x87040020)
Clock Configuration:
       CPU0(A53):1000 MHz
       Bus:      250  MHz  DDR:      1000 MT/s
Reset Configuration Word (RCW):
       00000000: 0800000a 00000000 00000000 00000000
       00000010: 35080000 c000000c 40000000 00001800
       00000020: 00000000 00000000 00000000 00014571
       00000030: 00000000 18c2a120 00000096 00000000
DRAM:  958 MiB
Using SERDES1 Protocol: 13576 (0x3508)
Core:  17 devices, 13 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPIFlash... SF: Detected n25q00a with page size 256 Bytes, erase size 64 KiB, total 128 MiB
OK
In:    serial
Out:   serial
Err:   serial
Model: LS1012A RDB Board
Board: LS1012ARDB checkboard: Cannot find udev for a bus 0
initcall sequence 00000000b7bd2140 failed at call 000000008201d678 (err=-6)
### ERROR ### Please RESET the board ###&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 03:58:03 GMT</pubDate>
    <dc:creator>epoletaev</dc:creator>
    <dc:date>2023-07-31T03:58:03Z</dc:date>
    <item>
      <title>LS1012A Cannot boot without flash chip select I2C</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-Cannot-boot-without-flash-chip-select-I2C/m-p/1695486#M12974</link>
      <description>&lt;P&gt;Our custom LS1012A board missing I2C flash select chip.&lt;/P&gt;&lt;P&gt;On older U-Boot it was working fine.&lt;/P&gt;&lt;P&gt;On newer U-Boot it seems has strict check for that chip and refuses to boot.&lt;/P&gt;&lt;P&gt;Is there a way to disable this check in board config?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Boot log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SoC:  LS1012AE Rev2.0 (0x87040020)
Clock Configuration:
       CPU0(A53):1000 MHz
       Bus:      250  MHz  DDR:      1000 MT/s
Reset Configuration Word (RCW):
       00000000: 0800000a 00000000 00000000 00000000
       00000010: 35080000 c000000c 40000000 00001800
       00000020: 00000000 00000000 00000000 00014571
       00000030: 00000000 18c2a120 00000096 00000000
DRAM:  958 MiB
Using SERDES1 Protocol: 13576 (0x3508)
Core:  17 devices, 13 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPIFlash... SF: Detected n25q00a with page size 256 Bytes, erase size 64 KiB, total 128 MiB
OK
In:    serial
Out:   serial
Err:   serial
Model: LS1012A RDB Board
Board: LS1012ARDB checkboard: Cannot find udev for a bus 0
initcall sequence 00000000b7bd2140 failed at call 000000008201d678 (err=-6)
### ERROR ### Please RESET the board ###&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 03:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-Cannot-boot-without-flash-chip-select-I2C/m-p/1695486#M12974</guid>
      <dc:creator>epoletaev</dc:creator>
      <dc:date>2023-07-31T03:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A Cannot boot without flash chip select I2C</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-Cannot-boot-without-flash-chip-select-I2C/m-p/1696289#M12981</link>
      <description>&lt;P&gt;OK, I edited parts of U-Boot to bypass this error, just by returning zero after error happens.&lt;/P&gt;&lt;P&gt;Looks like that's working, system boots. Not sure about implications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;--- a/board/freescale/ls1012ardb/ls1012ardb.c&lt;BR /&gt;+++ b/board/freescale/ls1012ardb/ls1012ardb.c&lt;BR /&gt;@@ -52,7 +52,7 @@ int checkboard(void)&lt;BR /&gt;if (ret) {&lt;BR /&gt;printf("%s: Cannot find udev for a bus %d\n", __func__,&lt;BR /&gt;bus_num);&lt;BR /&gt;- return -ENXIO;&lt;BR /&gt;+ return 0;//-ENXIO;&lt;BR /&gt;}&lt;BR /&gt;ret = dm_i2c_read(dev, I2C_MUX_IO_1, &amp;amp;in1, 1);&lt;BR /&gt;#else /* Non DM I2C support - will be removed */&lt;BR /&gt;@@ -203,7 +203,7 @@ int esdhc_status_fixup(void *blob, const char *compat)&lt;BR /&gt;if (ret) {&lt;BR /&gt;printf("%s: Cannot find udev for a bus %d\n", __func__,&lt;BR /&gt;bus_num);&lt;BR /&gt;- return -ENXIO;&lt;BR /&gt;+ return 0;//-ENXIO;&lt;BR /&gt;}&lt;BR /&gt;ret = dm_i2c_read(dev, I2C_MUX_IO_1, &amp;amp;io, 1);&lt;BR /&gt;#else&lt;BR /&gt;@@ -281,7 +281,7 @@ static int switch_to_bank1(void)&lt;BR /&gt;if (ret) {&lt;BR /&gt;printf("%s: Cannot find udev for a bus %d\n", __func__,&lt;BR /&gt;bus_num);&lt;BR /&gt;- return -ENXIO;&lt;BR /&gt;+ return 0;// -ENXIO;&lt;BR /&gt;}&lt;BR /&gt;/*&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 03:36:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-Cannot-boot-without-flash-chip-select-I2C/m-p/1696289#M12981</guid>
      <dc:creator>epoletaev</dc:creator>
      <dc:date>2023-08-01T03:36:13Z</dc:date>
    </item>
  </channel>
</rss>

