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.

RTOS/AM5728: Linux kernel panic with DSP2 timer in use

Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello.

I'm using  am5728 and the dsp1,dsp2 load on linux.
I'm use
 pdk : 1.0.7
 ipc : 3.46.0.2
 bios : 6.46.5.55
 psdk : 4.0.0.4


For dsp2 of am5728 device I'm trying to add the timer of the sysbios.
I Add In dsp2 .cfg file the timer.

var Clock = xdc.useModule('ti.sysbios.knl.Clock');
Clock.tickPeriod = 100;

Clock.tickSource = Clock.TickSource_USER;

var Timer = xdc.useModule('ti.sysbios.timers.dmtimer.Timer');


Timer.intFreq.hi = 0;
Timer.intFreq.lo = 20000000;

Timer.checkFrequency = false;
var timerParams = new Timer.Params();
timerParams.period = Clock.tickPeriod;
timerParams.periodType = Timer.PeriodType_MICROSECS;

timerParams.tiocpCfg.softreset = 0x0;

timerParams.tiocpCfg.idlemode = 0x3;

timerParams.twer.ovf_wup_ena = 0x1;
Timer.create(-1, Clock.doTick, timerParams);


after linux boot is completed(without dsp2 firmware), menually loading dsp2 firmware, and Timer was work very well.
"echo 41000000.dsp > /sys/bus/platform/drivers/omap-rproc/bind"


The problem is, that copy the dsp2 firmware "/lib/firmware/dra7-dsp2-fw.xe66" and reboot.

When the dsp2 firmware is loaded, a kernel panic occurs, which is caused by the presence of Timer.create() function in .cfg file.

Please check if the Dsp2.cfg file is wrong.

Dsp2.cfg

kernellog.txt