<?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のトピックRe: Building kernel and deploying to device for LS1028ARDB: kernel configs not saving</title>
    <link>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2078733#M15609</link>
    <description>&lt;P&gt;Yes, I found the CONFIG_I2C_MPC is unavailable.&lt;/P&gt;
&lt;P&gt;Have you enable the CONFIG_SENSORS_INA2XX=y?&lt;/P&gt;
&lt;P&gt;If you enable it, you would find logs below after you install the lm-sensors.&lt;/P&gt;
&lt;P&gt;root@localhost:/boot/# sensors&lt;/P&gt;
&lt;P&gt;ina220-i2c-3-40&lt;/P&gt;
&lt;P&gt;Adapter: i2c-0-mux (chan_id 2)&lt;/P&gt;
&lt;P&gt;in0:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.00 mV&lt;/P&gt;
&lt;P&gt;in1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00 V&lt;/P&gt;
&lt;P&gt;power1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.40 W&lt;/P&gt;
&lt;P&gt;curr1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.58 A&lt;/P&gt;</description>
    <pubDate>Fri, 11 Apr 2025 02:58:45 GMT</pubDate>
    <dc:creator>June_Lu</dc:creator>
    <dc:date>2025-04-11T02:58:45Z</dc:date>
    <item>
      <title>Building kernel and deploying to device for LS1028ARDB: kernel configs not saving</title>
      <link>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2075556#M15585</link>
      <description>&lt;P&gt;I am trying to build kernel using flex-builder with custom config. I am following instructions in sections 4.3.6 and 4.3.10 of the LSDK v21.08 user guide (&lt;A href="https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev21.08.pdf&lt;/A&gt;). I edit my config file at components/linux/linux/arch/arm64/configs/defconfig, adding some additional configs like CONFIG_I2C_MPC=y and CONFIG_SENSORS_INA2XX=y. Then I run&lt;/P&gt;&lt;P&gt;bld -c linux&lt;/P&gt;&lt;P&gt;After the kernel build, I am expecting to see my new configs reflected in build/linux/linux/arm64/LS/output/LSDK-21.08/.config. But I don't see them in that file. Am I doing something wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 00:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2075556#M15585</guid>
      <dc:creator>noahw</dc:creator>
      <dc:date>2025-04-08T00:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Building kernel and deploying to device for LS1028ARDB: kernel configs not saving</title>
      <link>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2076039#M15593</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;In the linux file&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;$ vi .config&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;In the file .config, add&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;CONFIG_I2C_MPC=y&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;CONFIG_SENSORS_INA2XX=y&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;$ sudo apt-get install gcc-aarch64-linux-gnu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;$ export CROSS_COMPILE=aarch64-linux-gnu-&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;$ export ARCH=arm64&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;make mrproper;make defconfig;make lsdk.config;make menuconfig;make&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 09:57:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2076039#M15593</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2025-04-08T09:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Building kernel and deploying to device for LS1028ARDB: kernel configs not saving</title>
      <link>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2078680#M15606</link>
      <description>&lt;P&gt;The .config file you refer to is the one in build/linux/linux/arm64/LS/output/LSDK-21.08/, correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding the new CONFIG statements into that file, but after the build when I check the file again, the CONFIG_I2C_MPC line has been automatically removed. Does that seem right?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 00:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2078680#M15606</guid>
      <dc:creator>noahw</dc:creator>
      <dc:date>2025-04-11T00:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Building kernel and deploying to device for LS1028ARDB: kernel configs not saving</title>
      <link>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2078733#M15609</link>
      <description>&lt;P&gt;Yes, I found the CONFIG_I2C_MPC is unavailable.&lt;/P&gt;
&lt;P&gt;Have you enable the CONFIG_SENSORS_INA2XX=y?&lt;/P&gt;
&lt;P&gt;If you enable it, you would find logs below after you install the lm-sensors.&lt;/P&gt;
&lt;P&gt;root@localhost:/boot/# sensors&lt;/P&gt;
&lt;P&gt;ina220-i2c-3-40&lt;/P&gt;
&lt;P&gt;Adapter: i2c-0-mux (chan_id 2)&lt;/P&gt;
&lt;P&gt;in0:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.00 mV&lt;/P&gt;
&lt;P&gt;in1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00 V&lt;/P&gt;
&lt;P&gt;power1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.40 W&lt;/P&gt;
&lt;P&gt;curr1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.58 A&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 02:58:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2078733#M15609</guid>
      <dc:creator>June_Lu</dc:creator>
      <dc:date>2025-04-11T02:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Building kernel and deploying to device for LS1028ARDB: kernel configs not saving</title>
      <link>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2078746#M15610</link>
      <description>&lt;P&gt;Thank you, it is working now.&lt;/P&gt;&lt;P&gt;Using a fresh image of the Ubuntu desktop LSDK, I get:&lt;/P&gt;&lt;P&gt;# cat /boot/config-5.10.35 | grep SENSORS_INA2XX&lt;BR /&gt;CONFIG_SENSORS_INA2XX=m&lt;/P&gt;&lt;P&gt;So get the ina2xx driver working with lm-sensors, I needed to run the following command first to load the kernel module:&lt;/P&gt;&lt;P&gt;modprobe ina2xx&lt;/P&gt;&lt;P&gt;Now I see:&lt;/P&gt;&lt;P&gt;# sensors&lt;BR /&gt;ina220-i2c-3-40&lt;BR /&gt;Adapter: i2c-0-mux (chan_id 2)&lt;BR /&gt;in0: 3.00 mV&lt;BR /&gt;in1: 1.01 V&lt;BR /&gt;power1: 4.40 W&lt;BR /&gt;curr1: 5.16 A&lt;/P&gt;&lt;P&gt;ddr_controller-virtual-0&lt;BR /&gt;Adapter: Virtual device&lt;BR /&gt;temp1: +45.0°C (crit = +95.0°C)&lt;/P&gt;&lt;P&gt;core_cluster-virtual-0&lt;BR /&gt;Adapter: Virtual device&lt;BR /&gt;temp1: +45.0°C (crit = +95.0°C)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 03:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Building-kernel-and-deploying-to-device-for-LS1028ARDB-kernel/m-p/2078746#M15610</guid>
      <dc:creator>noahw</dc:creator>
      <dc:date>2025-04-11T03:17:44Z</dc:date>
    </item>
  </channel>
</rss>

