<?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>topic Re: Identify device when booting in Serial Downloader mode in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1647910#M205616</link>
    <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;Please accept my apology for the inconvenience.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;Information only appears on debug interface that is expected behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;There is no filesystem in u-boot. so there is no command to copy files to USB from U-boot or any kind of transfer like from USB to emmc or etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can check that there is no u-boot command to transfer data through USB,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/MEDIA5200UBPG.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/user-guide/MEDIA5200UBPG.pdf&amp;amp;source=gmail&amp;amp;ust=1683789922431000&amp;amp;usg=AOvVaw0jqSIQ5mArlx-dPU7M0vsD"&gt;https://www.nxp.com/docs/en/&lt;WBR /&gt;user-guide/MEDIA5200UBPG.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;To print the module's MAC address and serial number&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;intnvram print module ethaddr1 serialnr&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;ethaddr1=00:40:9D:2E:92:D4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;serialnr=0700-94000329A&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One may modify the u-boot source code to add the command.&lt;/SPAN&gt;&lt;SPAN class="im"&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this information helps!&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="im"&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 11:16:24 GMT</pubDate>
    <dc:creator>Sanket_Parekh</dc:creator>
    <dc:date>2023-05-10T11:16:24Z</dc:date>
    <item>
      <title>Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1640509#M204865</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a huge number of devices (i.MX8M Plus) and we need to register them automatically in an internal inventory. We’re trying to unequivocally identify each device before flashing it, as a preliminary step in the flashing procedure. Hence, the device is booted in Serial Downloader mode.&lt;/P&gt;&lt;P&gt;Then, in that boot mode we need to gather at least this information:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;MAC&lt;/LI&gt;&lt;LI&gt;Module Serial Number, or any other identifier that never changes and is unique for each device.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How could we get this information? We will need to include this gathering to a script to be run automatically.&lt;/P&gt;&lt;P&gt;In the case of MAC, we see it by:&lt;/P&gt;&lt;P&gt;- booting from eMMC (in an already flashed device)&lt;/P&gt;&lt;P&gt;- connecting serial port with Minicom&lt;/P&gt;&lt;P&gt;- running 'net list'&lt;/P&gt;&lt;P&gt;When booting in Serial Downloader mode, we've defined a custom '.lst' file derived from the original 'emmc_burn_all.lst' containing 'FB: ucmd net list ' and executed the 'uuu'. However:&lt;/P&gt;&lt;P&gt;- The output is not seen in stdout&lt;/P&gt;&lt;P&gt;- We see the output in the Minicom console, but, the MAC that appears there is clearly wrong as it reports that:&lt;/P&gt;&lt;P&gt;eth1 : ethernet@30bf0000 00:00:00:00:00:00 active&lt;/P&gt;&lt;P&gt;How can we see and gather the output of uuu through the USB port, and get the proper value?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Jose&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Apr 2023 11:05:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1640509#M204865</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-04-26T11:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1640551#M204874</link>
      <description>&lt;P&gt;Regarding the command 'printenv'. Adding it to the '.lst' file and running it with 'uuu' in Serial Downloader mode reports different variables than running it directly from u-boot when booting from eMMC.&lt;/P&gt;&lt;P&gt;Booting from eMMC:&lt;/P&gt;&lt;P&gt;eth1addr=6a:29:f9:3e:a9:3c&lt;BR /&gt;ethact=ethernet@30bf0000&lt;BR /&gt;ethprime=eth1&lt;/P&gt;&lt;P&gt;Booting in Serial Downloader mode, the unique variable referring to the ethernet is:&lt;/P&gt;&lt;P&gt;ethprime=eth1&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 11:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1640551#M204874</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-04-26T11:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641487#M204949</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can use the uuu with the -v or -V flag to have detailed&amp;nbsp;logs of the steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; &amp;nbsp;-v -V &amp;nbsp; = &amp;nbsp; verbose mode, -V enable libusb error\warning info&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can also use the flag -m with the uuu to monitor the particular path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; -m &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USBPATH Only monitor these paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-m 1:2 -m 1:3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 10:08:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641487#M204949</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-27T10:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641537#M204958</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I've tested your suggestion but it doesn't report me the output of the &lt;EM&gt;ucmd&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;I'm running:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;jetxeberria@pcs-200: sudo uuu -V -m 1:42 -b /path/to/custom/emmc/burn.lst /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/custom-imx8mpsolidrun-20230425082648.rootfs.wic.zst&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The output is:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172&lt;/P&gt;&lt;P&gt;Build in config:&lt;BR /&gt;Pctl Chip Vid Pid BcdVersion&lt;BR /&gt;==================================================&lt;BR /&gt;SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8DXL 0x1fc9 0x0147&lt;BR /&gt;SDPS: MX28 0x15a2 0x004f&lt;BR /&gt;SDPS: MX815 0x1fc9 0x013e&lt;BR /&gt;SDPS: MX865 0x1fc9 0x0146&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014a&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014b&lt;BR /&gt;SDPS: MX93 0x1fc9 0x014e&lt;BR /&gt;SDP: MX7D 0x15a2 0x0076&lt;BR /&gt;SDP: MX6Q 0x15a2 0x0054&lt;BR /&gt;SDP: MX6D 0x15a2 0x0061&lt;BR /&gt;SDP: MX6SL 0x15a2 0x0063&lt;BR /&gt;SDP: MX6SX 0x15a2 0x0071&lt;BR /&gt;SDP: MX6UL 0x15a2 0x007d&lt;BR /&gt;SDP: MX6ULL 0x15a2 0x0080&lt;BR /&gt;SDP: MX6SLL 0x1fc9 0x0128&lt;BR /&gt;SDP: MX7ULP 0x1fc9 0x0126&lt;BR /&gt;SDP: MXRT106X 0x1fc9 0x0135&lt;BR /&gt;SDP: MX8MM 0x1fc9 0x0134&lt;BR /&gt;SDP: MX8MQ 0x1fc9 0x012b&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]&lt;BR /&gt;SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]&lt;BR /&gt;SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]&lt;BR /&gt;FBK: 0x066f 0x9afe&lt;BR /&gt;FBK: 0x066f 0x9bff&lt;BR /&gt;FBK: 0x1fc9 0x0153&lt;BR /&gt;FB: 0x0525 0xa4a5&lt;BR /&gt;FB: 0x18d1 0x0d02&lt;BR /&gt;FB: 0x3016 0x0001&lt;BR /&gt;FB: 0x1fc9 0x0152&lt;BR /&gt;FB: 0x0483 0x0afb&lt;/P&gt;&lt;P&gt;Run built-in script:&lt;BR /&gt;uuu_version 1.4.149&lt;/P&gt;&lt;P&gt;# @_flash.bin | bootloader, which can extract from wic image&lt;BR /&gt;# @_image [_flash.bin] | wic image burn to emmc.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ&lt;BR /&gt;SDP: boot -f/path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -scanlimited 0x800000&lt;/P&gt;&lt;P&gt;# This command will be run when ROM support stream mode&lt;BR /&gt;# i.MX8QXP, i.MX8QM&lt;BR /&gt;SDPS: boot -scanterm -f /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -scanlimited 0x800000&lt;/P&gt;&lt;P&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# SDPU will be deprecated. please use SDPV instead of SDPU&lt;BR /&gt;# {&lt;BR /&gt;SDPU: delay 1000&lt;BR /&gt;SDPU: write -f /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -offset 0x57c00&lt;BR /&gt;SDPU: jump -scanlimited 0x800000&lt;BR /&gt;# }&lt;/P&gt;&lt;P&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# if (SPL support SDPV)&lt;BR /&gt;# {&lt;BR /&gt;SDPV: delay 1000&lt;BR /&gt;SDPV: write -f /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -skipspl -scanterm -scanlimited 0x800000&lt;BR /&gt;SDPV: jump -scanlimited 0x800000&lt;BR /&gt;# }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FB: ucmd net list&lt;BR /&gt;FB: done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wait for Known USB Device Appear... at path 1:42&lt;BR /&gt;New USB Device Attached at 1:42&lt;BR /&gt;1:42&amp;gt;Start Cmd:SDPS: boot -scanterm -f /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -scanlimited 0x800000&lt;BR /&gt;100%1:42&amp;gt;Okay (2.002s)&lt;BR /&gt;libusb: error [udev_hotplug_event] ignoring udev action bind&lt;BR /&gt;New USB Device Attached at 1:42&lt;BR /&gt;1:42&amp;gt;Start Cmd:FB: ucmd net list&lt;BR /&gt;1:42&amp;gt;Okay (0.016s)&lt;BR /&gt;1:42&amp;gt;Start Cmd:FB: done&lt;BR /&gt;1:42&amp;gt;Okay (0s)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As you can see, my '.lst' file has just 2 lines different from the original 'emmc_burn_all.lst':&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;FB: ucmd net list&lt;BR /&gt;FB: done&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After running the command, nothing is shown:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;1:42&amp;gt;Start Cmd:FB: ucmd net list&lt;BR /&gt;1:42&amp;gt;Okay (0.016s)&lt;BR /&gt;1:42&amp;gt;Start Cmd:FB: done&lt;BR /&gt;1:42&amp;gt;Okay (0s)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Meanwhile, in the serial port I can see with minicom the following:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;U-Boot SPL 2022.04-lf_v2022.04+gaa217664ff (Nov 15 2022 - 06:28:05 +0000)&lt;BR /&gt;Training for 3GByte Micron&lt;BR /&gt;DDRINFO: start DRAM init&lt;BR /&gt;DDRINFO: DRAM rate 3000MTS&lt;BR /&gt;DDRINFO:ddrphy calibration done&lt;BR /&gt;DDRINFO: ddrmix config done&lt;BR /&gt;SEC0: RNG instantiated&lt;BR /&gt;Normal Boot&lt;BR /&gt;Trying to boot from BOOTROM&lt;BR /&gt;Boot Stage: USB boot&lt;BR /&gt;Find img info 0x&amp;amp;480203a0, size 1088&lt;BR /&gt;Need continue download 1024&lt;BR /&gt;Download 1647392, Total size 1648512&lt;BR /&gt;NOTICE: BL31: v2.6(release):lf-5.15.71-2.2.0-0-g3c1583ba0&lt;BR /&gt;NOTICE: BL31: Built : 11:00:38, Nov 21 2022&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2022.04-lf_v2022.04+gaa217664ff (Nov 15 2022 - 06:28:05 +0000)&lt;/P&gt;&lt;P&gt;CPU: i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 40C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: NXP i.MX8MPlus LPDDR4 SolidRun board&lt;BR /&gt;DRAM: 3 GiB&lt;BR /&gt;Core: 79 devices, 25 uclasses, devicetree: separate&lt;BR /&gt;MMC: FSL_SDHC: 1, FSL_SDHC: 2&lt;BR /&gt;Loading Environment from nowhere... OK&lt;BR /&gt;[*]-Video Link 0fail to get display timings&lt;BR /&gt;probe video device failed, ret -22&lt;/P&gt;&lt;P&gt;[0] lcd-controller@32e80000, video&lt;BR /&gt;[1] mipi_dsi@32e60000, video_bridge&lt;BR /&gt;fail to get display timings&lt;BR /&gt;probe video device failed, ret -22&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;SEC0: RNG instantiated&lt;/P&gt;&lt;P&gt;BuildInfo:&lt;BR /&gt;- ATF 3c1583b&lt;/P&gt;&lt;P&gt;MMC: no card present&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;Net:&lt;BR /&gt;Warning: ethernet@30bf0000 (eth1) using random MAC address - 92:ea:66:6d:88:04&lt;BR /&gt;eth1: ethernet@30bf0000 [PRIME]&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Boot from USB for mfgtools&lt;BR /&gt;*** Warning - Use default environment for mfgtools&lt;BR /&gt;, using default environment&lt;/P&gt;&lt;P&gt;Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${t;&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;## Checking Image at 43800000 ...&lt;BR /&gt;Unknown image format!&lt;BR /&gt;Run fastboot ...&lt;BR /&gt;eth1 : ethernet@30bf0000 00:00:00:00:00:00 active&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;(NULL udevice *): request 00000000fcf12540 was not queued to ep1in-bulk&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here I highlight this warning when booting:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Warning: ethernet@30bf0000 (eth1) using random MAC address - 92:ea:66:6d:88:04&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Anyway, when running the command net list, it doesn't report even the random MAC&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;eth1 : ethernet@30bf0000 00:00:00:00:00:00 active&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As I told, I see here 2 problems:&lt;/P&gt;&lt;P&gt;1 - I can't retrieve the output of &lt;EM&gt;ucmd&lt;/EM&gt; command from the Serial Downloader interface&lt;/P&gt;&lt;P&gt;2 - The output from the debug serial interface shows incorrect information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 11:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641537#M204958</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-04-27T11:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641645#M204976</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I've tested your suggestion but it doesn't report me the output of the ucmd.&lt;/P&gt;&lt;P&gt;I'm running:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;jetxeberria@pcs-200: sudo uuu -V -m 1:42 -b /path/to/custom/emmc/burn.lst /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk /path/to/yocto/build/custom_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/custom-imx8mpsolidrun-20230425082648.rootfs.wic.zst&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The output is:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172&lt;/P&gt;&lt;P&gt;Build in config:&lt;BR /&gt;Pctl Chip Vid Pid BcdVersion&lt;BR /&gt;==================================================&lt;BR /&gt;SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]&lt;BR /&gt;SDPS: MX8DXL 0x1fc9 0x0147&lt;BR /&gt;SDPS: MX28 0x15a2 0x004f&lt;BR /&gt;SDPS: MX815 0x1fc9 0x013e&lt;BR /&gt;SDPS: MX865 0x1fc9 0x0146&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014a&lt;BR /&gt;SDPS: MX8ULP 0x1fc9 0x014b&lt;BR /&gt;SDPS: MX93 0x1fc9 0x014e&lt;BR /&gt;SDP: MX7D 0x15a2 0x0076&lt;BR /&gt;SDP: MX6Q 0x15a2 0x0054&lt;BR /&gt;SDP: MX6D 0x15a2 0x0061&lt;BR /&gt;SDP: MX6SL 0x15a2 0x0063&lt;BR /&gt;SDP: MX6SX 0x15a2 0x0071&lt;BR /&gt;SDP: MX6UL 0x15a2 0x007d&lt;BR /&gt;SDP: MX6ULL 0x15a2 0x0080&lt;BR /&gt;SDP: MX6SLL 0x1fc9 0x0128&lt;BR /&gt;SDP: MX7ULP 0x1fc9 0x0126&lt;BR /&gt;SDP: MXRT106X 0x1fc9 0x0135&lt;BR /&gt;SDP: MX8MM 0x1fc9 0x0134&lt;BR /&gt;SDP: MX8MQ 0x1fc9 0x012b&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]&lt;BR /&gt;SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998]&lt;BR /&gt;SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]&lt;BR /&gt;SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]&lt;BR /&gt;SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]&lt;BR /&gt;FBK: 0x066f 0x9afe&lt;BR /&gt;FBK: 0x066f 0x9bff&lt;BR /&gt;FBK: 0x1fc9 0x0153&lt;BR /&gt;FB: 0x0525 0xa4a5&lt;BR /&gt;FB: 0x18d1 0x0d02&lt;BR /&gt;FB: 0x3016 0x0001&lt;BR /&gt;FB: 0x1fc9 0x0152&lt;BR /&gt;FB: 0x0483 0x0afb&lt;/P&gt;&lt;P&gt;Run built-in script:&lt;BR /&gt;uuu_version 1.4.149&lt;/P&gt;&lt;P&gt;# @_flash.bin | bootloader, which can extract from wic image&lt;BR /&gt;# @_image [_flash.bin] | wic image burn to emmc.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ&lt;BR /&gt;SDP: boot -f /home/jetxeberria/projects/dasgroup/dasgate/dos/build/dasgate_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -scanlimited 0x800000&lt;/P&gt;&lt;P&gt;# This command will be run when ROM support stream mode&lt;BR /&gt;# i.MX8QXP, i.MX8QM&lt;BR /&gt;SDPS: boot -scanterm -f /home/jetxeberria/projects/dasgroup/dasgate/dos/build/dasgate_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -scanlimited 0x800000&lt;/P&gt;&lt;P&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# SDPU will be deprecated. please use SDPV instead of SDPU&lt;BR /&gt;# {&lt;BR /&gt;SDPU: delay 1000&lt;BR /&gt;SDPU: write -f /home/jetxeberria/projects/dasgroup/dasgate/dos/build/dasgate_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -offset 0x57c00&lt;BR /&gt;SDPU: jump -scanlimited 0x800000&lt;BR /&gt;# }&lt;/P&gt;&lt;P&gt;# These commands will be run when use SPL and will be skipped if no spl&lt;BR /&gt;# if (SPL support SDPV)&lt;BR /&gt;# {&lt;BR /&gt;SDPV: delay 1000&lt;BR /&gt;SDPV: write -f /home/jetxeberria/projects/dasgroup/dasgate/dos/build/dasgate_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -skipspl -scanterm -scanlimited 0x800000&lt;BR /&gt;SDPV: jump -scanlimited 0x800000&lt;BR /&gt;# }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;FB: ucmd net list&lt;BR /&gt;FB: done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wait for Known USB Device Appear... at path 1:42&lt;BR /&gt;New USB Device Attached at 1:42&lt;BR /&gt;1:42&amp;gt;Start Cmd:SDPS: boot -scanterm -f /home/jetxeberria/projects/dasgroup/dasgate/dos/build/dasgate_solidrun_kirkstone/build/tmp/deploy/images/imx8mpsolidrun/imx-boot-imx8mpsolidrun-sd.bin-flash_evk -scanlimited 0x800000&lt;BR /&gt;100%1:42&amp;gt;Okay (1.997s)&lt;BR /&gt;New USB Device Attached at 1:42&lt;BR /&gt;1:42&amp;gt;Start Cmd:FB: ucmd net list&lt;BR /&gt;libusb: error [udev_hotplug_event] ignoring udev action bind&lt;BR /&gt;1:42&amp;gt;Okay (0.015s)&lt;BR /&gt;1:42&amp;gt;Start Cmd:FB: done&lt;BR /&gt;1:42&amp;gt;Okay (0s)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As you can see, my '.lst' file has just 2 lines different from the original 'emmc_burn_all.lst':&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;FB: ucmd net list&lt;BR /&gt;FB: done&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After running the command, nothing is shown:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;1:42&amp;gt;Start Cmd:FB: ucmd net list&lt;BR /&gt;1:42&amp;gt;Okay (0.016s)&lt;BR /&gt;1:42&amp;gt;Start Cmd:FB: done&lt;BR /&gt;1:42&amp;gt;Okay (0s)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Meanwhile, in the serial port I can see with minicom the following:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;U-Boot SPL 2022.04-lf_v2022.04+gaa217664ff (Nov 15 2022 - 06:28:05 +0000)&lt;BR /&gt;Training for 3GByte Micron&lt;BR /&gt;DDRINFO: start DRAM init&lt;BR /&gt;DDRINFO: DRAM rate 3000MTS&lt;BR /&gt;DDRINFO:ddrphy calibration done&lt;BR /&gt;DDRINFO: ddrmix config done&lt;BR /&gt;SEC0: RNG instantiated&lt;BR /&gt;Normal Boot&lt;BR /&gt;Trying to boot from BOOTROM&lt;BR /&gt;Boot Stage: USB boot&lt;BR /&gt;Find img info 0x&amp;amp;480203a0, size 1088&lt;BR /&gt;Need continue download 1024&lt;BR /&gt;Download 1647392, Total size 1648512&lt;BR /&gt;NOTICE: BL31: v2.6(release):lf-5.15.71-2.2.0-0-g3c1583ba0&lt;BR /&gt;NOTICE: BL31: Built : 11:00:38, Nov 21 2022&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2022.04-lf_v2022.04+gaa217664ff (Nov 15 2022 - 06:28:05 +0000)&lt;/P&gt;&lt;P&gt;CPU: i.MX8MP[8] rev1.1 1800 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 26C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: NXP i.MX8MPlus LPDDR4 SolidRun board&lt;BR /&gt;DRAM: 3 GiB&lt;BR /&gt;Core: 79 devices, 25 uclasses, devicetree: separate&lt;BR /&gt;MMC: FSL_SDHC: 1, FSL_SDHC: 2&lt;BR /&gt;Loading Environment from nowhere... OK&lt;BR /&gt;[*]-Video Link 0fail to get display timings&lt;BR /&gt;probe video device failed, ret -22&lt;/P&gt;&lt;P&gt;[0] lcd-controller@32e80000, video&lt;BR /&gt;[1] mipi_dsi@32e60000, video_bridge&lt;BR /&gt;fail to get display timings&lt;BR /&gt;probe video device failed, ret -22&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;SEC0: RNG instantiated&lt;/P&gt;&lt;P&gt;BuildInfo:&lt;BR /&gt;- ATF 3c1583b&lt;/P&gt;&lt;P&gt;MMC: no card present&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;Net:&lt;BR /&gt;Warning: ethernet@30bf0000 (eth1) using random MAC address - ca:e7:70:11:7e:ac&lt;BR /&gt;eth1: ethernet@30bf0000 [PRIME]&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Boot from USB for mfgtools&lt;BR /&gt;*** Warning - Use default environment for mfgtools&lt;BR /&gt;, using default environment&lt;/P&gt;&lt;P&gt;Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; ;&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;## Checking Image at 43800000 ...&lt;BR /&gt;Unknown image format!&lt;BR /&gt;Run fastboot ...&lt;BR /&gt;eth1 : ethernet@30bf0000 00:00:00:00:00:00 active&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;(NULL udevice *): request 00000000fcf12540 was not queued to ep1in-bulk&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Here I highlight this warning when booting:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Warning: ethernet@30bf0000 (eth1) using random MAC address - 92:ea:66:6d:88:04&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Anyway, when running the command net list, it doesn't report even the random MAC&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;eth1 : ethernet@30bf0000 00:00:00:00:00:00 active&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As I told, I see here 2 problems:&lt;/P&gt;&lt;P&gt;1 - I can't retrieve the output of ucmd command from the Serial Downloader interface&lt;BR /&gt;2 - The output from the debug serial interface shows incorrect information&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 14:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641645#M204976</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-04-27T14:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641947#M204999</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;Please make sure to redirect the ucmd command properly to the .lst file&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;command &amp;gt; "file"&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;-&amp;gt;One can take a reference from the above syntax and make a command and then try to add it to the .lst file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;There is unique information one board can have the MAC address only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;The On-Chip OTP controller (OCOTP_CTRL) provides an interface for reading, programming, and/or overriding identification and control information stored in on-chip fuse elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please refer to the datasheet for more details on the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX8MPIEC" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/webapp/Download?colCode%3DIMX8MPIEC&amp;amp;source=gmail&amp;amp;ust=1682742005389000&amp;amp;usg=AOvVaw1kPtphwpGEucyPxtVr7veS"&gt;https://www.nxp.com/webapp/&lt;WBR /&gt;Download?colCode=IMX8MPIEC&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this information helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 04:49:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641947#M204999</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-28T04:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642004#M205010</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your instructions&lt;/P&gt;&lt;P&gt;I'm trying that syntax but it's failing. I've modified the '.lst' file so the last two lines are now:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;FB: ucmd net list &amp;gt; "mac_address"&lt;BR /&gt;FB: done&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It reports no clue about failure.&lt;/P&gt;&lt;P&gt;In the USB interface (Serial Downloader mode)&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;1:41&amp;gt;Start Cmd:FB: ucmd net list &amp;gt; "mac_address"&lt;BR /&gt;1:41&amp;gt;Fail (0.013s)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In the serial interface (debug console):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;(NULL udevice *): request 00000000fcf12540 was not queued to ep1in-bulk&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 08:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642004#M205010</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-04-28T08:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642024#M205013</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-&amp;gt;There is unique information one board can have the MAC address only.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Regarding this point, in the doc you linked I read that:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;[...] The OCOTP_CTRL provides the primary&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;user-visible mechanism for interfacing with on-chip fuse elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;Among the uses for the fuses are unique chip identifiers, mask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;revision numbers [...]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Couldn't I uniquely identify each device with these '&lt;SPAN class=""&gt;unique chip identifiers&lt;/SPAN&gt;'? How could I read them?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 06:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642024#M205013</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-04-28T06:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642141#M205030</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Following the &lt;SPAN class=""&gt;OCOTP_CTRL&lt;/SPAN&gt; instructions of the&amp;nbsp;&lt;SPAN&gt;i.MX 8M Plus Applications Processor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reference Manual&lt;/SPAN&gt; I've found that there is a UNIQUE_ID at address&amp;nbsp;&lt;SPAN&gt;0x420&lt;/SPAN&gt; of the fuses.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Looking at the '&lt;SPAN&gt;6.3.5.1.1&lt;/SPAN&gt; &lt;SPAN&gt;OCOTP memory map&lt;/SPAN&gt;'&amp;nbsp; I miss the bank-word reference for that address:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;410h&lt;/SPAN&gt; &lt;SPAN&gt;Value of OTP Bank0 Word1 (Lock controls) (HW_OCOTP_LOCK1)&lt;/SPAN&gt; &lt;SPAN&gt;32&lt;/SPAN&gt; &lt;SPAN&gt;RO&lt;/SPAN&gt; &lt;SPAN&gt;FFFF_FFFFh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;460h&lt;/SPAN&gt; &lt;SPAN&gt;Value of OTP Bank1 Word2 (HW_OCOTP_GP4)&lt;/SPAN&gt; &lt;SPAN&gt;32&lt;/SPAN&gt; &lt;SPAN&gt;RW&lt;/SPAN&gt; &lt;SPAN&gt;0000_0000h&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;However I've tested reading the fuses (from u-boot accessed by Minicom) at Bank0 Word2-3 with:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;fuse read 0 2 2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;and I've found a code that matches with the result of running following Fastboot command in the '.lst':&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;FB: getvar serialno&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;'getvar' output is shown in stdout of the console that runs 'uuu', but 'ucmd' output doesn't. Even with 'getvar', I can't redirect the output to a file by adding it to the '.lst'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;FB: getvar serialno &amp;gt; "/tmp/getvar"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Keeps showing the output just in stdout:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;1:41&amp;gt;Start Cmd:FB: getvar serialno &amp;gt; "/tmp/getvar"&lt;BR /&gt;0e0b......e51:41&amp;gt;Okay (0.007s)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;What is this value UNIQUE_ID/serialno? Isn't unique for each device? Can it change along device life?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;How could I redirect '.lst' commands output to a file? And how can I see the output of ucmd&amp;nbsp;at least in the launching console instead of in the debug one? (or even better, send it to a file?)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 08:46:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642141#M205030</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-04-28T08:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642671#M205095</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;What is this value UNIQUE_ID/serialno?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;At the stage of loading in U-Boot, you can read the "unique ID" (addr. 0x021bc410, 0x021bc420 ) with the "md" command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;This number is fixed and connected to the MAC Address of the module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't unique for each device? Can it change along device life?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Yes, Unique_id or serial number is unique for every device which is why they are unique.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How could I redirect '.lst' commands output to a file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; That is the correct way you have given.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FB: ucmd "net list &amp;gt; file.txt"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And how can I see the output of ucmd at least in the launching console instead of in the debug one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(or even better, send it to a file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please make sure to not run fastboot because it doesn't support ucmd or acmd. please refer to the below link for reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/NXP-Designs/uuu-tool-does-not-recognize-commands/m-p/1039869" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/NXP-Designs/uuu-tool-does-not-recognize-commands/m-p/1039869&amp;amp;source=gmail&amp;amp;ust=1683021244686000&amp;amp;usg=AOvVaw0ucFGxQSmUMnrHVbbxenZO"&gt;https://community.nxp.com/t5/&lt;WBR /&gt;NXP-Designs/uuu-tool-does-not-&lt;WBR /&gt;recognize-commands/m-p/1039869&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this information helps you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 12:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642671#M205095</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-01T12:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642956#M205128</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-&amp;gt;At the stage of loading in U-Boot, you can read the "unique ID" (addr. 0x021bc410, 0x021bc420 ) with the "md" command.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm exploring the 'md' command in u-boot but I can't read that addresses. CPU is restarted:&lt;/P&gt;&lt;PRE&gt;u-boot=&amp;gt; md 0x021bc410&lt;BR /&gt;"Synchronous Abort" handler, esr 0x96000210&lt;BR /&gt;elr: 00000000402a42cc lr : 00000000402a4218 (reloc)&lt;BR /&gt;elr: 00000000fef952cc lr : 00000000fef95218&lt;BR /&gt;x0 : 0000000000000009 x1 : 00000000fcee50e8&lt;BR /&gt;x2 : 00000000fffffffe x3 : 0000000000000020&lt;BR /&gt;x4 : 0000000000000000 x5 : 00000000fcee50e1&lt;BR /&gt;x6 : 0000000000000030 x7 : 00000000fcee5030&lt;BR /&gt;x8 : 0000000000000010 x9 : 000000009209aa57&lt;BR /&gt;x10: 00000000ffffffd8 x11: 0000000000000010&lt;BR /&gt;x12: 000000000001869f x13: 00000000fcee5358&lt;BR /&gt;x14: 00000000fcee5460 x15: 0000000000000021&lt;BR /&gt;x16: 00000000fef09ad0 x17: 0000000000004340&lt;BR /&gt;x18: 00000000fcef0da0 x19: 0000000000000004&lt;BR /&gt;x20: 0000000000000004 x21: 0000000000000004&lt;BR /&gt;x22: 00000000021bc410 x23: 00000000fcee50e9&lt;BR /&gt;x24: 0000000000000000 x25: 00000000fcee5098&lt;BR /&gt;x26: 00000000fefb63be x27: 0000000000000008&lt;BR /&gt;x28: 0000000000000004 x29: 00000000fcee5030&lt;BR /&gt;&lt;BR /&gt;Code: 2a0403f3 17ffffca 7100129f 54000181 (b94002c3) &lt;BR /&gt;Resetting CPU ...&lt;BR /&gt;&lt;BR /&gt;resetting ...&lt;/PRE&gt;&lt;P&gt;I'm searching for some other addresses pointed by the '&lt;SPAN&gt;i.MX 8M Plus Applications Processor &lt;/SPAN&gt;&lt;SPAN&gt;Reference Manual' and I can see the UNIQUE_ID:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;0x30350420: UNIQUE_ID in Table 6-35. Fusemap Descriptions&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;SPAN&gt;u-boot=&amp;gt; md 0x30350420 8&lt;BR /&gt;30350420: 14f763e5 14f763e5 14f763e5 14f763e5 .c...c...c...c..&lt;BR /&gt;30350430: 0e0b6800 0e0b6800 0e0b6800 0e0b6800 .h...h...h...h..&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Matches the search of fuses&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;u-boot=&amp;gt; fuse read 0 2 2&lt;BR /&gt;Reading bank 0:&lt;BR /&gt;&lt;BR /&gt;Word 0x00000002: 14f763e5 0e0b6800&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;0x30350640&lt;/SPAN&gt;&lt;/SPAN&gt;: &lt;SPAN&gt;MAC_0_ADDR&lt;/SPAN&gt; &lt;SPAN&gt;in Table 6-35. Fusemap Descriptions and in 6.3.5.1.1 OCOTP memory map&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;SPAN&gt;u-boot=&amp;gt; md 0x30350640 8&lt;BR /&gt;30350640: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;30350650: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Matches the search of fuses. I assume that it's empty because MAC is not written in fuses&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;u-boot=&amp;gt; fuse read 9 0 2&lt;BR /&gt;Reading bank 9:&lt;BR /&gt;&lt;BR /&gt;Word 0x00000000: 00000000 00000000&lt;/PRE&gt;&lt;P&gt;All right, then, let's go back to the Serial Downloader booting mode, as that's the mode we need to gather that information with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the redirection of ucmd command:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-&amp;gt; That is the correct way you have given.&lt;BR /&gt;FB: ucmd "net list &amp;gt; file.txt"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm not achieving to redirect the command output this way, it fails.&lt;/P&gt;&lt;PRE&gt;1:41&amp;gt;Start Cmd:FB: ucmd "net list &amp;gt; file.txt"&lt;BR /&gt;1:41&amp;gt;Fail (0.011s)&lt;/PRE&gt;&lt;P&gt;Meanwhile in the debug interface it reports that:&lt;/P&gt;&lt;PRE&gt;Unknown command 'net list &amp;gt; file.txt' - try 'help'&lt;/PRE&gt;&lt;P&gt;It seems to be interpreting 'net list &amp;gt; file.txt' as a whole command&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-&amp;gt;Please make sure to not run fastboot because it doesn't support ucmd or acmd&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Sorry but I don't understand well. The original '.lst' file that I'm taking as reference is the &lt;A href="https://github.com/nxp-imx/mfgtools/blob/master/uuu/emmc_burn_all.lst" target="_self"&gt;emmc_burn_all.lst from mfgtools repository&lt;/A&gt;. This '.lst' file is using 'ucmd' command in fastboot in 5 times and runs properly:&lt;/P&gt;&lt;PRE&gt;FB: ucmd setenv fastboot_dev mmc&lt;BR /&gt;FB: ucmd setenv mmcdev ${emmc_dev}&lt;BR /&gt;FB: ucmd mmc dev ${emmc_dev}&lt;BR /&gt;...&lt;BR /&gt;FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;&lt;BR /&gt;FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;please refer to the below link for reference.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I've understood well, in that topic the user had the issue because was using the mainline u-boot. However, I'm using the fork of NXP (&lt;A href="https://github.com/nxp-imx/uboot-imx" target="_self"&gt;nxp-imx/uboot-imx&lt;/A&gt;). I've verified it in the /path/to/yocto/build/imx8mpsolidrun-poky-linux/u-boot-imx/2022.04-r0/git/.git/config&lt;/P&gt;&lt;P&gt;What may I be missing?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 08:42:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642956#M205128</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-05-02T08:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1643464#M205162</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="im"&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Please accept my apology for the inconvenience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please check with the below command to get the serial number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;cat /proc/device-tree/serial-&lt;WBR /&gt;number&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;BR /&gt;It will help you get the serial number as well as model, and manufacturer details, and based on that one can make the script, then run it and get the desired output.&lt;SPAN class="im"&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this information helps!&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class="im"&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 03 May 2023 08:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1643464#M205162</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-03T08:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1643566#M205168</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt; ,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Please check with the below command to get the serial number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;cat /proc/device-tree/serial-number&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please correct me if I'm wrong, but I fear this is not possible.&lt;/P&gt;&lt;P&gt;I must gather the information even before flashing the device. Hence, there is not any filesystem yet with such path.&lt;/P&gt;&lt;P&gt;Moreover, in order to gather that information just before the flashing stage, I must boot the device in Serial Downloader mode, through the OTG USB A interface. In that mode, I must use&amp;nbsp;Universal Update Utility software and I can just access to the FastBoot commands that have been customized in the implementation of &lt;STRONG&gt;uuu&lt;/STRONG&gt;, as explained in the help pages [uuu -H]:&lt;/P&gt;&lt;PRE&gt;uuu [-d -m -v -V] &amp;lt;bootloader|cmdlists|cmd&amp;gt;&lt;BR /&gt;...&lt;BR /&gt;Command Format PROTOCOL COMMAND ARG&lt;BR /&gt;&lt;BR /&gt; FB[-t timeout]:\Fastboot: android fastboot protocol. unit of timeout is ms&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getvar&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ucmd &amp;lt;any uboot command&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; acmd &amp;lt;any never returned uboot command, like booti, reboot&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flash [-raw2sparse] &amp;lt;partition&amp;gt; &amp;lt;filename&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; download -f &amp;lt;filename&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; crc -f &amp;lt;filename&amp;gt; [-format "mmc read $loadaddr"] [-blksz 512][ -crcblock 0x4000000]&lt;BR /&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;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp; [-seek 0] [-skip 0] [-nostop]&lt;BR /&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;&amp;nbsp;  &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp; seek skip block number from storage&lt;BR /&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;&amp;nbsp;  &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp; skip skips byte from -f&lt;BR /&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;&amp;nbsp;  &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp; nostop continue check even if found mismatch&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;cat&lt;/STRONG&gt; is not an u-boot command, as can be checked by login in debug mode an running &lt;STRONG&gt;help&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Anyway I've tested it:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Error: Unknown Command:FB: cat /proc/device-tree/serial-number&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Please, currently I can read both the serial number and the MAC in three different ways:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using &lt;STRONG&gt;ucmd&lt;/STRONG&gt; &lt;STRONG&gt;md &lt;/STRONG&gt;(for both)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Using &lt;STRONG&gt;ucmd&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;fuse read &lt;/STRONG&gt;(for both)&lt;/LI&gt;&lt;LI&gt;Using &lt;STRONG&gt;ucmd net list&lt;/STRONG&gt; (for MAC) / &lt;STRONG&gt;getvar serialno&lt;/STRONG&gt; (for serial number).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My problem now is that the information appears just in the debug interface (microUSB-B).&lt;EM&gt;&lt;U&gt; I need a way to get this output through the OTG USB-A interface using the &lt;STRONG&gt;uuu&lt;/STRONG&gt; software&lt;/U&gt;, and show it in console&lt;/EM&gt; or even better, redirect it to a file. (I have both interfaces connected, but I'm booting in Serial Downloader mode, hence the debug interface is just readable, I can't write there nor want)&lt;/P&gt;&lt;P&gt;As I showed in &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642956/highlight/true#M205128" target="_self"&gt;previous comment&lt;/A&gt;, this syntax doesn't work:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Regarding the redirection of ucmd command:&lt;/P&gt;&lt;P&gt;-&amp;gt; That is the correct way you have given.&lt;BR /&gt;FB: ucmd "net list &amp;gt; file.txt"&lt;/P&gt;&lt;P&gt;I'm not achieving to redirect the command output this way, it fails.&lt;/P&gt;&lt;PRE&gt;1:41&amp;gt;Start Cmd:FB: ucmd "net list &amp;gt; file.txt"&lt;BR /&gt;1:41&amp;gt;Fail (0.011s)&lt;/PRE&gt;&lt;P&gt;Meanwhile in the debug interface it reports that:&lt;/P&gt;&lt;PRE&gt;Unknown command 'net list &amp;gt; file.txt' - try 'help'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 11:07:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1643566#M205168</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-05-03T11:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1646377#M205438</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV&gt;One can extract unique&amp;nbsp;ID information in u-boot using fuses and ocotp driver.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This scenario is already realized in u-boot soc init function.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please refer to&amp;nbsp;&lt;STRONG&gt;get_board_serial&lt;/STRONG&gt;() function in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/mach-imx/imx8m/soc.c#L752" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/arch/arm/mach-imx/imx8m/soc.c%23L752&amp;amp;source=gmail&amp;amp;ust=1683632499878000&amp;amp;usg=AOvVaw1aGv4rJJwznFFLp_tHzgnz"&gt;/arch/arm/mach-imx/imx8m/soc.&lt;WBR /&gt;c&amp;nbsp;&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please refer to&amp;nbsp;is_uid_matched(), which checks &amp;amp; compare unique ID.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;One can specify unique id for board using&amp;nbsp;&lt;STRONG&gt;CONFIG_IMX_UNIQUE_ID&lt;/STRONG&gt; option in u-boot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Sanket Parekh&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 May 2023 11:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1646377#M205438</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-08T11:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1646387#M205439</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, currently I can read both the serial number and the MAC in three different ways.&lt;/P&gt;&lt;P&gt;My problem now is that the information appears just in the debug interface (microUSB-B).&lt;EM&gt;&lt;U&gt; I need a way to get this output through the OTG USB-A interface using the &lt;STRONG&gt;uuu&lt;/STRONG&gt; software&lt;/U&gt;, and show it in console&lt;/EM&gt; or even better, redirect it to a file. (I have both interfaces connected, but I'm booting in Serial Downloader mode)&lt;/P&gt;&lt;P&gt;As I showed in &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1642956/highlight/true#M205128" target="_self"&gt;previous comment&lt;/A&gt;, this syntax doesn't work:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Regarding the redirection of ucmd command:&lt;/P&gt;&lt;P&gt;-&amp;gt; That is the correct way you have given.&lt;BR /&gt;FB: ucmd "net list &amp;gt; file.txt"&lt;/P&gt;&lt;P&gt;I'm not achieving to redirect the command output this way, it fails.&lt;/P&gt;&lt;PRE&gt;1:41&amp;gt;Start Cmd:FB: ucmd "net list &amp;gt; file.txt"&lt;BR /&gt;1:41&amp;gt;Fail (0.011s)&lt;/PRE&gt;&lt;P&gt;Meanwhile in the debug interface it reports that:&lt;/P&gt;&lt;PRE&gt;Unknown command 'net list &amp;gt; file.txt' - try 'help'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 12:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1646387#M205439</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-05-08T12:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1647910#M205616</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;Please accept my apology for the inconvenience.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;Information only appears on debug interface that is expected behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;There is no filesystem in u-boot. so there is no command to copy files to USB from U-boot or any kind of transfer like from USB to emmc or etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can check that there is no u-boot command to transfer data through USB,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/MEDIA5200UBPG.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/user-guide/MEDIA5200UBPG.pdf&amp;amp;source=gmail&amp;amp;ust=1683789922431000&amp;amp;usg=AOvVaw0jqSIQ5mArlx-dPU7M0vsD"&gt;https://www.nxp.com/docs/en/&lt;WBR /&gt;user-guide/MEDIA5200UBPG.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;To print the module's MAC address and serial number&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;intnvram print module ethaddr1 serialnr&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;ethaddr1=00:40:9D:2E:92:D4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;serialnr=0700-94000329A&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One may modify the u-boot source code to add the command.&lt;/SPAN&gt;&lt;SPAN class="im"&gt;&lt;BR /&gt;&lt;BR /&gt;I hope this information helps!&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="im"&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 11:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1647910#M205616</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-10T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1648023#M205628</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt; ,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;Information only appears on debug interface that is expected behavior.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Okey, then just to verify: It is not possible to gather the information queried by `ucmd` when running `uuu`, right?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt;To print the module's MAC address and serial number&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;STRONG&gt;intnvram print module ethaddr1 serialnr&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is not u-boot command nor FastBoot command. Where should I run this command?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt;One may modify the u-boot source code to add the command.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class=""&gt;u-boot has already diverse options to print that information, I think there must be added no extra commands to u-boot. Wouldn't I need to modify `uuu` implementation in order to redirect its output to the Serial Downloader interface instead of to the debug console? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 14:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1648023#M205628</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-05-10T14:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1650030#M205855</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;Please accept my apology for the inconvenience.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Can you please follow the below steps and share the observation whether it works for you or not?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please connect the i.MX8M Plus to the computer using a USB cable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Please run the below-given command on your terminal window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;uuu -v -m USBPATH&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;(The -v flag will enable verbose logging, and the -m flag will specify the USB path to monitor.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;It will show the output of the uuu utility on the terminal window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where one can get the mac address (for ex:-&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;00:ab:cd:df:67:89 eth0&lt;/STRONG&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Now one can make a script to identify the device as per purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please share the observation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 07:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1650030#M205855</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-15T07:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1650249#M205871</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202155"&gt;@Sanket_Parekh&lt;/a&gt; ,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Can you please follow the below steps and share the observation whether it works for you or not?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, I followed that steps 3 weeks ago when you suggested it the first time in &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1641487/highlight/true#M204949" target="_self"&gt;your first response&lt;/A&gt; and I reported all the output, showing that uuu output is not being shown in the terminal window for any ucmd commands, just in the debug one, and using ucmd is the unique way I've found yet to get the MAC information.&lt;/P&gt;&lt;P&gt;We've made a fork of your repository &lt;A href="https://github.com/nxp-imx/mfgtools" target="_self"&gt;nxp-imx/mfgtools&lt;/A&gt; and added a new argument to uuu.cpp in order to redirect the output of uuu command to a file. Would you like to pull request it?&lt;/P&gt;&lt;P&gt;We can't get the output of ucmd yet in the terminal launching window.&lt;/P&gt;&lt;P&gt;Could you answer the questions of &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1648023/highlight/true#M205628" target="_self"&gt;my previous message&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 10:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1650249#M205871</guid>
      <dc:creator>jetxeberria</dc:creator>
      <dc:date>2023-05-15T10:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Identify device when booting in Serial Downloader mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1650896#M205919</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216392"&gt;@jetxeberria&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;#intnvram print module ethaddr1 serialnr&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not u-boot command nor FastBoot command. Where should I run this command?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;One can check this command on CLI actually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okey, then just to verify: It is not possible to gather the information queried by `ucmd` when running `uuu`, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;ucmd is a command-line tool actually, so I'm afraid that is correct it won't gather the information, It does not have the ability to gather the information that is queried by ucmd.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouldn't I need to modify `uuu` implementation in order to redirect its output to the Serial Downloader interface instead of to the debug console?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;To print the module's MAC address and serial number on USB, you can use the following commands in U-Boot:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;printenv ethaddr&lt;BR /&gt;printenv serialno&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN&gt;These commands will print the MAC address and serial number of the module, respectively.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;To redirect uuu's output to the serial downloader interface, you can use the following command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uuu -d (Daemon mode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uuu [-d -m -v -V] &amp;lt;bootloader|cmdlists|cmd&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to the section "How to Run a Script with uuu" in the below link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/connects/145/1/AMF-AUT-T3893%20-%20i.MX%208%20Universal%20Update%20Utility%20(UUU)%20Tool_rev.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/connects/145/1/AMF-AUT-T3893%2520-%2520i.MX%25208%2520Universal%2520Update%2520Utility%2520(UUU)%2520Tool_rev.pdf&amp;amp;source=gmail&amp;amp;ust=1684307004434000&amp;amp;usg=AOvVaw0h0XNuctoEBRYQwipH8XZT"&gt;https://community.nxp.com/&lt;WBR /&gt;pwmxy87654/attachments/&lt;WBR /&gt;pwmxy87654/connects/145/1/AMF-&lt;WBR /&gt;AUT-T3893%20-%20i.MX%208%&lt;WBR /&gt;20Universal%20Update%&lt;WBR /&gt;20Utility%20(UUU)%20Tool_rev.&lt;WBR /&gt;pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 07:39:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Identify-device-when-booting-in-Serial-Downloader-mode/m-p/1650896#M205919</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-05-16T07:39:11Z</dc:date>
    </item>
  </channel>
</rss>

