This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: How to debug the reset reason when the evm board is being logging into A53 linux

Part Number: SK-AM62A-LP
Other Parts Discussed in Thread: UNIFLASH

Hello experts,

I have a new sk-am62a-lp evm board, there are several issues when I start to using it:

1) I found there might be some problem about its emmc device, because I can't flash its internal emmc device via uart_uniflash.py:

     

Parsing config file ...
Parsing config file ... SUCCESS. Found 10 command(s) !!!

Executing command 1 of 10 ...
Found flash writer ... sending sbl_prebuilt/am62ax-sk/sbl_uart_uniflash_stage1.debug.hs_fs.tiimage
Sent flashwriter sbl_prebuilt/am62ax-sk/sbl_uart_uniflash_stage1.debug.hs_fs.tiimage of size 281703 bytes in 28.51s.                                          

Executing command 2 of 10 ...
Command arguments : --file=../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debug.appimage.hs_fs --operation=flash --flash-offset=0x0
Sending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debuSending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debuSending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debuSending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debuSending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debuSending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debuSending ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debu                                                                                                                                                              Sent ../../examples/drivers/boot/sbl_uart_uniflash_multistage/sbl_uart_uniflash_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_uart_uniflash_stage2.debug.appimage.hs_fs of size 154302 bytes in 16.03s.
[STATUS] SUCCESS !!!

Executing command 3 of 10 ...
Command arguments : --file=sbl_prebuilt/am62ax-sk/sbl_emmc_linux_stage1.debug.hs_fs.tiimage --operation=flash-emmc --flash-offset=0x0
Sent sbl_prebuilt/am62ax-sk/sbl_emmc_linux_stage1.debug.hs_fs.tiimage of size 299495 bytes in 31.16s.                                                         
[STATUS] SUCCESS !!!

Executing command 4 of 10 ...
Command arguments : --file=../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimage.hs_fs --operation=flash-emmc --flash-offset=0x80000
Sending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimagSending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimagSending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimagSending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimage.hs_fs: 138917bytes [00:15, 10722.44bytes/s]recv error: getc timeout in start sequence
Sending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimagSending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimage.hs_fs: 138918bytes [00:34, 10722.44bytes/s]recv error: getc timeout in start sequence
Sending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimagSending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimage.hs_fs: 138919bytes [00:35, 217.78bytes/s]recv error: getc timeout in start sequence
Sending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimagSending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimage.hs_fs: 138920bytes [00:45, 132.19bytes/s]recv error: getc timeout in start sequence
Sending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimagSending ../../examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage2/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_emmc_linux_stage2.debug.appimage.hs_fs: 138921bytes [00:56, 84.69bytes/s]recv error: getc timeout in start sequence

   so, I have to flash it in slices one by one. After I flashed all items into emmc and booting, it sometimes hung at start point of sbl:

DMSC Firmware Version 9.1.8--v09.01.08 (Kool Koala)
DMSC Firmware revision 0x9
DMSC ABI revision 3.1

   I attached with CCS and found it's blocking in reading emmc. It can go ahead mostly

2) In mostly, the sbl can go ahead successfully, but will reset while logging into linux at :

[  OK  ] Finished Expand the rootfs…full size of the boot device..
[    8.633401] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.665509] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  OK  ] Started User Login Management.
[  OK  ] Started Network Configuration.
         Starting Network Name Resolution...
[    8.836010] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[    8.845�
DMSC Firmware Version 9.1.8--v09.01.08 (Kool Koala)
DMSC Firmware revision 0x9
DMSC ABI revision 3.1

and, the mcu-r5, wk-r5 all print nomal logs via other uart channels. When I attached any cpu target via CCS, all the cores will reset, so, I can't find the right point the board's reset.

So, I want to get the right way to find the reason and reset point of the board.

3) Some other informations:

  a) If I hit enter key at the u-boot stage, it will not reset.

  b) The board will always reset if I booting into the linux in any boot mode.

  c) For emmc boot mode, all the image versions (the default  sbl-prebuilt or my own builds) will get the same problem,

      and,  there were two times, it logged into linux successfully without reset(with the same images)

So, How to debug it? Thanks

  • Hi,

    Please refer to the below thread for the flashing & SBL booting issue

    SK-AM62A-LP: flash EMMC using default_sbl_emmc_hs.cfg error - Processors forum - Processors - TI E2E support forums

    Once this is resolved, we can look at the Linux booting issue if it still persists.

    Regards,

    Prashant

  • Thanks for your reply, that my flash issue is the same like that item. And I can flash the internal emmc right now. But the reset issue is still there. At this point, ho w to find the reset reason?

  • Hi,

    I infer that the flashing & SBL booting issue is now resolved but the Linux reset issue still persists.

    In that case, could you please try the PSDK original boot flow (tiboot3.bin -> tispl.bin -> u-boot.img -> Linux Kernel) & see if the Linux reset issue is there. This is to confirm the Linux reset issue is not because of using the Linux SBLs boot flow from MCU+ SDK.

    Regards,

    Prashant

  • The board will reset no matter which boot mode  was selected. I download the original wic.xz image and flash into sd card, it reset too. In on word, it will reset during booting into linux for all. I reflashed the board dozens times, and only worked two times.

  • Hi,

    Thank you for doing the test.

    It seems this is a Linux Kernel issue. I am passing the thread to the subject matter expert. You should be getting a response by EOD.

    In the meantime, please share the working logs (when the Linux Kernel boot fully) & the non-working logs (when the Linux Kernel resets) when using .wic.xz image.

    Regards,

    Prashant 

  • But I can't paste long log. how to share?

  • You can use the following reply feature to attach the logs

  • If I paste a too long text, it will reject with message:

    Access Denied
    You don't have permission to access "http://e2e.ti.com/tinymce/apis/embeddables/configure?" on this server.
    
    Reference #18.240ae07a.1705919121.1f7f59c9 

  • Interesting. Can you save the logs as text files & then use the drag & drop feature to attach the logs files. That should work.

  • Sorry, I have to upload the long logs to temp website, and the issue log is at https://pastebin.com/dz0qZPJi, and the right log is here: https://pastebin.com/z9Vt1gBb

  • And, is there any method to capture the reset point?

  • Hi,

    I am unable to access pastebin. Can you please save the log to a file and attach it on this thread?

    What power supply do you use on SK-AM62A-LP? Please ensure it is type-C, at least 5V 3A.

  • Yes, I use upto 5V 5A type-C power supply. And I know how to attach local logfiles into the thread now. Please have a look at them:

  • Hi,

    It seems the log files are not attached correctly. Clicking the links lead to "Page not found" error.

    Can you please double check the uploaded log files?

  • I think its the problem of the host of e2e, all the same no matter how many times I tried. I have to re-upload to pastebin without expiration:https://pastebin.com/CH9A5hun, https://pastebin.com/tLuMfjG8

    If you can't open them, I think I would have to send it by another way, by email, etc. Thanks

  • Hi,

    Postebin is blocked in our network. I cannot access it.

    In your reply compose window, click "Insert" at the bottom of the window, then click "Image/Video/File", then in the new pop-up window, click the grey "Upload" right under the "File/URL" field, which should allow you to select the file and attach it.

  • Yes, I used this method before, but all can't access. Please wait me a while, I split it shorter and upload as several texts.

  • You can also zip the log and attach the zip file.

  • still not accessible. can you please try a different web browser?

  • I retried with chrome, the problem still there. would you line provide me another way to upload the log?

  • I have to upload the issue log and worked log to another site:

    https://app.simplenote.com/p/HBphFq

    https://app.simplenote.com/p/KVp82G

    I hope it will not be blocked right time. Thanks

  • Hi,

    I don't have access to simplenote either.

    I have sent you friendship request. Please accept it and I will provide my email address, then you can email me the log files.

  • Any hints will be very appreciated, like how to debug it to find the problem. And, the boards will reset if booting into linux, no matter which bootmode I used.

    some time I can see the last uart log before reset:

    [    8.046164] remoteproc remoteproc1: remote processor 78000000d
    [    8.049181] mtdblock: MTD device 'ospi_nand.phypattern' is NA.
    [    8.079239] mtdblock: MTD device 'ospi_nand.env' is NAND, ple.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Console System Startup Logging.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Found device /dev/ttyS2.
    

  • Hi,

    Thanks for send the boot log offline. The log shows SBL booting Linux. Can you  please following the instruction below to flash the Processor SDK Linux prebuilt  SD card WIC image to a SD card and boot your SK-AM62A-LP with this SD card? I'd first like to see what issue you would have without using SBL to boot Linux.

    https://dev.ti.com/tirex/explore/node?node=A__AQniYj7pI2aoPAFMxWtKDQ__am62ax-devtools__FUz-xrs__LATEST&placeholder=true

  • Will got the same result. I have do further debug test and found the reset due to the linux's udev service. I think that should because wk-r5, mcu-r5 and a53 get touch each other leading some further issue. But, I do not now how to pause before its reset.

  • Hi,

    Can you please share the details? What makes you conclude the issue is udev related?

  • 1)The board will reset while booting into linux, no matter the boot mode is

    2)  If I hit enter key at a53 uboot and stay there, the board will not reset

    3) If I remove /sbin/init in the origin filesystem, (sd card and emmc), the board will not reset now

    4) I replace the init system from systemd with sysV, the board will not reset if I remove udev service

    So, I guess the reset issue due to multi cores

  • Hi,

    All the multi cores are configured in the kernel board device tree file. Can you please try to disable them one at a time to see if it tells which core triggers the reset?

  • Sorry of slow response because of the weekends. I had tried again, it still reset although I had disabled all the remote cores. And the latest linux log is:

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.46-rt13-gb871cdee8c31-dirty (kezhh@slack.kslack.org) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708)
     #1 SMP PREEMPT Fri Jan 26 10:24:00 CST 2024
    [    0.000000] Machine model: Texas Instruments AM62A7 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 576 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000997fffff]
    [    0.000000]   node   0: [mem 0x0000000099800000-0x000000009b7fefff]
    [    0.000000]   node   0: [mem 0x000000009b800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a2ffffff]
    [    0.000000]   node   0: [mem 0x00000000a3000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 19 pages/cpu s37992 r8192 d31640 u77824
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032191
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),
    4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=83c21bb6-02 
    rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 2807964K/4194300K available (12288K kernel code, 1266K rwdata, 4020K rodata, 2112K init, 438K bss, 796512K reserved, 589824K cma-reserv
    ed)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008486] Console: colour dummy device 80x25
    [    0.013065] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023746] pid_max: default: 32768 minimum: 301
    [    0.028510] LSM: Security Framework initializing
    [    0.033333] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040912] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.050346] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.057780] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.064068] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.071461] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.077890] rcu: Hierarchical SRCU implementation.
    [    0.077894] rcu:     Max phase no-delay instances is 1000.
    [    0.077936] printk: bootconsole [ns16550a0] printing thread started
    [    0.094736] Platform MSI: msi-controller@1820000 domain created
    [    0.094922] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.095132] EFI services will not be available.
    [    0.095340] smp: Bringing up secondary CPUs ...
    [    0.095929] Detected VIPT I-cache on CPU1
    [    0.096012] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.096028] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.096072] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.146135] Detected VIPT I-cache on CPU2
    [    0.146203] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.146216] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.146246] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.146822] Detected VIPT I-cache on CPU3
    [    0.146889] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.146902] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.146928] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.146985] smp: Brought up 1 node, 4 CPUs
    [    0.146991] SMP: Total of 4 processors activated.
    [    0.146995] CPU features: detected: 32-bit EL0 Support
    [    0.146998] CPU features: detected: CRC32 instructions
    [    0.147049] CPU: All CPU(s) started at EL2
    [    0.147051] alternatives: applying system-wide alternatives
    [    0.148474] devtmpfs: initialized
    [    0.157694] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.157716] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.171202] pinctrl core: initialized pinctrl subsystem
    [    0.171682] DMI not present or invalid.
    [    0.172249] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.173139] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.173344] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.173497] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.173559] audit: initializing netlink subsys (disabled)
    [    0.173676] audit: type=2000 audit(0.136:1): state=initialized audit_enabled=0 res=1
    [    0.174061] thermal_sys: Registered thermal governor 'step_wise'
    [    0.174066] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.174102] cpuidle: using governor menu
    [    0.174248] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.174353] ASID allocator initialised with 65536 entries
    [    0.184808] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
    [    0.186682] platform connector: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/sii9022@3b
    [    0.187051] KASLR disabled due to lack of seed
    [    0.193460] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.193469] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.193473] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.377732] printk: console [ttyS2] prin[ting thread started
        0.193476] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.377739] printk: console [ttyS2] enabled
    [    0.377743] printk: bootconsole [ns16550a0] disabled
    [    0.389698] printk: bootconsole [ns16550a0] printing thread stopped
    [    0.392294] spi-nand spi0.0: Winbond SPI NAND was found.
    [    0.392304] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    0.392491] 7 fixed-partitions partitions found on MTD device spi0.0
    [    0.392500] Creating 7 MTD partitions on "spi0.0":
    [    0.392505] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    0.393802] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [    0.395562] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [    0.398091] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [    0.399122] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [    0.400146] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    0.437761] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    0.477346] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    0.478812] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    0.478855] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    0.478957] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    0.478963] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    0.479399] pps pps0: new PPS source ptp0
    [    0.479649] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    0.481149] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    0.484495] mmc0: CQHCI version 5.10
    [    0.521364] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    0.600334] mmc0: Command Queue Engine enabled
    [    0.600350] mmc0: new HS200 MMC card at address 0001
    [    0.600935] mmcblk0: mmc0:0001 G1M15L 29.6 GiB 
    [    0.602307]  mmcblk0: p1 p2
    [    0.602843] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB 
    [    0.603722] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB 
    [    0.604483] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (240:0)
    [    0.794929] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    0.795082] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [    0.795385] pca953x 1-0022: supply vcc not found, using dummy regulator
    [   0.795512] pca953x 1-0022: using AI
    [    0.802362] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    0.803223] mmc1: CQHCI version 5.10
    [    0.803827] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    0.803842] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    0.812209] ALSA device list:
    [    0.812219]   No soundcards found.
    [    0.844520] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    0.844687] Waiting for root device PARTUUID=83c21bb6-02...
    [    0.917165] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    0.936016] mmcblk1: mmc1:aaaa SD32G 29.7 GiB 
    [    0.956410]  mmcblk1: p1 p2
    [    1.113177] EXT4-fs (mmcblk1p2): recovery complete
    [    1.114215] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.114291] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    1.116186] devtmpfs: mounted
    [    1.117042] Freeing unused kernel memory: 2112K
    [    1.117159] Run /sbin/init as init process
    INIT: version 3.08 booting
    INIT: /etc/inittab[61]: duplicate ID field "s0"
    mount: proc mounted on /proc.
    mount: sysfs mounted on /sys.
    mount: tmpfs mounted on /run.
    Creating static nodes in /dev.
    Starting udevd:  /sbin/udevd --daemon
    [    2.521338] random: crng init done
    Triggering udev events:  /sbin/udevadm trigger --action=add[    2.566016] udevd[290]: starting eudev-3.2.14
    
    [    2.729294] mc: Linux media interface: v0.10
    [    2.747385] videodev: Linux video capture interface: v2.00
    [    2.786248] tlv320aic3x 1-001b: supply DVDD not found, using dummy regulator
    [    2.787156] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [    2.787691] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode
    [    2.788066] remoteproc remoteproc0: 7e000000.dsp is available
    [    2.789261] remoteproc remoteproc0: Direct firmware load for am62a-c71_0-fw failed with error -2
    [    2.789285] remoteproc remoteproc0: powering up 7e000000.dsp
    [    2.789316] remoteproc remoteproc0: Direct firmware load for am62a-c71_0-fw failed with error -2
    [    2.789369] remoteproc remoteproc0: request_firmware failed: -2
    [    2.858589] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [    2.858608] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [    2.861453] rtc-ti-k3 2b1f0000.rtc: Clock rate 32552 is not 32768! Could misbehave!
    [    2.867740] vdec 30210000.video-codec: Direct firmware load for cnm/wave521c_codec_fw.bin failed with error -2
    [    2.867761] vdec 30210000.video-codec: request_firmware, fail: -2
    [    2.867765] vdec 30210000.video-codec: wave5_vpu_load_firmware, fail: -2
    [    2.870475] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [    2.892326] vdec: probe of 30210000.video-codec failed with error -2
    [    2.893145] e5010 fd20000.e5010: Device registered as /dev/video2
    [    2.951937] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    2.952100] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    2.957103] i2c i2c-1: Added multiplexed i2c bus 3
    [    2.959230] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [    2.961609] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    2.962410] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    2.962990] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    2.964022] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    2.966625] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [    2.966650] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [    2.967087] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    2.970767] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    2.978236] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.

  • I have tried many times at the last weekends, and got success finally. I disabled almost all peripheral devices and still reset. Since the board worked well without any modification but only do re-flashing operation  two times before, I still re-flash via uart many times. It works now, I will keep the current status and will not flashing it via uart agin.

    Thanks