<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 8, 2021, 11:03 PM Richi Dubey <<a href="mailto:richidubey@gmail.com">richidubey@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>I tried with both smp and sp tests:</div><div>-------------------------------------------------- ------------------------- ------------------------- </div><div>rdubey@hpc1:~/quick-start$ ~/quick-start/rtems/6/bin/powerpc-rtems6-gdb --command=~/quick-start/rtems/6/bin/ppc.gdb ~/quick-start/src/rtems/build/powerpc/qoriq_e6500_64/testsuites/smptests/smpschededf04.exe<br>GNU gdb (GDB) 10.1.90.20210409-git<br>...<br>Loading section .toc, size 0x60 lma 0x78bdc<br>Loading section .rtemsroset, size 0xa8 lma 0x78c3c<br>Loading section .data, size 0x800 lma 0x78ce4<br>Start address 0x0000000000004000, load size 480477<br>Transfer rate: 16757 KB/sec, 1945 bytes/write.<br> Id Target Id Frame <br>* 1 Thread 1.1 (CPU#0 [running]) bsp_section_start_begin () at ../../../bsps/powerpc/qoriq/start/start.S:55<br> 2 Thread 1.2 (CPU#1 [halted ]) 0x00000000fffffffc in ?? ()<br> 3 Thread 1.3 (CPU#2 [halted ]) 0x00000000fffffffc in ?? ()<br> 4 Thread 1.4 (CPU#3 [halted ]) 0x00000000fffffffc in ?? ()<br></div><div>...</div><div>Start address 0x0000000000004000, load size 480477<br>Transfer rate: 16179 KB/sec, 1945 bytes/write.<br>(gdb) c<br>Continuing.<br></div><div><div><br></div><div>------------------------- ------------------------- ------------------------- ------------------------- </div></div><div><br></div><div>Both of them hang after I run 'c'. On stepping:</div><div><br></div><div>------------------------- ------------------------- ------------------------- ------------------------- <br></div><div>Loading section .rtemsroset, size 0xb0 lma 0x7681c<br>Loading section .data, size 0x860 lma 0x768cc<br>Start address 0x0000000000004000, load size 471337<br>Transfer rate: 15872 KB/sec, 1955 bytes/write.<br>(gdb) ni<br>56 bl .Linitearly<br>(gdb) <br>bsp_section_start_begin () at ../../../bsps/powerpc/qoriq/start/start.S:153<br>153 mfspr r0, BOOKE_EPCR<br>(gdb) <br>154 oris r0, r0, BOOKE_EPCR_ICM >> 16<br>(gdb) <br>155 mtspr BOOKE_EPCR, r0<br>(gdb) <br>158 mfmsr r0<br>(gdb) <br>159 oris r0, r0, MSR_CM >> 16<br>(gdb) <br>160 mtmsr r0<br>(gdb) <br>161 isync<br>(gdb) <br>165 mfspr r0, BOOKE_TCR<br>(gdb) <br>166 LWI r4, BOOKE_TCR_DIE<br>(gdb) <br>0x0000000000004288 166 LWI r4, BOOKE_TCR_DIE<br>(gdb) <br>167 andc r0, r0, r4<br>(gdb) <br>168 mtspr BOOKE_TCR, r0<br>(gdb) <br>178 LWI r0, QORIQ_INITIAL_BUCSR<br>(gdb) <br>0x0000000000004298 178 LWI r0, QORIQ_INITIAL_BUCSR<br>(gdb) <br>179 mtspr FSL_EIS_BUCSR, r0<br>(gdb) <br>180 isync<br>(gdb) <br>185 LWI r0, QORIQ_INITIAL_HID0<br>(gdb) <br>0x00000000000042a8 185 LWI r0, QORIQ_INITIAL_HID0<br>(gdb) <br>186 mtspr HID0, r0<br>(gdb) <br>190 LA32 r2, .TOC.<br>(gdb) <br>0x00000000000042b4 190 LA32 r2, .TOC.<br>(gdb) <br>199 SET_SELF_CPU_CONTROL CPU_SELF, r5<br>(gdb) <br>0x00000000000042bc 199 SET_SELF_CPU_CONTROL CPU_SELF, r5<br>(gdb) <br>0x00000000000042c0 199 SET_SELF_CPU_CONTROL CPU_SELF, r5<br>(gdb) <br>0x00000000000042c4 199 SET_SELF_CPU_CONTROL CPU_SELF, r5<br>(gdb) <br>0x00000000000042c8 199 SET_SELF_CPU_CONTROL CPU_SELF, r5<br>(gdb) <br>0x0000000000000000 in ?? ()<br>(gdb) <br>0x0000000000000000 in ?? ()<br>(gdb) <br>0x0000000000000000 in ?? ()<br>(gdb) <br>0x0000000000000000 in ?? ()<br>(gdb) <br>0x0000000000000000 in ?? ()<br>(gdb) <br></div><div><br></div><div>------------------------- ------------------------- ------------------------- <br></div><div>Is there a way to solve this?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">How did you start qemu? Google shows some other results for this that involve a series of arguments. But I have no idea if this works with our bsp.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div>