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.

Linux/AM5728: Kernel boot issue

Part Number: AM5728
Other Parts Discussed in Thread: ADS7846

Tool/software: Linux

Hi, TI and every one,

I'm testing AM5728 EVM made by China using ti-processor-sdk-linux-am57xx-evm-04.03.00.05-Linux-x86-Install.bin

Normally, that booting is good, but sometimes failed as below:

...

[   12.783915] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   12.789440] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[   12.798031] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
[   12.808093] xhci-hcd xhci-hcd.2.auto: irq 483, io mem 0x488d0000
[   12.815005] hub 3-0:1.0: USB hub found
[   12.818789] hub 3-0:1.0: 1 port detected
[   12.823803] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   12.829815] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[   12.838715] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   12.848153] hub 4-0:1.0: USB hub found
[   12.852394] hub 4-0:1.0: 1 port detected
[   12.862909] remoteproc remoteproc3: powering up 41000000.dsp
[   12.869088] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 8814504
[   12.884099] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[   12.890012] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[   12.905355] virtio_rpmsg_bus virtio2: rpmsg host is online
[   12.907981] ------------[ cut here ]------------
** 170 printk messages dropped ** [   12.908785]  r3:ef21b940 r2:c0bd0e68
** 1576 printk messages dropped ** [   12.915472] [<c0233358>] (irq_exit) from [<c027f508>] (__handle_domain_irq+0x68/0xbc)
** 2636 printk messages dropped ** [   12.926411]  r7:00000000 r6:c1008d74 r5:ef21c360 r4:ef21c300
** 2116 printk messages dropped ** [   12.935172] WARNING: CPU: 0 PID: 158 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x36c
** 2991 printk messages dropped ** [   12.947544] 3ec0: ef008000 005ee428 00671c68 ee073f4c ee073f50 ee073ef0 c0233438 c0232f58
** 2717 printk messages dropped ** [   12.958817] ---[ end trace 2d11ccf1b255fae5 ]---
** 1867 printk messages dropped ** [   12.966555]  r9:ee072000 r8:fa213000 r7:fa212000 r6:ee073ea0 r5:fa21200c r4:c1003424
** 2624 printk messages dropped ** [   12.977381] CPU: 0 PID: 158 Comm: systemd-udevd Tainted: G        W  O    4.9.69-g9ce43c71ae #4
** 2853 printk messages dropped ** [   12.989157] 44000000.ocp3 Custom Error: MASTER DSP2_DMA TARGET L4_PER3_P3 (Read): Data Access in User mode during Functional access
** 3660 printk messages dropped ** [   13.004301] [<c027f4a0>] (__handle_domain_irq) from [<c02014a0>] (gic_handle_irq+0x40/0x7c)
** 2775 printk messages dropped ** [   13.015758]  r9:0000001b r8:ef21bad0 r7:c0bd11c8 r6:00000002 r5:c0bd0dc4 r4:c0bd0e68
** 2632 printk messages dropped ** [   13.026574] Exception stack(0xee073fb0 to 0xee073ff8)
** 1990 printk messages dropped ** [   13.034768] 3fc0: 0000001a 0000001f 00000aed 00000000 005edcc4 005ee428 00671c68 00000000
** 2738 printk messages dropped ** [   13.046050] [<c0201460>] (gic_handle_irq) from [<c020c038>] (__irq_svc+0x58/0x8c)
** 2566 printk messages dropped ** [   13.056607]  r9:005ee428 r8:30c5387d r7:30c5387d r6:ffffffff r5:a00f0010 r4:0048fb00
** 2632 printk messages dropped ** [   13.067449] [<c027f4a0>] (__handle_domain_irq) from [<c02014a0>] (gic_handle_irq+0x40/0x7c)
** 2763 printk messages dropped ** [   13.078843]  r4:c0e5ede0
** 1351 printk messages dropped ** [   13.084461]  r3:ef21b940 r2:c0bd0e68
** 1609 printk messages dropped ** [   13.091126] [<c0201460>] (gic_handle_irq) from [<c020c3a8>] (__irq_usr+0x48/0x60)
** 2554 printk messages dropped ** [   13.101691]  r9:005ee428 r8:30c5387d r7:30c5387d r6:ffffffff r5:a00f0010 r4:0048fb00
** 2621 printk messages dropped ** [   13.112538]  r4:ef21be40
** 1352 printk messages dropped ** [   13.118108] 3fa0:                                     fffffff9 bea32662 0000001a 0000006d
** 2732 printk messages dropped ** [   13.129410] [<c027fe38>] (handle_irq_event) from [<c0283528>] (handle_fasteoi_irq+0xc0/0x190)
** 2807 printk messages dropped ** [   13.141028]  r7:00000000 r6:ee073fb0 r5:00000017 r4:c0e5ede0
** 2111 printk messages dropped ** [   13.149737]  r9:005ee428 r8:30c5387d r7:30c5387d r6:ffffffff r5:a00f0010 r4:0048fb00
** 2610 printk messages dropped ** [   13.160566]  r7:00000009 r6:600f0193 r5:00000000 r4:c1022828
** 2113 printk messages dropped ** [   13.169327]  r9:ee072000 r8:fa213000 r7:fa212000 r6:ee073ea0 r5:fa21200c r4:c1003424
** 2624 printk messages dropped ** [   13.180181] CPU: 0 PID: 158 Comm: systemd-udevd Tainted: G        W  O    4.9.69-g9ce43c71ae #4
** 2850 printk messages dropped ** [   13.191936] ---[ end trace 2d11ccf1b255ff38 ]---
** 1858 printk messages dropped ** [   13.199643]  r4:ef21c300
** 1352 printk messages dropped ** [   13.205238]  r9:005ee428 r8:30c5387d r7:30c5387d r6:ffffffff r5:a00f0010 r4:0048fb00
** 2613 printk messages dropped ** [   13.216056]  r7:00000009 r6:c0bd0e98 r5:00000000 r4:ee073cc0
** 2112 printk messages dropped ** [   13.224807] Exception stack(0xee073ea0 to 0xee073ee8)
** 1958 printk messages dropped ** [   13.232948] Modules linked in: extcon_palmas rtc_omap rtc_palmas rtc_ds1307 snd_soc_tlv320aic3x ads7846 omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)

Then, the messages such as this repeatedly output, and system could not boot.

And, somtimes:

[   12.783915] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   12.789440] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[   12.798031] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x02010010
[   12.808093] xhci-hcd xhci-hcd.2.auto: irq 483, io mem 0x488d0000
[   12.815005] hub 3-0:1.0: USB hub found
[   12.818789] hub 3-0:1.0: 1 port detected
[   12.823803] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   12.829815] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[   12.838715] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   12.848153] hub 4-0:1.0: USB hub found
[   12.852394] hub 4-0:1.0: 1 port detected
[   12.862909] remoteproc remoteproc3: powering up 41000000.dsp
[   12.869088] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 8814504
[   12.884099] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[   12.890012] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[   12.905355] virtio_rpmsg_bus virtio2: rpmsg host is online

and there is no more message.

I can not solve this problem, please lead me.

Thanks,

Best Regards.

  • Hi, Aither,

    When the board failed, was it running exact the same configuration as when it booted successfully? Is the successful one not running any DSP application or there something else different from the failed one?

    There was a similar failure case on a custom board and was resolved by fixing its power supply issue. I am not sure if that applies to this case. Here is the links for your reference:
    e2e.ti.com/.../2509878, and
    e2e.ti.com/.../555762

    Rex
  • Hi, Re

    Thanks very much for your answer.

    I also think as you, recheck the board, then again test.

    Thanks

    Best Regards.

    Aither

  • Hi,Rex

    I have the same solution as Aither. I am using SDK-RT 4.03.

    But it only happen at I use openvx firware. which is high probability let the system hang or crash.

    I found some release notes about this,can you give me some advices?

    LCPD-9481 P4-Low Sometime the system hangs while loading the rpmsg rpc modules

    LCPD-4855 P4-Low [rpmsg 2015 LTS] IPC: Board hangs when an MMU fault occurs in the first message

    LCPD-4699 P4-Low rpmsg-rpc: kernel crash during error recovery with dynamic debug traces enabled IPC

    PLSDK-1712 am572x-idk, am572x-evm openvx test hangs on AM572x-GP and AM572x-IDK platform

    Thanks.

  • Hi, CY,

    Let's work in the thread you created, e2e.ti.com/.../2614065, which happens when running OpenVX and is different from this one.

    Thanks!

    Rex