Firefly开源社区

打印 上一主题 下一主题

[Linux] 有大神用4.17编译内核成功的吗?

58

积分

0

威望

0

贡献

技术小白

积分
58

有大神用4.17编译内核成功的吗?

发表于 2018-8-18 16:05:50      浏览:9342 | 回复:3        打印      只看该作者   [复制链接] 楼主
怎样都搞不定,有没有大神可以解决?
回复

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-23 14:26:27        只看该作者  沙发
你现在搞成功了没有,我也是这两天移植4.17.19,好像找不到硬盘。

  1. ## linux内核移植输出信息

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

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

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


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

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

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


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

  94. Starting kernel ...


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

使用道具 举报

42

积分

0

威望

0

贡献

技术小白

积分
42
发表于 2020-2-24 22:21:26        只看该作者  板凳
今天终于把找不到分区的问题解决了,方法是给内核添加启动参数。
添加到arch/arm64/boot/dts/rockship/rk3328-roc-cc.dts中
chosen {
        bootargs = "root=/dev/mmcblk0p5 rw rootfstype=ext4 rootwait systemd.gpt_auto=0";
        stdout-path = "serial2:1500000n8";
};
虽然找不到分区的问题解决,但又出现了新的问题,即系统无法判断当前系统是什么系统的,具体看下面的信息:
  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, 206
  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 = 19193
  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 2018 aarch64)

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


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

  102. Starting kernel ...


  103. [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
  104. [    0.000000] Linux version 4.20.0 (msw@msw-Z97M-D3H) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP PREEM0
  105. [    0.000000] Machine model: Firefly roc-rk3328-cc
  106. [    0.000000] efi: Getting EFI parameters from FDT:
  107. [    0.000000] efi: UEFI not found.
  108. [    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
  109. [    0.000000] NUMA: No NUMA configuration found
  110. [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
  111. [    0.000000] NUMA: NODE_DATA [mem 0x7dfc7840-0x7dfc8fff]
  112. [    0.000000] Zone ranges:
  113. [    0.000000]   DMA32    [mem 0x0000000000200000-0x000000007fffffff]
  114. [    0.000000]   Normal   empty
  115. [    0.000000] Movable zone start for each node
  116. [    0.000000] Early memory node ranges
  117. [    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
  118. [    0.000000]   node   0: [mem 0x000000000a200000-0x000000007fffffff]
  119. [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
  120. [    0.000000] psci: probing for conduit method from DT.
  121. [    0.000000] psci: PSCIv1.0 detected in firmware.
  122. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  123. [    0.000000] psci: Trusted OS migration not required
  124. [    0.000000] psci: SMC Calling Convention v1.0
  125. [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x414 with crng_init=0
  126. [    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s55384 r8192 d30632 u94208
  127. [    0.000000] Detected VIPT I-cache on CPU0
  128. [    0.000000] CPU features: enabling workaround for ARM erratum 845719
  129. [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
  130. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 507912
  131. [    0.000000] Policy zone: DMA32
  132. [    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suffix= androidboot.serialno0
  133. [    0.000000] Memory: 1981312K/2064384K available (10876K kernel code, 704K rwdata, 3572K rodata, 1024K init, 381K bss, )
  134. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  135. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  136. [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
  137. [    0.000000]  Tasks RCU enabled.
  138. [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  139. [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  140. [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
  141. [    0.000000] GIC: Using split EOI/Deactivate mode
  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] rockchip_mmc_get_phase: invalid clk rate
  147. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  148. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  149. [    0.000000] rockchip_mmc_get_phase: invalid clk rate
  150. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
  151. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  152. [    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  153. [    0.000910] Console: colour dummy device 80x25
  154. [    0.001789] printk: console [tty0] enabled
  155. [    0.001934] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
  156. [    0.001976] pid_max: default: 32768 minimum: 301
  157. [    0.002127] LSM: Security Framework initializing
  158. [    0.003506] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  159. [    0.004262] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  160. [    0.004345] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  161. [    0.004394] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  162. [    0.027936] ASID allocator initialised with 32768 entries
  163. [    0.035919] rcu: Hierarchical SRCU implementation.
  164. [    0.045506] EFI services will not be available.
  165. [    0.052011] smp: Bringing up secondary CPUs ...
  166. [    0.084269] Detected VIPT I-cache on CPU1
  167. [    0.084349] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
  168. [    0.116363] Detected VIPT I-cache on CPU2
  169. [    0.116434] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
  170. [    0.148462] Detected VIPT I-cache on CPU3
  171. [    0.148531] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
  172. [    0.148654] smp: Brought up 1 node, 4 CPUs
  173. [    0.148789] SMP: Total of 4 processors activated.
  174. [    0.148814] CPU features: detected: 32-bit EL0 Support
  175. [    0.148838] CPU features: detected: CRC32 instructions
  176. [    0.152456] CPU: All CPU(s) started at EL2
  177. [    0.152500] alternatives: patching kernel code
  178. [    0.154085] devtmpfs: initialized
  179. [    0.164672] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  180. [    0.164801] futex hash table entries: 1024 (order: 4, 65536 bytes)
  181. [    0.166731] xor: measuring software checksum speed
  182. [    0.204593]    8regs     :  1152.000 MB/sec
  183. [    0.244661]    8regs_prefetch:  1026.000 MB/sec
  184. [    0.284730]    32regs    :  1415.000 MB/sec
  185. [    0.324802]    32regs_prefetch:  1191.000 MB/sec
  186. [    0.324825] xor: using function: 32regs (1415.000 MB/sec)
  187. [    0.324861] pinctrl core: initialized pinctrl subsystem
  188. [    0.326576] DMI not present or invalid.
  189. [    0.327145] NET: Registered protocol family 16
  190. [    0.327933] audit: initializing netlink subsys (disabled)
  191. [    0.328168] audit: type=2000 audit(0.324:1): state=initialized audit_enabled=0 res=1
  192. [    0.330696] cpuidle: using governor menu
  193. [    0.331362] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
  194. [    0.331411] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  195. [    0.333257] DMA: preallocated 256 KiB pool for atomic allocations
  196. [    0.334585] Serial: AMBA PL011 UART driver
  197. [    0.378020] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
  198. [    0.378781] cryptd: max_cpu_qlen set to 1000
  199. [    0.445409] raid6: int64x1  gen()   206 MB/s
  200. [    0.513572] raid6: int64x1  xor()   222 MB/s
  201. [    0.581795] raid6: int64x2  gen()   329 MB/s
  202. [    0.649769] raid6: int64x2  xor()   299 MB/s
  203. [    0.717984] raid6: int64x4  gen()   493 MB/s
  204. [    0.785991] raid6: int64x4  xor()   370 MB/s
  205. [    0.854226] raid6: int64x8  gen()   574 MB/s
  206. [    0.922299] raid6: int64x8  xor()   372 MB/s
  207. [    0.990348] raid6: neonx1   gen()   362 MB/s
  208. [    1.058478] raid6: neonx1   xor()   425 MB/s
  209. [    1.126638] raid6: neonx2   gen()   582 MB/s
  210. [    1.194685] raid6: neonx2   xor()   602 MB/s
  211. [    1.262777] raid6: neonx4   gen()   752 MB/s
  212. [    1.330877] raid6: neonx4   xor()   720 MB/s
  213. [    1.399023] raid6: neonx8   gen()   798 MB/s
  214. [    1.467094] raid6: neonx8   xor()   755 MB/s
  215. [    1.467114] raid6: using algorithm neonx8 gen() 798 MB/s
  216. [    1.467138] raid6: .... xor() 755 MB/s, rmw enabled
  217. [    1.467158] raid6: using neon recovery algorithm
  218. [    1.467939] ACPI: Interpreter disabled.
  219. [    1.469126] sdmmc-regulator GPIO handle specifies active low - ignored
  220. [    1.470292] vcc_sys: supplied by dc_12v
  221. [    1.471105] vcc_host1_5v: supplied by vcc_sys
  222. [    1.472531] vgaarb: loaded
  223. [    1.473125] SCSI subsystem initialized
  224. [    1.474274] usbcore: registered new interface driver usbfs
  225. [    1.474422] usbcore: registered new interface driver hub
  226. [    1.474588] usbcore: registered new device driver usb
  227. [    1.475504] pps_core: LinuxPPS API ver. 1 registered
  228. [    1.475551] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  229. [    1.475623] PTP clock support registered
  230. [    1.475919] EDAC MC: Ver: 3.0.0
  231. [    1.477431] Advanced Linux Sound Architecture Driver Initialized.
  232. [    1.478941] clocksource: Switched to clocksource arch_sys_counter
  233. [    1.479540] pnp: PnP ACPI: disabled
  234. [    1.492267] NET: Registered protocol family 2
  235. [    1.493171] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
  236. [    1.493292] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  237. [    1.493595] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
  238. [    1.493993] TCP: Hash tables configured (established 16384 bind 16384)
  239. [    1.494233] UDP hash table entries: 1024 (order: 3, 32768 bytes)
  240. [    1.494345] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
  241. [    1.494665] NET: Registered protocol family 1
  242. [    1.495829] RPC: Registered named UNIX socket transport module.
  243. [    1.495874] RPC: Registered udp transport module.
  244. [    1.495895] RPC: Registered tcp transport module.
  245. [    1.495914] RPC: Registered tcp NFSv4.1 backchannel transport module.
  246. [    1.497357] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  247. [    1.497741] kvm [1]: 8-bit VMID
  248. [    1.497773] kvm [1]: IPA Size Limit: 40bits
  249. [    1.498695] kvm [1]: vgic interrupt IRQ1
  250. [    1.498865] kvm [1]: Hyp mode initialized successfully
  251. [    1.508827] Initialise system trusted keyrings
  252. [    1.509140] workingset: timestamp_bits=44 max_order=19 bucket_order=0
  253. [    1.521977] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  254. [    1.523585] NFS: Registering the id_resolver key type
  255. [    1.523664] Key type id_resolver registered
  256. [    1.523684] Key type id_legacy registered
  257. [    1.523715] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
  258. [    1.524031] SGI XFS with security attributes, no debug enabled
  259. [    1.526674] 9p: Installing v9fs 9p2000 file system support
  260. [    1.535741] Key type asymmetric registered
  261. [    1.535788] Asymmetric key parser 'x509' registered
  262. [    1.535919] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
  263. [    1.535956] io scheduler noop registered
  264. [    1.535976] io scheduler deadline registered
  265. [    1.536281] io scheduler cfq registered (default)
  266. [    1.536313] io scheduler mq-deadline registered
  267. [    1.536334] io scheduler kyber registered
  268. [    1.543017] EINJ: ACPI disabled.
  269. [    1.547545] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
  270. [    1.547626] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  271. [    1.554658] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  272. [    1.558102] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
  273. [    1.642340] printk: console [ttyS2] enabled
  274. [    1.658499] loop: module loaded
  275. [    1.663204] libphy: Fixed MDIO Bus: probed
  276. [    1.664749] tun: Universal TUN/TAP device driver, 1.6
  277. [    1.666310] thunder_xcv, ver 1.0
  278. [    1.666725] thunder_bgx, ver 1.0
  279. [    1.667168] nicpf, ver 1.0
  280. [    1.668126] hclge is initializing
  281. [    1.668460] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
  282. [    1.669113] hns3: Copyright (c) 2017 Huawei Corporation.
  283. [    1.669697] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
  284. [    1.670231] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
  285. [    1.670838] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
  286. [    1.671498] igb: Copyright (c) 2007-2014 Intel Corporation.
  287. [    1.672088] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
  288. [    1.672803] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
  289. [    1.673618] sky2: driver version 1.30
  290. [    1.674685] VFIO - User Level meta-driver version: 0.3
  291. [    1.676575] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
  292. [    1.677435] dwc2 ff580000.usb: Linked as a consumer to regulator.0
  293. [    1.678009] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
  294. [    1.811042] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
  295. [    1.813312] dwc2 ff580000.usb: DWC OTG Controller
  296. [    1.813797] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
  297. [    1.814488] dwc2 ff580000.usb: irq 26, io mem 0xff580000
  298. [    1.815977] hub 1-0:1.0: USB hub found
  299. [    1.816418] hub 1-0:1.0: 1 port detected
  300. [    1.818573] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  301. [    1.819235] ehci-pci: EHCI PCI platform driver
  302. [    1.819749] ehci-platform: EHCI generic platform driver
  303. [    1.822660] ehci-platform ff5c0000.usb: EHCI Host Controller
  304. [    1.823251] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
  305. [    1.824645] ehci-platform ff5c0000.usb: irq 27, io mem 0xff5c0000
  306. [    1.838982] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
  307. [    1.840558] hub 2-0:1.0: USB hub found
  308. [    1.840988] hub 2-0:1.0: 1 port detected
  309. [    1.842027] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  310. [    1.842642] ohci-pci: OHCI PCI platform driver
  311. [    1.843343] ohci-platform: OHCI generic platform driver
  312. [    1.844220] ohci-platform ff5d0000.usb: Generic Platform OHCI controller[    1.844861] ohci-platform ff5d0000.usb: new3
  313. [    1.846087] ohci-platform ff5d0000.usb: irq 28, io mem 0xff5d0000
  314. [    1.907963] hub 3-0:1.0: USB hub found
  315. [    1.908400] hub 3-0:1.0: 1 port detected
  316. [    1.910070] usbcore: registered new interface driver usb-storage
  317. [    1.913897] i2c /dev entries driver
  318. [    1.916899] rk808 1-0018: chip id: 0x8050
  319. [    1.925555] rk808-regulator rk808-regulator: there is no dvs0 gpio
  320. [    1.926167] rk808-regulator rk808-regulator: there is no dvs1 gpio
  321. [    1.926805] DCDC_REG1: supplied by vcc_sys
  322. [    1.929882] DCDC_REG2: supplied by vcc_sys
  323. [    1.931988] DCDC_REG3: supplied by vcc_sys
  324. [    1.932720] DCDC_REG4: supplied by vcc_sys
  325. [    1.934410] LDO_REG1: supplied by vcc_io
  326. [    1.938446] LDO_REG2: supplied by vcc_io
  327. [    1.942470] LDO_REG3: supplied by vcc_io
  328. [    1.948364] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  329. [    1.949790] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  330. [    1.950677] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  331. [    1.951550] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  332. [    1.954461] cpu cpu0: Linked as a consumer to regulator.7
  333. [    1.955085] cpu cpu0: Dropping the link to regulator.7
  334. [    1.955823] cpu cpu0: Linked as a consumer to regulator.7
  335. [    1.958541] sdhci: Secure Digital Host Controller Interface driver
  336. [    1.959189] sdhci: Copyright(c) Pierre Ossman
  337. [    1.959872] Synopsys Designware Multimedia Card Interface Driver
  338. [    1.961540] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  339. [    1.962519] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  340. [    1.963164] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  341. [    1.963750] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  342. [    1.964668] vcc_sd: supplied by vcc_io
  343. [    1.965124] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  344. [    1.965856] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  345. [    1.967381] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
  346. [    1.968215] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
  347. [    1.968825] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
  348. [    1.969387] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 24,32 bit host data width,256 deep fifo
  349. [    1.970362] mmc_host mmc0: card is non-removable.
  350. [    1.983011] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  351. [    1.996641] sdhci-pltfm: SDHCI platform and OF driver helper
  352. [    1.998012] ledtrig-cpu: registered to indicate activity on CPUs
  353. [    1.999947] usbcore: registered new interface driver usbhid
  354. [    2.000487] usbhid: USB HID core driver
  355. [    2.003745] NET: Registered protocol family 17
  356. [    2.004421] 9pnet: Installing 9P2000 support
  357. [    2.004895] Key type dns_resolver registered
  358. [    2.006168] registered taskstats version 1
  359. [    2.006554] Loading compiled-in X.509 certificates
  360. [    2.008454] Btrfs loaded, crc32c=crc32c-generic
  361. [    2.022365] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  362. [    2.023762] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  363. [    2.024598] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  364. [    2.025380] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  365. [    2.027281] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  366. [    2.028344] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  367. [    2.028993] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  368. [    2.029570] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  369. [    2.030554] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  370. [    2.031374] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  371. [    2.033042] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  372. [    2.034357] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  373. [    2.035224] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  374. [    2.036017] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  375. [    2.037840] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  376. [    2.038903] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  377. [    2.039548] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  378. [    2.040097] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  379. [    2.041113] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  380. [    2.041855] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  381. [    2.043140] hctosys: unable to open rtc device (rtc0)
  382. [    2.044936] vcc_sd: disabling
  383. [    2.045273] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
  384. [    2.046262] ALSA device list:
  385. [    2.046540]   No soundcards found.
  386. [    2.046897] mmc0: new high speed MMC card at address 0001
  387. [    2.048967] mmcblk0: mmc0:0001 AJTD4R 14.6 GiB
  388. [    2.050470] mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
  389. [    2.052118] mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
  390. [    2.052924] mmcblk0rpmb: mmc0:0001 AJTD4R partition 3 4.00 MiB, chardev (244:0)
  391. [    2.057273]  mmcblk0: p1 p2 p3 p4 p5
  392. [    2.061779] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.9
  393. [    2.063168] random: fast init done
  394. [    2.063193] rockchip-iodomain ff100000.syscon:io-domains: Linked as a consumer to regulator.11
  395. [    2.064508] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.11
  396. [    2.065333] rockchip-iodomain ff100000.syscon:io-domains: Dropping the link to regulator.9
  397. [    2.066448] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
  398. [    2.067375] VFS: Mounted root (ext4 filesystem) on device 179:5.
  399. [    2.067387] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
  400. [    2.068962] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
  401. [    2.069592] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
  402. [    2.070013] devtmpfs: mounted
  403. [    2.070140] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 23,32 bit host data width,256 deep fifo
  404. [    2.071033] Freeing unused kernel memory: 1024K
  405. [    2.071383] dwmmc_rockchip ff500000.dwmmc: Linked as a consumer to regulator.2
  406. [    2.072360] dwmmc_rockchip ff500000.dwmmc: Dropping the link to regulator.2
  407. [    2.090976] Run /sbin/init as init process
  408. [    2.410524] systemd[1]: System time before build time, advancing clock.
  409. [    2.439319] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTM)
  410. [    2.441674] systemd[1]: Code should not be reached 'Couldn't identify architecture. You need to patch systemd.' at ../.
  411. [    2.444818] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000005
  412. [    2.445526] CPU: 3 PID: 1 Comm: systemd Not tainted 4.20.0 #1
  413. [    2.446037] Hardware name: Firefly roc-rk3328-cc (DT)
  414. [    2.446485] Call trace:
  415. [    2.446724]  dump_backtrace+0x0/0x158
  416. [    2.447054]  show_stack+0x14/0x20
  417. [    2.447353]  dump_stack+0x8c/0xac
  418. [    2.447657]  panic+0x13c/0x2ac
  419. [    2.447932]  do_exit+0x994/0x998
  420. [    2.448222]  do_group_exit+0x34/0x98
  421. [    2.448542]  get_signal+0x1d8/0x480
  422. [    2.448857]  do_notify_resume+0x2ac/0x390
  423. [    2.449216]  work_pending+0x8/0x10
  424. [    2.449529] SMP: stopping secondary CPUs
  425. [    2.449888] Kernel Offset: disabled
  426. [    2.450201] CPU features: 0x2,20802004
  427. [    2.450536] Memory Limit: none
  428. [    2.450819] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000005 ]---
复制代码


回复

使用道具 举报

29

积分

0

威望

0

贡献

技术小白

积分
29
发表于 2020-6-20 15:10:24        只看该作者  地板
添加到arch / arm64 / boot / dts / rockship / rk3328-roc-cc.dts中
chosen {
        bootargs =“ root = / dev / mmcblk0p5 rw rootfstype = ext4 rootwait systemd.gpt_auto = 0“;
        stdout-path =“ serial2:1500000n8”;
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%8D%97%E6%98%8C%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%B2%88%E9%98%B3%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%85%B0%E5%B7%9E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E8%A5%BF%E5%AE%89%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E9%83%91%E5%B7%9E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%B5%8E%E5%8D%97%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%A4%AA%E5%8E%9F%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%90%88%E8%82%A5%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%AD%A6%E6%B1%89%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E9%95%BF%E6%B2%99%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%8D%97%E4%BA%AC%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%88%90%E9%83%BD%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E8%B4%B5%E9%98%B3%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%98%86%E6%98%8E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%8D%97%E5%AE%81%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3A9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%9D%AD%E5%B7%9E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%8D%97%E6%98%8C%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%B9%BF%E5%B7%9E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E7%A6%8F%E5%B7%9E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%A4%A9%E6%B4%A5%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%97%A0%E9%94%A1%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%AE%81%E6%B3%A2%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E9%9D%92%E5%B2%9B%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%B7%B1%E5%9C%B3%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E4%B8%8A%E6%B5%B7%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%8C%97%E4%BA%AC%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%A4%A9%E6%B4%A5%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E6%89%93%E5%BC%80%E7%BD%91%E5%9D%80%3Aza9s.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%8D%97%E6%98%8C%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%B2%88%E9%98%B3%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%85%B0%E5%B7%9E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E8%A5%BF%E5%AE%89%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E9%83%91%E5%B7%9E%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%B5%8E%E5%8D%97%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%A4%AA%E5%8E%9F%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%90%88%E8%82%A5%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%AD%A6%E6%B1%89%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E9%95%BF%E6%B2%99%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E5%8D%97%E4%BA%AC%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       
www.sina.com.cn/mid/search.shtml?range=all&c=news&q=%E6%88%90%E9%83%BD%E4%BB%A3%E5%AD%95%E5%85%AC%E5%8F%B8%E3%80%90%E7%BD%91%E5%9D%80:9n7a.com%E3%80%91       


回复

使用道具 举报

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

本版积分规则

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