Guest User

NetBSD/riscv boot console log

a guest
Jan 20th, 2025
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.23 KB | Software | 0 0
  1.  
  2. U-Boot SPL 2021.10 (Feb 28 2023 - 21:44:53 +0800)
  3. DDR version: dc2e84f0.
  4. Trying to boot from SPI
  5.  
  6. OpenSBI v1.2
  7. ____ _____ ____ _____
  8. / __ \ / ____| _ \_ _|
  9. | | | |_ __ ___ _ __ | (___ | |_) || |
  10. | | | | '_ \ / _ \ '_ \ \___ \| _ < | |
  11. | |__| | |_) | __/ | | |____) | |_) || |_
  12. \____/| .__/ \___|_| |_|_____/|____/_____|
  13. | |
  14. |_|
  15.  
  16. Platform Name : StarFive VisionFive V2
  17. Platform Features : medeleg
  18. Platform HART Count : 5
  19. Platform IPI Device : aclint-mswi
  20. Platform Timer Device : aclint-mtimer @ 4000000Hz
  21. Platform Console Device : uart8250
  22. Platform HSM Device : jh7110-hsm
  23. Platform PMU Device : ---
  24. Platform Reboot Device : pm-reset
  25. Platform Shutdown Device : pm-reset
  26. Firmware Base : 0x40000000
  27. Firmware Size : 292 KB
  28. Runtime SBI Version : 1.0
  29.  
  30. Domain0 Name : root
  31. Domain0 Boot HART : 1
  32. Domain0 HARTs : 0*,1*,2*,3*,4*
  33. Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
  34. Domain0 Region01 : 0x0000000040000000-0x000000004007ffff ()
  35. Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
  36. Domain0 Next Address : 0x0000000040200000
  37. Domain0 Next Arg1 : 0x0000000042200000
  38. Domain0 Next Mode : S-mode
  39. Domain0 SysReset : yes
  40.  
  41. Boot HART ID : 1
  42. Boot HART Domain : root
  43. Boot HART Priv Version : v1.11
  44. Boot HART Base ISA : rv64imafdcbx
  45. Boot HART ISA Extensions : none
  46. Boot HART PMP Count : 8
  47. Boot HART PMP Granularity : 4096
  48. Boot HART PMP Address Bits: 34
  49. Boot HART MHPM Count : 2
  50. Boot HART MIDELEG : 0x0000000000000222
  51. Boot HART MEDELEG : 0x000000000000b109
  52.  
  53.  
  54. U-Boot 2021.10 (Feb 28 2023 - 21:44:53 +0800), Build: jenkins-VF2_515_Branch_SDK_Release-31
  55.  
  56. CPU: rv64imacu
  57. Model: StarFive VisionFive V2
  58. DRAM: 4 GiB
  59. MMC: sdio0@16010000: 0, sdio1@16020000: 1
  60. Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
  61. *** Warning - bad CRC, using default environment
  62.  
  63. StarFive EEPROM format v2
  64.  
  65. --------EEPROM INFO--------
  66. Vendor : StarFive Technology Co., Ltd.
  67. Product full SN: VF7110B1-2310-D004E000-00003108
  68. data version: 0x2
  69. PCB revision: 0xb2
  70. BOM revision: A
  71. Ethernet MAC0 address: 6c:cf:39:00:5c:b6
  72. Ethernet MAC1 address: 6c:cf:39:00:5c:b7
  73. --------EEPROM INFO--------
  74.  
  75. In: serial@10000000
  76. Out: serial@10000000
  77. Err: serial@10000000
  78. Model: StarFive VisionFive V2
  79. Net: eth0: ethernet@16030000, eth1: ethernet@16040000
  80. switch to partitions #0, OK
  81. mmc1 is current device
  82. found device 1
  83. bootmode flash device 1
  84. ** Invalid partition 3 **
  85. Couldn't find partition mmc 1:3
  86. Can't set block device
  87. ** Invalid partition 3 **
  88. Couldn't find partition mmc 1:3
  89. Can't set block device
  90. Hit any key to stop autoboot: 2  1  0
  91. ** Invalid partition 3 **
  92. Couldn't find partition mmc 1:3
  93. Can't set block device
  94. Importing environment from mmc1 ...
  95. ## Info: input data size = 5676 = 0x162C
  96. ** Invalid partition 3 **
  97. Couldn't find partition mmc 1:3
  98. Can't set block device
  99. ## Warning: defaulting to text format
  100. ## Error: "boot2" not defined
  101. switch to partitions #0, OK
  102. mmc1 is current device
  103. Scanning mmc 1:1...
  104. libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  105. 78Card did not respond to voltage select! : -110
  106. ** Unable to read file ubootefi.var **
  107. Failed to load EFI variables
  108. Found EFI removable media binary efi/boot/bootriscv64.efi
  109. 185024 bytes read in 17 ms (10.4 MiB/s)
  110. libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  111. [?25h
  112.  
  113. \\-__,------,___.
  114.  
  115. \\ __,---` NetBSD/riscv efiboot (riscv64)
  116.  
  117. \\ `---,_. Revision 2.15 (Fri Jan 17 17:43:14 UTC 2025)
  118.  
  119. \\-,_____,.---`
  120.  
  121. \\
  122.  
  123. \\
  124.  
  125. \\
  126.  
  127.  
  128.  
  129. Press return to boot now, any other key for boot prompt
  130.  
  131. booting netbsd - starting in 5 seconds. 4 seconds. 3 seconds. 2 seconds. 1 seconds. 0 seconds.
  132.  
  133. |/-\|/-\|/-\|4557206/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+1853208\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1410212|/-\|/-\|/-\|/-\|/-\|/+736092-\ [575592|/-\|/-\|/+350914-\|/-]=0xaeec08
  134.  
  135. clk u5_dw_i2c_clk_core already disabled
  136. clk u5_dw_i2c_clk_apb already disabled
  137.  
  138. ------------
  139. NetBSD start
  140.  
  141. sp: 0x0000_0000_fd80_2000
  142.  
  143. pc: 0x0000_0000_fce0_0080
  144.  
  145. hart: 0x0000_0000_0000_0001
  146.  
  147. dtb: 0x0000_0000_fda0_0000
  148.  
  149. l1: 0x0000_0000_fd80_b000
  150.  
  151. l2: 0x0000_0000_fd80_a000
  152.  
  153. uspace: 0x0000_0000_fd80_0000
  154.  
  155. bootstk: 0x0000_0000_fd80_2000
  156.  
  157. vtopdiff:0xffff_ffbf_0320_0000
  158.  
  159.  
  160.  
  161. bss: 0x0000_0000_fd75_84a4 - 0x0000_0000_fd80_c000
  162.  
  163.  
  164.  
  165. l2pde: 0x0000_0000_fd80_a800: 0x0000_0000_3f60_2c01
  166.  
  167.  
  168.  
  169. kern: 0x0000_0000_fd80_b000: 0x0000_0000_3f38_00ef
  170.  
  171. kern: 0x0000_0000_fd80_b008: 0x0000_0000_3f40_00ef
  172.  
  173. kern: 0x0000_0000_fd80_b010: 0x0000_0000_3f48_00ef
  174.  
  175. kern: 0x0000_0000_fd80_b018: 0x0000_0000_3f50_00ef
  176.  
  177. kern: 0x0000_0000_fd80_b020: 0x0000_0000_3f58_00ef
  178.  
  179. kern: 0x0000_0000_fd80_b028: 0x0000_0000_3f60_00ef
  180.  
  181. kern: 0x0000_0000_fd80_b030: 0x0000_0000_3f68_00ef
  182.  
  183. kern: 0x0000_0000_fd80_b038: 0x0000_0000_3f70_00ef
  184.  
  185. kern: 0x0000_0000_fd80_b040: 0x0000_0000_3f78_00ef
  186.  
  187. kern: 0x0000_0000_fd80_b048: 0x0000_0000_3f80_00ef
  188.  
  189. kern: 0x0000_0000_fd80_b050: 0x0000_0000_3f88_00ef
  190.  
  191. kern: 0x0000_0000_fd80_b058: 0x0000_0000_3f90_00ef
  192.  
  193. kern: 0x0000_0000_fd80_b060: 0x0000_0000_3f98_00ef
  194.  
  195. kern: 0x0000_0000_fd80_b068: 0x0000_0000_3fa0_00ef
  196.  
  197. kern: 0x0000_0000_fd80_b070: 0x0000_0000_3fa8_00ef
  198.  
  199. kern: 0x0000_0000_fd80_b078: 0x0000_0000_3fb0_00ef
  200.  
  201. dtb: 0x0000_0000_fd80_b080: 0x0000_0000_3f68_00e7
  202.  
  203. PM
  204.  
  205. [ 1.0000000] FDT<0xffffffc002000000>
  206.  
  207. [ 1.0000000] devmap 0xffffffc000821c90
  208.  
  209. [ 1.0000000] bootstrap
  210.  
  211. [ 1.0000000] stdout
  212.  
  213. [ 1.0000000] fdt size a000/9804
  214.  
  215. [ 1.0000000] consinit ok
  216. [ 1.0000000] NetBSD/riscv (fdt) booting ...
  217. [ 1.0000000] FDT /memory @ 0x40080000 size 0x7e72000
  218. [ 1.0000000] FDT /memory @ 0x47f0e000 size 0xb5fd8000
  219. [ 1.0000000] FDT /memory @ 0xfdeea000 size 0x835000
  220. [ 1.0000000] FDT /memory @ 0xfe720000 size 0x3000
  221. [ 1.0000000] FDT /memory @ 0xfe72b000 size 0x1819000
  222. [ 1.0000000] FDT /memory @ 0xfff45000 size 0x400bb000
  223. [ 1.0000000] init_riscv: memory start 40080000 end 140000000 (len fff80000)
  224. [ 1.0000000] cpu_kernel_vm_init: kernel phys start 0xfce00000 end 0xfd800000
  225. [ 1.0000000] cpu_kernel_vm_init: init phys start 0xfd800000 end 0xfd80c000
  226. [ 1.0000000] dm: 0xffffffc000a0ac08 : 0x100000e7
  227. [ 1.0000000] dm: 0xffffffc000a0ac10 : 0x200000e7
  228. [ 1.0000000] dm: 0xffffffc000a0ac18 : 0x300000e7
  229. [ 1.0000000] dm: 0xffffffc000a0ac20 : 0x400000e7
  230. [ 1.0000000] bootargs: console=ttyS0,115200 debug rootwait earlycon=sbi
  231. [ 1.0000000] msgbufaddr = 0xffffffe13fff0000
  232. [ 1.0000000] ------------------------------------------
  233. [ 1.0000000] kern_vtopdiff = 0xffffffbf03200000
  234. [ 1.0000000] memory_start = 0x 40080000
  235. [ 1.0000000] memory_end = 0x 140000000
  236. [ 1.0000000] memory_size = 0x fff80000
  237. [ 1.0000000] kernstart_phys = 0x fce00000
  238. [ 1.0000000] kernend_phys = 0x fd800000
  239. [ 1.0000000] msgbufaddr = 0xffffffe13fff0000
  240. [ 1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000
  241. [ 1.0000000] kernstart_mega = 0xffffffc000000000
  242. [ 1.0000000] kernstart = 0xffffffc000000000
  243. [ 1.0000000] kernend = 0xffffffc000a00000
  244. [ 1.0000000] kernend_mega = 0xffffffc000a00000
  245. [ 1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffd000000000
  246. [ 1.0000000] pmap_direct_base = 0xffffffe000000000
  247. [ 1.0000000] ------------------------------------------
  248. [ 1.0000000] adding 0x40080000 - 0x47ef2000 to freelist 0
  249. [ 1.0000000] adding 0x47f0e000 - 0xfce00000 to freelist 0
  250. [ 1.0000000] adding 0xfd80c000 - 0xfda00000 to freelist 0
  251. [ 1.0000000] adding 0xfda0a000 - 0xfdee6000 to freelist 0
  252. [ 1.0000000] adding 0xfdeea000 - 0xfe71f000 to freelist 0
  253. [ 1.0000000] adding 0xfe720000 - 0xfe723000 to freelist 0
  254. [ 1.0000000] adding 0xfe72b000 - 0xfff44000 to freelist 0
  255. [ 1.0000000] adding 0xfff45000 - 0x13fff0000 to freelist 0
  256. [ 1.0000000] common cpusets bs_pde 0xffffffc000a0a000 ASID max 0 kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000
  257. [ 1.0000000] kva : ffffffc004000000 - ffffffc147e00000
  258. [ 1.0000000] mpstart
  259. sbi_trap_error: hart0: trap handler failed (error -2)
  260. sbi_trap_error: hart0: mcause=0x0000000000000005 mtval=0x0000000040048060
  261. sbi_trap_error: hart0: mepc=0x0000000040004cac mstatus=0x0000000200001800
  262. sbi_trap_error: hart0: ra=0x0000000040009ee2 sp=0x0000000040047f10
  263. sbi_trap_error: hart0: gp=0x0000000000000000 tp=0x0000000040048000
  264. sbi_trap_error: hart0: s0=0x0000000040047f20 s1=0x0000000040048000
  265. sbi_trap_error: hart0: a0=0x0000000040048060 a1=0x0000000000000002
  266. sbi_trap_error: hart0: a2=0x0000000000000000 a3=0x0000000000000019
  267. sbi_trap_error: hart0: a4=0x0000000000000001 a5=0x0000000040048060
  268. sbi_trap_error: hart0: a6=0x00000000400480a8 a7=0x0000000000000004
  269. sbi_trap_error: hart0: s2=0x00000000400241a8 s3=0x0000000000000000
  270. sbi_trap_error: hart0: s4=0x0000000000000000 s5=0x0000000040029000
  271. sbi_trap_error: hart0: s6=0x0000000040029020 s7=0x0000000000000000
  272. sbi_trap_error: hart0: s8=0x000000000000001c s9=0x0000000040035ab0
  273. sbi_trap_error: hart0: s10=0x0000000000000000 s11=0x0000000000000000
  274. sbi_trap_error: hart0: t0=0x0000000000000000 t1=0x0000000000000000
  275. sbi_trap_error: hart0: t2=0x0000000000000000 t3=0x0000000000002000
  276. sbi_trap_error: hart0: t4=0x0000000000000000 t5=0x0000000000000000
  277. sbi_trap_error: hart0: t6=0x0000000000000000
  278. hart0: WARNING: AP 1 failed to start
  279. [ 1.0000000] AP startup problems
  280. [ 1.0000000] Loaded initial symtab at 0xffffffc00085bda8, strtab at 0xffffffc0008e8610, # entries 23958
  281. [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
  282. [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
  283. [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
  284. [ 1.0000000] 2024, 2025
  285. [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved.
  286. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
  287. [ 1.0000000] The Regents of the University of California. All rights reserved.
  288.  
  289. [ 1.0000000] NetBSD 10.99.12 (GENERIC64) #0: Fri Jan 17 17:43:14 UTC 2025
  290. [ 1.0000000] [email protected]:/usr/src/sys/arch/riscv/compile/GENERIC64
  291. [ 1.0000000] total memory = 4085 MB
  292. [ 1.0000000] avail memory = 3951 MB
  293. [ 1.0000000] mainbus0 (root)
  294. [ 1.0000000] simplebus0 at mainbus0: StarFive VisionFive V2
  295. [ 1.0000000] simplebus1 at simplebus0
  296. [ 1.0000000] cpus0 at simplebus0
  297. [ 1.0000000] simplebus2 at simplebus0
  298. [ 1.0000000] cpu0 at cpus0: disabled (unresponsive)
  299. [ 1.0000000] cpu1 at cpus0: SiFive 7-Series Processor (E7, S7, U7 series) imp. 4210427
  300. [ 1.0000000] cpu2 at cpus0: SiFive 7-Series Processor (E7, S7, U7 series) imp. 4210427
  301. [ 1.0000000] cpu3 at cpus0: SiFive 7-Series Processor (E7, S7, U7 series) imp. 4210427
  302. [ 1.0000000] cpu4 at cpus0: SiFive 7-Series Processor (E7, S7, U7 series) imp. 4210427
  303. [ 1.0000000] intc0 at cpu0: local interrupt controller
  304. [ 1.0000000] intc1 at cpu1: local interrupt controller
  305. [ 1.0000000] intc2 at cpu2: local interrupt controller
  306. [ 1.0000000] intc3 at cpu3: local interrupt controller
  307. [ 1.0000000] intc4 at cpu4: local interrupt controller
  308. [ 1.0000000] fclock0 at simplebus0: 24000000 Hz fixed clock (osc)
  309. [ 1.0000000] fclock1 at simplebus0: 50000000 Hz fixed clock (gmac1_rmii_refin)
  310. [ 1.0000000] fclock2 at simplebus0: 51200000 Hz fixed clock (stg_apb)
  311. [ 1.0000000] fclock3 at simplebus0: 50000000 Hz fixed clock (gmac0_rmii_refin)
  312. [ 1.0000000] fclock4 at simplebus0: 297000000 Hz fixed clock (hdmitx0_pixelclk)
  313. [ 1.0000000] fclock5 at simplebus0: 10000000 Hz fixed clock (mipitx_dphy_rxesc)
  314. [ 1.0000000] fclock6 at simplebus0: 297000000 Hz fixed clock (mipitx_dphy_txbytehs)
  315. [ 1.0000000] syscon0 at simplebus1: System Controller Registers
  316. [ 1.0000000] syscon1 at simplebus1: System Controller Registers
  317. [ 1.0000000] syscon2 at simplebus1: System Controller Registers
  318. [ 1.0000000] fclock7 at simplebus0: 125000000 Hz fixed clock (gmac1_rgmii_rxin)
  319. [ 1.0000000] fclock8 at simplebus0: 12288000 Hz fixed clock (i2stx_bclk_ext)
  320. [ 1.0000000] fclock9 at simplebus0: 192000 Hz fixed clock (i2stx_lrck_ext)
  321. [ 1.0000000] fclock10 at simplebus0: 12288000 Hz fixed clock (i2srx_bclk_ext)
  322. [ 1.0000000] fclock11 at simplebus0: 192000 Hz fixed clock (i2srx_lrck_ext)
  323. [ 1.0000000] fclock12 at simplebus0: 49152000 Hz fixed clock (tdm_ext)
  324. [ 1.0000000] fclock13 at simplebus0: 49152000 Hz fixed clock (mclk_ext)
  325. [ 1.0000000] fclock14 at simplebus0: 50000000 Hz fixed clock (jtag_tck_inner)
  326. [ 1.0000000] fclock15 at simplebus0: 50000000 Hz fixed clock (bist_apb)
  327. [ 1.0000000] fclock16 at simplebus0: 125000000 Hz fixed clock (gmac0_rgmii_rxin)
  328. [ 1.0000000] fclock17 at simplebus0: 32768 Hz fixed clock (clk_rtc)
  329. [ 1.0000000] syscon3 at simplebus1: System Controller Registers
  330. [ 1.0000000] plic0 at simplebus1: RISC-V PLIC (136 IRQs)
  331. [ 1.0000000] jh7110pinctrl0 at simplebus1: Pin Controller
  332. [ 1.0000000] ccache0 at simplebus1: L2 cache controller. 2048 KiB/64B 16-way (2048 set).
  333. [ 1.0000000] /soc/clock-controller at simplebus1 not configured
  334. [ 1.0000000] /soc/reset-controller at simplebus1 not configured
  335. [ 1.0000000] /soc/snd-card at simplebus1 not configured
  336. [ 1.0000000] /soc/clint@2000000 at simplebus1 not configured
  337. [ 1.0000000] /soc/spi@13010000 at simplebus1 not configured
  338. [ 1.0000000] /soc/otp@17050000 at simplebus1 not configured
  339. [ 1.0000000] /soc/usbdrd at simplebus1 not configured
  340. [ 1.0000000] /soc/rtc@17040000 at simplebus1 not configured
  341. [ 1.0000000] /soc/pmu@17030000 at simplebus1 not configured
  342. [ 1.0000000] com0 at simplebus1: couldn't get clock
  343. [ 1.0000000] dwiic0 at simplebus1: missing clock
  344. [ 1.0000000] dwcmmc0 at simplebus1: couldn't get clock biu
  345. [ 1.0000000] dwcmmc1 at simplebus1: couldn't get clock biu
  346. [ 1.0000000] /soc/ethernet@16030000 at simplebus1 not configured
  347. [ 1.0000000] /soc/ethernet@16040000 at simplebus1 not configured
  348. [ 1.0000000] /soc/dmc@100b0000 at simplebus1 not configured
  349. [ 1.0000000] /gpio-restart at simplebus0 not configured
  350. [ 1.0000000] /soc/pmu at simplebus1 not configured
  351. [ 1.0000000] WARNING: system needs entropy for security; see entropy(7)
  352. [ 1.1899962] cpu_boot_secondary_processors: starting secondary processors
  353. [ 1.1899962] cpu_boot_secondary_processors: secondary processors hatched. 3 running
  354. [ 1.2099927] swwdog0: software watchdog initialized
  355. [ 1.2199912] WARNING: 5 errors while detecting hardware; check system log.
  356. [ 1.2199912] boot device: <unknown>
  357. [ 1.2299890] root device:
Tags: netbsd riscv
Advertisement
Add Comment
Please, Sign In to add comment