Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./spike -d -H --rbb-port=9824 -m0x80000000:0x20000,0x90000000:0x100000,0x00000000:0x20000 u-boot-spl
- core 0: 0x0000000000000800 (0x00c0006f) j pc + 0xc
- :
- core 0: 0x000000000000080c (0x0ff0000f) fence
- :
- core 0: 0x0000000000000810 (0x7b241073) csrw dscratch, s0
- :
- core 0: 0x0000000000000814 (0xf1402473) csrr s0, mhartid
- :
- core 0: 0x0000000000000818 (0x10802023) sw s0, 256(zero)
- :
- core 0: 0x000000000000081c (0x40044403) lbu s0, 1024(s0)
- :
- core 0: 0x0000000000000820 (0x00147413) andi s0, s0, 1
- :
- core 0: 0x0000000000000824 (0x02041063) bnez s0, pc + 32
- :
- core 0: 0x0000000000000828 (0xf1402473) csrr s0, mhartid
- :
- core 0: 0x000000000000082c (0x40044403) lbu s0, 1024(s0)
- :
- core 0: 0x0000000000000830 (0x00247413) andi s0, s0, 2
- :
- core 0: 0x0000000000000834 (0xfc0418e3) bnez s0, pc - 48
- :
- core 0: 0x0000000000000838 (0xfddff06f) j pc - 0x24 ------->>>>>>>>> loop after this line.
- :
- core 0: 0x0000000000000814 (0xf1402473) csrr s0, mhartid
- -------------------------------------
- (gdb) target remote localhost:3333
- Remote debugging using localhost:3333
- hang () at /media/cyhn/yocto-scratch/build/tmp/work/koncas-poky-linux/u-boot-koncas/1_2023.10-r0/git/lib/hang.c:33
- 33 for (;;)
- (gdb) continue
- Continuing.
- ^C
- Program received signal SIGINT, Interrupt.
- hang () at /media/cyhn/yocto-scratch/build/tmp/work/koncas-poky-linux/u-boot-koncas/1_2023.10-r0/git/lib/hang.c:33
- 33 for (;;)
- (gdb) clear
- No breakpoint at this line.
- (gdb) list
- 28 puts("### ERROR ### Please RESET the board ###\n");
- 29 #endif
- 30 bootstage_error(BOOTSTAGE_ID_NEED_RESET);
- 31 if (IS_ENABLED(CONFIG_SANDBOX))
- 32 os_exit(1);
- 33 for (;;)
- 34 ;
- 35 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement