Advertisement
Guest User

Untitled

a guest
Jun 12th, 2022
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.09 KB | None | 0 0
  1. [30]HELLO! BOOT0 is starting!
  2. [32]BOOT0 commit : 882671f
  3. [35]set pll start
  4. [37]periph0 has been enabled
  5. [40]set pll end
  6. [41]board init ok
  7. [43]DRAM only have internal ZQ!!
  8. [46]get_pmu_exist() = -1
  9. [48]ddr_efuse_type: 0x0
  10. [51][AUTO DEBUG] single rank and full DQ!
  11. [55]ddr_efuse_type: 0x0
  12. [58][AUTO DEBUG] rank 0 row = 16
  13. [61][AUTO DEBUG] rank 0 bank = 8
  14. [64][AUTO DEBUG] rank 0 page size = 2 KB
  15. [68]DRAM BOOT DRIVE INFO: V0.24
  16. [71]DRAM CLK = 792 MHz
  17. [73]DRAM Type = 3 (2:DDR2,3:DDR3)
  18. [76]DRAMC ZQ value: 0x7b7bfb
  19. [79]DRAM ODT value: 0x42.
  20. [81]ddr_efuse_type: 0x0
  21. [84]DRAM SIZE =1024 M
  22. [87]DRAM simple test OK.
  23. [90]dram size =1024
  24. [92]card no is 0
  25. [93]sdcard 0 line count 4
  26. [96][mmc]: mmc driver ver 2021-04-2 16:45
  27. [105][mmc]: Wrong media type 0x0
  28. [108][mmc]: ***Try SD card 0***
  29. [118][mmc]: HSSDR52/SDR25 4 bit
  30. [121][mmc]: 50000000 Hz
  31. [123][mmc]: 7612 MB
  32. [125][mmc]: ***SD/MMC 0 init OK!!!***
  33. [162]Loading boot-pkg Succeed(index=1).
  34. [165]Entry_name = opensbi
  35. [168]Entry_name = dtb
  36. [171]Entry_name = u-boot
  37. [174]Adding DRAM info to DTB.
  38. [179]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. 3779940 bytes read in 660 ms (5.5 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=4111a968
  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) #7 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 (4495K kernel code, 4828K rwdata, 2048K rodata, 2151K init, 294K bss, 34528K reserved, 0K cma-reserved)
  141. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  142. [ 0.000000] OF: of_irq_init: found /cpus/cpu@0/interrupt-controller with parent (null)
  143. [ 0.000000] OF: of_irq_init: found /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
  144. [ 0.000000] OF: of_irq_init: found /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
  145. [ 0.000000] OF: of_irq_init: init /cpus/cpu@0/interrupt-controller with parent (null)
  146. [ 0.000000] riscv-intc: 64 local interrupts mapped
  147. [ 0.000000] OF: of_irq_init: init /soc/interrupt-controller@10000000 with parent /cpus/cpu@0/interrupt-controller
  148. [ 0.000000] plic: interrupt-controller@10000000: mapped 176 interrupts with 1 handlers for 2 contexts.
  149. [ 0.000000] OF: of_irq_init: init /soc/interrupt-controller@6010000 with parent /soc/interrupt-controller@10000000
  150. [ 0.000000] random: get_random_bytes called from start_kernel+0x432/0x598 with crng_init=0
  151. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
  152. [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  153. [ 0.000001] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  154. [ 0.008382] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
  155. [ 0.018022] Console: colour dummy device 80x25
  156. [ 0.022467] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
  157. [ 0.032723] pid_max: default: 32768 minimum: 301
  158. [ 0.037500] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
  159. [ 0.044865] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
  160. [ 0.054343] ASID allocator using 16 bits (65536 entries)
  161. [ 0.060231] devtmpfs: initialized
  162. [ 0.083273] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  163. [ 0.092980] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
  164. [ 0.099778] pinctrl core: initialized pinctrl subsystem
  165. [ 0.106814] NET: Registered PF_NETLINK/PF_ROUTE protocol family
  166. [ 0.113335] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
  167. [ 0.120422] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
  168. [ 0.129374] thermal_sys: Registered thermal governor 'bang_bang'
  169. [ 0.129389] thermal_sys: Registered thermal governor 'step_wise'
  170. [ 0.135340] thermal_sys: Registered thermal governor 'user_space'
  171. [ 0.141955] cpuidle: using governor menu
  172. [ 0.191008] platform 5460000.tcon-top: Fixing up cyclic dependency with 5200000.mixer
  173. [ 0.198935] platform 5460000.tcon-top: Fixing up cyclic dependency with 5100000.mixer
  174. [ 0.208132] platform 5461000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
  175. [ 0.218120] platform 5470000.lcd-controller: Fixing up cyclic dependency with 5460000.tcon-top
  176. [ 0.228238] platform 5500000.hdmi: Fixing up cyclic dependency with 5460000.tcon-top
  177. [ 0.243617] platform 7090000.rtc: Fixing up cyclic dependency with 7010000.clock-controller
  178. [ 0.257955] platform connector: Fixing up cyclic dependency with 5500000.hdmi
  179. [ 0.279714] iommu: Default domain type: Translated
  180. [ 0.284550] iommu: DMA domain TLB invalidation policy: strict mode
  181. [ 0.291005] usbcore: registered new interface driver usbfs
  182. [ 0.296997] usbcore: registered new interface driver hub
  183. [ 0.302328] usbcore: registered new device driver usb
  184. [ 0.310296] clocksource: Switched to clocksource riscv_clocksource
  185. [ 0.344433] NET: Registered PF_INET protocol family
  186. [ 0.349477] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
  187. [ 0.358763] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
  188. [ 0.367118] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
  189. [ 0.374958] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
  190. [ 0.382118] TCP: Hash tables configured (established 8192 bind 8192)
  191. [ 0.388580] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
  192. [ 0.395199] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
  193. [ 0.402431] NET: Registered PF_UNIX/PF_LOCAL protocol family
  194. [ 0.411027] Initialise system trusted keyrings
  195. [ 0.415599] workingset: timestamp_bits=46 max_order=18 bucket_order=0
  196. [ 0.423019] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  197. [ 0.486503] NET: Registered PF_ALG protocol family
  198. [ 0.491254] Key type asymmetric registered
  199. [ 0.495400] Asymmetric key parser 'x509' registered
  200. [ 0.500395] io scheduler mq-deadline registered
  201. [ 0.553619] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
  202. [ 0.571935] loop: module loaded
  203. [ 0.576939] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  204. [ 0.583426] ehci-platform: EHCI generic platform driver
  205. [ 0.589025] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  206. [ 0.595160] ohci-platform: OHCI generic platform driver
  207. [ 0.604787] sun6i-rtc 7090000.rtc: registered as rtc0
  208. [ 0.609891] sun6i-rtc 7090000.rtc: setting system clock to 1970-01-02T00:01:57 UTC (86517)
  209. [ 0.618110] sun6i-rtc 7090000.rtc: RTC enabled
  210. [ 0.622874] i2c_dev: i2c /dev entries driver
  211. [ 0.629238] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
  212. [ 0.640776] ledtrig-cpu: registered to indicate activity on CPUs
  213. [ 0.647080] sun8i-ce 3040000.crypto: Set mod clock to 300000000 (300 Mhz) from 400000000 (400 Mhz)
  214. [ 0.656528] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  215. [ 0.664257] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  216. [ 0.671999] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  217. [ 0.679844] sun8i-ce 3040000.crypto: will run requests pump with realtime priority
  218. [ 0.687467] sun8i-ce 3040000.crypto: Register cbc(aes)
  219. [ 0.692607] sun8i-ce 3040000.crypto: Register ecb(aes)
  220. [ 0.697782] sun8i-ce 3040000.crypto: Register cbc(des3_ede)
  221. [ 0.703414] sun8i-ce 3040000.crypto: Register ecb(des3_ede)
  222. [ 0.709051] sun8i-ce 3040000.crypto: Register md5
  223. [ 0.713816] sun8i-ce 3040000.crypto: Register sha1
  224. [ 0.718671] sun8i-ce 3040000.crypto: Register sha224
  225. [ 0.723699] sun8i-ce 3040000.crypto: Register sha256
  226. [ 0.728729] sun8i-ce 3040000.crypto: Register sha384
  227. [ 0.733764] sun8i-ce 3040000.crypto: Register sha512
  228. [ 0.738792] sun8i-ce 3040000.crypto: Register stdrng
  229. [ 0.744608] sun8i-ce 3040000.crypto: CryptoEngine Die ID 0
  230. [ 0.751333] usbcore: registered new interface driver usbhid
  231. [ 0.756866] usbhid: USB HID core driver
  232. [ 0.764131] NET: Registered PF_INET6 protocol family
  233. [ 0.770670] Segment Routing with IPv6
  234. [ 0.774387] In-situ OAM (IOAM) with IPv6
  235. [ 0.778472] NET: Registered PF_PACKET protocol family
  236. [ 0.786319] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000158
  237. [ 0.795029] Oops [#1]
  238. [ 0.797364] Modules linked in:
  239. [ 0.800485] CPU: 0 PID: 0 Comm: Not tainted 5.18.0-rc4-396532-gf4bce410a6b4-dirty #7
  240. [ 0.808370] Hardware name: Sipeed Lichee RV Dock (DT)
  241. [ 0.813484] epc : account_system_index_time+0x10/0x62
  242. [ 0.818597] ra : account_system_time+0x6c/0x7a
  243. [ 0.823190] epc : ffffffff8002a5ce ra : ffffffff8002a68c sp : ffffffc8041639c0
  244. [ 0.830470] gp : ffffffff80ed08b0 tp : ffffffd80160b640 t0 : 0000000000046000
  245. [ 0.837750] t1 : 0000000000000001 t2 : 0000000000000040 s0 : ffffffc8041639d0
  246. [ 0.845030] s1 : 0000000000000000 a0 : ffffffd80160b640 a1 : 00000000003d0900
  247. [ 0.852310] a2 : 0000000000000002 a3 : 0000000000000000 a4 : 00000000003d0900
  248. [ 0.859590] a5 : 00000000003d0900 a6 : 00000000000f0000 a7 : ffffffff80f03678
  249. [ 0.866870] s2 : ffffffff80ed01d0 s3 : ffffffc804163c90 s4 : ffffffff80e84e60
  250. [ 0.874150] s5 : 000000002a3362aa s6 : 0000000000000000 s7 : 0000000000000000
  251. [ 0.881430] s8 : 0000000000000001 s9 : ffffffff80e84e00 s10: 0000000000000001
  252. [ 0.888710] s11: ffffffff80e84e00 t3 : 0000000000000000 t4 : ffffffd801655000
  253. [ 0.895990] t5 : ffffffd8013a7018 t6 : ffffffd8014ab800
  254. [ 0.901363] status: 8000000201800100 badaddr: 0000000000000158 cause: 000000000000000d
  255. [ 0.909338] [<ffffffff8002a7dc>] account_process_tick+0x2c/0xa8
  256. [ 0.915317] [<ffffffff8003d108>] update_process_times+0x44/0x9e
  257. [ 0.921298] [<ffffffff80047d86>] tick_sched_timer+0x42/0x9a
  258. [ 0.926931] [<ffffffff8003d592>] __hrtimer_run_queues.constprop.0+0x122/0x19e
  259. [ 0.934124] [<ffffffff8003df2e>] hrtimer_interrupt+0xd6/0x1ca
  260. [ 0.939931] [<ffffffff80322b3e>] sun4i_timer_interrupt+0x1c/0x26
  261. [ 0.945998] [<ffffffff80031c40>] __handle_irq_event_percpu+0x4c/0x106
  262. [ 0.952497] [<ffffffff80031d6c>] handle_irq_event+0x26/0x62
  263. [ 0.958131] [<ffffffff80034880>] handle_fasteoi_irq+0x64/0x154
  264. [ 0.964024] [<ffffffff800313f4>] generic_handle_domain_irq+0x28/0x3a
  265. [ 0.970437] [<ffffffff802116c6>] plic_handle_irq+0x74/0xd8
  266. [ 0.975984] [<ffffffff800313f4>] generic_handle_domain_irq+0x28/0x3a
  267. [ 0.982398] [<ffffffff802113d2>] riscv_intc_irq+0x2e/0x46
  268. [ 0.987857] [<ffffffff804602da>] generic_handle_arch_irq+0x34/0x4e
  269. [ 0.994097] [<ffffffff800021d6>] ret_from_exception+0x0/0xc
  270. [ 0.999735] ---[ end trace 0000000000000000 ]---
  271. [ 1.004412] Kernel panic - not syncing: Fatal exception in interrupt
  272. [ 1.010830] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
  273.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement