<?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: Put custom log in bootloader - imx8ulp-evk9 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Put-custom-log-in-bootloader-imx8ulp-evk9/m-p/2012314#M231878</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do it modifying or adding your own logs into the U-boot source.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To locate any specific log in u-boot you can do it with grep utility on Linux, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to locate the log:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Hit any key to stop autoboot&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the below command on uboot-imx directory:&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;$ grep -rnw 'Hit any key to stop autoboot' .&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have an output like:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;$ grep -rnw 'Hit any key to stop autoboot' .
./board/theobroma-systems/lion_rk3368/README:78:Hit any key to stop autoboot:  2
./board/phytium/durian/README:58:Hit any key to stop autoboot:  0
./board/rockchip/evb_rk3229/README:90:Hit any key to stop autoboot:  0
./board/rockchip/sheep_rk3368/README:43:Hit any key to stop autoboot:  0
./board/rockchip/evb_rv1108/README:45:Hit any key to stop autoboot:  0
./board/qualcomm/dragonboard820c/readme.txt:265:Hit any key to stop autoboot:  0
./common/autoboot.c:378:        printf("Hit any key to stop autoboot: %2d ", bootdelay);
./common/menu.c:439:            printf("Hit any key to stop autoboot: %d ", menu-&amp;gt;delay);
./test/py/u_boot_console_base.py:22:pattern_stop_autoboot_prompt = re.compile('Hit any key to stop autoboot: ')
./doc/board/sipeed/maix.rst:140:    Hit any key to stop autoboot:  0
./doc/board/intel/edison.rst:143:  Hit any key to stop autoboot:  0
./doc/board/toradex/verdin-imx8mp.rst:113:  Hit any key to stop autoboot:  0
./doc/board/toradex/verdin-imx8mm.rst:107:  Hit any key to stop autoboot:  0
./doc/board/toradex/verdin-am62.rst:146:  Hit any key to stop autoboot:  0
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see that log is printed from the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;/common/autoboot.c&lt;/STRONG&gt; file, and now you can modify it and recompile.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this information can helps to you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Salas.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 21:11:43 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2024-12-11T21:11:43Z</dc:date>
    <item>
      <title>Put custom log in bootloader - imx8ulp-evk9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Put-custom-log-in-bootloader-imx8ulp-evk9/m-p/2011631#M231835</link>
      <description>&lt;P&gt;Hello ,&lt;BR /&gt;&lt;BR /&gt;In IMX8ULP-EVK9 when I flash M core image I am getting below logs on A core side&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;U-Boot SPL 2023.04+gf8a2983ec8+p0 (Mar 04 2024 - 07:25:04 +0000)
Normal Boot
ELE firmware version 1.0.0-344acb84
upower_apd_inst_isr: entry
upower_init: soc_id=48
upower_init: version:11.11.13
upower_init: start uPower RAM service
user_upwr_rdy_callb: soc=b
user_upwr_rdy_callb: RAM version:12.18
Turning on switches...
Turn on switches ok
Turning on memories...
Turn on memories ok
Clearing DDR retention...
Clear DDR retention ok
SEC0:  RNG instantiated
Trying to boot from BOOTROM
Boot Stage: USB boot
Find img info 0x88000000, size 288
Download 999424, Total size 1000448
NOTICE:  BL31: v2.8(release):lf-6.6.3-1.0.0-0-g8dbe28631
NOTICE:  BL31: Built : 17:57:56, Jan 22 2024
NOTICE:  upower_init: start uPower RAM service
NOTICE:  user_upwr_rdy_callb: soc=b
NOTICE:  user_upwr_rdy_callb: RAM version:12.18


U-Boot 2023.04+gf8a2983ec8+p0 (Mar 04 2024 - 07:25:04 +0000)

M33 Sync: OK
CPU:   i.MX8ULP(Dual 7) rev1.2 at 800MHz
CPU current temperature: 26
Reset cause: POR
Boot mode: Single boot
Model: NXP i.MX8ULP 9X9 EVK
DRAM:  2 GiB
Core:  54 devices, 28 uclasses, devicetree: separate
MMC:   FSL_SDHC: 0
Loading Environment from nowhere... OK
[*]-Video Link 0 (720 x 1280)
        [0] display-controller@2e050000, video
        [1] dsi@2db00000, video_bridge
        [2] panel@0, panel
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
switch to partitions #0, OK
mmc0(part 0) is current device
UID 0x6deef9a3,0x8743c9c3,0x31a68c96,0xe34e50d4
Net:   eth0: ethernet@29950000
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for                                mfgtools
, using default environment                                 +-----------------------------+
                                                            |                             |
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; |  Cannot open /dev/ttyUSB2!  | bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ;
Hit any key to stop autoboot:  0                            |                             |
                                                            +-----------------------------+
## Checking Image at 83800000 ...
Unknown image format!
Run fastboot ...
auto usb 1
UID 0x6deef9a3,0x8743c9c3,0x31a68c96,0xe34e50d4
flash target is MMC:0
switch to partitions #0, OK
mmc0(part 0) is current device
Starting download of 1417216 bytes
..........
downloading of 1417216 bytes finished
writing to partition 'bootloader'
Initializing 'bootloader'
switch to partitions #1, OK
mmc0(part 1) is current device
Writing 'bootloader'

MMC write: dev # 0, block # 0, count 2768 ... 2768 blocks written: OK
Writing 'bootloader' DONE!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;currently I am building flash image with help of imx-mkimage&amp;nbsp;&lt;A href="https://github.com/nxp-imx/imx-mkimage/tree/lf-6.6.3_1.0.0/iMX8ULP" target="_self"&gt;imx-mkimage&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Now I want to put custom print in u-boot what steps I need to follow to put custom print overthere?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 06:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Put-custom-log-in-bootloader-imx8ulp-evk9/m-p/2011631#M231835</guid>
      <dc:creator>dhruvinrajpura</dc:creator>
      <dc:date>2024-12-11T06:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Put custom log in bootloader - imx8ulp-evk9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Put-custom-log-in-bootloader-imx8ulp-evk9/m-p/2012314#M231878</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do it modifying or adding your own logs into the U-boot source.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To locate any specific log in u-boot you can do it with grep utility on Linux, for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to locate the log:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Hit any key to stop autoboot&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the below command on uboot-imx directory:&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;$ grep -rnw 'Hit any key to stop autoboot' .&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have an output like:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;$ grep -rnw 'Hit any key to stop autoboot' .
./board/theobroma-systems/lion_rk3368/README:78:Hit any key to stop autoboot:  2
./board/phytium/durian/README:58:Hit any key to stop autoboot:  0
./board/rockchip/evb_rk3229/README:90:Hit any key to stop autoboot:  0
./board/rockchip/sheep_rk3368/README:43:Hit any key to stop autoboot:  0
./board/rockchip/evb_rv1108/README:45:Hit any key to stop autoboot:  0
./board/qualcomm/dragonboard820c/readme.txt:265:Hit any key to stop autoboot:  0
./common/autoboot.c:378:        printf("Hit any key to stop autoboot: %2d ", bootdelay);
./common/menu.c:439:            printf("Hit any key to stop autoboot: %d ", menu-&amp;gt;delay);
./test/py/u_boot_console_base.py:22:pattern_stop_autoboot_prompt = re.compile('Hit any key to stop autoboot: ')
./doc/board/sipeed/maix.rst:140:    Hit any key to stop autoboot:  0
./doc/board/intel/edison.rst:143:  Hit any key to stop autoboot:  0
./doc/board/toradex/verdin-imx8mp.rst:113:  Hit any key to stop autoboot:  0
./doc/board/toradex/verdin-imx8mm.rst:107:  Hit any key to stop autoboot:  0
./doc/board/toradex/verdin-am62.rst:146:  Hit any key to stop autoboot:  0
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see that log is printed from the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;/common/autoboot.c&lt;/STRONG&gt; file, and now you can modify it and recompile.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this information can helps to you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Salas.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:11:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Put-custom-log-in-bootloader-imx8ulp-evk9/m-p/2012314#M231878</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-12-11T21:11:43Z</dc:date>
    </item>
  </channel>
</rss>

