jcassette

MMC test 1

Apr 24th, 2022 (edited)
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.71 KB | None | 0 0
  1. [140]HELLO! BOOT0 is starting!
  2. [143]BOOT0 commit : 882671f
  3. [146]set pll start
  4. [148]periph0 has been enabled
  5. [151]set pll end
  6. [152]board init ok
  7. [154]DRAM only have internal ZQ!!
  8. [157]get_pmu_exist() = -1
  9. [160]ddr_efuse_type: 0x0
  10. [163][AUTO DEBUG] single rank and full DQ!
  11. [167]ddr_efuse_type: 0x0
  12. [170][AUTO DEBUG] rank 0 row = 15
  13. [173][AUTO DEBUG] rank 0 bank = 8
  14. [176][AUTO DEBUG] rank 0 page size = 2 KB
  15. [180]DRAM BOOT DRIVE INFO: V0.24
  16. [183]DRAM CLK = 792 MHz
  17. [185]DRAM Type = 3 (2:DDR2,3:DDR3)
  18. [188]DRAMC ZQ value: 0x7b7bfb
  19. [191]DRAM ODT value: 0x42.
  20. [193]ddr_efuse_type: 0x0
  21. [196]DRAM SIZE =512 M
  22. [200]DRAM simple test OK.
  23. [202]dram size =512
  24. [204]card no is 0
  25. [206]sdcard 0 line count 4
  26. [208][mmc]: mmc driver ver 2021-04-2 16:45
  27. [218][mmc]: Wrong media type 0x0
  28. [220][mmc]: ***Try SD card 0***
  29. [240][mmc]: HSSDR52/SDR25 4 bit
  30. [243][mmc]: 50000000 Hz
  31. [245][mmc]: 15193 MB
  32. [247][mmc]: ***SD/MMC 0 init OK!!!***
  33. [285]Loading boot-pkg Succeed(index=1).
  34. [288]Entry_name = opensbi
  35. [292]Entry_name = dtb
  36. [294]Entry_name = u-boot
  37. [297]Adding DRAM info to DTB.
  38. [302]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 (Apr 24 2022 - 11:32:16 +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. 1422252 bytes read in 251 ms (5.4 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. Consoles: EFI console
  142. Reading loader env vars from /efi/freebsd/loader.env
  143. Setting currdev to disk0p1:
  144. FreeBSD/riscv EFI loader, Revision 1.1
  145. (Mon Apr 18 21:42:02 UTC 2022 root@freebsd13)
  146.  
  147. Command line arguments: l
  148. Image base: 0x5e9ee000
  149. EFI version: 2.90
  150. EFI Firmware: Das U-Boot (rev 8226.1024)
  151. Console: comconsole (0)
  152. Load Path: /efi\boot\bootriscv64.efi
  153. Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,4eb523c0-c3c2-11ec-b899-00a0981c808f,0xa000,0x19000)
  154. Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,GPT,4eb523c0-c3c2-11ec-b899-00a0981c808f,0xa000,0x19000)
  155. Setting currdev to disk0p1:
  156. Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,GPT,4ebbb80c-c3c2-11ec-b899-00a0981c808f,0x23000,0x7cfd8)
  157. Setting currdev to disk0p2:
  158. Loading /boot/defaults/loader.conf
  159. Loading /boot/defaults/loader.conf
  160. Loading /boot/device.hints
  161. Loading /boot/loader.conf
  162. Loading /boot/loader.conf.local
  163. /
  164. c\
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188. ______ ____ _____ _____
  189. | ____| | _ \ / ____| __ \
  190. | |___ _ __ ___ ___ | |_) | (___ | | | |
  191. | ___| '__/ _ \/ _ \| _ < \___ \| | | |
  192. | | | | | __/ __/| |_) |____) | |__| |
  193. | | | | | | || | | |
  194. |_| |_| \___|\___||____/|_____/|_____/ ``` `
  195. s` `.....---.......--.``` -/
  196. +---------- Welcome to FreeBSD -----------+ +o .--` /y:` +.
  197. | | yo`:. :o `+-
  198. | 1. Boot Multi user [Enter] | y/ -/` -o/
  199. | 2. Boot Single user | .- ::/sy+:.
  200. | 3. Escape to loader prompt | / `-- /
  201. | 4. Reboot | `: :`
  202. | 5. Cons: Video | `: :`
  203. | | / /
  204. | Options: | .- -.
  205. | 6. Kernel: default/kernel (1 of 1) | -- -.
  206. | 7. Boot Options | `:` `:`
  207. | | .-- `--.
  208. | | .---.....----.
  209. +-----------------------------------------+
  210.  
  211. Exiting menu!
  212.  
  213.  
  214. Type '?' for a list of commands, 'help' for more detailed help.
  215. OK boot -v
  216. Loading kernel...
  217. /boot/kernel/kernel text=0x64d238 text=0x16cd3c data=0x1027e8 data=0xcac+0x273f04 0x8+0xd3d40+0x8+0xf5fd8-
  218. Loading configured modules...
  219. can't find '/boot/entropy'
  220. /mfsroot.ufs size=0x1e00000
  221. can't find '/etc/hostid'
  222. Using DTB provided by EFI at 0x47ef6000.
  223. Kernel entry at 0x56a0002e...
  224. Kernel args: -v
  225. ---<<BOOT>>---
  226. GDB: no debug ports present
  227. KDB: debugger backends: ddb
  228. KDB: current backend: ddb
  229. Physical memory chunk(s):
  230. 0x40000000 - 0x5fffffff, 512 MB ( 131072 pages)
  231. Excluded memory regions:
  232. 0x40000000 - 0x401fffff, 2 MB ( 512 pages) NoAlloc NoDump
  233. 0x56a00000 - 0x595c9fff, 43 MB ( 11210 pages) NoAlloc
  234. Found 1 CPUs in the device tree
  235. Copyright (c) 1992-2022 The FreeBSD Project.
  236. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  237. The Regents of the University of California. All rights reserved.
  238. FreeBSD is a registered trademark of The FreeBSD Foundation.
  239. FreeBSD 14.0-CURRENT #17 sun20i-d1/mmc-n254962-1b68d9135808-dirty: Sun Apr 24 11:27:16 UTC 2022
  240. root@freebsd13:/usr/obj/root/licheerv/freebsd-src/riscv.riscv64/sys/GENERIC riscv
  241. FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
  242. WARNING: WITNESS option enabled, expect reduced performance.
  243. VT: init without driver.
  244. Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc002ba5000.
  245. Preloaded mfs_root "/mfsroot.ufs" at 0xffffffc002bae220.
  246. Preloaded TSLOG data "TSLOG" at 0xffffffc002bae270.
  247. SBI: OpenSBI v0.9
  248. SBI Specification Version: 0.3
  249. CPU(0): Unknown Implementer Unknown Processor
  250. real memory = 536870912 (512 MB)
  251. Physical memory chunk(s):
  252. 0x0000000040200000 - 0x0000000055c01fff, 362815488 bytes (88578 pages)
  253. 0x00000000595ca000 - 0x000000005fffffff, 111370240 bytes (27190 pages)
  254. avail memory = 469442560 (447 MB)
  255. No static device mappings.
  256. random: no preloaded entropy cache
  257. random: no platform bootloader entropy
  258. arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
  259. VIMAGE (virtualized network stack) enabled
  260. hostuuid: using 00000000-0000-0000-0000-000000000000
  261. ULE: setup cpu 0
  262. random: entropy device external interface
  263. mem: <memory>
  264. null: <full device, null device, zero device>
  265. openfirm: <Open Firmware control device>
  266. kbd0 at kbdmux0
  267. crypto: <crypto core>
  268. ofwbus0: <Open Firmware Device Tree>
  269. clk_fixed0: <Fixed clock> on ofwbus0
  270. simplebus0: <Flattened device tree simple bus> on ofwbus0
  271. regfix0: <Fixed Regulator> on ofwbus0
  272. regfix1: <Fixed Regulator> on ofwbus0
  273. regfix2: <Fixed Regulator> on ofwbus0
  274. rtc0: <Allwinner RTC> mem 0x7090000-0x70903ff irq 76 on simplebus0
  275. rtc0: Using internal oscillator
  276. Clock: osc32k, parent: (NULL)(-1), freq: 32768
  277. Clock: iosc, parent: (NULL)(-1), freq: 16000000
  278. rtc0: registered as a time-of-day clock, resolution 1.000000s
  279. d1_ccu0: <Allwinner D1 Clock Controller Unit> mem 0x2001000-0x2001fff on simplebus0
  280. Clock: pll_cpu, parent: osc24M(0), freq: 1008000000
  281. Clock: pll_ddr, parent: osc24M(0), freq: 1584000000
  282. Clock: pll_peri, parent: osc24M(0), freq: 2400000000
  283. Clock: pll_peri_2x, parent: pll_peri(0), freq: 1200000000
  284. Clock: pll_peri_1x, parent: pll_peri_2x(0), freq: 600000000
  285. Clock: pll_peri_800m, parent: pll_peri(0), freq: 800000000
  286. Clock: pll_video0, parent: osc24M(0), freq: 1188000000
  287. Clock: pll_video0_4x, parent: pll_video0(0), freq: 594000000
  288. Clock: pll_video0_2x, parent: pll_video0(0), freq: 594000000
  289. Clock: pll_video0_1x, parent: pll_video0(0), freq: 297000000
  290. Clock: pll_video1, parent: osc24M(0), freq: 1188000000
  291. Clock: pll_video1_4x, parent: pll_video1(0), freq: 594000000
  292. Clock: pll_video1_2x, parent: pll_video1(0), freq: 594000000
  293. Clock: pll_video1_1x, parent: pll_video1(0), freq: 297000000
  294. Clock: pll_ve, parent: osc24M(0), freq: 432000000
  295. Clock: pll_audio0, parent: osc24M(0), freq: 2064000000
  296. Clock: pll_audio0_4x, parent: pll_audio0(0), freq: 98285714
  297. Clock: pll_audio0_2x, parent: pll_audio0_4x(0), freq: 49142857
  298. Clock: pll_audio0_1x, parent: pll_audio0_4x(0), freq: 24571428
  299. Clock: pll_audio1, parent: osc24M(0), freq: 3072000000
  300. Clock: pll_audio1_div2, parent: pll_audio1(0), freq: 1536000000
  301. Clock: pll_audio1_div5, parent: pll_audio1(0), freq: 614400000
  302. Clock: pll_cpu_p, parent: pll_cpu(0), freq: 1008000000
  303. Clock: cpu_axi, parent: osc24M(0), freq: 24000000
  304. Clock: psi, parent: pll_peri_1x(3), freq: 200000000
  305. Clock: apb0, parent: pll_peri_1x(3), freq: 100000000
  306. Clock: apb1, parent: osc24M(0), freq: 24000000
  307. Clock: mbus, parent: dram(0), freq: 396000000
  308. Clock: de, parent: pll_peri_2x(0), freq: 1200000000
  309. Clock: di, parent: pll_peri_2x(0), freq: 1200000000
  310. Clock: g2d, parent: pll_peri_2x(0), freq: 1200000000
  311. Clock: ce, parent: pll_peri_2x(1), freq: 400000000
  312. Clock: ve, parent: pll_ve(0), freq: 432000000
  313. Clock: dram, parent: pll_ddr(0), freq: 1584000000
  314. Clock: mmc0, parent: osc24M(0), freq: 24000000
  315. Clock: mmc1, parent: osc24M(0), freq: 24000000
  316. Clock: mmc2, parent: osc24M(0), freq: 24000000
  317. Clock: spi0, parent: osc24M(0), freq: 24000000
  318. Clock: spi1, parent: osc24M(0), freq: 24000000
  319. Clock: emac_25m, parent: pll_peri_1x(0), freq: 25000000
  320. Clock: irtx, parent: osc24M(0), freq: 24000000
  321. Clock: i2s0, parent: pll_audio0_1x(0), freq: 24571428
  322. Clock: i2s1, parent: pll_audio0_1x(0), freq: 24571428
  323. Clock: i2s2, parent: pll_audio0_1x(0), freq: 24571428
  324. Clock: i2s2_asrc, parent: pll_audio0_4x(0), freq: 98285714
  325. Clock: spdif_tx, parent: pll_audio0_1x(0), freq: 24571428
  326. Clock: spdif_rx, parent: pll_peri_1x(0), freq: 600000000
  327. Clock: dmic, parent: pll_audio0_1x(0), freq: 24571428
  328. Clock: audio_dac, parent: pll_audio0_1x(0), freq: 24571428
  329. Clock: audio_adc, parent: pll_audio0_1x(0), freq: 24571428
  330. Clock: dsi, parent: osc24M(0), freq: 24000000
  331. Clock: tconlcd, parent: pll_video0_1x(0), freq: 297000000
  332. Clock: tcontv, parent: pll_video0_1x(0), freq: 297000000
  333. Clock: tve, parent: pll_video0_1x(0), freq: 297000000
  334. Clock: tvd, parent: osc24M(0), freq: 24000000
  335. Clock: ledc, parent: osc24M(0), freq: 24000000
  336. Clock: csi, parent: pll_peri_2x(0), freq: 1200000000
  337. Clock: csi_master, parent: osc24M(0), freq: 24000000
  338. Clock: tpadc, parent: osc24M(0), freq: 24000000
  339. Clock: dsp, parent: osc24M(0), freq: 24000000
  340. Clock: bus-de, parent: psi(0), freq: 200000000
  341. Clock: bus-di, parent: psi(0), freq: 200000000
  342. Clock: bus-g2d, parent: psi(0), freq: 200000000
  343. Clock: bus-ce, parent: psi(0), freq: 200000000
  344. Clock: bus-ve, parent: psi(0), freq: 200000000
  345. Clock: bus-dma, parent: psi(0), freq: 200000000
  346. Clock: bus-msgbox0, parent: psi(0), freq: 200000000
  347. Clock: bus-msgbox1, parent: psi(0), freq: 200000000
  348. Clock: bus-msgbox2, parent: psi(0), freq: 200000000
  349. Clock: bus-spinlock, parent: psi(0), freq: 200000000
  350. Clock: bus-hstimer, parent: psi(0), freq: 200000000
  351. Clock: avs, parent: osc24M(0), freq: 24000000
  352. Clock: bus-dbgsys, parent: psi(0), freq: 200000000
  353. Clock: bus-pwm, parent: psi(0), freq: 200000000
  354. Clock: bus-iommu, parent: apb0(0), freq: 100000000
  355. Clock: mbus-dma, parent: mbus(0), freq: 396000000
  356. Clock: mbus-ve, parent: mbus(0), freq: 396000000
  357. Clock: mbus-ce, parent: mbus(0), freq: 396000000
  358. Clock: mbus-tvin, parent: mbus(0), freq: 396000000
  359. Clock: mbus-csi, parent: mbus(0), freq: 396000000
  360. Clock: mbus-g2d, parent: mbus(0), freq: 396000000
  361. Clock: mbus-riscv, parent: mbus(0), freq: 396000000
  362. Clock: bus-dram, parent: psi(0), freq: 200000000
  363. Clock: bus-mmc0, parent: psi(0), freq: 200000000
  364. Clock: bus-mmc1, parent: psi(0), freq: 200000000
  365. Clock: bus-mmc2, parent: psi(0), freq: 200000000
  366. Clock: bus-uart0, parent: apb1(0), freq: 24000000
  367. Clock: bus-uart1, parent: apb1(0), freq: 24000000
  368. Clock: bus-uart2, parent: apb1(0), freq: 24000000
  369. Clock: bus-uart3, parent: apb1(0), freq: 24000000
  370. Clock: bus-uart4, parent: apb1(0), freq: 24000000
  371. Clock: bus-uart5, parent: apb1(0), freq: 24000000
  372. Clock: bus-i2c0, parent: apb1(0), freq: 24000000
  373. Clock: bus-i2c1, parent: apb1(0), freq: 24000000
  374. Clock: bus-i2c2, parent: apb1(0), freq: 24000000
  375. Clock: bus-i2c3, parent: apb1(0), freq: 24000000
  376. Clock: bus-spi0, parent: psi(0), freq: 200000000
  377. Clock: bus-spi1, parent: psi(0), freq: 200000000
  378. Clock: bus-emac, parent: psi(0), freq: 200000000
  379. Clock: bus-irtx, parent: apb0(0), freq: 100000000
  380. Clock: bus-gpadc, parent: apb0(0), freq: 100000000
  381. Clock: bus-ths, parent: apb0(0), freq: 100000000
  382. Clock: bus-i2s0, parent: apb0(0), freq: 100000000
  383. Clock: bus-i2s1, parent: apb0(0), freq: 100000000
  384. Clock: bus-i2s2, parent: apb0(0), freq: 100000000
  385. Clock: bus-spdif, parent: apb0(0), freq: 100000000
  386. Clock: bus-dmic, parent: apb0(0), freq: 100000000
  387. Clock: bus-audio, parent: apb0(0), freq: 100000000
  388. Clock: bus-ohci0, parent: psi(0), freq: 200000000
  389. Clock: bus-ohci1, parent: psi(0), freq: 200000000
  390. Clock: bus-ehci0, parent: psi(0), freq: 200000000
  391. Clock: bus-ehci1, parent: psi(0), freq: 200000000
  392. Clock: bus-otg, parent: psi(0), freq: 200000000
  393. Clock: bus-lradc, parent: apb0(0), freq: 100000000
  394. Clock: bus-dpss-top, parent: psi(0), freq: 200000000
  395. Clock: bus-dsi, parent: psi(0), freq: 200000000
  396. Clock: bus-tconlcd, parent: psi(0), freq: 200000000
  397. Clock: bus-tcontv, parent: psi(0), freq: 200000000
  398. Clock: bus-tve-top, parent: psi(0), freq: 200000000
  399. Clock: bus-tve, parent: psi(0), freq: 200000000
  400. Clock: bus-tvd-top, parent: psi(0), freq: 200000000
  401. Clock: bus-tvd, parent: psi(0), freq: 200000000
  402. Clock: bus-ledc, parent: psi(0), freq: 200000000
  403. Clock: bus-csi, parent: psi(0), freq: 200000000
  404. Clock: bus-tpadc, parent: apb0(0), freq: 100000000
  405. Clock: bus-dsp-cfg, parent: psi(0), freq: 200000000
  406. Clock: bus-riscv-cfg, parent: psi(0), freq: 200000000
  407. plic0: <RISC-V PLIC> mem 0x10000000-0x13ffffff irq 77,78 on simplebus0
  408. gpio0: <Allwinner GPIO/Pinmux controller> mem 0x2000000-0x20007ff irq 6,7,8,9,10,11 on simplebus0
  409. gpio0: cannot allocate device resources
  410. device_attach: gpio0 attach returned 6
  411. aw_d1_intc0: <Allwinner D1 INTC> mem 0x6010000-0x60100ff on simplebus0
  412. timer0: <RISC-V Timer>
  413. Timecounter "RISC-V Timecounter" frequency 24000000 Hz quality 1000
  414. Event timer "RISC-V Eventtimer" frequency 24000000 Hz quality 1000
  415. gpio0: <Allwinner GPIO/Pinmux controller> mem 0x2000000-0x20007ff irq 6,7,8,9,10,11 on simplebus0
  416. gpiobus0: <OFW GPIO bus> on gpio0
  417. Processing 1 pin-config node(s) in pinctrl-0 for serial@2500000
  418. Processing 1 pin-config node(s) in pinctrl-0 for mmc@4020000
  419. Processing 1 pin-config node(s) in pinctrl-0 for spi@4025000
  420. Processing 1 pin-config node(s) in pinctrl-0 for serial@2500000
  421. Processing 1 pin-config node(s) in pinctrl-0 for mmc@4020000
  422. Processing 1 pin-config node(s) in pinctrl-0 for spi@4025000
  423. rcons0: <RISC-V console>
  424. ofwbus0: <cpu-opp-table> compat allwinner,sun20i-d1-operating-points (no driver attached)
  425. cpulist0: <Open Firmware CPU Group> on ofwbus0
  426. cpu0: <Open Firmware CPU> on cpulist0
  427. cpu0: Nominal frequency 24Mhz
  428. riscv64_cpu0: register <0>
  429. ofwbus0: <display-engine> disabled compat allwinner,sun20i-d1-display-engine (no driver attached)
  430. ofwbus0: <pmu> compat thead,c900-pmu (no driver attached)
  431. simplebus0: <dsp@1700000> mem 0x1700000-0x17003ff irq 0,1 compat allwinner,sun20i-d1-dsp (no driver attached)
  432. simplebus0: <watchdog@1700400> mem 0x1700400-0x170041f irq 2 disabled compat allwinner,sun20i-d1-wdt (no driver attached)
  433. simplebus0: <mailbox@1701000> mem 0x1701000-0x1701fff irq 3,4 compat allwinner,sun20i-d1-msgbox (no driver attached)
  434. simplebus0: <video-codec@1c0e000> mem 0x1c0e000-0x1c0ffff irq 5 compat allwinner,sun20i-d1-video-engine (no driver attached)
  435. gpioc0: <GPIO controller> on gpio0
  436. simplebus0: <pwm@2000c00> mem 0x2000c00-0x2000fff irq 12 disabled compat allwinner,sun20i-d1-pwm (no driver attached)
  437. simplebus0: <irled@2003000> mem 0x2003000-0x20033ff irq 13 disabled compat allwinner,sun20i-d1-ir-tx (no driver attached)
  438. simplebus0: <led-controller@2008000> mem 0x2008000-0x20083ff irq 14 disabled compat allwinner,sun20i-d1-ledc (no driver attached)
  439. simplebus0: <adc@2009000> mem 0x2009000-0x20093ff irq 15 disabled compat allwinner,sun20i-d1-gpadc (no driver attached)
  440. simplebus0: <temperature-sensor@2009400> mem 0x2009400-0x20097ff irq 16 compat allwinner,sun20i-d1-ths (no driver attached)
  441. simplebus0: <keys@2009800> mem 0x2009800-0x2009bff irq 17 disabled compat allwinner,sun20i-d1-lradc (no driver attached)
  442. simplebus0: <touchscreen@2009c00> mem 0x2009c00-0x2009fff irq 18 disabled compat allwinner,sun20i-d1-ts (no driver attached)
  443. simplebus0: <iommu@2010000> mem 0x2010000-0x201ffff irq 19 compat allwinner,sun20i-d1-iommu (no driver attached)
  444. simplebus0: <audio-codec@2030000> mem 0x2030000-0x2030fff irq 20 disabled compat allwinner,sun20i-d1-audio-codec (no driver attached)
  445. simplebus0: <dmic@2031000> mem 0x2031000-0x20313ff irq 21 disabled compat allwinner,sun20i-d1-dmic (no driver attached)
  446. simplebus0: <i2s@2032000> mem 0x2032000-0x2032fff irq 22 disabled compat allwinner,sun20i-d1-i2s (no driver attached)
  447. simplebus0: <i2s@2033000> mem 0x2033000-0x2033fff irq 23 disabled compat allwinner,sun20i-d1-i2s (no driver attached)
  448. simplebus0: <i2s@2034000> mem 0x2034000-0x2034fff irq 24 disabled compat allwinner,sun20i-d1-i2s (no driver attached)
  449. simplebus0: <spdif@2036000> mem 0x2036000-0x20363ff irq 25 disabled compat allwinner,sun20i-d1-spdif (no driver attached)
  450. simplebus0: <timer@2050000> mem 0x2050000-0x205009f irq 26,27 compat allwinner,sun20i-d1-timer (no driver attached)
  451. simplebus0: <watchdog@20500a0> mem 0x20500a0-0x20500bf irq 28 disabled compat allwinner,sun20i-d1-wdt-reset (no driver attached)
  452. simplebus0: <serial@2500000> mem 0x2500000-0x25003ff irq 29 compat allwinner,sun20i-d1-uart (no driver attached)
  453. simplebus0: <serial@2500400> mem 0x2500400-0x25007ff irq 30 disabled compat allwinner,sun20i-d1-uart1 (no driver attached)
  454. simplebus0: <serial@2500800> mem 0x2500800-0x2500bff irq 31 disabled compat allwinner,sun20i-d1-uart (no driver attached)
  455. simplebus0: <serial@2500c00> mem 0x2500c00-0x2500fff irq 32 disabled compat allwinner,sun20i-d1-uart (no driver attached)
  456. simplebus0: <serial@2501000> mem 0x2501000-0x25013ff irq 33 disabled compat allwinner,sun20i-d1-uart (no driver attached)
  457. simplebus0: <serial@2501400> mem 0x2501400-0x25017ff irq 34 disabled compat allwinner,sun20i-d1-uart (no driver attached)
  458. simplebus0: <i2c@2502000> mem 0x2502000-0x25023ff irq 35 disabled compat allwinner,sun20i-d1-i2c (no driver attached)
  459. simplebus0: <i2c@2502400> mem 0x2502400-0x25027ff irq 36 disabled compat allwinner,sun20i-d1-i2c (no driver attached)
  460. simplebus0: <i2c@2502800> mem 0x2502800-0x2502bff irq 37 disabled compat allwinner,sun20i-d1-i2c (no driver attached)
  461. simplebus0: <i2c@2502c00> mem 0x2502c00-0x2502fff irq 38 disabled compat allwinner,sun20i-d1-i2c (no driver attached)
  462. simplebus0: <syscon@3000000> mem 0x3000000-0x3000fff compat allwinner,sun20i-d1-system-control (no driver attached)
  463. simplebus0: <dma-controller@3002000> mem 0x3002000-0x3002fff irq 39,40 compat allwinner,sun20i-d1-dma (no driver attached)
  464. simplebus0: <mailbox@3003000> mem 0x3003000-0x3003fff irq 41,42 compat allwinner,sun20i-d1-msgbox (no driver attached)
  465. simplebus0: <hwlock@3005000> mem 0x3005000-0x3005fff irq 43 compat allwinner,sun20i-d1-hwspinlock (no driver attached)
  466. simplebus0: <efuse@3006000> mem 0x3006000-0x3006fff compat allwinner,sun20i-d1-sid (no driver attached)
  467. simplebus0: <timer@3008000> mem 0x3008000-0x3008fff irq 44,45 compat allwinner,sun20i-d1-hstimer (no driver attached)
  468. simplebus0: <crypto@3040000> mem 0x3040000-0x30407ff irq 46 compat allwinner,sun20i-d1-crypto (no driver attached)
  469. simplebus0: <dram-controller@3102000> mem 0x3102000-0x3301fff irq 47 disabled compat allwinner,sun20i-d1-mbus (no driver attached)
  470. simplebus0: <mmc@4020000> mem 0x4020000-0x4020fff irq 48 compat allwinner,sun20i-d1-mmc (no driver attached)
  471. simplebus0: <mmc@4021000> mem 0x4021000-0x4021fff irq 49 disabled compat allwinner,sun20i-d1-mmc (no driver attached)
  472. simplebus0: <mmc@4022000> mem 0x4022000-0x4022fff irq 50 disabled compat allwinner,sun20i-d1-emmc (no driver attached)
  473. simplebus0: <spi@4025000> mem 0x4025000-0x4025fff irq 51 compat allwinner,sun20i-d1-spi (no driver attached)
  474. simplebus0: <spi@4026000> mem 0x4026000-0x4026fff irq 52 disabled compat allwinner,sun20i-d1-spi-dbi (no driver attached)
  475. simplebus0: <usb@4100000> mem 0x4100000-0x41003ff irq 53 compat allwinner,sun20i-d1-musb (no driver attached)
  476. simplebus0: <phy@4100400> mem 0x4100400-0x41004ff,0x4101800-0x41018ff,0x4200800-0x42008ff compat allwinner,sun20i-d1-usb-phy (no driver attached)
  477. simplebus0: <usb@4101000> mem 0x4101000-0x41010ff irq 54 compat allwinner,sun20i-d1-ehci (no driver attached)
  478. simplebus0: <usb@4101400> mem 0x4101400-0x41014ff irq 55 compat allwinner,sun20i-d1-ohci (no driver attached)
  479. simplebus0: <usb@4200000> mem 0x4200000-0x42000ff irq 56 disabled compat allwinner,sun20i-d1-ehci (no driver attached)
  480. simplebus0: <usb@4200400> mem 0x4200400-0x42004ff irq 57 disabled compat allwinner,sun20i-d1-ohci (no driver attached)
  481. simplebus0: <ethernet@4500000> mem 0x4500000-0x450ffff irq 58 disabled compat allwinner,sun20i-d1-emac (no driver attached)
  482. simplebus0: <clock-controller@5000000> mem 0x5000000-0x500ffff compat allwinner,sun20i-d1-de2-clk (no driver attached)
  483. simplebus0: <mixer@5100000> mem 0x5100000-0x51fffff compat allwinner,sun20i-d1-de2-mixer-0 (no driver attached)
  484. simplebus0: <mixer@5200000> mem 0x5200000-0x52fffff compat allwinner,sun20i-d1-de2-mixer-1 (no driver attached)
  485. simplebus0: <tcon-top@5460000> mem 0x5460000-0x5460fff compat allwinner,sun20i-d1-tcon-top (no driver attached)
  486. simplebus0: <lcd-controller@5461000> mem 0x5461000-0x5461fff irq 62 compat allwinner,sun20i-d1-tcon-lcd (no driver attached)
  487. simplebus0: <lcd-controller@5470000> mem 0x5470000-0x5470fff irq 63 compat allwinner,sun20i-d1-tcon-tv (no driver attached)
  488. simplebus0: <hdmi@5500000> mem 0x5500000-0x550ffff irq 64 disabled compat allwinner,sun20i-d1-dw-hdmi (no driver attached)
  489. simplebus0: <phy@5510000> mem 0x5510000-0x551ffff disabled compat allwinner,sun20i-d1-hdmi-phy (no driver attached)
  490. aw_wdog0: <Allwinner D1 Watchdog> mem 0x6011000-0x601101f irq 71 on simplebus0
  491. simplebus0: <mailbox@601f000> mem 0x601f000-0x601ffff irq 72,73 compat allwinner,sun20i-d1-msgbox (no driver attached)
  492. simplebus0: <clock-controller@7010000> mem 0x7010000-0x70103ff irq 74 compat allwinner,sun20i-d1-r-ccu (no driver attached)
  493. simplebus0: <ir@7040000> mem 0x7040000-0x70403ff irq 75 compat allwinner,sun20i-d1-ir (no driver attached)
  494. simplebus0: <clint@14000000> mem 0x14000000-0x1400bfff irq 79,80 compat allwinner,sun20i-d1-clint (no driver attached)
  495. ofwbus0: <leds> compat gpio-leds (no driver attached)
  496. crypto: assign cryptosoft0 driver id 0, flags 0x6000000
  497. Device configuration finished.
  498. procfs registered
  499. Timecounters tick every 1.000 msec
  500. vlan: initialized, using hash tables with chaining
  501. lo0: bpf attached
  502. IPsec: Initialized Security Association Processing.
  503. tcp_init: net.inet.tcp.tcbhashsize auto tuned to 4096
  504. usb_needs_explore_all: no devclass
  505. gpio0: Enabling regulator for gpio bank b
  506. gpio0: Enabling regulator for gpio bank c
  507. gpio0: Enabling regulator for gpio bank d
  508. gpio0: Enabling regulator for gpio bank e
  509. gpio0: Enabling regulator for gpio bank f
  510. gpio0: Enabling regulator for gpio bank g
  511. Trying to mount root from ufs:/dev/md0 []...
  512. WARNING: WITNESS option enabled, expect reduced performance.
  513. regulator: shutting down unused regulators
  514. regulator: shutting down vcc... ok
  515. regulator: shutting down vcc-3v3... busy
  516. regulator: shutting down vdd-cpu... ok
  517. md0: Preloaded image </mfsroot.ufs> 31457280 bytes at 0xffffffc000cfc0c0
  518. Warning: bad time from time-of-day clock, system time will not be set accurately
  519. start_init: trying /sbin/init
  520. 2022-04-24T11:32:49.097927+00:00 - init 16 - - login_getclass: unknown class 'daemon'
  521. 2022-04-24T11:32:49.122993+00:00 - init 16 - - can't access /etc/rc: No such file or directory
  522. sh: cannot open /etc/rc: No such file or directory
  523. Enter full pathname of shell or RETURN for /rescue/sh:
  524. Cannot read termcap database;
  525. using dumb terminal settings.
  526. # wathdog -t 0
  527. -sh: wathdog: not found
  528. random: unblocking device.
  529. # watchdog -t 0
  530. # kldload aw_mmc
  531. aw_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x4020000-0x4020fff irq 48 on simplebus0
  532. aw_mmc0: vmmc-supply regulator found
  533. aw_mmc0: vqmmc-supply regulator found
  534. aw_mmc0: Write protect disabled
  535. # aw_mmc0: Card inserted
  536. mmc0: <MMC/SD bus> on aw_mmc0
  537. aw_mmc0: Powering up sd/mmc
  538. mmc0: Probing bus
  539. aw_mmc0: CMD0 arg 0 flags 0x40 dlen 0 dflags 0
  540. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  541. aw_mmc0: aw_mmc_req_done: cmd 0 err 0
  542. aw_mmc0: CMD8 arg 0x1aa flags 0x75 dlen 0 dflags 0
  543. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  544. aw_mmc0: aw_mmc_req_done: cmd 8 err 0
  545. mmc0: SD 2.0 interface conditions: OK
  546. aw_mmc0: CMD55 arg 0 flags 0x15 dlen 0 dflags 0
  547. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  548. aw_mmc0: aw_mmc_req_done: cmd 55 err 0
  549. aw_mmc0: CMD41 arg 0 flags 0x61 dlen 0 dflags 0
  550. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  551. aw_mmc0: aw_mmc_req_done: cmd 41 err 0
  552. mmc0: SD probe: OK (OCR: 0x40ff8000)
  553. aw_mmc0: CMD0 arg 0 flags 0x40 dlen 0 dflags 0
  554. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  555. aw_mmc0: aw_mmc_req_done: cmd 0 err 0
  556. mmc0: Current OCR: 0x00ff8000
  557. aw_mmc0: CMD8 arg 0x1aa flags 0x75 dlen 0 dflags 0
  558. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  559. aw_mmc0: aw_mmc_req_done: cmd 8 err 0
  560. aw_mmc0: CMD55 arg 0 flags 0x15 dlen 0 dflags 0
  561. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  562. aw_mmc0: aw_mmc_req_done: cmd 55 err 0
  563. aw_mmc0: CMD41 arg 0x40ff8000 flags 0x61 dlen 0 dflags 0
  564. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  565. aw_mmc0: aw_mmc_req_done: cmd 41 err 0
  566. aw_mmc0: CMD55 arg 0 flags 0x15 dlen 0 dflags 0
  567. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  568. aw_mmc0: aw_mmc_req_done: cmd 55 err 0
  569. aw_mmc0: CMD41 arg 0x40ff8000 flags 0x61 dlen 0 dflags 0
  570. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  571. aw_mmc0: aw_mmc_req_done: cmd 41 err 0
  572. mmc0: Probing cards
  573. aw_mmc0: CMD2 arg 0 flags 0x67 dlen 0 dflags 0
  574. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  575. aw_mmc0: aw_mmc_req_done: cmd 2 err 0
  576. mmc0: New card detected (CID 035344534c3136478011e19a21015a53)
  577. aw_mmc0: CMD3 arg 0 flags 0x75 dlen 0 dflags 0
  578. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  579. aw_mmc0: aw_mmc_req_done: cmd 3 err 0
  580. aw_mmc0: CMD9 arg 0xe6240000 flags 0x67 dlen 0 dflags 0
  581. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  582. aw_mmc0: aw_mmc_req_done: cmd 9 err 0
  583. mmc0: New card detected (CSD 400e00325b59000076b27f800a404013)
  584. aw_mmc0: CMD13 arg 0xe6240000 flags 0x15 dlen 0 dflags 0
  585. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  586. aw_mmc0: aw_mmc_req_done: cmd 13 err 0
  587. aw_mmc0: CMD7 arg 0xe6240000 flags 0x1d dlen 0 dflags 0
  588. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  589. aw_mmc0: aw_mmc_req_done: cmd 7 err 0
  590. aw_mmc0: CMD55 arg 0xe6240000 flags 0x15 dlen 0 dflags 0
  591. aw_mmc0: idst: 0, imask: 0xb9c6, rint: 0x4
  592. aw_mmc0: aw_mmc_req_done: cmd 55 err 0
  593. aw_mmc0: CMD51 arg 0 flags 0x35 dlen 8 dflags 0x2
  594. aw_mmc0: idst: 0xa000, imask: 0xb9ca, rint: 0x82c
  595. aw_mmc0: error rint: 0x0000082C
  596. AW_MMC_INT_FIFO_RUN_ERR
  597. aw_mmc0: aw_mmc_req_done: cmd 51 err 4
  598. aw_mmc0: CMD55 arg 0xe6240000 flags 0x15 dlen 0 dflags 0
  599. aw_mmc0: idst: 0xa000, imask: 0xb9c6, rint: 0x4
  600. aw_mmc0: aw_mmc_req_done: cmd 55 err 0
  601. aw_mmc0: CMD51 arg 0 flags 0x35 dlen 8 dflags 0x2
  602. aw_mmc0: idst: 0xa000, imask: 0xb9ca, rint: 0x82c
  603. aw_mmc0: error rint: 0x0000082C
  604. AW_MMC_INT_FIFO_RUN_ERR
  605. aw_mmc0: aw_mmc_req_done: cmd 51 err 4
  606. aw_mmc0: CMD55 arg 0xe6240000 flags 0x15 dlen 0 dflags 0
  607. aw_mmc0: idst: 0xa000, imask: 0xb9c6, rint: 0x4
  608. aw_mmc0: aw_mmc_req_done: cmd 55 err 0
  609. aw_mmc0: CMD51 arg 0 flags 0x35 dlen 8 dflags 0x2
  610. aw_mmc0: idst: 0xa000, imask: 0xb9ca, rint: 0x82c
  611. aw_mmc0: error rint: 0x0000082C
  612. AW_MMC_INT_FIFO_RUN_ERR
  613. aw_mmc0: aw_mmc_req_done: cmd 51 err 4
  614. aw_mmc0: CMD55 arg 0xe6240000 flags 0x15 dlen 0 dflags 0
  615. aw_mmc0: idst: 0xa000, imask: 0xb9c6, rint: 0x4
  616. aw_mmc0: aw_mmc_req_done: cmd 55 err 0
  617. aw_mmc0: CMD51 arg 0 flags 0x35 dlen 8 dflags 0x2
  618. aw_mmc0: idst: 0xa000, imask: 0xb9ca, rint: 0x82c
  619. aw_mmc0: error rint: 0x0000082C
  620. AW_MMC_INT_FIFO_RUN_ERR
  621. aw_mmc0: aw_mmc_req_done: cmd 51 err 4
  622. mmc0: ACMD51 failed, RESULT: 4
  623. mmc0: Error reading SCR 4
  624. aw_mmc0: CMD7 arg 0 flags 0 dlen 0 dflags 0
  625. aw_mmc0: idst: 0xa000, imask: 0xb9c6, rint: 0x4
  626. aw_mmc0: aw_mmc_req_done: cmd 7 err 0
  627. aw_mmc0: CMD7 arg 0 flags 0 dlen 0 dflags 0
  628. aw_mmc0: idst: 0xa000, imask: 0xb9c6, rint: 0x4
  629. aw_mmc0: aw_mmc_req_done: cmd 7 err 0
  630. mmc0: setting transfer rate to 150.000MHz (HS400 with enhanced strobe timing)
  631. aw_mmc0: CMD7 arg 0 flags 0 dlen 0 dflags 0
  632. aw_mmc0: idst: 0xa000, imask: 0xb9c6, rint: 0x4
  633. aw_mmc0: aw_mmc_req_done: cmd 7 err 0
Add Comment
Please, Sign In to add comment