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.

OMAP-L138: Linux kernel hang, while launching ARM and DSP application

Part Number: OMAP-L138
Other Parts Discussed in Thread: AM5748, DA8XX,

Hi Everyone,

We are facing kernel hang when we launch ARM and DSP application. after this only power cycle is helping to recover the system

We are using PDK 05_02_00_10, which has Linux kernel version 4.14.79 Long-Term Stable (LTS).

These ARM and DSP application is communication over shared memory, and has other functionality for RF operation.

Following are the log after launching the application, please provide us few pointer to debug this kernel hang.

[2023-08-21 11:14:46.314] root@ngradio:~/nghot# ./start_nghot.sh
[2023-08-21 11:14:46.471] starting self test applications
[2023-08-21 11:14:46.580] ************************
[2023-08-21 11:14:46.580] Self Test Start...
[2023-08-21 11:14:46.580] ************************
[2023-08-21 11:14:47.064] RAM Test Success
[2023-08-21 11:14:49.940] ROM Test AM5748:/home/root/nghot/hot_config.xml: Success
[2023-08-21 11:14:50.221] ROM Test AM5748:/home/root/nghot/NGHoTController_stuck_wdDis.omap138: Success
[2023-08-21 11:14:52.924] ROM Test AM5748:/home/root/nghot/HOT_PHY_Rev63_1v3.out: Success
[2023-08-21 11:14:54.971] usb is connected
[2023-08-21 11:14:55.033] SD card is Nok
[2023-08-21 11:14:55.221]
[2023-08-21 11:14:55.237] adc_volt Channel no 0 = 2.592 V
[2023-08-21 11:14:55.346]
[2023-08-21 11:14:55.346] adc_volt Channel no 1 = 3.309 V
[2023-08-21 11:14:55.471]
[2023-08-21 11:14:55.471] adc_volt Channel no 2 = 3.000 V
[2023-08-21 11:14:55.596]
[2023-08-21 11:14:55.596] adc_volt Channel no 3 = 2.562 V
[2023-08-21 11:14:57.721] rmmod: remove 'da8xx_remoteproc': No such file or directory
[2023-08-21 11:14:58.898] davinci-rproc davinci-rproc.0: assigned reserved memory node dsp-memory@c3000000
[2023-08-21 11:14:58.898] remoteproc remoteproc0: dsp is available
[2023-08-21 11:14:59.002] remoteproc remoteproc0: powering up dsp
[2023-08-21 11:14:59.002] remoteproc remoteproc0: Booting fw image rproc-dsp-fw, size 6686532
[2023-08-21 11:14:59.065] #LWS skipping iram
[2023-08-21 11:14:59.127] remoteproc remoteproc0: registered virtio0 (type 7)
[2023-08-21 11:14:59.127] remoteproc remoteproc0: remote processor dsp is now up
[2023-08-21 11:15:03.032] radio -radio test successful
[2023-08-21 11:15:03.032] All Self Tests Success
[2023-08-21 11:15:03.064] /dev/mem opened
[2023-08-21 11:15:03.080] ..... Driver Initialization Parameters Written.......
[2023-08-21 11:15:03.080] TX Configured Frequqncy : 452937500 Hz
[2023-08-21 11:15:03.080] RX Configured Frequqncy : 457937500 Hz
[2023-08-21 11:15:03.096] TX Power Configured : 25 dBm
[2023-08-21 11:15:03.112] remoteproc remoteproc0: stopped remote processor dsp
[2023-08-21 11:15:03.127] remoteproc remoteproc0: releasing dsp
[2023-08-21 11:15:05.159] starting siemens app...
[2023-08-21 11:15:05.440] davinci-rproc davinci-rproc.0: assigned reserved memory node dsp-memory@c3000000
[2023-08-21 11:15:05.471] remoteproc remoteproc0: dsp is available
[2023-08-21 11:15:05.643] remoteproc remoteproc0: powering up dsp
[2023-08-21 11:15:05.643] remoteproc remoteproc0: Booting fw image rproc-dsp-fw, size 6533588
[2023-08-21 11:15:05.799] #LWS skipping iram
[2023-08-21 11:15:05.924] remoteproc remoteproc0: registered virtio0 (type 7)
[2023-08-21 11:15:05.924] remoteproc remoteproc0: remote processor dsp is now up
[2023-08-21 11:15:15.658]
[2023-08-21 11:15:15.658]
[2023-08-21 11:15:15.658] :##.:::::## '######:'##:::::##:'######::'########::::
[2023-08-21 11:15:15.658] :###.....## ##... ## ##.... ##:##... ##:... ##..::::
[2023-08-21 11:15:15.658] :##.#....## ##:::..: ##:::: ## ##:::.##:::: ##::::::
[2023-08-21 11:15:15.658] '##..#...## ##:::::: ######### ##::::##:::: ##::::::
[2023-08-21 11:15:15.658] ##...#..## ##::#### ##.... ## ##::::##:::: ##::::::
[2023-08-21 11:15:15.674] ##....#.## ##::: ## ##.... ## ##::: ##:::: ##::::::
[2023-08-21 11:15:15.674] ##::::.### ######: ##.... ## ######::::: ##::::::
[2023-08-21 11:15:15.674] Agent Initiated Successful
[2023-08-21 11:15:15.752] Config Status file updated: PASS
[2023-08-21 11:15:15.752] HOT Configuration : [OK]
[2023-08-21 11:15:16.275] Working xml backedup to default
[2023-08-21 11:15:16.275] Config Status file updated: PASS
[2023-08-21 11:15:16.275] HOT MQ_XML Configuration : [OK]
[2023-08-21 11:15:16.424] Before IP config
[2023-08-21 11:15:16.880] route: SIOCADDRT: Network is unreachable
[2023-08-21 11:15:17.542] route: SIOCADDRT: Invalid argument
[2023-08-21 11:15:17.866] After IP config
[2023-08-21 11:15:17.866] After osOpenLo


[2023-08-21 11:16:17.986] U-Boot SPL 2018.01-00569-g3562978c85-dirty (Oct 22 2021 - 17:14:49)
[2023-08-21 11:16:17.986] Trying to boot from SPI
[2023-08-21 11:16:17.986] spl: payload image: U-Boot 2018.01-00569-g3562978c85 load addr: 0xc107ffc0 size: 552432
[2023-08-21 11:16:18.502] Jumping to U-Boot
[2023-08-21 11:16:18.502] loaded - jumping to U-Boot...
[2023-08-21 11:16:18.502] image entry point: 0xC1080000
[2023-08-21 11:16:18.502]
[2023-08-21 11:16:18.502]

Regards,

Snehal