<?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のトピックRegression/bug in U-Boot USB ID vs mainline</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Regression-bug-in-U-Boot-USB-ID-vs-mainline/m-p/2404609#M246355</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;`commit a5c91319731f ("MLK-25803-2: Update VID/PID")`, in U-Boot&amp;nbsp;lf-6.18.20-2.0.0 branch,&amp;nbsp; introduces a regression in any user of USB.&lt;/P&gt;&lt;P&gt;It forces a hard-coded USB product ID, instead of taking the value from the configuration. This is breaking any board that is using a different value from 0x0151.&lt;/P&gt;&lt;P&gt;The issue is happening when using this U-Boot branch with non-NXP boards (using NXP SoC).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This value needs to come from the configuration, and not be hard-coded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following patch fixes the problem, can you apply it to your branch?&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c&lt;BR /&gt;index 165cc82d9c72..46e26d138cf9 100644&lt;BR /&gt;--- a/arch/arm/mach-imx/spl.c&lt;BR /&gt;+++ b/arch/arm/mach-imx/spl.c&lt;BR /&gt;@@ -199,7 +199,7 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)&lt;BR /&gt;snprintf(serial_string, sizeof(serial_string), "%08x%08x", serialnr.high, serialnr.low);&lt;BR /&gt;g_dnl_set_serialnumber(serial_string);&lt;BR /&gt;#endif&lt;BR /&gt;- put_unaligned(0x0151, &amp;amp;dev-&amp;gt;idProduct);&lt;BR /&gt;+ put_unaligned(CONFIG_USB_GADGET_PRODUCT_NUM + 0xfff, &amp;amp;dev-&amp;gt;idProduct);&lt;BR /&gt;&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2026 14:42:26 GMT</pubDate>
    <dc:creator>fd</dc:creator>
    <dc:date>2026-08-13T14:42:26Z</dc:date>
    <item>
      <title>Regression/bug in U-Boot USB ID vs mainline</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regression-bug-in-U-Boot-USB-ID-vs-mainline/m-p/2404609#M246355</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;`commit a5c91319731f ("MLK-25803-2: Update VID/PID")`, in U-Boot&amp;nbsp;lf-6.18.20-2.0.0 branch,&amp;nbsp; introduces a regression in any user of USB.&lt;/P&gt;&lt;P&gt;It forces a hard-coded USB product ID, instead of taking the value from the configuration. This is breaking any board that is using a different value from 0x0151.&lt;/P&gt;&lt;P&gt;The issue is happening when using this U-Boot branch with non-NXP boards (using NXP SoC).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This value needs to come from the configuration, and not be hard-coded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following patch fixes the problem, can you apply it to your branch?&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c&lt;BR /&gt;index 165cc82d9c72..46e26d138cf9 100644&lt;BR /&gt;--- a/arch/arm/mach-imx/spl.c&lt;BR /&gt;+++ b/arch/arm/mach-imx/spl.c&lt;BR /&gt;@@ -199,7 +199,7 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)&lt;BR /&gt;snprintf(serial_string, sizeof(serial_string), "%08x%08x", serialnr.high, serialnr.low);&lt;BR /&gt;g_dnl_set_serialnumber(serial_string);&lt;BR /&gt;#endif&lt;BR /&gt;- put_unaligned(0x0151, &amp;amp;dev-&amp;gt;idProduct);&lt;BR /&gt;+ put_unaligned(CONFIG_USB_GADGET_PRODUCT_NUM + 0xfff, &amp;amp;dev-&amp;gt;idProduct);&lt;BR /&gt;&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2026 14:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regression-bug-in-U-Boot-USB-ID-vs-mainline/m-p/2404609#M246355</guid>
      <dc:creator>fd</dc:creator>
      <dc:date>2026-08-13T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regression/bug in U-Boot USB ID vs mainline</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regression-bug-in-U-Boot-USB-ID-vs-mainline/m-p/2405035#M246357</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The change was intentional,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;VID 0x525 and PID 0xa4a5 already registered as PLX Technology, Inc. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Linux-USB File-backed Storage Gadget &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But fastboot device is not mass storage devices windowns 10 latest update already cached above vid/pid&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Change to use Freescale VID 0x1fc9 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PID 0x151, for SPL SDP HID download &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PID 0x152, for Fastboot &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PID 0x153, for Kernel fastboot&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Need update uuu above 1.4.182&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2026 01:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regression-bug-in-U-Boot-USB-ID-vs-mainline/m-p/2405035#M246357</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2026-08-14T01:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regression/bug in U-Boot USB ID vs mainline</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Regression-bug-in-U-Boot-USB-ID-vs-mainline/m-p/2405152#M246361</link>
      <description>&lt;P&gt;The issue is not your specific NXP needs that you just described. The issue is that hard coding the number in the code is preventing any user to configure it from the kconfig, as it is designed to be and effectively creating a regression.&lt;BR /&gt;&lt;BR /&gt;That change is disregarding any existing user that has a different need, actively breaking working use cases. Just grep for CONFIG_USB_GADGET_PRODUCT_NUM in the code and you'll see the multiple use cases this is breaking.&lt;/P&gt;&lt;P&gt;You need to have a different solution that is not introducing a regression.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2026 07:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Regression-bug-in-U-Boot-USB-ID-vs-mainline/m-p/2405152#M246361</guid>
      <dc:creator>fd</dc:creator>
      <dc:date>2026-08-14T07:11:01Z</dc:date>
    </item>
  </channel>
</rss>

