Advertisement
Guest User

Untitled

a guest
Jun 12th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.22 KB | None | 0 0
  1. [312]HELLO! BOOT0 is starting!
  2. [315]BOOT0 commit : 882671f
  3. [317]set pll start
  4. [319]periph0 has been enabled
  5. [322]set pll end
  6. [324]board init ok
  7. [326]DRAM only have internal ZQ!!
  8. [329]get_pmu_exist() = -1
  9. [331]ddr_efuse_type: 0x0
  10. [334][AUTO DEBUG] single rank and full DQ!
  11. [338]ddr_efuse_type: 0x0
  12. [341][AUTO DEBUG] rank 0 row = 16
  13. [344][AUTO DEBUG] rank 0 bank = 8
  14. [347][AUTO DEBUG] rank 0 page size = 2 KB
  15. [351]DRAM BOOT DRIVE INFO: V0.24
  16. [354]DRAM CLK = 792 MHz
  17. [356]DRAM Type = 3 (2:DDR2,3:DDR3)
  18. [360]DRAMC ZQ value: 0x7b7bfb
  19. [362]DRAM ODT value: 0x42.
  20. [365]ddr_efuse_type: 0x0
  21. [368]DRAM SIZE =1024 M
  22. [371]DRAM simple test OK.
  23. [374]dram size =1024
  24. [376]card no is 0
  25. [377]sdcard 0 line count 4
  26. [380][mmc]: mmc driver ver 2021-04-2 16:45
  27. [389][mmc]: Wrong media type 0x0
  28. [392][mmc]: ***Try SD card 0***
  29. [403][mmc]: HSSDR52/SDR25 4 bit
  30. [406][mmc]: 50000000 Hz
  31. [408][mmc]: 7612 MB
  32. [410][mmc]: ***SD/MMC 0 init OK!!!***
  33. [446]Loading boot-pkg Succeed(index=1).
  34. [450]Entry_name = opensbi
  35. [453]Entry_name = dtb
  36. [455]Entry_name = u-boot
  37. [459]Adding DRAM info to DTB.
  38. [464]Jump to second Boot.
  39.  
  40. OpenSBI v1.0-2-g4bcaf9a
  41. ____ _____ ____ _____
  42. / __ \ / ____| _ \_ _|
  43. | | | |_ __ ___ _ __ | (___ | |_) || |
  44. | | | | '_ \ / _ \ '_ \ \___ \| _ < | |
  45. | |__| | |_) | __/ | | |____) | |_) || |_
  46. \____/| .__/ \___|_| |_|_____/|____/_____|
  47. | |
  48. |_|
  49.  
  50. Platform Name : Sipeed Lichee RV Dock
  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 : 252 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.07-rc3-35470-gafc07cec42 (May 29 2022 - 15:57:41 +0200)
  88.  
  89. DRAM: 1 GiB
  90. sunxi_set_gate: (CLK#24) unhandled
  91. Core: 51 devices, 21 uclasses, devicetree: board
  92. WDT: Started watchdog@6011000 with servicing (16s timeout)
  93. MMC: mmc@4020000: 0, mmc@4021000: 1
  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. => load mmc 0:1 ${kernel_addr_r} Image-smaeul.gz
  101. 3895865 bytes read in 685 ms (5.4 MiB/s)
  102. => setenv bootargs "earlycon=sbi console=ttyS0,115200n8 root=/dev/mmcblk0p2 cma=96M"
  103. => setenv kernel_comp_addr_r 0x44000000
  104. => setenv kernel_comp_size 0xb000000
  105. => booti ${kernel_addr_r} - ${fdtcontroladdr}
  106. Uncompressing Kernel Image
  107. Moving Image from 0x40040000 to 0x40200000, end=4111cb88
  108. ## Flattened Device Tree blob at 7fb5fec0
  109. Booting using the fdt blob at 0x7fb5fec0
  110. Loading Device Tree to 0000000042df6000, end 0000000042dfff3e ... OK
  111.  
  112. Starting kernel ...
  113.  
  114. [ 0.000000] Linux version 5.18.0-rc4-396532-gf4bce410a6b4-dirty (hunbalazs@itsz-kabalazs) (riscv64-linux-musl-gcc (Gentoo Hardened 11.3.0 p4) 11.3.0, GNU ld (Gentoo 2.37_p1 p2) 2.37) #8 2
  115. [ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
  116. [ 0.000000] Machine model: Sipeed Lichee RV Dock
  117. [ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
  118. [ 0.000000] printk: bootconsole [sbi0] enabled
  119. [ 0.000000] Zone ranges:
  120. [ 0.000000] DMA32 [mem 0x0000000040200000-0x000000007fffffff]
  121. [ 0.000000] Normal empty
  122. [ 0.000000] Movable zone start for each node
  123. [ 0.000000] Early memory node ranges
  124. [ 0.000000] node 0: [mem 0x0000000040200000-0x000000007fffffff]
  125. [ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000007fffffff]
  126. [ 0.000000] riscv: SBI specification v0.3 detected
  127. [ 0.000000] riscv: SBI implementation ID=0x1 Version=0x10000
  128. [ 0.000000] riscv: SBI TIME extension detected
  129. [ 0.000000] riscv: SBI IPI extension detected
  130. [ 0.000000] riscv: SBI RFENCE extension detected
  131. [ 0.000000] riscv: SBI SRST extension detected
  132. [ 0.000000] riscv: base ISA extensions acdfim
  133. [ 0.000000] riscv: ELF capabilities acdfim
  134. [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257544
  135. [ 0.000000] Kernel command line: earlycon=sbi console=ttyS0,115200n8 root=/dev/mmcblk0p2 cma=96M
  136. [ 0.000000] Unknown kernel command line parameters "cma=96M", will be passed to user space.
  137. [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
  138. [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
  139. [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  140. [ 0.000000] Memory: 1012000K/1046528K available (4725K kernel code, 4834K rwdata, 2048K rodata, 2151K init, 294K bss, 34528K reserved, 0K cma-reserved)
  141. [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
  142. [ 0.000000] Trampoline variant of Tasks RCU enabled.
  143. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  144. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  145. [ 0.000000] OF: of_irq_init: found /cpus/cpu@0/interrupt-controller with parent (null)
  146. [ 0.000000] OF: of_irq_init: found /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
  147. [ 0.000000] OF: of_irq_init: found /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
  148. [ 0.000000] OF: of_irq_init: init /cpus/cpu@0/interrupt-controller with parent (null)
  149. [ 0.000000] riscv-intc: 64 local interrupts mapped
  150. [ 0.000000] OF: of_irq_init: init /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
  151. [ 0.000000] plic: interrupt-controller@10000000: mapped 176 interrupts with 1 handlers for 2 contexts.
  152. [ 0.000000] OF: of_irq_init: init /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
  153. [ 0.000000] random: get_random_bytes called from start_kernel+0x432/0x598 with crng_init=0
  154. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
  155. [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  156. [ 0.000000] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  157. [ 0.008383] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
  158. [ 0.018016] Console: colour dummy device 80x25
  159. [ 0.022468] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
  160. [ 0.032725] pid_max: default: 32768 minimum: 301
  161. [ 0.037501] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
  162. [ 0.044867] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
  163. [ 0.054583] cblist_init_generic: Setting adjustable number of callback queues.
  164. [ 0.061781] cblist_init_generic: Setting shift to 0 and lim to 1.
  165. [ 0.068095] ASID allocator using 16 bits (65536 entries)
  166. [ 0.073556] rcu: Hierarchical SRCU implementation.
  167. [ 0.078920] devtmpfs: initialized
  168. [ 0.099882] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  169. [ 0.109616] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
  170. [ 0.116412] pinctrl core: initialized pinctrl subsystem
  171. [ 0.123279] NET: Registered PF_NETLINK/PF_ROUTE protocol family
  172. [ 0.129800] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
  173. [ 0.136887] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
  174. [ 0.145840] thermal_sys: Registered thermal governor 'bang_bang'
  175. [ 0.145853] thermal_sys: Registered thermal governor 'step_wise'
  176. [ 0.151802] thermal_sys: Registered thermal governor 'user_space'
  177. [ 0.158760] cpuidle: using governor menu
  178. [ 0.206591] platform 5460000.tcon-top: Fixing up cyclic dependency with 5200000.mixer
  179. [ 0.214516] platform 5460000.tcon-top: Fixing up cyclic dependency with 5100000.mixer
  180. [ 0.223686] platform 5461000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
  181. [ 0.233664] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
  182. [ 0.244044] platform 5500000.hdmi: Fixing up cyclic dependency with 5460000.tcon-top
  183. [ 0.259308] platform 7090000.rtc: Fixing up cyclic dependency with 7010000.clock-controller
  184. [ 0.273578] platform connector: Fixing up cyclic dependency with 5500000.hdmi
  185. [ 0.299696] iommu: Default domain type: Translated
  186. [ 0.304576] iommu: DMA domain TLB invalidation policy: strict mode
  187. [ 0.311313] usbcore: registered new interface driver usbfs
  188. [ 0.316851] usbcore: registered new interface driver hub
  189. [ 0.322194] usbcore: registered new device driver usb
  190. [ 0.330734] clocksource: Switched to clocksource riscv_clocksource
  191. [ 0.366628] NET: Registered PF_INET protocol family
  192. [ 0.371734] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
  193. [ 0.380992] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
  194. [ 0.389349] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
  195. [ 0.397195] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
  196. [ 0.404386] TCP: Hash tables configured (established 8192 bind 8192)
  197. [ 0.411010] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
  198. [ 0.417677] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
  199. [ 0.425012] NET: Registered PF_UNIX/PF_LOCAL protocol family
  200. [ 0.433404] Initialise system trusted keyrings
  201. [ 0.438002] workingset: timestamp_bits=46 max_order=18 bucket_order=0
  202. [ 0.445439] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  203. [ 0.506689] NET: Registered PF_ALG protocol family
  204. [ 0.511447] Key type asymmetric registered
  205. [ 0.515592] Asymmetric key parser 'x509' registered
  206. [ 0.520589] io scheduler mq-deadline registered
  207. [ 0.577572] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
  208. [ 0.596447] loop: module loaded
  209. [ 0.601479] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  210. [ 0.607974] ehci-platform: EHCI generic platform driver
  211. [ 0.613582] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  212. [ 0.619725] ohci-platform: OHCI generic platform driver
  213. [ 0.629501] sun6i-rtc 7090000.rtc: registered as rtc0
  214. [ 0.634612] sun6i-rtc 7090000.rtc: setting system clock to 1970-01-02T00:00:10 UTC (86410)
  215. [ 0.642831] sun6i-rtc 7090000.rtc: RTC enabled
  216. [ 0.647723] i2c_dev: i2c /dev entries driver
  217. [ 0.654130] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
  218. [ 0.666042] ledtrig-cpu: registered to indicate activity on CPUs
  219. [ 0.672459] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz)
  220. [ 0.681762] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  221. [ 0.689517] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  222. [ 0.697318] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  223. [ 0.705299] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  224. [ 0.712944] sun8i-ce 3040000.crypto: Register cbc(aes)
  225. [ 0.718080] sun8i-ce 3040000.crypto: Register ecb(aes)
  226. [ 0.723257] sun8i-ce 3040000.crypto: Register cbc(des3_ede)
  227. [ 0.728890] sun8i-ce 3040000.crypto: Register ecb(des3_ede)
  228. [ 0.734521] sun8i-ce 3040000.crypto: Register md5
  229. [ 0.739291] sun8i-ce 3040000.crypto: Register sha1
  230. [ 0.744145] sun8i-ce 3040000.crypto: Register sha224
  231. [ 0.749173] sun8i-ce 3040000.crypto: Register sha256
  232. [ 0.754235] sun8i-ce 3040000.crypto: Register sha384
  233. [ 0.759244] sun8i-ce 3040000.crypto: Register sha512
  234. [ 0.764259] sun8i-ce 3040000.crypto: Register stdrng
  235. [ 0.770067] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0
  236. [ 0.778755] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000158
  237. [ 0.787468] Oops [#1]
  238. [ 0.789803] Modules linked in:
  239. [ 0.792924] CPU: 0 PID: 0 Comm: Not tainted 5.18.0-rc4-396532-gf4bce410a6b4-dirty #8
  240. [ 0.800809] Hardware name: Sipeed Lichee RV Dock (DT)
  241. [ 0.805923] epc : account_system_index_time+0x10/0x62
  242. [ 0.811037] ra : account_system_time+0x6c/0x7a
  243. [ 0.815630] epc : ffffffff8002dfe2 ra : ffffffff8002e0a0 sp : ffffffc8041839a0
  244. [ 0.822909] gp : ffffffff80ed1e88 tp : ffffffd801646640 t0 : 0000000000046000
  245. [ 0.830189] t1 : ffffffd83ee39940 t2 : 0000000000000040 s0 : ffffffc8041839b0
  246. [ 0.837469] s1 : 0000000000000000 a0 : ffffffd801646640 a1 : 00000000003d0900
  247. [ 0.844750] a2 : 0000000000000002 a3 : 0000000000000000 a4 : 00000000003d0900
  248. [ 0.852029] a5 : 00000000003d0900 a6 : 00000000000f0000 a7 : ffffffff80f05678
  249. [ 0.859309] s2 : ffffffff80ed1850 s3 : ffffffc804183c90 s4 : ffffffff80e85ae0
  250. [ 0.866589] s5 : 00000000297c3f87 s6 : 0000000000000000 s7 : 0000000000000000
  251. [ 0.873869] s8 : 0000000000000001 s9 : ffffffff80e85a80 s10: 0000000000000001
  252. [ 0.881150] s11: ffffffff800554c0 t3 : 0000000000000000 t4 : ffffffd801e02000
  253. [ 0.888429] t5 : ffffffd8013c0b78 t6 : ffffffd8014c5200
  254. [ 0.893802] status: 8000000201800100 badaddr: 0000000000000158 cause: 000000000000000d
  255. [ 0.901777] [<ffffffff8002e216>] account_process_tick+0x2c/0xa8
  256. [ 0.907756] [<ffffffff80049a4c>] update_process_times+0x44/0x9e
  257. [ 0.913736] [<ffffffff80055502>] tick_sched_timer+0x42/0x9a
  258. [ 0.919371] [<ffffffff80049e28>] __hrtimer_run_queues.constprop.0+0xa4/0x1ca
  259. [ 0.926476] [<ffffffff8004aa92>] hrtimer_interrupt+0xe2/0x234
  260. [ 0.932283] [<ffffffff8035363a>] sun4i_timer_interrupt+0x1c/0x26
  261. [ 0.938350] [<ffffffff8003612e>] __handle_irq_event_percpu+0x4c/0x106
  262. [ 0.944850] [<ffffffff8003626a>] handle_irq_event+0x36/0x90
  263. [ 0.950483] [<ffffffff800391ce>] handle_fasteoi_irq+0x70/0x18e
  264. [ 0.956377] [<ffffffff80035886>] generic_handle_domain_irq+0x28/0x3a
  265. [ 0.962790] [<ffffffff802395fa>] plic_handle_irq+0x74/0xd8
  266. [ 0.968337] [<ffffffff80035886>] generic_handle_domain_irq+0x28/0x3a
  267. [ 0.974750] [<ffffffff8023927a>] riscv_intc_irq+0x2e/0x46
  268. [ 0.980210] [<ffffffff80498f1a>] generic_handle_arch_irq+0x34/0x4e
  269. [ 0.986450] [<ffffffff800021d6>] ret_from_exception+0x0/0xc
  270. [ 0.992089] ---[ end trace 0000000000000000 ]---
  271. [ 0.996765] Kernel panic - not syncing: Fatal exception in interrupt
  272. [ 1.003182] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement