<?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>MCU BootloaderのトピックEnabling spidev on ls1021a-tsn</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Enabling-spidev-on-ls1021a-tsn/m-p/1371246#M1343</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am working on ls1021a-tsn board and I am interested to configure on board switch "sja1105". Due that I have compiled and sucessfully installed sja1105-tool and related libraries:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sja1105-tool --version&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libsja1105 version: OpenIL-v0.3-201707&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libsja1105 build date: Nov 11 2021 15:29:28&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sja1105-tool version: OpenIL-v0.3-201707&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sja1105-tool build date: Nov 11 2021 15:29:28&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I call sja1105-tool (e.g sja1105-tool reset core)&lt;/P&gt;&lt;P&gt;the system answer is :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;device_id field not defined in config file, setting default value 0x0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;configuring device /dev/spidev0.1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;can't open device&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;failed to open spi device.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;On my board I find following files:&lt;/P&gt;&lt;P&gt;/sys/class/spidev&lt;BR /&gt;/sys/bus/spi/drivers/spidev&lt;BR /&gt;/sys/module/spidev&lt;/P&gt;&lt;P&gt;but i can't see spidev0.1 under /dev.&lt;/P&gt;&lt;P&gt;I think that the problem is related to device tree , but I don't know how to set dts file in right way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advacnce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 10:30:13 GMT</pubDate>
    <dc:creator>Raffaello</dc:creator>
    <dc:date>2021-11-15T10:30:13Z</dc:date>
    <item>
      <title>Enabling spidev on ls1021a-tsn</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Enabling-spidev-on-ls1021a-tsn/m-p/1371246#M1343</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am working on ls1021a-tsn board and I am interested to configure on board switch "sja1105". Due that I have compiled and sucessfully installed sja1105-tool and related libraries:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sja1105-tool --version&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libsja1105 version: OpenIL-v0.3-201707&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libsja1105 build date: Nov 11 2021 15:29:28&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sja1105-tool version: OpenIL-v0.3-201707&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sja1105-tool build date: Nov 11 2021 15:29:28&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I call sja1105-tool (e.g sja1105-tool reset core)&lt;/P&gt;&lt;P&gt;the system answer is :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;device_id field not defined in config file, setting default value 0x0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;configuring device /dev/spidev0.1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;can't open device&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;failed to open spi device.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;On my board I find following files:&lt;/P&gt;&lt;P&gt;/sys/class/spidev&lt;BR /&gt;/sys/bus/spi/drivers/spidev&lt;BR /&gt;/sys/module/spidev&lt;/P&gt;&lt;P&gt;but i can't see spidev0.1 under /dev.&lt;/P&gt;&lt;P&gt;I think that the problem is related to device tree , but I don't know how to set dts file in right way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advacnce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 10:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Enabling-spidev-on-ls1021a-tsn/m-p/1371246#M1343</guid>
      <dc:creator>Raffaello</dc:creator>
      <dc:date>2021-11-15T10:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling spidev on ls1021a-tsn</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Enabling-spidev-on-ls1021a-tsn/m-p/1373139#M1344</link>
      <description>&lt;P&gt;See the following documents about installing and using this tool:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/openil/sja1105-tool" target="_blank"&gt;https://github.com/openil/sja1105-tool&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/other/8508/1/SJA1105-Tool%20User%20Guide.pdf" target="_blank"&gt;https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/other/8508/1/SJA1105-Tool%20User%20Guide.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.kernel.org/doc/html/latest/networking/dsa/sja1105.html" target="_blank"&gt;https://www.kernel.org/doc/html/latest/networking/dsa/sja1105.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 04:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Enabling-spidev-on-ls1021a-tsn/m-p/1373139#M1344</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2021-11-18T04:18:06Z</dc:date>
    </item>
  </channel>
</rss>

