Advertisement
jcassette

sbi_trap_error

Jul 28th, 2022 (edited)
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.13 KB | None | 0 0
  1. [142]HELLO! BOOT0 is starting!
  2. [145]BOOT0 commit : 882671f
  3. [147]set pll start
  4. [149]periph0 has been enabled
  5. [152]set pll end
  6. [154]board init ok
  7. [156]DRAM only have internal ZQ!!
  8. [159]get_pmu_exist() = -1
  9. [161]ddr_efuse_type: 0x0
  10. [164][AUTO DEBUG] single rank and full DQ!
  11. [168]ddr_efuse_type: 0x0
  12. [171][AUTO DEBUG] rank 0 row = 15
  13. [174][AUTO DEBUG] rank 0 bank = 8
  14. [177][AUTO DEBUG] rank 0 page size = 2 KB
  15. [181]DRAM BOOT DRIVE INFO: V0.24
  16. [184]DRAM CLK = 792 MHz
  17. [186]DRAM Type = 3 (2:DDR2,3:DDR3)
  18. [190]DRAMC ZQ value: 0x7b7bfb
  19. [192]DRAM ODT value: 0x42.
  20. [195]ddr_efuse_type: 0x0
  21. [198]DRAM SIZE =512 M
  22. [201]DRAM simple test OK.
  23. [204]dram size =512
  24. [206]card no is 0
  25. [207]sdcard 0 line count 4
  26. [210][mmc]: mmc driver ver 2021-04-2 16:45
  27. [219][mmc]: Wrong media type 0x0
  28. [222][mmc]: ***Try SD card 0***
  29. [242][mmc]: HSSDR52/SDR25 4 bit
  30. [245][mmc]: 50000000 Hz
  31. [247][mmc]: 15193 MB
  32. [249][mmc]: ***SD/MMC 0 init OK!!!***
  33. [286]Loading boot-pkg Succeed(index=1).
  34. [290]Entry_name = opensbi
  35. [293]Entry_name = dtb
  36. [296]Entry_name = u-boot
  37. [299]Adding DRAM info to DTB.
  38. [304]Jump to second Boot.
  39.  
  40. OpenSBI v0.9
  41. ____ _____ ____ _____
  42. / __ \ / ____| _ \_ _|
  43. | | | |_ __ ___ _ __ | (___ | |_) || |
  44. | | | | '_ \ / _ \ '_ \ \___ \| _ < | |
  45. | |__| | |_) | __/ | | |____) | |_) || |_
  46. \____/| .__/ \___|_| |_|_____/|____/_____|
  47. | |
  48. |_|
  49.  
  50. Platform Name : Sipeed Lichee RV
  51. Platform Features : medeleg
  52. Platform HART Count : 1
  53. Platform IPI Device : aclint-mswi
  54. Platform Timer Device : aclint-mtimer @ 24000000Hz
  55. Platform Console Device : uart8250
  56. Platform HSM Device : ---
  57. Platform Reboot Device : sunxi-wdt-reset
  58. Platform Shutdown Device : ---
  59. Firmware Base : 0x40000000
  60. Firmware Size : 248 KB
  61. Runtime SBI Version : 0.3
  62.  
  63. Domain0 Name : root
  64. Domain0 Boot HART : 0
  65. Domain0 HARTs : 0*
  66. Domain0 Region00 : 0x0000000014008000-0x000000001400bfff (I)
  67. Domain0 Region01 : 0x0000000014000000-0x0000000014007fff (I)
  68. Domain0 Region02 : 0x0000000040000000-0x000000004003ffff ()
  69. Domain0 Region03 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
  70. Domain0 Next Address : 0x000000004a000000
  71. Domain0 Next Arg1 : 0x0000000044000000
  72. Domain0 Next Mode : S-mode
  73. Domain0 SysReset : yes
  74.  
  75. Boot HART ID : 0
  76. Boot HART Domain : root
  77. Boot HART ISA : rv64imafdcvsux
  78. Boot HART Features : scounteren,mcounteren,mcountinhibit,time
  79. Boot HART PMP Count : 16
  80. Boot HART PMP Granularity : 2048
  81. Boot HART PMP Address Bits: 38
  82. Boot HART MHPM Count : 0
  83. Boot HART MIDELEG : 0x0000000000000222
  84. Boot HART MEDELEG : 0x000000000000b109
  85.  
  86.  
  87. U-Boot 2022.04-34337-g17c00409ac (Jul 07 2022 - 10:30:59 +0000)
  88.  
  89. DRAM: 512 MiB
  90. sunxi_set_gate: (CLK#24) unhandled
  91. Core: 32 devices, 18 uclasses, devicetree: board
  92. WDT: Started watchdog@6011000 with servicing (16s timeout)
  93. MMC: mmc@4020000: 0
  94. Loading Environment from nowhere... OK
  95. In: serial@2500000
  96. Out: serial@2500000
  97. Err: serial@2500000
  98. Net: No ethernet found.
  99. Hit any key to stop autoboot: 0
  100. MMC Device 1 not found
  101. no mmc device at slot 1
  102. switch to partitions #0, OK
  103. mmc0 is current device
  104. Scanning mmc 0:1...
  105. libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  106. Scanning disk mmc@4020000.blk...
  107. Found 3 disks
  108. ** Unable to read file ubootefi.var **
  109. Failed to load EFI variables
  110. BootOrder not defined
  111. EFI boot manager: Cannot load any image
  112. Found EFI removable media binary efi/boot/bootriscv64.efi
  113. 180880 bytes read in 33 ms (5.2 MiB/s)
  114. libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  115. Booting /efi\boot\bootriscv64.efi
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142. \\-__,------,___.
  143. \\ __,---` NetBSD/riscv efiboot (riscv64)
  144. \\ `---,_. Revision 2.13 (Tue Jul 26 19:04:19 UTC 2022)
  145. \\-,_____,.---`
  146. \\
  147. \\
  148. \\
  149.  
  150. Press return to boot now, any other key for boot prompt
  151. booting netbsd - starting in 0 seconds.
  152. 2548320+893744+4858252+1433204 [333000+205978]=0xc841b8
  153. sbi_trap_error: hart0: trap handler failed (error -2)
  154. sbi_trap_error: hart0: mcause=0x0000000000000005 mtval=0x000000c000e00000
  155. sbi_trap_error: hart0: mepc=0x000000004000040c mstatus=0x8000000a01807800
  156. sbi_trap_error: hart0: ra=0x000000005eb2b36a sp=0x000000005fb623b8
  157. sbi_trap_error: hart0: gp=0x0000000000000000 tp=0x000000004003d000
  158. sbi_trap_error: hart0: s0=0x000000005eb40948 s1=0x000000005eb459a0
  159. sbi_trap_error: hart0: a0=0xffffffc000e00000 a1=0x000000005eb40948
  160. sbi_trap_error: hart0: a2=0x0000000000000007 a3=0x000000005eb45f0c
  161. sbi_trap_error: hart0: a4=0x00000000000000ff a5=0x00000000000000ff
  162. sbi_trap_error: hart0: a6=0x00000000000000ff a7=0x0000000000986fd3
  163. sbi_trap_error: hart0: s2=0x0000000000000007 s3=0x000000005eb459a0
  164. sbi_trap_error: hart0: s4=0xffffffc000e00000 s5=0x000000005eb460c0
  165. sbi_trap_error: hart0: s6=0x00000000001fffff s7=0xffffffffffffffff
  166. sbi_trap_error: hart0: s8=0x000000005eb401c8 s9=0x0000000000002401
  167. sbi_trap_error: hart0: s10=0x0000000000000000 s11=0x0000000000000000
  168. sbi_trap_error: hart0: t0=0x000000005fb61f88 t1=0x000000005fb62420
  169. sbi_trap_error: hart0: t2=0x000000005eb26e10 t3=0x0000000000000084
  170. sbi_trap_error: hart0: t4=0x000000005fb779d0 t5=0x000000000003d980
  171. sbi_trap_error: hart0: t6=0x0000000000000001
  172.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement