Advertisement
Guest User

Untitled

a guest
May 6th, 2024
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. ./spike -d -H --rbb-port=9824 -m0x80000000:0x20000,0x90000000:0x100000,0x00000000:0x20000 u-boot-spl
  2.  
  3.  
  4. core 0: 0x0000000000000800 (0x00c0006f) j pc + 0xc
  5. :
  6. core 0: 0x000000000000080c (0x0ff0000f) fence
  7. :
  8. core 0: 0x0000000000000810 (0x7b241073) csrw dscratch, s0
  9. :
  10. core 0: 0x0000000000000814 (0xf1402473) csrr s0, mhartid
  11. :
  12. core 0: 0x0000000000000818 (0x10802023) sw s0, 256(zero)
  13. :
  14. core 0: 0x000000000000081c (0x40044403) lbu s0, 1024(s0)
  15. :
  16. core 0: 0x0000000000000820 (0x00147413) andi s0, s0, 1
  17. :
  18. core 0: 0x0000000000000824 (0x02041063) bnez s0, pc + 32
  19. :
  20. core 0: 0x0000000000000828 (0xf1402473) csrr s0, mhartid
  21. :
  22. core 0: 0x000000000000082c (0x40044403) lbu s0, 1024(s0)
  23. :
  24. core 0: 0x0000000000000830 (0x00247413) andi s0, s0, 2
  25. :
  26. core 0: 0x0000000000000834 (0xfc0418e3) bnez s0, pc - 48
  27. :
  28. core 0: 0x0000000000000838 (0xfddff06f) j pc - 0x24 ------->>>>>>>>> loop after this line.
  29. :
  30. core 0: 0x0000000000000814 (0xf1402473) csrr s0, mhartid
  31.  
  32. -------------------------------------
  33.  
  34. (gdb) target remote localhost:3333
  35. Remote debugging using localhost:3333
  36. hang () at /media/cyhn/yocto-scratch/build/tmp/work/koncas-poky-linux/u-boot-koncas/1_2023.10-r0/git/lib/hang.c:33
  37. 33 for (;;)
  38. (gdb) continue
  39. Continuing.
  40. ^C
  41. Program received signal SIGINT, Interrupt.
  42. hang () at /media/cyhn/yocto-scratch/build/tmp/work/koncas-poky-linux/u-boot-koncas/1_2023.10-r0/git/lib/hang.c:33
  43. 33 for (;;)
  44. (gdb) clear
  45. No breakpoint at this line.
  46. (gdb) list
  47. 28 puts("### ERROR ### Please RESET the board ###\n");
  48. 29 #endif
  49. 30 bootstage_error(BOOTSTAGE_ID_NEED_RESET);
  50. 31 if (IS_ENABLED(CONFIG_SANDBOX))
  51. 32 os_exit(1);
  52. 33 for (;;)
  53. 34 ;
  54. 35 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement