Firefly开源社区

12
发表新贴

[技术讨论] ROC-RK3328-CC Linux内核移植

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-23 14:10:24     
这两天在ROC-RK3328-CC平台上做了Linux内核移植的实验,即将Firefly官方提供的Linux-SDK更换为Linux官方提供的SDK,版本为Linux 4.17.19。由于Linux44.17版已经对该平台提供了支持,所以除了对两处Makefile文件进行修改、添加了三个工具文件外,没有做其它变动,config使用默认设置。编译过程一切顺利,烧版也很成功,只是在启动的过程中出现了问题,希望大神给予指导。

下面是启动信息:

  1. DDR version 1.13 20180428                                                                                                               
  2. ID:0x805 N                                                                                                                              
  3. In                                                                                                                                      
  4. DDR4                                                                        
  5. 333MHz                                                                       
  6. Bus Width=32 Col=10 Bank=4 Bank Group=2 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
  7. ddrconfig:19                                                
  8. OUT                                                         
  9. Boot1 Release Time: Sep  7 2018 15:49:55, version: 2.49     
  10. ChipType = 0x11, 207                                       
  11. mmc2:cmd19,100                                             
  12. SdmmcInit=2 0
  13. BootCapSize=2000
  14. UserCapSize=14910MB
  15. FwPartOffset=2000 , 2000
  16. SdmmcInit=0 NOT PRESENT
  17. StorageInit ok = 19266
  18. Raw SecureMode = 0
  19. SecureInit read PBA: 0x4
  20. SecureInit read PBA: 0x404
  21. SecureInit read PBA: 0x804
  22. SecureInit read PBA: 0xc04
  23. SecureInit read PBA: 0x1004
  24. SecureInit ret = 0, SecureMode = 0
  25. GPT part:  0, name:            uboot, start:0x4000, size:0x2000
  26. GPT part:  1, name:            trust, start:0x6000, size:0x2000
  27. GPT part:  2, name:             boot, start:0xa000, size:0x10000
  28. GPT part:  3, name:           backup, start:0x2a000, size:0x10000
  29. GPT part:  4, name:           rootfs, start:0x5a000, size:0x1cc4fdf
  30. find partition:uboot OK. first_lba:0x4000.
  31. find partition:trust OK. first_lba:0x6000.
  32. LoadTrust Addr:0x6000
  33. No find bl30.bin
  34. Load uboot, ReadLba = 4000
  35. Load OK, addr=0x200000, size=0xce990
  36. RunBL31 0x10000
  37. INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-194-g646eecc5 #61 Wed Dec  5 06:31:51 UTC 2018 aarch64)

  38. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.4

  39. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


  40. U-Boot 2017.09-g0b1f585323-dirty (Feb 20 2020 - 21:38:50 +0800)

  41. Model: Firefly ROC-RK3328-CC
  42. DRAM:  2 GiB
  43. Relocation Offset is: 7dbf5000
  44. Sysmem: init
  45. Using default environment

  46. rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
  47. Card did not respond to voltage select!
  48. mmc_init: -95, time 9
  49. switch to partitions #0, OK
  50. mmc0(part 0) is current device
  51. Bootdev: mmc 0
  52. PartType: EFI
  53. get part misc fail -1
  54. boot mode: None
  55. Load FDT from boot part
  56. DTB: rk-kernel.dtb
  57. In:    serial
  58. Out:   serial
  59. Err:   serial
  60. Model: Firefly roc-rk3328-cc
  61. rockchip_dnl_key_pressed adc_channel_single_shot fail! ret=-22
  62. CLK: (sync kernel. arm: enter 600000 KHz, init 600000 KHz, kernel 0N/A)
  63.   apll 400000 KHz
  64.   dpll 664000 KHz
  65.   cpll 1200000 KHz
  66.   gpll 491009 KHz
  67.   npll 600000 KHz
  68.   armclk 600000 KHz
  69.   aclk_bus 150000 KHz
  70.   hclk_bus 75000 KHz
  71.   pclk_bus 75000 KHz
  72.   aclk_peri 150000 KHz
  73.   hclk_peri 75000 KHz
  74.   pclk_peri 75000 KHz
  75. Net:   
  76. Warning: ethernet@ff540000 (eth0) using random MAC address - 9e:92:8e:94:df:04
  77. eth0: ethernet@ff540000
  78. Hit key to stop autoboot('CTRL+C'):  0
  79. android_bootloader_boot_flow Could not find misc partition
  80. ANDROID: reboot reason: "(none)"
  81. Fdt Ramdisk skip relocation
  82. FDT load addr 0x10f00000 size 157 KiB
  83. Booting kernel at 0x00280000 with fdt at 0x8300000...


  84. ## Booting Android Image at 0x0027f800 ...
  85. Kernel load addr 0x00280000 size 17643 KiB
  86. ## Flattened Device Tree blob at 08300000
  87.    Booting using the fdt blob at 0x8300000
  88.    XIP Kernel Image ... OK
  89.    Using Device Tree in place at 0000000008300000, end 000000000830a8ac
  90. Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
  91. Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
  92. Total: 3832.498 ms

  93. Starting kernel ...


  94. [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
  95. [    0.000000] Linux version 4.17.19-g17982fadb9b5-dirty (msw@msw-Z97M-D3H) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #2 SMP PREEMPT Thu Feb 20 21:41:51 CST 2020
  96. [    0.000000] Machine model: Firefly roc-rk3328-cc
  97. [    0.000000] efi: Getting EFI parameters from FDT:
  98. [    0.000000] efi: UEFI not found.
  99. [    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
  100. [    0.000000] NUMA: No NUMA configuration found
  101. [    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
  102. [    0.000000] NUMA: NODE_DATA [mem 0x7efc8680-0x7efca17f]
  103. [    0.000000] Zone ranges:
  104. [    0.000000]   DMA32    [mem 0x0000000000200000-0x000000007fffffff]
  105. [    0.000000]   Normal   empty
  106. [    0.000000] Movable zone start for each node
  107. [    0.000000] Early memory node ranges
  108. [    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
  109. [    0.000000]   node   0: [mem 0x000000000a200000-0x000000007fffffff]
  110. [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
  111. [    0.000000] psci: probing for conduit method from DT.
  112. [    0.000000] psci: PSCIv1.0 detected in firmware.
  113. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  114. [    0.000000] psci: Trusted OS migration not required
  115. [    0.000000] psci: SMC Calling Convention v1.0
  116. [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x414 with crng_init=0
  117. [    0.000000] percpu: Embedded 24 pages/cpu @        (ptrval) s57880 r8192 d32232 u98304
  118. [    0.000000] Detected VIPT I-cache on CPU0
  119. [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
  120. [    0.000000] CPU features: enabling workaround for ARM erratum 845719
  121. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
  122. [    0.000000] Policy zone: DMA32
  123. [    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= androidboot.serialno=1cb27b34a6de9e11
  124. [    0.000000] Memory: 1996516K/2064384K available (10236K kernel code, 1322K rwdata, 4808K rodata, 1216K init, 387K bss, 51484K reserved, 16384K cma-reserved)
  125. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  126. [    0.000000] Preemptible hierarchical RCU implementation.
  127. [    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
  128. [    0.000000]  Tasks RCU enabled.
  129. [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  130. [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  131. [    0.000000] GIC: Using split EOI/Deactivate mode
  132. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  133. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  134. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  135. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  136. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  137. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  138. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  139. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  140. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
  141. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  142. [    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  143. [    0.000981] Console: colour dummy device 80x25
  144. [    0.001799] console [tty0] enabled
  145. [    0.001918] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
  146. [    0.001961] pid_max: default: 32768 minimum: 301
  147. [    0.002096] Security Framework initialized
  148. [    0.003422] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  149. [    0.004157] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  150. [    0.004240] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  151. [    0.004288] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  152. [    0.023937] ASID allocator initialised with 32768 entries
  153. [    0.031924] Hierarchical SRCU implementation.
  154. [    0.043241] EFI services will not be available.
  155. [    0.048025] smp: Bringing up secondary CPUs ...
  156. [    0.080306] Detected VIPT I-cache on CPU1
  157. [    0.080387] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
  158. [    0.112397] Detected VIPT I-cache on CPU2
  159. [    0.112463] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
  160. [    0.144512] Detected VIPT I-cache on CPU3
  161. [    0.144577] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
  162. [    0.144706] smp: Brought up 1 node, 4 CPUs
  163. [    0.144842] SMP: Total of 4 processors activated.
  164. [    0.144865] CPU features: detected: 32-bit EL0 Support
  165. [    0.150221] CPU: All CPU(s) started at EL2
  166. [    0.150269] alternatives: patching kernel code
  167. [    0.151512] devtmpfs: initialized
  168. [    0.161139] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  169. [    0.161254] futex hash table entries: 1024 (order: 5, 131072 bytes)
  170. [    0.162283] pinctrl core: initialized pinctrl subsystem
  171. [    0.165449] DMI not present or invalid.
  172. [    0.166109] NET: Registered protocol family 16
  173. [    0.166738] audit: initializing netlink subsys (disabled)
  174. [    0.166979] audit: type=2000 audit(0.164:1): state=initialized audit_enabled=0 res=1
  175. [    0.177050] cpuidle: using governor menu
  176. [    0.177689] vdso: 2 pages (1 code @         (ptrval), 1 data @         (ptrval))
  177. [    0.177750] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  178. [    0.179451] DMA: preallocated 256 KiB pool for atomic allocations
  179. [    0.181808] Serial: AMBA PL011 UART driver
  180. [    0.226498] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
  181. [    0.227217] cryptd: max_cpu_qlen set to 1000
  182. [    0.228329] ACPI: Interpreter disabled.
  183. [    0.231068] vcc_sys: supplied by dc_12v
  184. [    0.231781] vcc_host1_5v: supplied by vcc_sys
  185. [    0.232853] vgaarb: loaded
  186. [    0.233400] SCSI subsystem initialized
  187. [    0.234638] usbcore: registered new interface driver usbfs
  188. [    0.234770] usbcore: registered new interface driver hub
  189. [    0.234950] usbcore: registered new device driver usb
  190. [    0.236379] pps_core: LinuxPPS API ver. 1 registered
  191. [    0.236428] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  192. [    0.236495] PTP clock support registered
  193. [    0.236807] EDAC MC: Ver: 3.0.0
  194. [    0.238904] Advanced Linux Sound Architecture Driver Initialized.
  195. [    0.240326] clocksource: Switched to clocksource arch_sys_counter
  196. [    0.240639] VFS: Disk quotas dquot_6.6.0
  197. [    0.240744] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  198. [    0.241009] pnp: PnP ACPI: disabled
  199. [    0.255268] NET: Registered protocol family 2
  200. [    0.256143] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
  201. [    0.256274] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  202. [    0.256639] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
  203. [    0.257095] TCP: Hash tables configured (established 16384 bind 16384)
  204. [    0.257363] UDP hash table entries: 1024 (order: 3, 32768 bytes)
  205. [    0.257478] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
  206. [    0.257802] NET: Registered protocol family 1
  207. [    0.258456] RPC: Registered named UNIX socket transport module.
  208. [    0.258492] RPC: Registered udp transport module.
  209. [    0.258512] RPC: Registered tcp transport module.
  210. [    0.258531] RPC: Registered tcp NFSv4.1 backchannel transport module.
  211. [    0.259837] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  212. [    0.260211] kvm [1]: 8-bit VMID
  213. [    0.261802] kvm [1]: vgic interrupt IRQ1
  214. [    0.261988] kvm [1]: Hyp mode initialized successfully
  215. [    0.267672] Initialise system trusted keyrings
  216. [    0.267942] workingset: timestamp_bits=44 max_order=19 bucket_order=0
  217. [    0.280283] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  218. [    0.281775] NFS: Registering the id_resolver key type
  219. [    0.281853] Key type id_resolver registered
  220. [    0.281874] Key type id_legacy registered
  221. [    0.281908] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  222. [    0.282221] 9p: Installing v9fs 9p2000 file system support
  223. [    0.282461] pstore: using deflate compression
  224. [    0.286786] Key type asymmetric registered
  225. [    0.286830] Asymmetric key parser 'x509' registered
  226. [    0.287202] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
  227. [    0.287256] io scheduler noop registered
  228. [    0.287276] io scheduler deadline registered
  229. [    0.287690] io scheduler cfq registered (default)
  230. [    0.287734] io scheduler mq-deadline registered
  231. [    0.287755] io scheduler kyber registered
  232. [    0.301739] EINJ: ACPI disabled.
  233. [    0.309296] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
  234. [    0.309352] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  235. [    0.320257] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  236. [    0.324484] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
  237. [    0.394780] console [ttyS2] enabled
  238. [    0.396965] SuperH (H)SCI(F) driver initialized
  239. [    0.398012] msm_serial: driver initialized
  240. [    0.412526] loop: module loaded
  241. [    0.419754] libphy: Fixed MDIO Bus: probed
  242. [    0.420997] tun: Universal TUN/TAP device driver, 1.6
  243. [    0.423085] thunder_xcv, ver 1.0
  244. [    0.423492] thunder_bgx, ver 1.0
  245. [    0.423868] nicpf, ver 1.0
  246. [    0.424868] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
  247. [    0.425422] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
  248. [    0.426051] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
  249. [    0.426685] igb: Copyright (c) 2007-2014 Intel Corporation.
  250. [    0.427275] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
  251. [    0.427989] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
  252. [    0.429242] sky2: driver version 1.30
  253. [    0.430903] VFIO - User Level meta-driver version: 0.3
  254. [    0.432950] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
  255. [    0.433812] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
  256. [    0.568424] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
  257. [    0.570550] dwc2 ff580000.usb: DWC OTG Controller
  258. [    0.571042] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
  259. [    0.571738] dwc2 ff580000.usb: irq 26, io mem 0xff580000
  260. [    0.573306] hub 1-0:1.0: USB hub found
  261. [    0.573719] hub 1-0:1.0: 1 port detected
  262. [    0.575825] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  263. [    0.576485] ehci-pci: EHCI PCI platform driver
  264. [    0.576993] ehci-platform: EHCI generic platform driver
  265. [    0.579977] ehci-platform ff5c0000.usb: EHCI Host Controller
  266. [    0.580569] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
  267. [    0.581764] ehci-platform ff5c0000.usb: irq 27, io mem 0xff5c0000
  268. [    0.596349] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
  269. [    0.597926] hub 2-0:1.0: USB hub found
  270. [    0.598348] hub 2-0:1.0: 1 port detected
  271. [    0.599360] ehci-orion: EHCI orion driver
  272. [    0.600014] ehci-exynos: EHCI EXYNOS driver
  273. [    0.600697] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  274. [    0.601309] ohci-pci: OHCI PCI platform driver
  275. [    0.601831] ohci-platform: OHCI generic platform driver
  276. [    0.602698] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
  277. [    0.603342] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
  278. [    0.604524] ohci-platform ff5d0000.usb: irq 28, io mem 0xff5d0000
  279. [    0.669476] hub 3-0:1.0: USB hub found
  280. [    0.669896] hub 3-0:1.0: 1 port detected
  281. [    0.670899] ohci-exynos: OHCI EXYNOS driver
  282. [    0.672515] usbcore: registered new interface driver usb-storage
  283. [    0.678400] i2c /dev entries driver
  284. [    0.682350] rk808 1-0018: chip id: 0x8050
  285. [    0.691251] rk808-regulator rk808-regulator: there is no dvs0 gpio
  286. [    0.691862] rk808-regulator rk808-regulator: there is no dvs1 gpio
  287. [    0.692544] DCDC_REG1: supplied by vcc_sys
  288. [    0.695650] DCDC_REG2: supplied by vcc_sys
  289. [    0.697695] DCDC_REG3: supplied by vcc_sys
  290. [    0.698431] DCDC_REG4: supplied by vcc_sys
  291. [    0.700162] LDO_REG1: supplied by vcc_io
  292. [    0.704152] LDO_REG2: supplied by vcc_io
  293. [    0.708133] LDO_REG3: supplied by vcc_io
  294. [    0.714023] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at         (ptrval)
  295. [    0.724063] sdhci: Secure Digital Host Controller Interface driver
  296. [    0.724672] sdhci: Copyright(c) Pierre Ossman
  297. [    0.725587] Synopsys Designware Multimedia Card Interface Driver
  298. [    0.727330] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  299. [    0.728255] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  300. [    0.728894] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  301. [    0.729481] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  302. [    0.730389] vcc_sd: supplied by vcc_io
  303. [    0.743712] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  304. [    0.758104] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
  305. [    0.758962] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
  306. [    0.759572] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
  307. [    0.760149] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 24,32 bit host data width,256 deep fifo
  308. [    0.761134] mmc_host mmc1: card is non-removable.
  309. [    0.772451] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  310. [    0.786685] sdhci-pltfm: SDHCI platform and OF driver helper
  311. [    0.788909] ledtrig-cpu: registered to indicate activity on CPUs
  312. [    0.790940] usbcore: registered new interface driver usbhid
  313. [    0.791546] usbhid: USB HID core driver
  314. [    0.795877] NET: Registered protocol family 17
  315. [    0.796440] 9pnet: Installing 9P2000 support
  316. [    0.796951] Key type dns_resolver registered
  317. [    0.798201] registered taskstats version 1
  318. [    0.798615] Loading compiled-in X.509 certificates
  319. [    0.810842] hctosys: unable to open rtc device (rtc0)
  320. [    0.812778] vcc_sd: disabling
  321. [    0.813080] ALSA device list:
  322. [    0.813344]   No soundcards found.
  323. [    0.814024] ttyS2 - failed to request DMA
  324. [    0.814646] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
  325. [    0.815312] Please append a correct "root=" boot option; here are the available partitions:
  326. [    0.816058] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
  327. [    0.816795] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.19-g17982fadb9b5-dirty #2
  328. [    0.817477] Hardware name: Firefly roc-rk3328-cc (DT)
  329. [    0.817928] Call trace:
  330. [    0.818165]  dump_backtrace+0x0/0x198
  331. [    0.818494]  show_stack+0x14/0x20
  332. [    0.818793]  dump_stack+0x98/0xbc
  333. [    0.819096]  panic+0x12c/0x29c
  334. [    0.819375]  mount_block_root+0x188/0x274
  335. [    0.819732]  mount_root+0x144/0x178
  336. [    0.820046]  prepare_namespace+0x138/0x180
  337. [    0.820413]  kernel_init_freeable+0x208/0x22c
  338. [    0.820805]  kernel_init+0x10/0x108
  339. [    0.821118]  ret_from_fork+0x10/0x18
  340. [    0.821445] SMP: stopping secondary CPUs
  341. [    0.821798] Kernel Offset: disabled
  342. [    0.822112] CPU features: 0x20802004
  343. [    0.822432] Memory Limit: none
  344. [    0.822714] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
复制代码
回复

使用道具 举报

428

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
428
发表于 2020-2-24 14:55:51     
看你这个打印信息,貌似是没有加载到这个根文件系统。
你用的dts文件是自己的还是官方的?
官方的dts文件是在chosen节点,有包含root的挂载地址这样。
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-24 22:46:11     
Lazyfan 发表于 2020-2-24 14:55
看你这个打印信息,貌似是没有加载到这个根文件系统。
你用的dts文件是自己的还是官方的?
官方的dts文件 ...

是的,总是找不到分区,不过今天把它解决了,就是给内核添加启动参数,指明root分区。
不过又出现了新的问题。
  1. 添加启动参数之后运行结果
  2. chosen {
  3.         bootargs = "root=/dev/mmcblk0p5 rw rootfstype=ext4 rootwait systemd.gpt_auto=0";
  4.         stdout-path = "serial2:1500000n8";
  5. };


  6. DDR version 1.13 20180428
  7. ID:0x805 N
  8. In
  9. DDR4
  10. 333MHz
  11. Bus Width=32 Col=10 Bank=4 Bank Group=2 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
  12. ddrconfig:19
  13. OUT
  14. Boot1 Release Time: Sep  7 2018 15:49:55, version: 2.49
  15. ChipType = 0x11, 207
  16. mmc2:cmd19,100
  17. SdmmcInit=2 0
  18. BootCapSize=2000
  19. UserCapSize=14910MB
  20. FwPartOffset=2000 , 2000
  21. SdmmcInit=0 NOT PRESENT
  22. StorageInit ok = 19195
  23. Raw SecureMode = 0
  24. SecureInit read PBA: 0x4
  25. SecureInit read PBA: 0x404
  26. SecureInit read PBA: 0x804
  27. SecureInit read PBA: 0xc04
  28. SecureInit read PBA: 0x1004
  29. SecureInit ret = 0, SecureMode = 0
  30. GPT part:  0, name:            uboot, start:0x4000, size:0x2000
  31. GPT part:  1, name:            trust, start:0x6000, size:0x2000
  32. GPT part:  2, name:             boot, start:0xa000, size:0x10000
  33. GPT part:  3, name:           backup, start:0x2a000, size:0x10000
  34. GPT part:  4, name:           rootfs, start:0x5a000, size:0x1cc4fdf
  35. find partition:uboot OK. first_lba:0x4000.
  36. find partition:trust OK. first_lba:0x6000.
  37. LoadTrust Addr:0x6000
  38. No find bl30.bin
  39. Load uboot, ReadLba = 4000
  40. Load OK, addr=0x200000, size=0xce990
  41. RunBL31 0x10000
  42. INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-194-g646eecc5 #61 Wed Dec  5 06:31:51 UTC 20)

  43. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.4

  44. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


  45. U-Boot 2017.09-g0b1f585323-dirty (Feb 24 2020 - 18:54:01 +0800)

  46. Model: Firefly ROC-RK3328-CC
  47. DRAM:  2 GiB
  48. Relocation Offset is: 7dbf5000
  49. Sysmem: init
  50. Using default environment

  51. rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
  52. Card did not respond to voltage select!
  53. mmc_init: -95, time 9
  54. switch to partitions #0, OK
  55. mmc0(part 0) is current device
  56. Bootdev: mmc 0
  57. PartType: EFI
  58. get part misc fail -1
  59. boot mode: None
  60. Load FDT from boot part
  61. DTB: rk-kernel.dtb
  62. In:    serial
  63. Out:   serial
  64. Err:   serial
  65. Model: Firefly roc-rk3328-cc
  66. rockchip_dnl_key_pressed adc_channel_single_shot fail! ret=-22
  67. CLK: (sync kernel. arm: enter 600000 KHz, init 600000 KHz, kernel 0N/A)
  68.   apll 400000 KHz
  69.   dpll 664000 KHz
  70.   cpll 1200000 KHz
  71.   gpll 491009 KHz
  72.   npll 600000 KHz
  73.   armclk 600000 KHz
  74.   aclk_bus 150000 KHz
  75.   hclk_bus 75000 KHz
  76.   pclk_bus 75000 KHz
  77.   aclk_peri 150000 KHz
  78.   hclk_peri 75000 KHz
  79.   pclk_peri 75000 KHz
  80. Net:   
  81. Warning: ethernet@ff540000 (eth0) using random MAC address - be:93:4b:db:0e:d4
  82. eth0: ethernet@ff540000
  83. Hit key to stop autoboot('CTRL+C'):  0
  84. android_bootloader_boot_flow Could not find misc partition
  85. ANDROID: reboot reason: "(none)"
  86. Fdt Ramdisk skip relocation
  87. FDT load addr 0x10f00000 size 34 KiB
  88. Booting kernel at 0x00280000 with fdt at 0x8300000...


  89. ## Booting Android Image at 0x0027f800 ...
  90. Kernel load addr 0x00280000 size 16257 KiB
  91. ## Flattened Device Tree blob at 08300000
  92.    Booting using the fdt blob at 0x8300000
  93.    XIP Kernel Image ... OK
  94.    Using Device Tree in place at 0000000008300000, end 000000000830b25a
  95. Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
  96. Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
  97. Total: 3800.934 ms

  98. Starting kernel ...


  99. [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
  100. [    0.000000] Linux version 4.20.0 (msw@msw-Z97M-D3H) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05))0
  101. [    0.000000] Machine model: Firefly roc-rk3328-cc
  102. [    0.000000] efi: Getting EFI parameters from FDT:
  103. [    0.000000] efi: UEFI not found.
  104. [    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
  105. [    0.000000] NUMA: No NUMA configuration found
  106. [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
  107. [    0.000000] NUMA: NODE_DATA [mem 0x7dfc7840-0x7dfc8fff]
  108. [    0.000000] Zone ranges:
  109. [    0.000000]   DMA32    [mem 0x0000000000200000-0x000000007fffffff]
  110. [    0.000000]   Normal   empty
  111. [    0.000000] Movable zone start for each node
  112. [    0.000000] Early memory node ranges
  113. [    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
  114. [    0.000000]   node   0: [mem 0x000000000a200000-0x000000007fffffff]
  115. [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
  116. [    0.000000] psci: probing for conduit method from DT.
  117. [    0.000000] psci: PSCIv1.0 detected in firmware.
  118. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  119. [    0.000000] psci: Trusted OS migration not required
  120. [    0.000000] psci: SMC Calling Convention v1.0
  121. [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x414 with crng_init=0
  122. [    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s55384 r8192 d30632 u94208
  123. [    0.000000] Detected VIPT I-cache on CPU0
  124. [    0.000000] CPU features: enabling workaround for ARM erratum 845719
  125. [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
  126. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
  127. [    0.000000] Policy zone: DMA32
  128. [    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= android4
  129. [    0.000000] Memory: 1981312K/2064384K available (10876K kernel code, 704K rwdata, 3572K rodata, 1024K ini)
  130. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  131. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  132. [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
  133. [    0.000000]  Tasks RCU enabled.
  134. [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  135. [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  136. [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  137. [    0.000000] GIC: Using split EOI/Deactivate mode
  138. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  139. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  140. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  141. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  142. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  143. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  144. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  145. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  146. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
  147. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 4s
  148. [    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  149. [    0.000959] Console: colour dummy device 80x25
  150. [    0.001821] printk: console [tty0] enabled
  151. [    0.001965] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lp)
  152. [    0.002007] pid_max: default: 32768 minimum: 301
  153. [    0.002155] LSM: Security Framework initializing
  154. [    0.003543] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  155. [    0.004298] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  156. [    0.004381] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  157. [    0.004432] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  158. [    0.027928] ASID allocator initialised with 32768 entries
  159. [    0.035910] rcu: Hierarchical SRCU implementation.
  160. [    0.045586] EFI services will not be available.
  161. [    0.052002] smp: Bringing up secondary CPUs ...
  162. [    0.084257] Detected VIPT I-cache on CPU1
  163. [    0.084339] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
  164. [    0.116346] Detected VIPT I-cache on CPU2
  165. [    0.116417] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
  166. [    0.148451] Detected VIPT I-cache on CPU3
  167. [    0.148519] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
  168. [    0.148641] smp: Brought up 1 node, 4 CPUs
  169. [    0.148782] SMP: Total of 4 processors activated.
  170. [    0.148806] CPU features: detected: 32-bit EL0 Support
  171. [    0.148829] CPU features: detected: CRC32 instructions
  172. [    0.152452] CPU: All CPU(s) started at EL2
  173. [    0.152498] alternatives: patching kernel code
  174. [    0.154088] devtmpfs: initialized
  175. [    0.164679] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 s
  176. [    0.164774] futex hash table entries: 1024 (order: 4, 65536 bytes)
  177. [    0.166689] xor: measuring software checksum speed
  178. [    0.204578]    8regs     :  1152.000 MB/sec
  179. [    0.244637]    8regs_prefetch:  1026.000 MB/sec
  180. [    0.284705]    32regs    :  1415.000 MB/sec
  181. [    0.324766]    32regs_prefetch:  1191.000 MB/sec
  182. [    0.324789] xor: using function: 32regs (1415.000 MB/sec)
  183. [    0.324825] pinctrl core: initialized pinctrl subsystem
  184. [    0.326831] DMI not present or invalid.
  185. [    0.327404] NET: Registered protocol family 16
  186. [    0.328155] audit: initializing netlink subsys (disabled)
  187. [    0.328413] audit: type=2000 audit(0.324:1): state=initialized audit_enabled=0 res=1
  188. [    0.333416] cpuidle: using governor menu
  189. [    0.334048] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
  190. [    0.334107] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  191. [    0.335884] DMA: preallocated 256 KiB pool for atomic allocations
  192. [    0.337297] Serial: AMBA PL011 UART driver
  193. [    0.380885] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
  194. [    0.382168] cryptd: max_cpu_qlen set to 1000
  195. [    0.450148] raid6: int64x1  gen()   206 MB/s
  196. [    0.518119] raid6: int64x1  xor()   222 MB/s
  197. [    0.586235] raid6: int64x2  gen()   328 MB/s
  198. [    0.654275] raid6: int64x2  xor()   299 MB/s
  199. [    0.722465] raid6: int64x4  gen()   493 MB/s
  200. [    0.790537] raid6: int64x4  xor()   370 MB/s
  201. [    0.858727] raid6: int64x8  gen()   574 MB/s
  202. [    0.926827] raid6: int64x8  xor()   373 MB/s
  203. [    0.994914] raid6: neonx1   gen()   363 MB/s
  204. [    1.063023] raid6: neonx1   xor()   425 MB/s
  205. [    1.131094] raid6: neonx2   gen()   581 MB/s
  206. [    1.199200] raid6: neonx2   xor()   602 MB/s
  207. [    1.267282] raid6: neonx4   gen()   752 MB/s
  208. [    1.335384] raid6: neonx4   xor()   720 MB/s
  209. [    1.403537] raid6: neonx8   gen()   798 MB/s
  210. [    1.471623] raid6: neonx8   xor()   755 MB/s
  211. [    1.471643] raid6: using algorithm neonx8 gen() 798 MB/s
  212. [    1.471666] raid6: .... xor() 755 MB/s, rmw enabled
  213. [    1.471687] raid6: using neon recovery algorithm
  214. [    1.472409] ACPI: Interpreter disabled.
  215. [    1.473640] sdmmc-regulator GPIO handle specifies active low - ignored
  216. [    1.474833] vcc_sys: supplied by dc_12v
  217. [    1.475629] vcc_host1_5v: supplied by vcc_sys
  218. [    1.477137] vgaarb: loaded
  219. [    1.477681] SCSI subsystem initialized
  220. [    1.478669] usbcore: registered new interface driver usbfs
  221. [    1.478812] usbcore: registered new interface driver hub
  222. [    1.479067] usbcore: registered new device driver usb
  223. [    1.479838] pps_core: LinuxPPS API ver. 1 registered
  224. [    1.479884] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  225. [    1.479951] PTP clock support registered
  226. [    1.480256] EDAC MC: Ver: 3.0.0
  227. [    1.481648] Advanced Linux Sound Architecture Driver Initialized.
  228. [    1.483276] clocksource: Switched to clocksource arch_sys_counter
  229. [    1.483853] pnp: PnP ACPI: disabled
  230. [    1.496346] NET: Registered protocol family 2
  231. [    1.497282] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
  232. [    1.497406] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  233. [    1.497688] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
  234. [    1.498089] TCP: Hash tables configured (established 16384 bind 16384)
  235. [    1.498338] UDP hash table entries: 1024 (order: 3, 32768 bytes)
  236. [    1.498458] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
  237. [    1.498769] NET: Registered protocol family 1
  238. [    1.499533] RPC: Registered named UNIX socket transport module.
  239. [    1.499574] RPC: Registered udp transport module.
  240. [    1.499593] RPC: Registered tcp transport module.
  241. [    1.499613] RPC: Registered tcp NFSv4.1 backchannel transport module.
  242. [    1.501012] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  243. [    1.501423] kvm [1]: 8-bit VMID
  244. [    1.501456] kvm [1]: IPA Size Limit: 40bits
  245. [    1.502369] kvm [1]: vgic interrupt IRQ1
  246. [    1.502544] kvm [1]: Hyp mode initialized successfully
  247. [    1.513061] Initialise system trusted keyrings
  248. [    1.513355] workingset: timestamp_bits=44 max_order=19 bucket_order=0
  249. [    1.526095] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  250. [    1.527741] NFS: Registering the id_resolver key type
  251. [    1.527815] Key type id_resolver registered
  252. [    1.527835] Key type id_legacy registered
  253. [    1.527866] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  254. [    1.528197] SGI XFS with security attributes, no debug enabled
  255. [    1.530913] 9p: Installing v9fs 9p2000 file system support
  256. [    1.539673] Key type asymmetric registered
  257. [    1.539719] Asymmetric key parser 'x509' registered
  258. [    1.539829] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
  259. [    1.539862] io scheduler noop registered
  260. [    1.539883] io scheduler deadline registered
  261. [    1.540188] io scheduler cfq registered (default)
  262. [    1.540225] io scheduler mq-deadline registered
  263. [    1.540247] io scheduler kyber registered
  264. [    1.546751] EINJ: ACPI disabled.
  265. [    1.551876] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
  266. [    1.551943] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  267. [    1.559026] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  268. [    1.562553] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
  269. [    1.646425] printk: console [ttyS2] enabled
  270. [    1.662673] loop: module loaded
  271. [    1.667418] libphy: Fixed MDIO Bus: probed
  272. [    1.668848] tun: Universal TUN/TAP device driver, 1.6
  273. [    1.670477] thunder_xcv, ver 1.0
  274. [    1.670886] thunder_bgx, ver 1.0
  275. [    1.671353] nicpf, ver 1.0
  276. [    1.672349] hclge is initializing
  277. [    1.672688] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
  278. [    1.673341] hns3: Copyright (c) 2017 Huawei Corporation.
  279. [    1.673924] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
  280. [    1.674463] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
  281. [    1.675067] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
  282. [    1.675732] igb: Copyright (c) 2007-2014 Intel Corporation.
  283. [    1.676325] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
  284. [    1.677040] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
  285. [    1.677872] sky2: driver version 1.30
  286. [    1.678945] VFIO - User Level meta-driver version: 0.3
  287. [    1.680862] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
  288. [    1.681724] dwc2 ff580000.usb: Linked as a consumer to regulator.0
  289. [    1.682297] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
  290. [    1.811419] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
  291. [    1.813724] dwc2 ff580000.usb: DWC OTG Controller
  292. [    1.814211] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
  293. [    1.814902] dwc2 ff580000.usb: irq 26, io mem 0xff580000
  294. [    1.816451] hub 1-0:1.0: USB hub found
  295. [    1.816868] hub 1-0:1.0: 1 port detected
  296. [    1.818984] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  297. [    1.819646] ehci-pci: EHCI PCI platform driver
  298. [    1.820160] ehci-platform: EHCI generic platform driver
  299. [    1.823076] ehci-platform ff5c0000.usb: EHCI Host Controller
  300. [    1.823651] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
  301. [    1.824942] ehci-platform ff5c0000.usb: irq 27, io mem 0xff5c0000
  302. [    1.839306] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
  303. [    1.840883] hub 2-0:1.0: USB hub found
  304. [    1.841314] hub 2-0:1.0: 1 port detected
  305. [    1.842330] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  306. [    1.842949] ohci-pci: OHCI PCI platform driver
  307. [    1.843519] ohci-platform: OHCI generic platform driver
  308. [    1.844408] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
  309. [    1.845046] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
  310. [    1.846164] ohci-platform ff5d0000.usb: irq 28, io mem 0xff5d0000
  311. [    1.908394] hub 3-0:1.0: USB hub found
  312. [    1.908842] hub 3-0:1.0: 1 port detected
  313. [    1.910607] usbcore: registered new interface driver usb-storage
  314. [    1.914567] i2c /dev entries driver
  315. [    1.917660] rk808 1-0018: chip id: 0x8050
  316. [    1.926311] rk808-regulator rk808-regulator: there is no dvs0 gpio
  317. [    1.926927] rk808-regulator rk808-regulator: there is no dvs1 gpio
  318. [    1.927642] DCDC_REG1: supplied by vcc_sys
  319. [    1.930652] DCDC_REG2: supplied by vcc_sys
  320. [    1.932747] DCDC_REG3: supplied by vcc_sys
  321. [    1.933477] DCDC_REG4: supplied by vcc_sys
  322. [    1.935168] LDO_REG1: supplied by vcc_io
  323. [    1.939230] LDO_REG2: supplied by vcc_io
  324. [    1.943304] LDO_REG3: supplied by vcc_io
  325. [    1.949231] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  326. [    1.950621] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  327. [    1.951534] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  328. [    1.952365] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  329. [    1.955429] cpu cpu0: Linked as a consumer to regulator.7
  330. [    1.956007] cpu cpu0: Dropping the link to regulator.7
  331. [    1.956697] cpu cpu0: Linked as a consumer to regulator.7
  332. [    1.959525] sdhci: Secure Digital Host Controller Interface driver
  333. [    1.960102] sdhci: Copyright(c) Pierre Ossman
  334. [    1.960761] Synopsys Designware Multimedia Card Interface Driver
  335. [    1.962421] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  336. [    1.963451] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  337. [    1.964074] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  338. [    1.964660] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fio
  339. [    1.965579] vcc_sd: supplied by vcc_io
  340. [    1.966040] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  341. [    1.966773] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  342. [    1.968387] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
  343. [    1.969228] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
  344. [    1.969838] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
  345. [    1.970397] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 24,32 bit host data width,256 deep fio
  346. [    1.971433] mmc_host mmc0: card is non-removable.
  347. [    1.983363] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  348. [    1.995562] sdhci-pltfm: SDHCI platform and OF driver helper
  349. [    1.996878] ledtrig-cpu: registered to indicate activity on CPUs
  350. [    1.998933] usbcore: registered new interface driver usbhid
  351. [    1.999540] usbhid: USB HID core driver
  352. [    2.002658] NET: Registered protocol family 17
  353. [    2.003386] 9pnet: Installing 9P2000 support
  354. [    2.003878] Key type dns_resolver registered
  355. [    2.005099] registered taskstats version 1
  356. [    2.005513] Loading compiled-in X.509 certificates
  357. [    2.007462] Btrfs loaded, crc32c=crc32c-generic
  358. [    2.021629] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  359. [    2.022946] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  360. [    2.023828] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  361. [    2.024611] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  362. [    2.026415] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  363. [    2.027505] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  364. [    2.028151] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  365. [    2.028714] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fio
  366. [    2.029747] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  367. [    2.030490] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  368. [    2.032312] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  369. [    2.033656] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  370. [    2.034493] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  371. [    2.035338] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  372. [    2.037173] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  373. [    2.038261] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  374. [    2.038882] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  375. [    2.039452] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fio
  376. [    2.040428] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  377. [    2.041162] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  378. [    2.042381] hctosys: unable to open rtc device (rtc0)
  379. [    2.044215] vcc_sd: disabling
  380. [    2.044551] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = )
  381. [    2.045535] ALSA device list:
  382. [    2.045813]   No soundcards found.
  383. [    2.046171] mmc0: new high speed MMC card at address 0001
  384. [    2.048305] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
  385. [    2.049796] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
  386. [    2.051439] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
  387. [    2.052280] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (244:0)
  388. [    2.056281]  mmcblk0: p1 p2 p3 p4 p5
  389. [    2.060806] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  390. [    2.062185] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  391. [    2.063092] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  392. [    2.063235] random: fast init done
  393. [    2.063948] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  394. [    2.065809] EXT4-fs (mmcblk0p5): recovery complete
  395. [    2.066156] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  396. [    2.066272] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
  397. [    2.067818] VFS: Mounted root (ext4 filesystem) on device 179:5.
  398. [    2.067861] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  399. [    2.068970] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  400. [    2.069546] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fio
  401. [    2.070166] devtmpfs: mounted
  402. [    2.070528] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  403. [    2.071369] Freeing unused kernel memory: 1024K
  404. [    2.071896] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  405. [    2.107313] Run /sbin/init as init process
  406. [    2.427122] systemd[1]: System time before build time, advancing clock.
  407. [    2.456245] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +)
  408. [    2.458577] systemd[1]: Code should not be reached 'Couldn't identify architecture. You need to patch sys.
  409. [    2.461734] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000005
  410. [    2.462444] CPU: 2 PID: 1 Comm: systemd Not tainted 4.20.0 #1
  411. [    2.462953] Hardware name: Firefly roc-rk3328-cc (DT)
  412. [    2.463401] Call trace:
  413. [    2.463641]  dump_backtrace+0x0/0x158
  414. [    2.463970]  show_stack+0x14/0x20
  415. [    2.464270]  dump_stack+0x8c/0xac
  416. [    2.464573]  panic+0x13c/0x2ac
  417. [    2.464851]  do_exit+0x994/0x998
  418. [    2.465143]  do_group_exit+0x34/0x98
  419. [    2.465466]  get_signal+0x1d8/0x480
  420. [    2.465782]  do_notify_resume+0x2ac/0x390
  421. [    2.466141]  work_pending+0x8/0x10
  422. [    2.466453] SMP: stopping secondary CPUs
  423. [    2.466809] Kernel Offset: disabled
  424. [    2.467122] CPU features: 0x2,20802004
  425. [    2.467455] Memory Limit: none
  426. [    2.467737] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000005 ]---
复制代码
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-24 22:49:19     
Lazyfan 发表于 2020-2-24 14:55
看你这个打印信息,貌似是没有加载到这个根文件系统。
你用的dts文件是自己的还是官方的?
官方的dts文件 ...

dts文件是linux kernel自带的,不是Firefly提供的,少了很多,只有rk3328.dtsi和rk3328-roc-cc.dts。
回复

使用道具 举报

428

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
428
发表于 2020-2-25 09:48:38     
ifuxiao.net 发表于 2020-2-24 22:49
dts文件是linux kernel自带的,不是Firefly提供的,少了很多,只有rk3328.dtsi和rk3328-roc-cc.dts。

最后一行的exitcode值应该是关键,但是我不知道这个值是代表什么意思。
你试试用官方的启动参数,看看行不行?
chosen {
          bootargs = "rockchip_jtag earlyprintk=uart8250-32bit,0xff130000 swiotlb=1 kpti=0 console=ttyFIQ0 rw root=PARTUUID=614e0000-0000 roo    tfstype=ext4 rootwait systemd.gpt_auto=0";
          stdout-path = "serial2:1500000n8";
      };
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-25 13:26:18     
Lazyfan 发表于 2020-2-25 09:48
最后一行的exitcode值应该是关键,但是我不知道这个值是代表什么意思。
你试试用官方的启动参数,看看行 ...

今天上午已经解决了,是因为我用firefly提供的arch/arm64/Makefile 替换了系统自带的文件,它们之间有许多变量定义不一样,所以造成了系统不识别的问题。今天已经进行了多次实验,linux5.20.0、linux5.5.0均已通过。但现在新的问题又出现了,就是显示器没有显示,除了检查到有HDMI信号外,没有任何反应。

  1. # 1. 修改SDK根目录(即kernel根目录)下ARCH类型和交叉编译器位置
  2. # 2. 修改arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts,添加内核启动参数
  3.         bootargs = "root=/dev/mmcblk0p5 rw rootfstype=ext4 rootwait systemd.gpt_auto=0";
  4. # 3. 拷贝logo.bmp到SDK根目录(即kernel根目录)
  5. # 4.手动生成boot.img及resource.img
  6.         利用firefly提供的mkkrnlimg、resource_tool及mkbootimg三个工具(在firefly提供的linux-sdk/kernel/scripts目录下),手动生成boot.img和resource.img。在此之前必须先执行./build.sh kernel,完成kernel编译,否则会报找不文件的错误。
  7. # 说明
  8.         1. 这里之所以没有修改arch/arm64/Makefile,是因为加入自动生成代码后一致报错,在不修改原代码的情况下没有解决,因此改为手动生成boot.img和resource.img两人个文件。
  9.         2. 切记:arch/arm64/Makefile不要用firefly提供的linux-sdk中的相应文件替换,由于版本不一样,两人文件一些变量定义不一样,虽然可以编译通过,
  10.         但会出现无法识别系统结构类型的错误,在不清楚的情况下,只需要将自动boot生成代码加到文件尾部即可,或手动生成需要的文件,切记!切记!切记。
  11.         3. 目前已经实验了linux4.20.0和linux5.5.0,均以实现正常启动(除显示问题外)。
  12.         3. 目前还有显示器不显示的问题没有解决。


  13. DDR version 1.13 20180428
  14. ID:0x805 N
  15. In
  16. DDR4
  17. 333MHz
  18. Bus Width=32 Col=10 Bank=4 Bank Group=2 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
  19. ddrconfig:19
  20. OUT
  21. Boot1 Release Time: Sep  7 2018 15:49:55, version: 2.49
  22. ChipType = 0x11, 207
  23. mmc2:cmd19,100
  24. SdmmcInit=2 0
  25. BootCapSize=2000
  26. UserCapSize=14910MB
  27. FwPartOffset=2000 , 2000
  28. SdmmcInit=0 NOT PRESENT
  29. StorageInit ok = 19179
  30. Raw SecureMode = 0
  31. SecureInit read PBA: 0x4
  32. SecureInit read PBA: 0x404
  33. SecureInit read PBA: 0x804
  34. SecureInit read PBA: 0xc04
  35. SecureInit read PBA: 0x1004
  36. SecureInit ret = 0, SecureMode = 0
  37. GPT part:  0, name:            uboot, start:0x4000, size:0x2000
  38. GPT part:  1, name:            trust, start:0x6000, size:0x2000
  39. GPT part:  2, name:             boot, start:0xa000, size:0x10000
  40. GPT part:  3, name:           backup, start:0x2a000, size:0x10000
  41. GPT part:  4, name:           rootfs, start:0x5a000, size:0x1cc4fdf
  42. find partition:uboot OK. first_lba:0x4000.
  43. find partition:trust OK. first_lba:0x6000.
  44. LoadTrust Addr:0x6000
  45. No find bl30.bin
  46. Load uboot, ReadLba = 4000
  47. Load OK, addr=0x200000, size=0xce990
  48. RunBL31 0x10000
  49. INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-194-g646eecc5 #61 Wed Dec  5 06:31:51 UTC 2018 aa)

  50. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.4

  51. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


  52. U-Boot 2017.09-g0b1f585323-dirty (Feb 25 2020 - 12:02:54 +0800)

  53. Model: Firefly ROC-RK3328-CC
  54. DRAM:  2 GiB
  55. Relocation Offset is: 7dbf5000
  56. Sysmem: init
  57. Using default environment

  58. rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
  59. Card did not respond to voltage select!
  60. mmc_init: -95, time 9
  61. GPT: my_lba incorrect: 4E494843414D0A31 != 1d1efff
  62. GPT: my_lba incorrect: 4E494843414D0A31 != 1d1efff
  63. Repair the backup gpt table OK!
  64. Repair the backup gpt table OK!
  65. switch to partitions #0, OK
  66. mmc0(part 0) is current device
  67. Bootdev: mmc 0
  68. PartType: EFI
  69. get part misc fail -1
  70. boot mode: None
  71. Load FDT from boot part
  72. DTB: rk-kernel.dtb
  73. In:    serial
  74. Out:   serial
  75. Err:   serial
  76. Model: Firefly roc-rk3328-cc
  77. rockchip_dnl_key_pressed adc_channel_single_shot fail! ret=-22
  78. CLK: (sync kernel. arm: enter 600000 KHz, init 600000 KHz, kernel 0N/A)
  79.   apll 400000 KHz
  80.   dpll 664000 KHz
  81.   cpll 1200000 KHz
  82.   gpll 491009 KHz
  83.   npll 600000 KHz
  84.   armclk 600000 KHz
  85.   aclk_bus 150000 KHz
  86.   hclk_bus 75000 KHz
  87.   pclk_bus 75000 KHz
  88.   aclk_peri 150000 KHz
  89.   hclk_peri 75000 KHz
  90.   pclk_peri 75000 KHz
  91. Net:   
  92. Warning: ethernet@ff540000 (eth0) using random MAC address - 0e:1a:d8:2a:e3:fd
  93. eth0: ethernet@ff540000
  94. Hit key to stop autoboot('CTRL+C'):  0
  95. android_bootloader_boot_flow Could not find misc partition
  96. ANDROID: reboot reason: "(none)"
  97. Fdt Ramdisk skip relocation
  98. FDT load addr 0x10f00000 size 160 KiB
  99. Booting kernel at 0x00280000 with fdt at 0x8300000...


  100. ## Booting Android Image at 0x0027f800 ...
  101. Kernel load addr 0x00280000 size 18695 KiB
  102. ## Flattened Device Tree blob at 08300000
  103.    Booting using the fdt blob at 0x8300000
  104.    XIP Kernel Image ... OK
  105.    Using Device Tree in place at 0000000008300000, end 000000000830b25e
  106. Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
  107. Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
  108. Total: 3901.546 ms

  109. Starting kernel ...


  110. [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
  111. [    0.000000] Linux version 4.20.0 (msw@msw-Z97M-D3H) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 S0
  112. [    0.000000] Machine model: Firefly roc-rk3328-cc
  113. [    0.000000] efi: Getting EFI parameters from FDT:
  114. [    0.000000] efi: UEFI not found.
  115. [    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
  116. [    0.000000] NUMA: No NUMA configuration found
  117. [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
  118. [    0.000000] NUMA: NODE_DATA [mem 0x7dfc7840-0x7dfc8fff]
  119. [    0.000000] Zone ranges:
  120. [    0.000000]   DMA32    [mem 0x0000000000200000-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 0x0000000000200000-0x00000000083fffff]
  125. [    0.000000]   node   0: [mem 0x000000000a200000-0x000000007fffffff]
  126. [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
  127. [    0.000000] psci: probing for conduit method from DT.
  128. [    0.000000] psci: PSCIv1.0 detected in firmware.
  129. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  130. [    0.000000] psci: Trusted OS migration not required
  131. [    0.000000] psci: SMC Calling Convention v1.0
  132. [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x414 with crng_init=0
  133. [    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s55704 r8192 d30312 u94208
  134. [    0.000000] Detected VIPT I-cache on CPU0
  135. [    0.000000] CPU features: enabling workaround for ARM erratum 845719
  136. [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
  137. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
  138. [    0.000000] Policy zone: DMA32
  139. [    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= androidboot.0
  140. [    0.000000] Memory: 1978876K/2064384K available (10748K kernel code, 1414K rwdata, 5100K rodata, 1344K init, 3)
  141. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  142. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  143. [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
  144. [    0.000000]  Tasks RCU enabled.
  145. [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  146. [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  147. [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  148. [    0.000000] GIC: Using split EOI/Deactivate mode
  149. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  150. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  151. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  152. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  153. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  154. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  155. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  156. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  157. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
  158. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795s
  159. [    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  160. [    0.001195] Console: colour dummy device 80x25
  161. [    0.002036] printk: console [tty0] enabled
  162. [    0.002198] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=960)
  163. [    0.002239] pid_max: default: 32768 minimum: 301
  164. [    0.002384] LSM: Security Framework initializing
  165. [    0.003821] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  166. [    0.004528] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  167. [    0.004612] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  168. [    0.004659] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  169. [    0.027921] ASID allocator initialised with 32768 entries
  170. [    0.035906] rcu: Hierarchical SRCU implementation.
  171. [    0.047426] EFI services will not be available.
  172. [    0.052004] smp: Bringing up secondary CPUs ...
  173. [    0.084263] Detected VIPT I-cache on CPU1
  174. [    0.084342] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
  175. [    0.116350] Detected VIPT I-cache on CPU2
  176. [    0.116417] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
  177. [    0.148445] Detected VIPT I-cache on CPU3
  178. [    0.148507] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
  179. [    0.148630] smp: Brought up 1 node, 4 CPUs
  180. [    0.148760] SMP: Total of 4 processors activated.
  181. [    0.148784] CPU features: detected: 32-bit EL0 Support
  182. [    0.148806] CPU features: detected: CRC32 instructions
  183. [    0.152466] CPU: All CPU(s) started at EL2
  184. [    0.152517] alternatives: patching kernel code
  185. [    0.154076] devtmpfs: initialized
  186. [    0.164582] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  187. [    0.164706] futex hash table entries: 1024 (order: 4, 65536 bytes)
  188. [    0.166606] pinctrl core: initialized pinctrl subsystem
  189. [    0.169806] DMI not present or invalid.
  190. [    0.170587] NET: Registered protocol family 16
  191. [    0.171443] audit: initializing netlink subsys (disabled)
  192. [    0.171729] audit: type=2000 audit(0.168:1): state=initialized audit_enabled=0 res=1
  193. [    0.174672] cpuidle: using governor menu
  194. [    0.175499] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
  195. [    0.175555] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  196. [    0.178019] DMA: preallocated 256 KiB pool for atomic allocations
  197. [    0.180434] Serial: AMBA PL011 UART driver
  198. [    0.229589] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
  199. [    0.230292] cryptd: max_cpu_qlen set to 1000
  200. [    0.231663] ACPI: Interpreter disabled.
  201. [    0.233390] sdmmc-regulator GPIO handle specifies active low - ignored
  202. [    0.234611] vcc_sys: supplied by dc_12v
  203. [    0.235313] vcc_host1_5v: supplied by vcc_sys
  204. [    0.237006] vgaarb: loaded
  205. [    0.237812] SCSI subsystem initialized
  206. [    0.238832] usbcore: registered new interface driver usbfs
  207. [    0.238979] usbcore: registered new interface driver hub
  208. [    0.239165] usbcore: registered new device driver usb
  209. [    0.240614] pps_core: LinuxPPS API ver. 1 registered
  210. [    0.240659] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  211. [    0.240758] PTP clock support registered
  212. [    0.241068] EDAC MC: Ver: 3.0.0
  213. [    0.243181] Advanced Linux Sound Architecture Driver Initialized.
  214. [    0.244648] clocksource: Switched to clocksource arch_sys_counter
  215. [    0.244936] VFS: Disk quotas dquot_6.6.0
  216. [    0.245043] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  217. [    0.245437] pnp: PnP ACPI: disabled
  218. [    0.260886] NET: Registered protocol family 2
  219. [    0.261885] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
  220. [    0.262012] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  221. [    0.262310] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
  222. [    0.262713] TCP: Hash tables configured (established 16384 bind 16384)
  223. [    0.262963] UDP hash table entries: 1024 (order: 3, 32768 bytes)
  224. [    0.263098] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
  225. [    0.263405] NET: Registered protocol family 1
  226. [    0.264059] RPC: Registered named UNIX socket transport module.
  227. [    0.264090] RPC: Registered udp transport module.
  228. [    0.264110] RPC: Registered tcp transport module.
  229. [    0.264128] RPC: Registered tcp NFSv4.1 backchannel transport module.
  230. [    0.265983] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  231. [    0.266367] kvm [1]: 8-bit VMID
  232. [    0.266398] kvm [1]: IPA Size Limit: 40bits
  233. [    0.267510] kvm [1]: vgic interrupt IRQ1
  234. [    0.267686] kvm [1]: Hyp mode initialized successfully
  235. [    0.277760] Initialise system trusted keyrings
  236. [    0.278039] workingset: timestamp_bits=44 max_order=19 bucket_order=0
  237. [    0.291002] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  238. [    0.292395] NFS: Registering the id_resolver key type
  239. [    0.292470] Key type id_resolver registered
  240. [    0.292491] Key type id_legacy registered
  241. [    0.292522] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  242. [    0.292928] 9p: Installing v9fs 9p2000 file system support
  243. [    0.302918] Key type asymmetric registered
  244. [    0.302961] Asymmetric key parser 'x509' registered
  245. [    0.303070] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
  246. [    0.303105] io scheduler noop registered
  247. [    0.303125] io scheduler deadline registered
  248. [    0.303433] io scheduler cfq registered (default)
  249. [    0.303465] io scheduler mq-deadline registered
  250. [    0.303486] io scheduler kyber registered
  251. [    0.319837] EINJ: ACPI disabled.
  252. [    0.328131] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
  253. [    0.328188] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  254. [    0.340311] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  255. [    0.345043] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
  256. [    0.419296] printk: console [ttyS2] enabled
  257. [    0.421788] SuperH (H)SCI(F) driver initialized
  258. [    0.422884] msm_serial: driver initialized
  259. [    0.438418] loop: module loaded
  260. [    0.446800] libphy: Fixed MDIO Bus: probed
  261. [    0.448228] tun: Universal TUN/TAP device driver, 1.6
  262. [    0.450400] thunder_xcv, ver 1.0
  263. [    0.450813] thunder_bgx, ver 1.0
  264. [    0.451195] nicpf, ver 1.0
  265. [    0.452298] hclge is initializing
  266. [    0.452704] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
  267. [    0.453366] hns3: Copyright (c) 2017 Huawei Corporation.
  268. [    0.453953] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
  269. [    0.454488] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
  270. [    0.455095] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
  271. [    0.455729] igb: Copyright (c) 2007-2014 Intel Corporation.
  272. [    0.456302] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
  273. [    0.457051] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
  274. [    0.458423] sky2: driver version 1.30
  275. [    0.460169] VFIO - User Level meta-driver version: 0.3
  276. [    0.462601] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
  277. [    0.463468] dwc2 ff580000.usb: Linked as a consumer to regulator.0
  278. [    0.464042] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
  279. [    0.592737] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
  280. [    0.595191] dwc2 ff580000.usb: DWC OTG Controller
  281. [    0.595681] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
  282. [    0.596373] dwc2 ff580000.usb: irq 26, io mem 0xff580000
  283. [    0.597859] hub 1-0:1.0: USB hub found
  284. [    0.598282] hub 1-0:1.0: 1 port detected
  285. [    0.600457] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  286. [    0.601126] ehci-pci: EHCI PCI platform driver
  287. [    0.601635] ehci-platform: EHCI generic platform driver
  288. [    0.604627] ehci-platform ff5c0000.usb: EHCI Host Controller
  289. [    0.605217] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
  290. [    0.606464] ehci-platform ff5c0000.usb: irq 27, io mem 0xff5c0000
  291. [    0.620677] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
  292. [    0.622273] hub 2-0:1.0: USB hub found
  293. [    0.622699] hub 2-0:1.0: 1 port detected
  294. [    0.623737] ehci-orion: EHCI orion driver
  295. [    0.624412] ehci-exynos: EHCI EXYNOS driver
  296. [    0.625087] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  297. [    0.625694] ohci-pci: OHCI PCI platform driver
  298. [    0.626237] ohci-platform: OHCI generic platform driver
  299. [    0.627133] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
  300. [    0.627773] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
  301. [    0.629003] ohci-platform ff5d0000.usb: irq 28, io mem 0xff5d0000
  302. [    0.693733] hub 3-0:1.0: USB hub found
  303. [    0.694159] hub 3-0:1.0: 1 port detected
  304. [    0.695149] ohci-exynos: OHCI EXYNOS driver
  305. [    0.696811] usbcore: registered new interface driver usb-storage
  306. [    0.703238] i2c /dev entries driver
  307. [    0.707198] rk808 1-0018: chip id: 0x8050
  308. [    0.716244] rk808-regulator rk808-regulator: there is no dvs0 gpio
  309. [    0.716900] rk808-regulator rk808-regulator: there is no dvs1 gpio
  310. [    0.717542] DCDC_REG1: supplied by vcc_sys
  311. [    0.720597] DCDC_REG2: supplied by vcc_sys
  312. [    0.722709] DCDC_REG3: supplied by vcc_sys
  313. [    0.723485] DCDC_REG4: supplied by vcc_sys
  314. [    0.725326] LDO_REG1: supplied by vcc_io
  315. [    0.729317] LDO_REG2: supplied by vcc_io
  316. [    0.733362] LDO_REG3: supplied by vcc_io
  317. [    0.741620] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  318. [    0.743012] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  319. [    0.743891] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  320. [    0.744760] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  321. [    0.751218] cpu cpu0: Linked as a consumer to regulator.7
  322. [    0.751802] cpu cpu0: Dropping the link to regulator.7
  323. [    0.752528] cpu cpu0: Linked as a consumer to regulator.7
  324. [    0.755946] sdhci: Secure Digital Host Controller Interface driver
  325. [    0.756527] sdhci: Copyright(c) Pierre Ossman
  326. [    0.757705] Synopsys Designware Multimedia Card Interface Driver
  327. [    0.759637] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  328. [    0.760705] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  329. [    0.761326] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  330. [    0.761888] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  331. [    0.762800] vcc_sd: supplied by vcc_io
  332. [    0.763259] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  333. [    0.763991] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  334. [    0.765459] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
  335. [    0.766305] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
  336. [    0.766913] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
  337. [    0.767470] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 24,32 bit host data width,256 deep fifo
  338. [    0.768422] mmc_host mmc0: card is non-removable.
  339. [    0.780771] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  340. [    0.795167] sdhci-pltfm: SDHCI platform and OF driver helper
  341. [    0.797799] ledtrig-cpu: registered to indicate activity on CPUs
  342. [    0.800396] usbcore: registered new interface driver usbhid
  343. [    0.800997] usbhid: USB HID core driver
  344. [    0.806425] NET: Registered protocol family 17
  345. [    0.807058] 9pnet: Installing 9P2000 support
  346. [    0.807538] Key type dns_resolver registered
  347. [    0.808861] registered taskstats version 1
  348. [    0.809249] Loading compiled-in X.509 certificates
  349. [    0.824356] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  350. [    0.825708] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  351. [    0.826545] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  352. [    0.827328] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  353. [    0.830212] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  354. [    0.831334] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  355. [    0.831960] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  356. [    0.832508] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  357. [    0.833608] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  358. [    0.834361] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  359. [    0.837878] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  360. [    0.839208] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  361. [    0.839418] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
  362. [    0.840064] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  363. [    0.841093] mmc0: new high speed MMC card at address 0001
  364. [    0.841645] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  365. [    0.844195] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
  366. [    0.845914] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
  367. [    0.846838] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  368. [    0.847601] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
  369. [    0.848426] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (240:0)
  370. [    0.848455] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  371. [    0.849740] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  372. [    0.850307] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  373. [    0.851296] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  374. [    0.852039] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  375. [    0.853414] hctosys: unable to open rtc device (rtc0)
  376. [    0.855397] vcc_sd: disabling
  377. [    0.855708] ALSA device list:
  378. [    0.855974]   No soundcards found.
  379. [    0.858636]  mmcblk0: p1 p2 p3 p4 p5
  380. [    0.864945] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  381. [    0.866287] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  382. [    0.867116] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  383. [    0.867895] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  384. [    0.869159] random: fast init done
  385. [    0.871502] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  386. [    0.872535] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
  387. [    0.873392] VFS: Mounted root (ext4 filesystem) on device 179:5.
  388. [    0.874331] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  389. [    0.874956] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  390. [    0.875508] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  391. [    0.875893] devtmpfs: mounted
  392. [    0.876490] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  393. [    0.877547] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  394. [    0.877570] Freeing unused kernel memory: 1344K
  395. [    0.900672] Run /sbin/init as init process
  396. [    1.219444] systemd[1]: System time before build time, advancing clock.
  397. [    1.248319] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVI)
  398. [    1.250785] systemd[1]: Detected architecture arm64.

  399. Welcome to Ubuntu 18.04.2 LTS!

  400. [    1.269449] systemd[1]: Set hostname to <firefly>.
  401. [    1.488705] systemd[1]: File /lib/systemd/system/systemd-udevd.service:34 configures an IP firewall (IPAddress.
  402. [    1.490219] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first lo)
  403. [    1.752556] random: systemd: uninitialized urandom read (16 bytes read)
  404. [    1.753459] systemd[1]: Reached target Remote File Systems.
  405. [  OK  ] Reached target Remote File Systems.
  406. [    1.764838] random: systemd: uninitialized urandom read (16 bytes read)
  407. [    1.766304] systemd[1]: Created slice User and Session Slice.
  408. [  OK  ] Created slice User and Session Slice.
  409. [    1.776905] random: systemd: uninitialized urandom read (16 bytes read)
  410. [    1.778292] systemd[1]: Created slice System Slice.
  411. [  OK  ] Created slice System Slice.
  412. [    1.789384] systemd[1]: Listening on Journal Socket (/dev/log).
  413. [  OK  ] Listening on Journal Socket (/dev/log).
  414. [    1.801190] systemd[1]: Listening on udev Kernel Socket.
  415. [  OK  ] Listening on udev Kernel Socket.
  416. [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
  417. [  OK  ] Listening on Journal Socket.
  418.          Mounting POSIX Message Queue File System...
  419.          Starting Set the console keyboard layout...
  420. [  OK  ] Created slice system-serial\x2dgetty.slice.
  421.          Starting Create Static Device Nodes in /dev...
  422.          Starting Remount Root and Kernel File Systems...
  423.          Mounting Huge Pages File System...
  424. [  OK  ] Reached target Swap.
  425. [  OK  ] Listening on udev Control Socket.
  426.          Starting udev Coldplug all Devices...
  427.          Mounting Kernel Debug File System...
  428. [  OK  ] Listening on Syslog Socket.
  429.          Starting Load Kernel Modules...
  430. [  OK  ] Reached target User and Group Name Lookups.
  431. [  OK  ] Listening on Journal Audit Socket.
  432.          Starting Journal Service...
  433. [  OK  ] Started Forward Password Requests to Wall Directory Watch.
  434. [  OK  ] Reached target Slices.
  435. [  OK  ] Mounted POSIX Message Queue File System.
  436. [  OK  ] Started Create Static Device Nodes in /dev.
  437. [  OK  ] Started Remount Root and Kernel File Systems.
  438. [  OK  ] Mounted Huge Pages File System.
  439. [  OK  ] Mounted Kernel Debug File System.
  440. [  OK  ] Started Load Kernel Modules.
  441.          Mounting Kernel Configuration File System...
  442.          Starting Apply Kernel Variables...
  443.          Starting Load/Save Random Seed...
  444.          Starting udev Kernel Device Manager...
  445. [  OK  ] Started Journal Service.
  446. [  OK  ] Mounted Kernel Configuration File System.
  447. [  OK  ] Started Load/Save Random Seed.
  448.          Starting Flush Journal to Persistent Storage...
  449. [  OK  ] Started Apply Kernel Variables.
  450. [  OK  ] Started Set the console keyboard layout.
  451. [  OK  ] Reached target Local File Systems (Pre).
  452. [  OK  ] Reached target Local File Systems.
  453.          Starting Tell Plymouth To Write Out Runtime Data...
  454.          Starting Set console font and keymap...
  455. [  OK  ] Started Flush Journal to Persistent Storage.
  456. [  OK  ] Started Tell Plymouth To Write Out Runtime Data.
  457. [  OK  ] Started Set console font and keymap.
  458.          Starting Create Volatile Files and Directories...
  459. [  OK  ] Started udev Kernel Device Manager.
  460. [  OK  ] Started Create Volatile Files and Directories.
  461.          Starting Network Time Synchronization...
  462.          Starting Update UTMP about System Boot/Shutdown...
  463.          Starting Network Name Resolution...
  464. [  OK  ] Started udev Coldplug all Devices.
  465. [  OK  ] Started Update UTMP about System Boot/Shutdown.
  466. [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
  467. [  OK  ] Reached target Local Encrypted Volumes.
  468. [  OK  ] Started Network Time Synchronization.
  469. [  OK  ] Started Network Name Resolution.
  470. [  OK  ] Reached target Host and Network Name Lookups.
  471. [  OK  ] Reached target System Initialization.
  472.          Starting Socket activation for snappy daemon.
  473. [  OK  ] Started Message of the Day.
  474. [  OK  ] Listening on D-Bus System Message Bus Socket.
  475. [  OK  ] Started Daily Cleanup of Temporary Directories.
  476. [  OK  ] Reached target Paths.
  477. [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
  478. [  OK  ] Reached target System Time Synchronized.
  479. [  OK  ] Started Discard unused blocks once a week.
  480. [  OK  ] Started Daily apt download activities.
  481. [  OK  ] Started Daily apt upgrade and clean activities.
  482. [  OK  ] Reached target Timers.
  483. [  OK  ] Listening on Socket activation for snappy daemon.
  484. [  OK  ] Reached target Sockets.
  485. [  OK  ] Reached target Basic System.
  486. [  OK  ] Started Regular background program processing daemon.
  487.          Starting System Logging Service...
  488.          Starting Restore /etc/resolv.conf i��…fore the ppp link was shut down...
  489.          Starting LSB: automatic crash report generation...
  490.          Starting Accounts Service...
  491.          Starting Login Service...
  492.          Starting Resize root filesystem to fit available disk space...
  493.          Starting Disk Manager...
  494. [  OK  ] Started D-Bus System Message Bus.
  495.          Starting WPA supplicant...
  496.          Starting Network Manager...
  497. [  OK  ] Started Set the CPU Frequency Scaling governor.
  498.          Starting Dispatcher daemon for systemd-networkd...
  499.          Starting Avahi mDNS/DNS-SD Stack...
  500.          Starting Snappy daemon...
  501.          Starting Adbd for linux...
  502.          Starting Modem Manager...
  503. [  OK  ] Started System Logging Service.
  504. [  OK  ] Started Restore /etc/resolv.conf if��…before the ppp link was shut down.
  505. [  OK  ] Found device /dev/ttyS2.
  506. [  OK  ] Started Login Service.
  507. [  OK  ] Started WPA supplicant.
  508. [  OK  ] Started Avahi mDNS/DNS-SD Stack.
  509. [  OK  ] Started LSB: automatic crash report generation.
  510. [FAILED] Failed to start Adbd for linux.
  511. See 'systemctl status adbd.service' for details.
  512.          Starting Authorization Manager...
  513. [  OK  ] Started Authorization Manager.
  514. [  OK  ] Started Accounts Service.
  515. [  OK  ] Started Disk Manager.
  516. [  OK  ] Started Modem Manager.
  517.          Starting Hostname Service...
  518. [    5.846876] squashfs: SQUASHFS error: Filesystem uses "xz" compression. This is not supported
  519. [  OK  ] Started Snappy daemon.
  520. [  OK  ] Started Hostname Service.
  521.          Starting Wait until snapd is fully seeded...
  522.          Starting Network Manager Script Dispatcher Service...
  523. [  OK  ] Started Network Manager Script Dispatcher Service.
  524. [  OK  ] Started Network Manager.
  525. [  OK  ] Reached target Network.
  526.          Starting /etc/rc.local Compatibility...
  527.          Starting Permit User Sessions...
  528.          Starting OpenBSD Secure Shell server...
  529. [  OK  ] Started /etc/rc.local Compatibility.
  530. [  OK  ] Started Permit User Sessions.
  531.          Starting Hold until boot process finishes up...
  532. [  OK  ] Started Hold until boot process finishes up.
  533. [  OK  ] Started Serial Getty on ttyS2.
  534.          Starting Set console scheme...

  535. Ubuntu 18.04.2 LTS firefly ttyS2

  536. firefly login: root (automatic login)

  537. [  OK  ] Started Set console scheme.
  538. [  OK  ] Created slice system-getty.slice.
  539. [  OK  ] Started Getty on tty1.
  540. [  OK  ] Reached target Login Prompts.
  541. [  OK  ] Started OpenBSD Secure Shell server.
  542. Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.20.0 aarch64)

  543. * Documentation:  https://help.ubuntu.com
  544. * Management:     https://landscape.canonical.com
  545. * Support:        https://ubuntu.com/advantage
  546. This system has been minimized by removing packages and content that are
  547. not required on a system that users do not log into.

  548. To restore this content, you can run the 'unminimize' command.

  549. The programs included with the Ubuntu system are free software;
  550. the exact distribution terms for each program are described in the
  551. individual files in /usr/share/doc/*/copyright.

  552. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  553. applicable law.

  554. [  OK  ] Started Dispatcher daemon for systemd-networkd.
  555. [  OK  ] Started Resize root filesystem to fit available disk space.
  556. [  OK  ] Created slice User Slice of root.
  557. [  OK  ] Started Session 1 of user root.
  558.          Starting User Manager for UID 0...
  559.          Starting Setup rockchip platform environment...
  560. [  OK  ] Started User Manager for UID 0.
  561. [  OK  ] Started Setup rockchip platform environment.
  562.          Starting Light Display Manager...
  563. root@firefly:~# [  OK  ] Started Light Display Manager.
复制代码


回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-25 13:31:14     
Lazyfan 发表于 2020-2-25 09:48
最后一行的exitcode值应该是关键,但是我不知道这个值是代表什么意思。
你试试用官方的启动参数,看看行 ...

用官方的直接卡住了,通过多次反复实验,只需加上boot=/dev/mmcblk0p5 rw rootfstyhpe=ext4 rootwait即可。直接用官方提供的会卡在kernel启动的时候,显示如下:
  1. ## Booting Android Image at 0x0027f800 ...
  2. Kernel load addr 0x00280000 size 18695 KiB
  3. ## Flattened Device Tree blob at 08300000
  4.    Booting using the fdt blob at 0x8300000
  5.    XIP Kernel Image ... OK
  6.    Using Device Tree in place at 0000000008300000, end 000000000830b25e
  7. Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
  8. Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
  9. Total: 3901.546 ms
  10. Starting kernel ...
复制代码
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-26 23:37:09     
通过不断摸索,终于可以显示了,但好像只在kernel阶段显示了logo,在ubuntu启动以后就什么也不显示,显示器黑屏。在终端下一下都正常,网络等均可以使用,就是看不到桌面。
  1. 添加如下代码,可以正常启动,在kernel启动阶段,显示器有显示,但似乎进不了桌面。
  2. chosen {
  3.                 bootargs = "root=/dev/mmcblk0p5 rw rootfstype=ext4 rootwait systemd.gpt_auto=0";
  4.                 stdout-path = "serial2:1500000n8";
  5. };

  6. reserved-memory {
  7.     #address-cells = <2>;
  8.     #size-cells = <2>;
  9.     ranges;

  10.     drm_logo: drm-logo@00000000 {
  11.       compatible = "rockchip,drm-logo";
  12.       reg = <0x0 0x0 0x0 0x0>;
  13.     };
  14. };
  15. &display_subsystem {
  16.   logo-memory-region = <&drm_logo>;
  17.   status = "okay";
  18.   route {
  19.     route_hdmi: route-hdmi {
  20.       status = "disabled";
  21.       logo,uboot = "logo.bmp";
  22.       logo,kernel = "logo_kernel.bmp";
  23.       logo,mode = "center";
  24.       charge_logo,mode = "center";
  25.       connect = <&vop_out_hdmi>;
  26.     };
  27.   };
  28. };

  29. &route_hdmi {
  30.   status = "okay";
  31. };

  32. DDR version 1.13 20180428
  33. ID:0x805 N
  34. In
  35. SRX
  36. DDR4
  37. 333MHz
  38. Bus Width=32 Col=10 Bank=4 Bank Group=2 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
  39. ddrconfig:19
  40. OUT
  41. Boot1 Release Time: Sep  7 2018 15:49:55, version: 2.49
  42. ChipType = 0x11, 272
  43. mmc2:cmd19,100
  44. SdmmcInit=2 0
  45. BootCapSize=2000
  46. UserCapSize=14910MB
  47. FwPartOffset=2000 , 2000
  48. SdmmcInit=0 NOT PRESENT
  49. StorageInit ok = 19592
  50. Raw SecureMode = 0
  51. SecureInit read PBA: 0x4
  52. SecureInit read PBA: 0x404
  53. SecureInit read PBA: 0x804
  54. SecureInit read PBA: 0xc04
  55. SecureInit read PBA: 0x1004
  56. SecureInit ret = 0, SecureMode = 0
  57. GPT part:  0, name:            uboot, start:0x4000, size:0x2000
  58. GPT part:  1, name:            trust, start:0x6000, size:0x2000
  59. GPT part:  2, name:             boot, start:0xa000, size:0x10000
  60. GPT part:  3, name:           backup, start:0x2a000, size:0x10000
  61. GPT part:  4, name:           rootfs, start:0x5a000, size:0x1cc4fdf
  62. find partition:uboot OK. first_lba:0x4000.
  63. find partition:trust OK. first_lba:0x6000.
  64. LoadTrust Addr:0x6000
  65. No find bl30.bin
  66. Load uboot, ReadLba = 4000
  67. Load OK, addr=0x200000, size=0xce990
  68. RunBL31 0x10000
  69. INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-194-g646eecc5 #61 Wed Dec  5 06:31:51 UTC )

  70. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.4

  71. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


  72. U-Boot 2017.09-g0b1f585323-dirty (Feb 26 2020 - 17:05:44 +0800)

  73. Model: Firefly ROC-RK3328-CC
  74. DRAM:  2 GiB
  75. Relocation Offset is: 7dbf5000
  76. Sysmem: init
  77. Using default environment

  78. rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
  79. Card did not respond to voltage select!
  80. mmc_init: -95, time 9
  81. switch to partitions #0, OK
  82. mmc0(part 0) is current device
  83. Bootdev: mmc 0
  84. PartType: EFI
  85. get part misc fail -1
  86. boot mode: normal
  87. Load FDT from boot part
  88. DTB: rk-kernel.dtb
  89. Can't get crtc id, default set to id = 0
  90. start get public phy
  91. Warn: can't find phy driver
  92. In:    serial
  93. Out:   serial
  94. Err:   serial
  95. Model: Firefly roc-rk3328-cc
  96. rockchip_dnl_key_pressed adc_channel_single_shot fail! ret=-22
  97. Rockchip UBOOT DRM driver version: v1.0.1
  98. use default hdmi phy table
  99. xfer: num: 2, addr: 0x50
  100. xfer: num: 2, addr: 0x50
  101. Monitor has basic audio support
  102. Could not find baseparameter partition
  103. mode:1920x1080
  104. CEA mode used vic=16
  105. final pixclk = 148500000 tmdsclk = 148500000
  106. start Inno HDMI PHY Power On
  107. tmdsclock = 148500000; chipversion = 2
  108. Inno HDMI PHY Power On
  109. sink has audio support
  110. hdmi_set_clk_regenerator: fs=48000Hz ftdms=148.500MHz N=6144 cts=148500
  111. CLK: (sync kernel. arm: enter 600000 KHz, init 600000 KHz, kernel 0N/A)
  112.   apll 400000 KHz
  113.   dpll 664000 KHz
  114.   cpll 1200000 KHz
  115.   gpll 491009 KHz
  116.   npll 600000 KHz
  117.   armclk 600000 KHz
  118.   aclk_bus 150000 KHz
  119.   hclk_bus 75000 KHz
  120.   pclk_bus 75000 KHz
  121.   aclk_peri 150000 KHz
  122.   hclk_peri 75000 KHz
  123.   pclk_peri 75000 KHz
  124. Net:   
  125. Warning: ethernet@ff540000 (eth0) using random MAC address - ba:e1:0b:dc:a2:19
  126. eth0: ethernet@ff540000
  127. Hit key to stop autoboot('CTRL+C'):  0
  128. android_bootloader_boot_flow Could not find misc partition
  129. ANDROID: reboot reason: "(none)"
  130. Fdt Ramdisk skip relocation
  131. FDT load addr 0x10f00000 size 162 KiB
  132. Booting kernel at 0x00280000 with fdt at 0x8300000...


  133. ## Booting Android Image at 0x0027f800 ...
  134. Kernel load addr 0x00280000 size 23737 KiB
  135. ## Flattened Device Tree blob at 08300000
  136.    Booting using the fdt blob at 0x8300000
  137.    XIP Kernel Image ... OK
  138.    Using Device Tree in place at 0000000008300000, end 000000000830bdaf
  139. Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
  140. Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
  141. Can't find file:logo_kernel.bmp
  142. Total: 4271.507 ms

  143. Starting kernel ...


  144. [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
  145. [    0.000000] Linux version 5.5.0 (msw@msw-Z97M-D3H) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)0
  146. [    0.000000] Machine model: Firefly roc-rk3328-cc
  147. [    0.000000] efi: Getting EFI parameters from FDT:
  148. [    0.000000] efi: UEFI not found.
  149. [    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
  150. [    0.000000] NUMA: No NUMA configuration found
  151. [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
  152. [    0.000000] NUMA: NODE_DATA [mem 0x7db3e100-0x7db3ffff]
  153. [    0.000000] Zone ranges:
  154. [    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
  155. [    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
  156. [    0.000000]   Normal   empty
  157. [    0.000000] Movable zone start for each node
  158. [    0.000000] Early memory node ranges
  159. [    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
  160. [    0.000000]   node   0: [mem 0x000000000a200000-0x000000007fffffff]
  161. [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
  162. [    0.000000] psci: probing for conduit method from DT.
  163. [    0.000000] psci: PSCIv1.0 detected in firmware.
  164. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  165. [    0.000000] psci: Trusted OS migration not required
  166. [    0.000000] psci: SMC Calling Convention v1.0
  167. [    0.000000] percpu: Embedded 22 pages/cpu s53144 r8192 d28776 u90112
  168. [    0.000000] Detected VIPT I-cache on CPU0
  169. [    0.000000] CPU features: detected: ARM erratum 845719
  170. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
  171. [    0.000000] Policy zone: DMA32
  172. [    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= andro0
  173. [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
  174. [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
  175. [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  176. [    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
  177. [    0.000000] Memory: 1900384K/2064384K available (11452K kernel code, 1720K rwdata, 5860K rodata, 4672K )
  178. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  179. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  180. [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
  181. [    0.000000]  Tasks RCU enabled.
  182. [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  183. [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  184. [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  185. [    0.000000] GIC: Using split EOI/Deactivate mode
  186. [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x454 with crng_init=0
  187. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
  188. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns:s
  189. [    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  190. [    0.001746] Console: colour dummy device 80x25
  191. [    0.002532] printk: console [tty0] enabled
  192. [    0.002713] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS ()
  193. [    0.002756] pid_max: default: 32768 minimum: 301
  194. [    0.002916] LSM: Security Framework initializing
  195. [    0.003042] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
  196. [    0.003091] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
  197. [    0.027916] ASID allocator initialised with 32768 entries
  198. [    0.035899] rcu: Hierarchical SRCU implementation.
  199. [    0.048141] EFI services will not be available.
  200. [    0.056165] smp: Bringing up secondary CPUs ...
  201. [    0.088449] Detected VIPT I-cache on CPU1
  202. [    0.088540] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
  203. [    0.120549] Detected VIPT I-cache on CPU2
  204. [    0.120630] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
  205. [    0.152656] Detected VIPT I-cache on CPU3
  206. [    0.152733] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
  207. [    0.152878] smp: Brought up 1 node, 4 CPUs
  208. [    0.153006] SMP: Total of 4 processors activated.
  209. [    0.153029] CPU features: detected: 32-bit EL0 Support
  210. [    0.153053] CPU features: detected: CRC32 instructions
  211. [    0.164377] CPU: All CPU(s) started at EL2
  212. [    0.164482] alternatives: patching kernel code
  213. [    0.166849] devtmpfs: initialized
  214. [    0.178634] KASLR disabled due to lack of seed
  215. [    0.179391] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 764504178510000s
  216. [    0.179459] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
  217. [    0.181531] pinctrl core: initialized pinctrl subsystem
  218. [    0.183844] thermal_sys: Registered thermal governor 'fair_share'
  219. [    0.183849] thermal_sys: Registered thermal governor 'step_wise'
  220. [    0.183889] thermal_sys: Registered thermal governor 'power_allocator'
  221. [    0.184498] DMI not present or invalid.
  222. [    0.185189] NET: Registered protocol family 16
  223. [    0.190841] DMA: preallocated 256 KiB pool for atomic allocations
  224. [    0.190915] audit: initializing netlink subsys (disabled)
  225. [    0.191297] audit: type=2000 audit(0.188:1): state=initialized audit_enabled=0 res=1
  226. [    0.193365] cpuidle: using governor menu
  227. [    0.193646] NET: Registered protocol family 42
  228. [    0.194219] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  229. [    0.238538] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
  230. [    0.238585] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
  231. [    0.238611] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
  232. [    0.238636] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
  233. [    0.242465] cryptd: max_cpu_qlen set to 1000
  234. [    0.249197] ACPI: Interpreter disabled.
  235. [    0.252283] vcc_sys: supplied by dc_12v
  236. [    0.252961] vcc_host1_5v: supplied by vcc_sys
  237. [    0.254309] iommu: Default domain type: Translated
  238. [    0.255861] vgaarb: loaded
  239. [    0.256491] SCSI subsystem initialized
  240. [    0.257236] usbcore: registered new interface driver usbfs
  241. [    0.257328] usbcore: registered new interface driver hub
  242. [    0.257457] usbcore: registered new device driver usb
  243. [    0.258082] pps_core: LinuxPPS API ver. 1 registered
  244. [    0.258108] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  245. [    0.258159] PTP clock support registered
  246. [    0.258216] EDAC MC: Ver: 3.0.0
  247. [    0.260264] FPGA manager framework
  248. [    0.260439] Advanced Linux Sound Architecture Driver Initialized.
  249. [    0.261949] clocksource: Switched to clocksource arch_sys_counter
  250. [    0.262399] VFS: Disk quotas dquot_6.6.0
  251. [    0.262520] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  252. [    0.262876] pnp: PnP ACPI: disabled
  253. [    0.273436] NET: Registered protocol family 2
  254. [    0.274356] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
  255. [    0.274451] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
  256. [    0.274689] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
  257. [    0.275092] TCP: Hash tables configured (established 16384 bind 16384)
  258. [    0.275344] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
  259. [    0.275451] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
  260. [    0.276019] NET: Registered protocol family 1
  261. [    0.276794] RPC: Registered named UNIX socket transport module.
  262. [    0.276831] RPC: Registered udp transport module.
  263. [    0.276850] RPC: Registered tcp transport module.
  264. [    0.276869] RPC: Registered tcp NFSv4.1 backchannel transport module.
  265. [    0.276903] PCI: CLS 0 bytes, default 64
  266. [    0.278544] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  267. [    0.278978] kvm [1]: IPA Size Limit: 40bits
  268. [    0.280178] kvm [1]: vgic interrupt IRQ1
  269. [    0.280364] kvm [1]: Hyp mode initialized successfully
  270. [    0.292163] Initialise system trusted keyrings
  271. [    0.292503] workingset: timestamp_bits=44 max_order=19 bucket_order=0
  272. [    0.304270] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  273. [    0.305533] NFS: Registering the id_resolver key type
  274. [    0.305608] Key type id_resolver registered
  275. [    0.305628] Key type id_legacy registered
  276. [    0.305658] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  277. [    0.332112] Key type asymmetric registered
  278. [    0.332156] Asymmetric key parser 'x509' registered
  279. [    0.332260] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
  280. [    0.332291] io scheduler mq-deadline registered
  281. [    0.332311] io scheduler kyber registered
  282. [    0.345226] IPMI message handler: version 39.2
  283. [    0.345836] EINJ: ACPI disabled.
  284. [    0.354447] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
  285. [    0.354497] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  286. [    0.362396] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
  287. [    0.365987] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
  288. [    0.440159] printk: console [ttyS2] enabled
  289. [    0.444901] brd: module loaded
  290. [    0.458457] loop: module loaded
  291. [    0.464972] libphy: Fixed MDIO Bus: probed
  292. [    0.466500] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
  293. [    0.467120] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
  294. [    0.467858] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
  295. [    0.468570] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
  296. [    0.469215] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
  297. [    0.469732] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
  298. [    0.470307] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
  299. [    0.470937] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
  300. [    0.471568] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
  301. [    0.477134] rk_gmac-dwmac ff540000.ethernet: init for RGMII
  302. [    0.478008] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
  303. [    0.478668] rk_gmac-dwmac ff540000.ethernet:         DWMAC1000
  304. [    0.479147] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
  305. [    0.479825] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
  306. [    0.480503] rk_gmac-dwmac ff540000.ethernet: COE Type 2
  307. [    0.480981] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
  308. [    0.481617] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
  309. [    0.482274] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
  310. [    0.482813] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
  311. [    0.483347] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
  312. [    0.484084] rk_gmac-dwmac ff540000.ethernet: device MAC address ca:0b:a5:21:b6:e7
  313. [    0.577593] libphy: stmmac: probed
  314. [    0.577966] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
  315. [    0.578828] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
  316. [    0.581119] usbcore: registered new interface driver rtl8150
  317. [    0.581705] usbcore: registered new interface driver r8152
  318. [    0.582319] usbcore: registered new interface driver asix
  319. [    0.582863] usbcore: registered new interface driver ax88179_178a
  320. [    0.583458] usbcore: registered new interface driver cdc_ether
  321. [    0.584040] usbcore: registered new interface driver rndis_host
  322. [    0.584642] usbcore: registered new interface driver cdc_ncm
  323. [    0.585207] usbcore: registered new interface driver qmi_wwan
  324. [    0.585774] usbcore: registered new interface driver cdc_mbim
  325. [    0.586639] VFIO - User Level meta-driver version: 0.3
  326. [    0.589258] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
  327. [    0.590198] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
  328. [    0.718042] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
  329. [    0.719230] dwc2 ff580000.usb: DWC OTG Controller
  330. [    0.719697] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
  331. [    0.720391] dwc2 ff580000.usb: irq 32, io mem 0xff580000
  332. [    0.721891] hub 1-0:1.0: USB hub found
  333. [    0.722330] hub 1-0:1.0: 1 port detected
  334. [    0.724518] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  335. [    0.725123] ehci-pci: EHCI PCI platform driver
  336. [    0.725577] ehci-platform: EHCI generic platform driver
  337. [    0.728672] ehci-platform ff5c0000.usb: EHCI Host Controller
  338. [    0.729227] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
  339. [    0.730147] ehci-platform ff5c0000.usb: irq 33, io mem 0xff5c0000
  340. [    0.745978] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
  341. [    0.747569] hub 2-0:1.0: USB hub found
  342. [    0.747960] hub 2-0:1.0: 1 port detected
  343. [    0.748961] ehci-orion: EHCI orion driver
  344. [    0.749628] ehci-exynos: EHCI EXYNOS driver
  345. [    0.750233] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  346. [    0.750880] ohci-pci: OHCI PCI platform driver
  347. [    0.751379] ohci-platform: OHCI generic platform driver
  348. [    0.752310] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
  349. [    0.752945] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
  350. [    0.753823] ohci-platform ff5d0000.usb: irq 34, io mem 0xff5d0000
  351. [    0.819047] hub 3-0:1.0: USB hub found
  352. [    0.819450] hub 3-0:1.0: 1 port detected
  353. [    0.820423] ohci-exynos: OHCI EXYNOS driver
  354. [    0.821841] usbcore: registered new interface driver cdc_wdm
  355. [    0.822547] usbcore: registered new interface driver usb-storage
  356. [    0.827259] i2c /dev entries driver
  357. [    0.830951] rk808 1-0018: chip id: 0x8050
  358. [    0.840223] rk808-regulator rk808-regulator: there is no dvs0 gpio
  359. [    0.840882] rk808-regulator rk808-regulator: there is no dvs1 gpio
  360. [    0.841528] DCDC_REG1: supplied by vcc_sys
  361. [    0.845016] DCDC_REG2: supplied by vcc_sys
  362. [    0.847359] DCDC_REG3: supplied by vcc_sys
  363. [    0.848061] DCDC_REG4: supplied by vcc_sys
  364. [    0.849681] LDO_REG1: supplied by vcc_io
  365. [    0.853347] LDO_REG2: supplied by vcc_io
  366. [    0.856785] LDO_REG3: supplied by vcc_io
  367. [    0.865694] rockchip-thermal ff250000.tsadc: Missing tshut mode property, using default (cru)
  368. [    0.866572] rockchip-thermal ff250000.tsadc: Missing tshut-polarity property, using default (low)
  369. [    0.870985] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap0
  370. [    0.874017] sdhci: Secure Digital Host Controller Interface driver
  371. [    0.874581] sdhci: Copyright(c) Pierre Ossman
  372. [    0.875340] Synopsys Designware Multimedia Card Interface Driver
  373. [    0.876793] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  374. [    0.877470] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  375. [    0.878193] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  376. [    0.878761] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep o
  377. [    0.879681] vcc_sd: supplied by vcc_io
  378. [    0.880873] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
  379. [    0.881547] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
  380. [    0.882189] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
  381. [    0.882751] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep o
  382. [    0.884350] mmc_host mmc0: card is non-removable.
  383. [    0.897536] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  384. [    0.911663] sdhci-pltfm: SDHCI platform and OF driver helper
  385. [    0.913732] ledtrig-cpu: registered to indicate activity on CPUs
  386. [    0.915764] usbcore: registered new interface driver usbhid
  387. [    0.916344] usbhid: USB HID core driver
  388. [    0.921725] Initializing XFRM netlink socket
  389. [    0.922778] NET: Registered protocol family 10
  390. [    0.924351] Segment Routing with IPv6
  391. [    0.924758] NET: Registered protocol family 17
  392. [    0.925201] NET: Registered protocol family 15
  393. [    0.925650] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scrip.
  394. [    0.926929] Key type dns_resolver registered
  395. [    0.927900] registered taskstats version 1
  396. [    0.928272] Loading compiled-in X.509 certificates
  397. [    0.950555] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  398. [    0.951254] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  399. [    0.951879] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  400. [    0.952429] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep o
  401. [    0.960608] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  402. [    0.961288] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  403. [    0.961894] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  404. [    0.962478] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep o
  405. [    0.965832] hctosys: unable to open rtc device (rtc0)
  406. [    0.967840] ALSA device list:
  407. [    0.968133]   No soundcards found.
  408. [    0.968984] Waiting for root device /dev/mmcblk0p5...
  409. [    0.983667] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ d)
  410. [    0.985221] random: fast init done
  411. [    0.992802] dwmmc_rockchip ff520000.dwmmc: All phases work, using default phase 0.
  412. [    0.993537] mmc0: new HS200 MMC card at address 0001
  413. [    0.999039] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
  414. [    0.999855] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
  415. [    1.000775] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
  416. [    1.001543] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (243:0)
  417. [    1.009761]  mmcblk0: p1 p2 p3 p4 p5
  418. [    1.019765] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  419. [    1.020447] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  420. [    1.021055] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  421. [    1.021605] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep o
  422. [    1.035181] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
  423. [    1.035993] VFS: Mounted root (ext4 filesystem) on device 179:5.
  424. [    1.037873] devtmpfs: mounted
  425. [    1.041099] Freeing unused kernel memory: 4672K
  426. [    1.065990] Run /sbin/init as init process
  427. [    1.259357] systemd[1]: System time before build time, advancing clock.
  428. [    1.283491] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK)
  429. [    1.285890] systemd[1]: Detected architecture arm64.

  430. Welcome to Ubuntu 18.04.2 LTS!

  431. [    1.326737] systemd[1]: Set hostname to <firefly>.
  432. [    1.334640] systemd[1]: Couldn't move remaining userspace processes, ignoring: Input/output error
  433. [    1.521474] systemd[1]: File /lib/systemd/system/systemd-udevd.service:34 configures an IP firewall (IP.
  434. [    1.523051] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the f)
  435. [    1.750531] random: systemd: uninitialized urandom read (16 bytes read)
  436. [    1.751724] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
  437. [  OK  ] Started Forward Password Requests to Wall Directory Watch.
  438. [    1.762147] random: systemd: uninitialized urandom read (16 bytes read)
  439. [    1.762830] systemd[1]: Reached target Remote File Systems.
  440. [  OK  ] Reached target Remote File Systems.
  441. [    1.774114] random: systemd: uninitialized urandom read (16 bytes read)
  442. [    1.774789] systemd[1]: Reached target User and Group Name Lookups.
  443. [  OK  ] Reached target User and Group Name Lookups.
  444. [    1.786280] systemd[1]: Reached target Swap.
  445. [  OK  ] Reached target Swap.
  446. [  OK  ] Created slice User and Session Slice.
  447. [  OK  ] Created slice System Slice.
  448. [  OK  ] Listening on Journal Socket.
  449.          Starting Set the console keyboard layout...
  450. [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
  451.          Starting Create Static Device Nodes in /dev...
  452. [  OK  ] Listening on udev Control Socket.
  453.          Mounting Kernel Debug File System...
  454. [  OK  ] Listening on udev Kernel Socket.
  455.          Starting udev Coldplug all Devices...
  456. [  OK  ] Listening on Journal Socket (/dev/log).
  457. [  OK  ] Created slice system-serial\x2dgetty.slice.
  458.          Starting Remount Root and Kernel File Systems...
  459.          Mounting POSIX Message Queue File System...
  460.          Mounting Huge Pages File System...
  461. [  OK  ] Reached target Slices.
  462.          Starting Load Kernel Modules...
  463. [  OK  ] Listening on Journal Audit Socket.
  464. [  OK  ] Listening on Syslog Socket.
  465.          Starting Journal Service...
  466. [  OK  ] Started Create Static Device Nodes in /dev.
  467. [  OK  ] Mounted Kernel Debug File System.
  468. [  OK  ] Started Remount Root and Kernel File Systems.
  469. [  OK  ] Mounted POSIX Message Queue File System.
  470. [  OK  ] Mounted Huge Pages File System.
  471. [  OK  ] Started Load Kernel Modules.
  472.          Mounting Kernel Configuration File System...
  473.          Starting Apply Kernel Variables...
  474.          Starting Load/Save Random Seed...
  475.          Starting udev Kernel Device Manager...
  476. [  OK  ] Mounted Kernel Configuration File System.
  477. [  OK  ] Started Load/Save Random Seed.
  478. [  OK  ] Started Apply Kernel Variables.
  479. [  OK  ] Started Set the console keyboard layout.
  480. [  OK  ] Reached target Local File Systems (Pre).
  481. [  OK  ] Reached target Local File Systems.
  482.          Starting Tell Plymouth To Write Out Runtime Data...
  483.          Starting Set console font and keymap...
  484. [  OK  ] Started Tell Plymouth To Write Out Runtime Data.
  485. [  OK  ] Started Set console font and keymap.
  486. [  OK  ] Started udev Kernel Device Manager.
  487. [  OK  ] Started udev Coldplug all Devices.
  488. [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
  489. [  OK  ] Reached target Local Encrypted Volumes.
  490. [  OK  ] Started Journal Service.
  491.          Starting Flush Journal to Persistent Storage...
  492. [  OK  ] Started Flush Journal to Persistent Storage.
  493.          Starting Create Volatile Files and Directories...
  494. [  OK  ] Started Create Volatile Files and Directories.
  495.          Starting Update UTMP about System Boot/Shutdown...
  496.          Starting Network Name Resolution...
  497.          Starting Network Time Synchronization...
  498. [  OK  ] Started Update UTMP about System Boot/Shutdown.
  499. [  OK  ] Started Network Name Resolution.
  500. [  OK  ] Started Network Time Synchronization.
  501. [  OK  ] Reached target System Time Synchronized.
  502. [  OK  ] Reached target System Initialization.
  503. [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
  504. [  OK  ] Started Daily apt download activities.
  505. [  OK  ] Started Daily Cleanup of Temporary Directories.
  506. [  OK  ] Started Daily apt upgrade and clean activities.
  507. [  OK  ] Started Discard unused blocks once a week.
  508. [  OK  ] Reached target Paths.
  509. [  OK  ] Listening on D-Bus System Message Bus Socket.
  510. [  OK  ] Started Message of the Day.
  511. [  OK  ] Reached target Timers.
  512.          Starting Socket activation for snappy daemon.
  513. [  OK  ] Reached target Host and Network Name Lookups.
  514. [  OK  ] Listening on Socket activation for snappy daemon.
  515. [  OK  ] Reached target Sockets.
  516. [  OK  ] Reached target Basic System.
  517.          Starting Restore /etc/resolv.conf i��…fore the ppp link was shut down...
  518.          Starting Dispatcher daemon for systemd-networkd...
  519.          Starting System Logging Service...
  520.          Starting LSB: automatic crash report generation...
  521.          Starting Accounts Service...
  522.          Starting Modem Manager...
  523.          Starting Adbd for linux...
  524. [  OK  ] Started Regular background program processing daemon.
  525. [  OK  ] Started Set the CPU Frequency Scaling governor.
  526. [  OK  ] Started D-Bus System Message Bus.
  527.          Starting Network Manager...
  528.          Starting WPA supplicant...
  529.          Starting Avahi mDNS/DNS-SD Stack...
  530.          Starting Resize root filesystem to fit available disk space...
  531.          Starting Disk Manager...
  532.          Starting Login Service...
  533.          Starting Snappy daemon...
  534. [  OK  ] Started System Logging Service.
  535. [  OK  ] Started Restore /etc/resolv.conf if��…before the ppp link was shut down.
  536. [FAILED] Failed to start Adbd for linux.
  537. See 'systemctl status adbd.service' for details.
  538. [  OK  ] Found device /dev/ttyS2.
  539. [  OK  ] Started Avahi mDNS/DNS-SD Stack.
  540. [  OK  ] Started WPA supplicant.
  541. [  OK  ] Started Login Service.
  542.          Starting Authorization Manager...
  543. [  OK  ] Started LSB: automatic crash report generation.
  544. [  OK  ] Started Authorization Manager.
  545. [  OK  ] Started Accounts Service.
  546.          Starting Hostname Service...
  547. [  OK  ] Started Disk Manager.
  548. [  OK  ] Started Modem Manager.
  549. [  OK  ] Started Hostname Service.
  550. [    5.308493] Filesystem uses "xz" compression. This is not supported
  551. [  OK  ] Started Snappy daemon.
  552.          Starting Wait until snapd is fully seeded...
  553.          Starting Network Manager Script Dispatcher Service...
  554. [  OK  ] Started Network Manager Script Dispatcher Service.
  555. [  OK  ] Started Network Manager.
  556. [  OK  ] Reached target Network.
  557.          Starting Permit User Sessions...
  558.          Starting OpenBSD Secure Shell server...
  559.          Starting /etc/rc.local Compatibility...
  560. [  OK  ] Started /etc/rc.local Compatibility.
  561. [  OK  ] Started Permit User Sessions.
  562.          Starting Hold until boot process finishes up...
  563. [  OK  ] Started Hold until boot process finishes up.
  564. [  OK  ] Started Serial Getty on ttyS2.
  565.          Starting Set console scheme...
  566. [  OK  ] Started Set console scheme.
  567. [  OK  ] Created slice system-getty.slice.
  568. [  OK  ] Started Getty on tty1.
  569. [  OK  ] Reached target Login Prompts.
  570. [  OK  ] Started OpenBSD Secure Shell server.

  571. Ubuntu 18.04.2 LTS firefly ttyS2

  572. firefly login: root (automatic login)

  573. Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 5.5.0 aarch64)

  574. * Documentation:  https://help.ubuntu.com
  575. * Management:     https://landscape.canonical.com
  576. * Support:        https://ubuntu.com/advantage
  577. This system has been minimized by removing packages and content that are
  578. not required on a system that users do not log into.

  579. To restore this content, you can run the 'unminimize' command.

  580. The programs included with the Ubuntu system are free software;
  581. the exact distribution terms for each program are described in the
  582. individual files in /usr/share/doc/*/copyright.

  583. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  584. applicable law.

  585. [  OK  ] Started Resize root filesystem to fit available disk space.
  586. [  OK  ] Created slice User Slice of root.
  587. [  OK  ] Started Session 1 of user root.
  588.          Starting User Manager for UID 0...
  589.          Starting Setup rockchip platform environment...
  590. [  OK  ] Started User Manager for UID 0.
  591. [  OK  ] Started Setup rockchip platform environment.
  592.          Starting Light Display Manager...
  593. root@firefly:~# [  OK  ] Started Light Display Manager.
  594. [  OK  ] Stopped Light Display Manager.
  595.          Starting Light Display Manager...
  596. [  OK  ] Started Light Display Manager.
  597. [  OK  ] Stopped Light Display Manager.
  598.          Starting Light Display Manager...
  599. [  OK  ] Started Light Display Manager.
  600. [  OK  ] Started Wait until snapd is fully seeded.
  601. [  OK  ] Reached target Multi-User System.
  602. [  OK  ] Reached target Graphical Interface.
  603.          Starting Update UTMP about System Runlevel Changes...
  604. [  OK  ] Started Update UTMP about System Runlevel Changes.

复制代码
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-27 21:48:24     
整了一天了,还是没有解决显示问题。
启动时显示的信息为:

[    0.950348] inno-hdmi-phy ff430000.phy: failed to register clock: -17
[    0.951244] inno-hdmi-phy: probe of ff430000.phy failed with error -17

正常应该是这样的:
[    0.855840] inno-hdmi-phy ff430000.hdmiphy: phy had been powered up
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-3-13 19:05:03     
经过无数次的实验,现在已经有了进展,但任然没有显示。

  1. U-Boot 2017.09-g0b1f585323-dirty (Mar 12 2020 - 09:01:54 +0800)
  2.    
  3. Model: Firefly ROC-RK3328-CC
  4. DRAM:  2 GiB   
  5. Relocation Offset is: 7dbf5000   
  6. Sysmem: init   
  7. Using default environment   
  8.    
  9. rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
  10. Card did not respond to voltage select!
  11. mmc_init: -95, time 9
  12. switch to partitions #0, OK
  13. mmc0(part 0) is current device   
  14. Bootdev: mmc 0  
  15. PartType: EFI   
  16. get part misc fail -1
  17. boot mode: normal     
  18. Load FDT from boot part     
  19. DTB: rk-kernel.dtb   
  20. Can't get crtc id, default set to id = 0
  21. start get public phy  
  22. use default hdmi phy table  
  23. inno hdmi phy init success, save it     
  24. In:    serial   
  25. Out:   serial   
  26. Err:   serial   
  27. Model: Firefly roc-rk3328-cc
  28. rockchip_dnl_key_pressed adc_channel_single_shot fail! ret=-22  
  29. Rockchip UBOOT DRM driver version: v1.0.1     
  30. use default hdmi phy table  
  31. xfer: num: 2, addr: 0x50   
  32. [dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt  
  33. xfer: num: 2, addr: 0x50   
  34. [dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt  
  35. xfer: num: 2, addr: 0x50   
  36. [dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt  
  37. xfer: num: 2, addr: 0x50   
  38. [dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt  
  39. xfer: num: 2, addr: 0x50   
  40. [dw_hdmi_i2c_read] i2c read reg[0x01] no interrupt  
  41. can't get edid block:0
  42. failed to get edid   
  43. Could not find baseparameter partition  
  44. mode:1920x1080  
  45. CEA mode used vic=16  
  46. final pixclk = 148500000 tmdsclk = 148500000  
  47. start Inno HDMI PHY Power On
  48. tmdsclock = 148500000; chipversion = 2  
  49. Inno HDMI PHY Power On
  50. sink has audio support
  51. hdmi_set_clk_regenerator: fs=48000Hz ftdms=148.500MHz N=6144 cts=148500     
  52. CLK: (sync kernel. arm: enter 600000 KHz, init 600000 KHz, kernel 0N/A)     
  53.   apll 400000 KHz     
  54.   dpll 664000 KHz     
  55.   cpll 1200000 KHz   
  56.   gpll 491009 KHz     
  57.   npll 600000 KHz     
  58.   armclk 600000 KHz   
  59.   aclk_bus 150000 KHz
  60.   hclk_bus 75000 KHz  
  61.   pclk_bus 75000 KHz  
  62.   aclk_peri 150000 KHz
  63.   hclk_peri 75000 KHz
  64.   pclk_peri 75000 KHz
  65. Net:
  66. Warning: ethernet@ff540000 (eth0) using random MAC address - 7a:9c:21:04:a9:7d   
  67. eth0: ethernet@ff540000     
  68. Hit key to stop autoboot('CTRL+C'):  0  
  69. android_bootloader_boot_flow Could not find misc partition
  70. ANDROID: reboot reason: "(none)"  
  71. Fdt Ramdisk skip relocation
  72. FDT load addr 0x10f00000 size 307 KiB   
  73. Booting kernel at 0x00280000 with fdt at 0x8300000...     
  74.    
  75.    
  76. ## Booting Android Image at 0x0027f800 ...   
  77. Kernel load addr 0x00280000 size 18971 KiB   
  78. ## Flattened Device Tree blob at 08300000     
  79.    Booting using the fdt blob at 0x8300000   
  80.    XIP Kernel Image ... OK  
  81.    Using Device Tree in place at 0000000008300000, end 000000000830bb27     
  82. Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)   
  83. Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)   
  84. Total: 4010.781 ms   
  85.    
  86. Starting kernel ...   
  87.    
  88.    
  89. [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
  90. [    0.000000] Linux version 5.5.0 (msw@msw-Z97M-D3H) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #7 SMP PREEMPT Fri Mar 13 18:10:24 CST 2020   
  91. [    0.000000] Machine model: Firefly roc-rk3328-cc
  92. [    0.000000] efi: Getting EFI parameters from FDT:
  93. [    0.000000] efi: UEFI not found.     
  94. [    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
  95. [    0.000000] NUMA: No NUMA configuration found   
  96. [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
  97. [    0.000000] NUMA: NODE_DATA [mem 0x7db19100-0x7db1afff]
  98. [    0.000000] Zone ranges:
  99. [    0.000000]   DMA[mem 0x0000000000200000-0x000000003fffffff]
  100. [    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
  101. [    0.000000]   Normal   empty   
  102. [    0.000000] Movable zone start for each node     
  103. [    0.000000] Early memory node ranges
  104. [    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
  105. [    0.000000]   node   0: [mem 0x000000000a200000-0x000000007fffffff]
  106. [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]   
  107. [    0.000000] psci: probing for conduit method from DT.  
  108. [    0.000000] psci: PSCIv1.0 detected in firmware.
  109. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  110. [    0.000000] psci: Trusted OS migration not required   
  111. [    0.000000] psci: SMC Calling Convention v1.0   
  112. [    0.000000] percpu: Embedded 22 pages/cpu s52824 r8192 d29096 u90112     
  113. [    0.000000] Detected VIPT I-cache on CPU0  
  114. [    0.000000] CPU features: detected: ARM erratum 845719
  115. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
  116. [    0.000000] Policy zone: DMA32
  117. [    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= androidboot.serialno=1cb27b34a6de9e11  rw rootwait root=/dev/mmcblk0p50
  118. [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
  119. [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
  120. [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  121. [    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)   
  122. [    0.000000] Memory: 1905028K/2064384K available (11068K kernel code, 794K rwdata, 4568K rodata, 2496K init, 425K bss, 126588K reserved, 32768K cma-reserved)
  123. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1   
  124. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  125. [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.   
  126. [    0.000000]  Tasks RCU enabled.
  127. [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.   
  128. [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  129. [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0   
  130. [    0.000000] GIC: Using split EOI/Deactivate mode
  131. [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x454 with crng_init=0
  132. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).  
  133. [ my device 80x25     
  134. [    0.001650] printk: console [tty0] enabled
  135. [    0.001810] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)  
  136. [    0.001853] pid_max: default: 32768 minimum: 301
  137. [    0.002011] LSM: Security Framework initializing
  138. [    0.002134] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)     
  139. [    0.002181] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
  140. [    0.027870] ASID allocator initialised with 32768 entries   
  141. [    0.035846] rcu: Hierarchical SRCU implementation.     
  142. [    0.045456] EFI services will not be available.  
  143. [    0.051948] smp: Bringing up secondary CPUs ...  
  144. [    0.084220] Detected VIPT I-cache on CPU1  
  145. [    0.084306] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]   
  146. [    0.116323] Detected VIPT I-cache on CPU2  
  147. [    0.116400] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]   
  148. [    0.148435] Detected VIPT I-cache on CPU3  
  149. [    0.148509] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]   
  150. [    0.148661] smp: Brought up 1 node, 4 CPUs
  151. [    0.148792] SMP: Total of 4 processors activated.
  152. [    0.148815] CPU features: detected: 32-bit EL0 Support
  153. [    0.148838] CPU features: detected: CRC32 instructions
  154. [    0.159687] CPU: All CPU(s) started at EL2
  155. [    0.159792] alternatives: patching kernel code   
  156. [    0.162161] devtmpfs: initialized   
  157. [    0.173818] KASLR disabled due to lack of seed   
  158. [    0.174574] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns  
  159. [    0.174639] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)     
  160. [    0.176726] pinctrl core: initialized pinctrl subsystem
  161. [    0.177897] thermal_sys: Registered thermal governor 'step_wise'   
  162. [    0.177905] thermal_sys: Registered thermal governor 'power_allocator'   
  163. [    0.178479] DMI not present or invalid.   
  164. [    0.179035] NET: Registered protocol family 16   
  165. [    0.182098] DMA: preallocated 256 KiB pool for atomic allocations  
  166. [    0.182172] audit: initializing netlink subsys (disabled)   
  167. [    0.182534] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
  168. [    0.184155] cpuidle: using governor menu   
  169. [    0.184849] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  170. [    0.186365] Serial: AMBA PL011 UART driver
  171. [    0.222050] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
  172. [    0.222097] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
  173. [    0.222123] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
  174. [    0.222147] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
  175. [    0.225876] cryptd: max_cpu_qlen set to 1000     
  176. [    0.232090] ACPI: Interpreter disabled.   
  177. [    0.234362] vcc_sys: supplied by dc_12v   
  178. [    0.234957] vcc_host1_5v: supplied by vcc_sys   
  179. [    0.235921] iommu: Default domain type: Translated     
  180. [    0.237401] vgaarb: loaded     
  181. [    0.237976] SCSI subsystem initialized     
  182. [    0.238722] usbcore: registered new interface driver usbfs   
  183. [    0.238816] usbcore: registered new interface driver hub     
  184. [    0.238941] usbcore: registered new device driver usb  
  185. [    0.239470] pps_core: LinuxPPS API ver. 1 registered   
  186. [    0.239493] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>   
  187. [    0.239540] PTP clock support registered   
  188. [    0.239712] EDAC MC: Ver: 3.0.0
  189. [    0.240610] FPGA manager framework   
  190. [    0.240765] Advanced Linux Sound Architecture Driver Initialized.  
  191. [    0.242394] clocksource: Switched to clocksource arch_sys_counter  
  192. [    0.242836] VFS: Disk quotas dquot_6.6.0   
  193. [    0.242944] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)     
  194. [    0.243283] pnp: PnP ACPI: disabled  
  195. [    0.252706] NET: Registered protocol family 2   
  196. [    0.253371] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)   
  197. [    0.253459] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)     
  198. [    0.253695] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
  199. [    0.254099] TCP: Hash tables configured (established 16384 bind 16384)   
  200. [    0.254340] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
  201. [    0.254518] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)  
  202. [    0.255023] NET: Registered protocol family 1   
  203. [    0.255764] RPC: Registered named UNIX socket transport module.   
  204. [    0.255797] RPC: Registered udp transport module.
  205. [    0.255816] RPC: Registered tcp transport module.
  206. [    0.255834] RPC: Registered tcp NFSv4.1 backchannel transport module.   
  207. [    0.255870] PCI: CLS 0 bytes, default 64   
  208. [    0.257395] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available  
  209. [    0.257811] kvm [1]: IPA Size Limit: 40bits
  210. [    0.258892] kvm [1]: vgic interrupt IRQ1   
  211. [    0.259075] kvm [1]: Hyp mode initialized successfully
  212. [    0.270955] Initialise system trusted keyrings   
  213. [    0.271320] workingset: timestamp_bits=44 max_order=19 bucket_order=0   
  214. [    0.283040] squashfs: version 4.0 (2009/01/31) Phillip Lougher     
  215. [    0.284375] NFS: Registering the id_resolver key type  
  216. [    0.284445] Key type id_resolver registered
  217. [    0.284464] Key type id_legacy registered  
  218. [    0.284494] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  219. [    0.284808] 9p: Installing v9fs 9p2000 file system support   
  220. [    0.311005] Key type asymmetric registered
  221. [    0.311049] Asymmetric key parser 'x509' registered   
  222. [    0.311149] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)     
  223. [    0.311180] io scheduler mq-deadline registered  
  224. [    0.311200] io scheduler kyber registered  
  225. [    0.318293] EINJ: ACPI disabled.     
  226. [    0.320971] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
  227. [    0.321021] dma-pl330 ff1f0000.dmac:   DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16   
  228. [    0.326758] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  229. [    0.329447] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
  230. [    0.403168] printk: console [ttyS2] enabled
  231.    
  232. [    0.410874] rockchip-vop ff370000.vop: Adding to iommu group 1     
  233. [    0.412255] dw_hdmi_rockchip dw_hdmi_rockchip_probe: component_add
  234. [    0.413151] rockchip_drm_drv: rockchip_drm_init:platform_driver_register
  235. [    0.417246] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops)     

  236. [    0.425304] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)  

  237. [    0.427531] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
  238.    
  239. [    0.429440] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_rockchip_ops)
  240. [    0.430190] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).  
  241. [    0.430862] [drm] No driver support for vblank timestamp query.   

  242. [    1.286453] ------------[ cut here ]------------
  243. [    1.286459] [CRTC:35:crtc-0] vblank wait timed out     
  244. [    1.286544] WARNING: CPU: 1 PID: 1 at drivers/gpu/drm/drm_atomic_helper.c:1463 drm_atomic_helper_wait_for_vblanks.part.27+0x2d0/0x2d8
  245. [    1.286548] Modules linked in:
  246. [    1.286564] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.5.0 #7     
  247. [    1.286569] Hardware name: Firefly roc-rk3328-cc (DT)  
  248. [    1.286577] pstate: 60000005 (nZCv daif -PAN -UAO)     
  249. [    1.286586] pc : drm_atomic_helper_wait_for_vblanks.part.27+0x2d0/0x2d8  
  250. [    1.286595] lr : drm_atomic_helper_wait_for_vblanks.part.27+0x2d0/0x2d8  
  251. [    1.286599] sp : ffff80001002b470   
  252. [    1.286603] x29: ffff80001002b470 x28: 0000000000000000
  253. [    1.286611] x27: ffff800010e87fd8 x26: 0000000000000001
  254. [    1.286618] x25: ffff800010e88048 x24: ffff00007a9fd500
  255. [    1.286626] x23: ffff00007a503800 x22: ffff800011249000
  256. [    1.286636] x21: ffff00007d32a080 x20: 0000000000000000
  257. [    1.286643] x19: 0000000000000000 x18: ffffffffffffffff
  258. [    1.286651] x17: 0000000000000001 x16: 0000000010624dd3
  259. [    1.286658] x15: ffff8000112498c8 x14: 00000000fffffff0
  260. [    1.286666] x13: ffff800011317008 x12: ffff800011261438
  261. [    1.286674] x11: ffff800011261000 x10: ffff800011316000
  262. [    1.286681] x9 : 0000000000000000 x8 : ffff800011316b98
  263. [    1.286688] x7 : 0000000000000000 x6 : 0000000006974929
  264. [    1.286695] x5 : 0000000000000000 x4 : 0000000000000000
  265. [    1.286702] x3 : 00000000ffffffff x2 : ffff8000112614b8
  266. [    1.286710] x1 : e036ae57baad5500 x0 : 0000000000000000
  267. [    1.286718] Call trace:  
  268. [    1.286729]  drm_atomic_helper_wait_for_vblanks.part.27+0x2d0/0x2d8
  269. [    1.286737]  drm_atomic_helper_commit_tail_rpm+0x60/0x78     
  270. [    1.286745]  commit_tail+0x9c/0x170  
  271. [    1.286753]  drm_atomic_helper_commit+0x168/0x180
  272. [    1.286763]  drm_atomic_commit+0x48/0x58   
  273. [    1.286773]  drm_client_modeset_commit_atomic.isra.16+0x174/0x228  
  274. [    1.286779]  drm_client_modeset_commit_force+0x60/0x198
  275. [    1.286788]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xc8   
  276. [    1.286795]  drm_fb_helper_set_par+0x2c/0x60     
  277. [    1.286804]  fbcon_init+0x4e0/0x570  
  278. [    1.286813]  visual_init+0xb0/0x108  
  279. [    1.286821]  do_bind_con_driver+0x1d4/0x3c8
  280. [    1.286829]  do_take_over_console+0x148/0x1d8   
  281. [    1.286838]  do_fbcon_takeover+0x6c/0xe8   
  282. [    1.286844]  fbcon_fb_registered+0x13c/0x150     
  283. [    1.286852]  register_framebuffer+0x1c4/0x338   
  284. [    1.286860]  __drm_fb_helper_initial_config_and_unlock+0x2cc/0x478
  285. [    1.286868]  drm_fb_helper_initial_config+0x40/0x50   
  286. [    1.286877]  rockchip_drm_fbdev_init+0x5c/0x100  
  287. [    1.286883]  rockchip_drm_bind+0x174/0x1c8
  288. [    1.286894]  try_to_bring_up_master+0x15c/0x1c0  
  289. [    1.286903]  component_master_add_with_match+0xc0/0x108
  290. [    1.286910]  rockchip_drm_platform_probe+0x1ac/0x2c0   
  291. [    1.286917]  platform_drv_probe+0x50/0xa8  
  292. [    1.286927]  really_probe+0x108/0x360
  293. [    1.286935]  driver_probe_device+0x58/0x100
  294. [    1.286943]  device_driver_attach+0x6c/0x78
  295. [    1.286951]  __driver_attach+0xb0/0xf0     
  296. [    1.286958]  bus_for_each_dev+0x68/0xc8   
  297. [    1.286966]  driver_attach+0x20/0x28
  298. [    1.286973]  bus_add_driver+0x160/0x1f0   
  299. [    1.286981]  driver_register+0x60/0x110   
  300. [    1.286987]  __platform_driver_register+0x40/0x48
  301. [    1.286997]  rockchip_drm_init+0x1b0/0x1d8
  302. [    1.287006]  do_one_initcall+0x58/0x1a0   
  303. [    1.287015]  kernel_init_freeable+0x19c/0x20c   
  304. [    1.287027]  kernel_init+0x10/0x108  
  305. [    1.287034]  ret_from_fork+0x10/0x1c
  306. [    1.287047] ---[ end trace eaf638c6bba5cc86 ]---
复制代码


回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表