Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] RK3399 CPU on custom hardware. Strange kernel output

20

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
20

【Linux】 RK3399 CPU on custom hardware. Strange kernel output

Posted at 9/19/2018 14:25:48      View:4124 | Replies:0        Print      Only Author   [Copy Link] 1#
Last edited by marijnr In 9/19/2018 14:59 Editor

Hi,

I'm trying to compile an RK3399 image as described in http://wiki.t-firefly.com/ROC-RK ... ompile_firmware.htm and http://opensource.rock-chips.com/wiki_Linux_user_guide. We have created custom hardware using the RK3399 CPU. When starting up a default generated kernel, it will stop when trying to find the serial ports. The last lines it prints is:
  1. [    0.900624] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
  2. [    0.901293] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
  3. [    0.903508] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  4. [    0.904188] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  5. [    0.906020] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
  6. [    0.908085] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 36, base_baud = 1500000) is a 16550A
  7. [    0.909184] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.smria▒▒

  8.                                                                         
  9.                                                   [  
  10. 0(0.▒̰140],vocml▒ip-pko▒▒l`pyngu▒l▒▒py~-37s▒▒ff1y<63̗▒▒▒yy|-&w▒غ▒▒▒mr:▒`08<>/;▒̳▒▒▒▒▒▒▒sxy|?~o▒▒▒▒▒▒py▒▒▒|_?▒|x~'▒▒▒▒▒▒▒x~/▒▒▒▒▒~▒▒▒▒}??/▒▒▒▒▒?▒▒▒▒▒▒▒▒▒|~??▒▒▒▒▒▒▒▒▒▒|▒▒▒▒▒▒▒▒~~~?▒▒▒▒▒▒▒▒▒▒▒▒~▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Copy the code

The characters that aren't correct (that garbled mess) are never the same. But what follows are always some random ASCII characters.
When I then disable some things of FIQ, the kernel won't start.

I tried to see what would happen if I told the kernel to limit the amount of ports for the serial 8250 driver to zero, and I get the following result:
  1. [    0.905219] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
  2. [    0.905889] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
  3. [    0.908140] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  4. [    0.908821] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  5. [    0.911054] dw-apb-uart: probe of ff180000.serial failed with error -28
  6. [    0.911728] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.serial
  7. [    0.912680] rockchip-pinctrl pinctrl: pin-147 (ff1a0000.serial) status -22
  8. [    0.913296] rockchip-pinctrl pinctrl: could not request pin 147 (gpio4-19) from group uart2c-xfer  on device rockchip-pinctrl
  9. [    0.913293] dw-apb-uart ff1a0000.serial: Error applying setting, reverse things back
  10. [!▒▒▒p>=75▒0▒] /c▒▒-▒▒▒t:,vs▒l▒▒▒fv9m6̟8gs▒ض▒▒▒y|}n#▒▒▒▒`uzzo
Copy the code
For some reason, it got further into the kernel without corrupting my serial output.
I then saw what happend if I disabled everything from my serial driver, and now, it will skip the part that corrupted my output (like it should), but it got corrupted a few lines later:
  1. [ 0.900572] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
  2. [ 0.901242] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
  3. [ 0.903530] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  4. [ 0.904199] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  5. [ 0.906253] [drm] Initialized drm 1.1.0 20060810
  6. [
  7. 0.909842] rockchip-▒r}0lmws▒▒y▒▒ubsvg۝▒▒▒c
  8. y{,dksر▒▒d-▒Р▒▒▒▒yyx8=>]<ooooo▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒|▒▒~|}~~>?????▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Copy the code
This is where I'm stuck. At first I thought the FIQ debugger was the problem, but with that last image, I have no idea where to look.


THE FULL LOGS WITH THE DEFAULT IMAGE (FIQ on, UART PORTS 5)

  1. DDR Version 1.08 20170320
  2. In
  3. Channel 0: DDR3, 800MHz
  4. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  5. Channel 1: DDR3, 800MHz
  6. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  7. 256B stride
  8. ch 0 ddrconfig = 0x101, ddrsize = 0x20
  9. ch 1 ddrconfig = 0x101, ddrsize = 0x20
  10. pmugrf_os_reg[2] = 0x32817281, stride = 0x9
  11. OUT
  12. Boot1: 2017-04-07, version: 1.06
  13. CPUId = 0x0
  14. ChipType = 0x10, 1825
  15. SdmmcInit=2 0
  16. BootCapSize=100000
  17. UserCapSize=7456MB
  18. FwPartOffset=2000 , 100000
  19. SdmmcInit=0 0
  20. BootCapSize=0
  21. UserCapSize=30436MB
  22. FwPartOffset=2000 , 0
  23. StorageInit ok = 311038
  24. LoadTrustBL
  25. No find bl30.bin
  26. RunBL31 0x10000
  27. NOTICE:  BL31: v1.3(debug):65aa5ce
  28. NOTICE:  BL31: Built : 10:47:37, Jun 19 2018
  29. NOTICE:  BL31: Rockchip release version: v1.1
  30. INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
  31. INFO:    Using opteed sec cpu_context!
  32. INFO:    boot cpu mask: 0
  33. INFO:    plat_rockchip_pmu_init(1151): pd status 3e
  34. INFO:    BL31: Initializing runtime services
  35. INFO:    BL31: Initializing BL32
  36. INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)

  37. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

  38. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
  39. INFO:    BL31: Preparing for EL3 exit to normal world
  40. INFO:    Entry point address = 0x200000
  41. INFO:    SPSR = 0x3c9


  42. U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)

  43. Model: Firefly-RK3399 Board
  44. DRAM:  2 GiB
  45. Relocation Offset is: 7fd15000
  46. rk8xx_read: read reg 0x17 failed, ret=-121
  47. MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
  48. invalid parameter
  49. *** Warning - bad CRC, using default environment

  50. In:    serial@ff1a0000
  51. Out:   serial@ff1a0000
  52. Err:   serial@ff1a0000
  53. Model: Firefly-RK3399 Board
  54. switch to partitions #0, OK
  55. mmc1 is current device
  56. do_rkimg_test found IDB in SDcard
  57. Boot from SDcard
  58. get part misc fail -1
  59. Net:   eth0: ethernet@fe300000
  60. Hit any key to stop autoboot:  0
  61. android_bootloader_boot_flow Could not find misc partition
  62. get part misc fail -1
  63. ANDROID: reboot reason: "(none)"
  64. ** Invalid Android Image header **
  65. android_bootloader_boot_flow boot part load fail
  66. Android boot failed, error -1.
  67. get part misc fail -1
  68. =Booting Rockchip format image=
  69. boot_rockchip_image kernel or boot part info error
  70. switch to partitions #0, OK
  71. mmc1 is current device
  72. Scanning mmc 1:4...
  73. Found /extlinux/extlinux.conf
  74. Retrieving file: /extlinux/extlinux.conf
  75. reading /extlinux/extlinux.conf
  76. 214 bytes read in 3 ms (69.3 KiB/s)
  77. 1:      kernel-4.4
  78. Retrieving file: /Image
  79. reading /Image
  80. 17936392 bytes read in 752 ms (22.7 MiB/s)
  81. append:
  82. earlyprintk console=ttyFIQ0,1500000n8 rw
  83. root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
  84. init=/sbin/init rootwait
  85. Retrieving file: /rk3399-firefly-linux.dtb
  86. reading /rk3399-firefly-linux.dtb
  87. 75364 bytes read in 7 ms (10.3 MiB/s)
  88. ## Flattened Device Tree blob at 01f00000
  89.    Booting using the fdt blob at 0x1f00000
  90.    Loading Device Tree to 00000000081ea000, end 00000000081ff663 ... OK
  91. Adding bank: start=0x00200000, size=0x08200000
  92. Adding bank: start=0x0a200000, size=0x75e00000

  93. Starting kernel ...


  94. [    0.000000] Booting Linux on physical CPU 0x0
  95. [    0.000000] Initializing cgroup subsys cpuset
  96. [    0.000000] Initializing cgroup subsys cpu
  97. [    0.000000] Initializing cgroup subsys cpuacct
  98. [
  99.    0.000000] Linux version 4.4.114 (test@test-VirtualBox) (gcc version
  100. 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #37 SMP Wed Sep
  101. 19 07:57:22 CEST 2018
  102. [    0.000000] Boot CPU: AArch64 Processor [410fd034]
  103. [    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
  104. [    0.000000] psci: probing for conduit method from DT.
  105. [    0.000000] psci: PSCIv1.0 detected in firmware.
  106. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  107. [    0.000000] psci: Trusted OS migration not required
  108. [    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07fef6000 s45800 r8192 d32024 u86016
  109. [    0.000000] Detected VIPT I-cache on CPU0
  110. [    0.000000] CPU features: enabling workaround for ARM erratum 845719
  111. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 507912
  112. [
  113.    0.000000] Kernel command line: earlyprintk console=ttyFIQ0,1500000n8
  114. rw root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
  115. init=/sbin/init rootwait
  116. [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
  117. [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  118. [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  119. [    0.000000] software IO TLB [mem 0x79a00000-0x7da00000] (64MB) mapped at [ffffffc079a00000-ffffffc07d9fffff]
  120. [
  121.    0.000000] Memory: 1943148K/2064384K available (10814K kernel code,
  122. 1580K rwdata, 4016K rodata, 1088K init, 729K bss, 121236K reserved, 0K
  123. cma-reserved)
  124. [    0.000000] Virtual kernel memory layout:
  125. [    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
  126. [    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
  127. [    0.000000]       .init : 0xffffff8008f00000 - 0xffffff8009010000   (  1088 KB)
  128. [    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008b10000   ( 10816 KB)
  129. [    0.000000]     .rodata : 0xffffff8008b10000 - 0xffffff8008f00000   (  4032 KB)
  130. [    0.000000]       .data : 0xffffff8009010000 - 0xffffff800919b008   (  1581 KB)
  131. [    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
  132. [    0.000000]               0xffffffbdc0008000 - 0xffffffbdc2000000   (    31 MB actual)
  133. [    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
  134. [    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
  135. [    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc080000000   (  2046 MB)
  136. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
  137. [    0.000000] Hierarchical RCU implementation.
  138. [    0.000000]  Build-time adjustment of leaf fanout to 64.
  139. [    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
  140. [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
  141. [    0.000000] NR_IRQS:64 nr_irqs:64 0
  142. [    0.000000] GIC: Using split EOI/Deactivate mode
  143. [    0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
  144. [    0.000000] ITS: allocated 65536 Devices @a300000 (psz 64K, shr 0)
  145. [    0.000000] ITS: using cache flushing for cmd queue
  146. [    0.000000] GIC: using LPI property table @0x000000000a290000
  147. [    0.000000] ITS: Allocated 1792 chunks for LPIs
  148. [    0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
  149. [    0.000000] CPU0: using LPI pending table @0x000000000a2a0000
  150. [    0.000000] GIC: using cache flushing for LPI property table
  151. [    0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
  152. [    0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
  153. [
  154.    0.000000] rockchip_clk_register_frac_branch: could not find
  155. dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
  156. [   
  157. 0.000000] rockchip_clk_register_frac_branch: could not find
  158. dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
  159. [    0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
  160. [    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
  161. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  162. [    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  163. [    0.001270] Console: colour dummy device 80x25
  164. [    0.001294] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
  165. [    0.001306] pid_max: default: 32768 minimum: 301
  166. [    0.001454] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  167. [    0.001465] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  168. [    0.002147] Initializing cgroup subsys devices
  169. [    0.002164] Initializing cgroup subsys freezer
  170. [    0.002189] ftrace: allocating 39257 entries in 154 pages
  171. [    0.098517] sched-energy: Sched-energy-costs installed from DT
  172. [    0.098533] CPU0: update cpu_capacity 401
  173. [    0.098588] ASID allocator initialised with 32768 entries
  174. [    0.101445] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
  175. [    0.101929] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
  176. [    0.103146] Detected VIPT I-cache on CPU1
  177. [    0.103178] CPU1: found redistributor 1 region 0:0x00000000fef20000
  178. [    0.103206] CPU1: using LPI pending table @0x0000000000310000
  179. [    0.103247] CPU1: update cpu_capacity 401
  180. [    0.103251] CPU1: Booted secondary processor [410fd034]
  181. [    0.103781] Detected VIPT I-cache on CPU2
  182. [    0.103802] CPU2: found redistributor 2 region 0:0x00000000fef40000
  183. [    0.103829] CPU2: using LPI pending table @0x0000000000340000
  184. [    0.103856] CPU2: update cpu_capacity 401
  185. [    0.103859] CPU2: Booted secondary processor [410fd034]
  186. [    0.104374] Detected VIPT I-cache on CPU3
  187. [    0.104394] CPU3: found redistributor 3 region 0:0x00000000fef60000
  188. [    0.104421] CPU3: using LPI pending table @0x0000000000390000
  189. [    0.104446] CPU3: update cpu_capacity 401
  190. [    0.104450] CPU3: Booted secondary processor [410fd034]
  191. [    0.104957] Detected PIPT I-cache on CPU4
  192. [    0.104984] CPU4: found redistributor 100 region 0:0x00000000fef80000
  193. [    0.105023] CPU4: using LPI pending table @0x00000000003c0000
  194. [    0.105062] CPU4: update cpu_capacity 1024
  195. [    0.105066] CPU4: Booted secondary processor [410fd082]
  196. [    0.105597] Detected PIPT I-cache on CPU5
  197. [    0.105616] CPU5: found redistributor 101 region 0:0x00000000fefa0000
  198. [    0.105652] CPU5: using LPI pending table @0x00000000003f0000
  199. [    0.105680] CPU5: update cpu_capacity 1024
  200. [    0.105683] CPU5: Booted secondary processor [410fd082]
  201. [    0.105769] Brought up 6 CPUs
  202. [    0.105848] SMP: Total of 6 processors activated.
  203. [    0.105857] CPU features: detected feature: GIC system register CPU interface
  204. [    0.105870] CPU: All CPU(s) started at EL2
  205. [    0.105916] alternatives: patching kernel code
  206. [    0.107281] devtmpfs: initialized
  207. [    0.121525] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
  208. [    0.121549] futex hash table entries: 2048 (order: 5, 131072 bytes)
  209. [    0.122001] pinctrl core: initialized pinctrl subsystem
  210. [    0.122731] NET: Registered protocol family 16
  211. [    0.126841] cpuidle: using governor ladder
  212. [    0.130861] cpuidle: using governor menu
  213. [    0.130879] Registered FIQ tty driver
  214. [    0.131072] vdso: 2 pages (1 code @ ffffff8008b16000, 1 data @ ffffff8009014000)
  215. [    0.131100] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  216. [    0.131262] DMA: preallocated 256 KiB pool for atomic allocations
  217. [    0.213709] console [ttyFIQ0] enabled
  218. [    0.214243] Registered fiq debugger ttyFIQ0
  219. [    0.243853] iommu: Adding device ff650000.vpu_service to group 0
  220. [    0.244467] iommu: Adding device ff660000.rkvdec to group 1
  221. [    0.245057] iommu: Adding device ff8f0000.vop to group 2
  222. [    0.245608] iommu: Adding device ff900000.vop to group 3
  223. [    0.247377] SCSI subsystem initialized
  224. [    0.247895] usbcore: registered new interface driver usbfs
  225. [    0.248417] usbcore: registered new interface driver hub
  226. [    0.248974] usbcore: registered new device driver usb
  227. [
  228.    [    0.303948] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
  229. [    0.304869] NET: Registered protocol family 2
  230. [    0.305703] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  231. [    0.306421] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
  232. [    0.307379] TCP: Hash tables configured (established 16384 bind 16384)
  233. [    0.308047] UDP hash table entries: 1024 (order: 4, 98304 bytes)
  234. [    0.308671] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
  235. [    0.309507] NET: Registered protocol family 1
  236. [    0.310195] RPC: Registered named UNIX socket transport module.
  237. [    0.310735] RPC: Registered udp transport module.
  238. [    0.311151] RPC: Registered tcp transport module.
  239. [    0.311567] RPC: Registered tcp NFSv4.1 backchannel transport module.
  240. [    0.312678] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  241. [    0.313473] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
  242. [    0.317447] Initialise system trusted keyring
  243. [    0.326210] NFS: Registering the id_resolver key type
  244. [    0.326696] Key type id_resolver registered
  245. [    0.327067] Key type id_legacy registered
  246. [    0.327484] fuse init (API version 7.23)
  247. [    0.328219] SGI XFS with security attributes, no debug enabled
  248. [    0.333387] NET: Registered protocol family 38
  249. [    0.333816] Key type asymmetric registered
  250. [    0.334193] Asymmetric key parser 'x509' registered
  251. [    0.334786] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
  252. [    0.335447] io scheduler noop registered
  253. [    0.335810] io scheduler deadline registered
  254. [    0.336312] io scheduler cfq registered (default)
  255. [    0.338099] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: vbus_drv is not assigned
  256. [    0.343254] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
  257. [    0.343847] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
  258. [    0.344424] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
  259. [    0.886654] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
  260. [    0.887378] rockchip-pcie: probe of f8000000.pcie failed with error -110
  261. [    0.889094] rk-vcodec ff650000.vpu_service: no regulator for vcodec
  262. [    0.890017] rk-vcodec ff650000.vpu_service: probe device
  263. [    0.890540] rk-vcodec ff650000.vpu_service: vpu mmu dec ffffffc07923a410
  264. [    0.891390] rk-vcodec ff650000.vpu_service: allocator is drm
  265. [    0.891972] rk-vcodec ff650000.vpu_service: checking hw id 0
  266. [    0.893139] rk-vcodec ff650000.vpu_service: could not find power_model node
  267. [    0.893773] rk-vcodec ff650000.vpu_service: init success
  268. [    0.894646] rk-vcodec ff660000.rkvdec: no regulator for vcodec
  269. [    0.895632] rk-vcodec ff660000.rkvdec: probe device
  270. [    0.896101] rk-vcodec ff660000.rkvdec: vpu mmu dec ffffffc07923ac10
  271. [    0.896834] rk-vcodec ff660000.rkvdec: allocator is drm
  272. [    0.897347] rk-vcodec ff660000.rkvdec: checking hw id 6876
  273. [    0.898190] rk-vcodec ff660000.rkvdec: could not find power_model node
  274. [    0.898787] rk-vcodec ff660000.rkvdec: init success
  275. [    0.900624] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
  276. [    0.901293] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
  277. [    0.903508] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  278. [    0.904188] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  279. [    0.906020] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
  280. [    0.908085] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 36, base_baud = 1500000) is a 16550A
  281. [    0.909184] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.smria▒▒

  282.                                                                         
  283.                                              
  284.    [  0(0.▒̰140],vocml▒ip-pko▒▒l`pyngu▒l▒▒py~-37s▒▒ff1y<63̗▒▒▒yy|-&w▒غ▒▒▒mr:▒`08<>/;▒̳▒▒▒▒▒▒▒sxy|?~o▒▒▒▒▒▒py▒▒▒|_?▒|x~'▒▒▒▒▒▒▒x~/▒▒▒▒▒~▒▒▒▒}??/▒▒▒▒▒?▒▒▒▒▒▒▒▒▒|~??▒▒▒▒▒▒▒▒▒▒|▒▒▒▒▒▒▒▒~~~?▒▒▒▒▒▒▒▒▒▒▒▒~▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Copy the code
THE FULL LOGS OF THE IMAGE W/O SERIAL DRIVERS (FIQ on, SERIAL_8250 off)
  1. DDR Version 1.08 20170320
  2. In
  3. Channel 0: DDR3, 800MHz
  4. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  5. Channel 1: DDR3, 800MHz
  6. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  7. 256B stride
  8. ch 0 ddrconfig = 0x101, ddrsize = 0x20
  9. ch 1 ddrconfig = 0x101, ddrsize = 0x20
  10. pmugrf_os_reg[2] = 0x32817281, stride = 0x9
  11. OUT
  12. Boot1: 2017-04-07, version: 1.06
  13. CPUId = 0x0
  14. ChipType = 0x10, 1839
  15. SdmmcInit=2 0
  16. BootCapSize=100000
  17. UserCapSize=7456MB
  18. FwPartOffset=2000 , 100000
  19. SdmmcInit=0 0
  20. BootCapSize=0
  21. UserCapSize=30436MB
  22. FwPartOffset=2000 , 0
  23. StorageInit ok = 307676
  24. LoadTrustBL
  25. No find bl30.bin
  26. RunBL31 0x10000
  27. NOTICE:  BL31: v1.3(debug):65aa5ce
  28. NOTICE:  BL31: Built : 10:47:37, Jun 19 2018
  29. NOTICE:  BL31: Rockchip release version: v1.1
  30. INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
  31. INFO:    Using opteed sec cpu_context!
  32. INFO:    boot cpu mask: 0
  33. INFO:    plat_rockchip_pmu_init(1151): pd status 3e
  34. INFO:    BL31: Initializing runtime services
  35. INFO:    BL31: Initializing BL32
  36. INF
  37. [0x0] TEE-CORE:init_primary_helper:337: Initializing
  38. (1.1.0-170-gc4654a6 #16                                                
  39.      Wed May 30 08:54:30 UTC 2018 aarch64)

  40. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

  41. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
  42. INFO:    BL31: Preparing for EL3 exit to normal world
  43. INFO:    Entry point address = 0x200000
  44. INFO:    SPSR = 0x3c9


  45. U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)

  46. Model: Firefly-RK3399 Board
  47. DRAM:  2 GiB
  48. Relocation Offset is: 7fd15000
  49. rk8xx_read: read reg 0x17 failed, ret=-121
  50. MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
  51. invalid parameter
  52. *** Warning - bad CRC, using default environment

  53. In:    serial@ff1a0000
  54. Out:   serial@ff1a0000
  55. Err:   serial@ff1a0000
  56. Model: Firefly-RK3399 Board
  57. switch to partitions #0, OK
  58. mmc1 is current device
  59. do_rkimg_test found IDB in SDcard
  60. Boot from SDcard
  61. get part misc fail -1
  62. Net:   eth0: ethernet@fe300000
  63. Hit any key to stop autoboot:  0
  64. android_bootloader_boot_flow Could not find misc partition
  65. get part misc fail -1
  66. ANDROID: reboot reason: "(none)"
  67. ** Invalid Android Image header **
  68. android_bootloader_boot_flow boot part load fail
  69. Android boot failed, error -1.
  70. get part misc fail -1
  71. =Booting Rockchip format image=
  72. boot_rockchip_image kernel or boot part info error
  73. switch to partitions #0, OK
  74. mmc1 is current device
  75. Scanning mmc 1:4...
  76. Found /extlinux/extlinux.conf
  77. Retrieving file: /extlinux/extlinux.conf
  78. reading /extlinux/extlinux.conf
  79. 214 bytes read in 4 ms (51.8 KiB/s)
  80. 1:      kernel-4.4
  81. Retrieving file: /Image
  82. reading /Image
  83. 17911816 bytes read in 751 ms (22.7 MiB/s)
  84. append:
  85. earlyprintk console=ttyFIQ0,1500000n8 rw
  86. root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
  87. init=/sbin/init rootwait
  88. Retrieving file: /rk3399-firefly-linux.dtb
  89. reading /rk3399-firefly-linux.dtb
  90. 75364 bytes read in 7 ms (10.3 MiB/s)
  91. ## Flattened Device Tree blob at 01f00000
  92.    Booting using the fdt blob at 0x1f00000
  93.    Loading Device Tree to 00000000081ea000, end 00000000081ff663 ... OK
  94. Adding bank: start=0x00200000, size=0x08200000
  95. Adding bank: start=0x0a200000, size=0x75e00000

  96. Starting kernel ...


  97. [    0.000000] Booting Linux on physical CPU 0x0
  98. [    0.000000] Initializing cgroup subsys cpuset
  99. [    0.000000] Initializing cgroup subsys cpu
  100. [    0.000000] Initializing cgroup subsys cpuacct
  101. [
  102.    0.000000] Linux version 4.4.114 (marijn@marijn-VirtualBox) (gcc
  103. version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #38 SMP
  104. Wed Sep 19 08:15:31 CEST 2018
  105. [    0.000000] Boot CPU: AArch64 Processor [410fd034]
  106. [    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
  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] PERCPU: Embedded 21 pages/cpu @ffffffc07fef6000 s45800 r8192 d32024 u86016
  112. [    0.000000] Detected VIPT I-cache on CPU0
  113. [    0.000000] CPU features: enabling workaround for ARM erratum 845719
  114. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 507912
  115. [
  116.    0.000000] Kernel command line: earlyprintk console=ttyFIQ0,1500000n8
  117. rw root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
  118. init=/sbin/init rootwait
  119. [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
  120. [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  121. [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  122. [    0.000000] software IO TLB [mem 0x79a00000-0x7da00000] (64MB) mapped at [ffffffc079a00000-ffffffc07d9fffff]
  123. [
  124.    0.000000] Memory: 1943176K/2064384K available (10814K kernel code,
  125. 1556K rwdata, 4000K rodata, 1088K init, 726K bss, 121208K reserved, 0K
  126. cma-reserved)
  127. [    0.000000] Virtual kernel memory layout:
  128. [    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
  129. [    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
  130. [    0.000000]       .init : 0xffffff8008f00000 - 0xffffff8009010000   (  1088 KB)
  131. [    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008b10000   ( 10816 KB)
  132. [    0.000000]     .rodata : 0xffffff8008b10000 - 0xffffff8008f00000   (  4032 KB)
  133. [    0.000000]       .data : 0xffffff8009010000 - 0xffffff8009195008   (  1557 KB)
  134. [    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
  135. [    0.000000]               0xffffffbdc0008000 - 0xffffffbdc2000000   (    31 MB actual)
  136. [    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
  137. [    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
  138. [    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc080000000   (  2046 MB)
  139. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
  140. [    0.000000] Hierarchical RCU implementation.
  141. [    0.000000]  Build-time adjustment of leaf fanout to 64.
  142. [    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
  143. [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
  144. [    0.000000] NR_IRQS:64 nr_irqs:64 0
  145. [    0.000000] GIC: Using split EOI/Deactivate mode
  146. [    0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
  147. [    0.000000] ITS: allocated 65536 Devices @a300000 (psz 64K, shr 0)
  148. [    0.000000] ITS: using cache flushing for cmd queue
  149. [    0.000000] GIC: using LPI property table @0x000000000a290000
  150. [    0.000000] ITS: Allocated 1792 chunks for LPIs
  151. [    0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
  152. [    0.000000] CPU0: using LPI pending table @0x000000000a2a0000
  153. [    0.000000] GIC: using cache flushing for LPI property table
  154. [    0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
  155. [    0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
  156. [
  157.    0.000000] rockchip_clk_register_frac_branch: could not find
  158. dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
  159. [   
  160. 0.000000] rockchip_clk_register_frac_branch: could not find
  161. dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
  162. [    0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
  163. [    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
  164. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  165. [    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  166. [    0.001255] Console: colour dummy device 80x25
  167. [    0.001273] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
  168. [    0.001286] pid_max: default: 32768 minimum: 301
  169. [    0.001433] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  170. [    0.001444] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  171. [    0.002128] Initializing cgroup subsys devices
  172. [    0.002146] Initializing cgroup subsys freezer
  173. [    0.002172] ftrace: allocating 39001 entries in 153 pages
  174. [    0.097982] sched-energy: Sched-energy-costs installed from DT
  175. [    0.097999] CPU0: update cpu_capacity 401
  176. [    0.098055] ASID allocator initialised with 32768 entries
  177. [    0.100876] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
  178. [    0.101332] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
  179. [    0.102548] Detected VIPT I-cache on CPU1
  180. [    0.102580] CPU1: found redistributor 1 region 0:0x00000000fef20000
  181. [    0.102609] CPU1: using LPI pending table @0x0000000000310000
  182. [    0.102650] CPU1: update cpu_capacity 401
  183. [    0.102654] CPU1: Booted secondary processor [410fd034]
  184. [    0.103173] Detected VIPT I-cache on CPU2
  185. [    0.103194] CPU2: found redistributor 2 region 0:0x00000000fef40000
  186. [    0.103222] CPU2: using LPI pending table @0x0000000000330000
  187. [    0.103248] CPU2: update cpu_capacity 401
  188. [    0.103252] CPU2: Booted secondary processor [410fd034]
  189. [    0.103772] Detected VIPT I-cache on CPU3
  190. [    0.103792] CPU3: found redistributor 3 region 0:0x00000000fef60000
  191. [    0.103819] CPU3: using LPI pending table @0x0000000000380000
  192. [    0.103845] CPU3: update cpu_capacity 401
  193. [    0.103849] CPU3: Booted secondary processor [410fd034]
  194. [    0.104352] Detected PIPT I-cache on CPU4
  195. [    0.104379] CPU4: found redistributor 100 region 0:0x00000000fef80000
  196. [    0.104419] CPU4: using LPI pending table @0x00000000003c0000
  197. [    0.104458] CPU4: update cpu_capacity 1024
  198. [    0.104462] CPU4: Booted secondary processor [410fd082]
  199. [    0.104992] Detected PIPT I-cache on CPU5
  200. [    0.105010] CPU5: found redistributor 101 region 0:0x00000000fefa0000
  201. [    0.105047] CPU5: using LPI pending table @0x00000000003f0000
  202. [    0.105073] CPU5: update cpu_capacity 1024
  203. [    0.105076] CPU5: Booted secondary processor [410fd082]
  204. [    0.105163] Brought up 6 CPUs
  205. [    0.105241] SMP: Total of 6 processors activated.
  206. [    0.105250] CPU features: detected feature: GIC system register CPU interface
  207. [    0.105263] CPU: All CPU(s) started at EL2
  208. [    0.105308] alternatives: patching kernel code
  209. [    0.106676] devtmpfs: initialized
  210. [    0.120968] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
  211. [    0.120993] futex hash table entries: 2048 (order: 5, 131072 bytes)
  212. [    0.121447] pinctrl core: initialized pinctrl subsystem
  213. [    0.122186] NET: Registered protocol family 16
  214. [    0.126628] cpuidle: using governor ladder
  215. [    0.130638] cpuidle: using governor menu
  216. [    0.130656] Registered FIQ tty driver
  217. [    0.130844] vdso: 2 pages (1 code @ ffffff8008b16000, 1 data @ ffffff8009014000)
  218. [    0.130872] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  219. [    0.131032] DMA: preallocated 256 KiB pool for atomic allocations
  220. [    0.213589] console [ttyFIQ0] enabled
  221. [    0.214122] Registered fiq debugger ttyFIQ0
  222. [    0.243712] iommu: Adding device ff650000.vpu_service to group 0
  223. [    0.244325] iommu: Adding device ff660000.rkvdec to group 1
  224. [    0.244910] iommu: Adding device ff8f0000.vop to group 2
  225. [    0.245469] iommu: Adding device ff900000.vop to group 3
  226. [    0.247225] SCSI subsystem initialized
  227. [    0.247740] usbcore: registered new interface driver usbfs
  228. [    0.248262] usbcore: registered new interface driver hub
  229. [    0.248821] usbcore: registered new device driver usb
  230. [
  231.    [    0.886500] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
  232. [    0.887223] rockchip-pcie: probe of f8000000.pcie failed with error -110
  233. [    0.888943] rk-vcodec ff650000.vpu_service: no regulator for vcodec
  234. [    0.889860] rk-vcodec ff650000.vpu_service: probe device
  235. [    0.890383] rk-vcodec ff650000.vpu_service: vpu mmu dec ffffffc07923a410
  236. [    0.891232] rk-vcodec ff650000.vpu_service: allocator is drm
  237. [    0.891812] rk-vcodec ff650000.vpu_service: checking hw id 0
  238. [    0.892996] rk-vcodec ff650000.vpu_service: could not find power_model node
  239. [    0.893630] rk-vcodec ff650000.vpu_service: init success
  240. [    0.894506] rk-vcodec ff660000.rkvdec: no regulator for vcodec
  241. [    0.895470] rk-vcodec ff660000.rkvdec: probe device
  242. [    0.895945] rk-vcodec ff660000.rkvdec: vpu mmu dec ffffffc07923ac10
  243. [    0.896692] rk-vcodec ff660000.rkvdec: allocator is drm
  244. [    0.897207] rk-vcodec ff660000.rkvdec: checking hw id 6876
  245. [    0.898060] rk-vcodec ff660000.rkvdec: could not find power_model node
  246. [    0.898659] rk-vcodec ff660000.rkvdec: init success
  247. [    0.900572] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
  248. [    0.901242] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
  249. [    0.903530] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  250. [    0.904199] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  251. [    0.906253] [drm] Initialized drm 1.1.0 20060810
  252. [
  253.    0.909842] rockchip-▒r}0lmws▒▒y▒▒ubsvg۝▒▒▒c
  254. y{,dksر▒▒d-▒Р▒▒▒▒yyx8=>]<ooooo▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒|▒▒~|}~~>?????▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Copy the code
THE FULL LOGS W/O UART PORTS CONFIGURED (FIQ on, UART_PORTS 0)
  1. In
  2. Channel 0: DDR3, 800MHz
  3. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  4. Channel 1: DDR3, 800MHz
  5. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  6. 256B stride
  7. ch 0 ddrconfig = 0x101, ddrsize = 0x20
  8. ch 1 ddrconfig = 0x101, ddrsize = 0x20
  9. pmugrf_os_reg[2] = 0x32817281, stride = 0x9
  10. OUT
  11. Boot1: 2017-04-07, version: 1.06
  12. CPUId = 0x0
  13. ChipType = 0x10, 1830
  14. SdmmcInit=2 0
  15. BootCapSize=100000
  16. UserCapSize=7456MB
  17. FwPartOffset=2000 , 100000
  18. SdmmcInit=0 0
  19. BootCapSize=0
  20. UserCapSize=30436MB
  21. FwPartOffset=2000 , 0
  22. StorageInit ok = 312104
  23. LoadTrustBL
  24. No find bl30.bin
  25. RunBL31 0x10000
  26. NOTICE:  BL31: v1.3(debug):65aa5ce
  27. NOTICE:  BL31: Built : 10:47:37, Jun 19 2018
  28. NOTICE:  BL31: Rockchip release version: v1.1
  29. INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
  30. INFO:    Using opteed sec cpu_context!
  31. INFO:    boot cpu mask: 0
  32. INFO:    plat_rockchip_pmu_init(1151): pd status 3e
  33. INFO:    BL31: Initializing runtime services
  34. INFO:    BL31: Initializing BL32
  35. INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)

  36. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

  37. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
  38. INFO:    BL31: Preparing for EL3 exit to normal world
  39. INFO:    Entry point address = 0x200000
  40. INFO:    SPSR = 0x3c9


  41. U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)

  42. Model: Firefly-RK3399 Board
  43. DRAM:  2 GiB
  44. Relocation Offset is: 7fd15000
  45. rk8xx_read: read reg 0x17 failed, ret=-121
  46. MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
  47. invalid parameter
  48. *** Warning - bad CRC, using default environment

  49. In:    serial@ff1a0000
  50. Out:   serial@ff1a0000
  51. Err:   serial@ff1a0000
  52. Model: Firefly-RK3399 Board
  53. switch to partitions #0, OK
  54. mmc1 is current device
  55. do_rkimg_test found IDB in SDcard
  56. Boot from SDcard
  57. get part misc fail -1
  58. Net:   eth0: ethernet@fe300000
  59. Hit any key to stop autoboot:  0
  60. android_bootloader_boot_flow Could not find misc partition
  61. get part misc fail -1
  62. ANDROID: reboot reason: "(none)"
  63. Error: Bad gzipped data
  64. FDT load addr 0x10f00000 size 262 KiB
  65. Booting kernel at 0x207f800 with fdt at 32d8800...


  66. ## Booting Android Image at 0x0207f800 ...
  67. Kernel load addr 0x02080000 size 18783 KiB
  68. ## Flattened Device Tree blob at 032d8800
  69.    Booting using the fdt blob at 0x32d8800
  70.    XIP Kernel Image ... OK
  71.    Loading Device Tree to 00000000081ea000, end 00000000081ff933 ... OK
  72. Adding bank: start=0x00200000, size=0x08200000
  73. Adding bank: start=0x0a200000, size=0x75e00000

  74. Starting kernel ...


  75. [    0.000000] Booting Linux on physical CPU 0x0
  76. [    0.000000] Initializing cgroup subsys cpuset
  77. [    0.000000] Initializing cgroup subsys cpu
  78. [    0.000000] Initializing cgroup subsys cpuacct
  79. [
  80.    0.000000] Linux version 4.4.143 (marijn@marijn-VirtualBox) (gcc
  81. version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #4 SMP Fri Aug 17
  82. 08:52:06 CEST 2018
  83. [    0.000000] Boot CPU: AArch64 Processor [410fd034]
  84. [    0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
  85. [    0.000000] bootconsole [uart0] enabled
  86. [    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
  87. [    0.000000] psci: probing for conduit method from DT.
  88. [    0.000000] psci: PSCIv1.0 detected in firmware.
  89. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  90. [    0.000000] psci: Trusted OS migration not required
  91. [    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07fef9000 s45800 r8192 d32024 u86016
  92. [    0.000000] Detected VIPT I-cache on CPU0
  93. [    0.000000] CPU features: enabling workaround for ARM erratum 845719
  94. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 507912
  95. [
  96.    0.000000] Kernel command line: sdfwupdate storagemedia=sd
  97. androidboot.mode=sd androidboot.slot_suffix=
  98. androidboot.serialno=e251fb7457dd2c0d  rw rootwait
  99. earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0
  100. root=PARTUUID=614e0000-0000 rootfstype=ext4
  101. [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
  102. [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
  103. [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
  104. [    0.000000] software IO TLB [mem 0x7feb1000-0x7fef1000] (0MB) mapped at [ffffffc07feb1000-ffffffc07fef0fff]
  105. [
  106.    0.000000] Memory: 2007524K/2064384K available (11518K kernel code,
  107. 1694K rwdata, 4400K rodata, 1088K init, 754K bss, 56860K reserved, 0K
  108. cma-reserved)
  109. [    0.000000] Virtual kernel memory layout:
  110. [    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
  111. [    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
  112. [    0.000000]       .init : 0xffffff8008f80000 - 0xffffff80090a0000   (  1152 KB)
  113. [    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008b60000   ( 11136 KB)
  114. [    0.000000]     .rodata : 0xffffff8008b60000 - 0xffffff8008f80000   (  4224 KB)
  115. [    0.000000]       .data : 0xffffff80090a0000 - 0xffffff8009229808   (  1575 KB)
  116. [    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
  117. [    0.000000]               0xffffffbdc0008000 - 0xffffffbdc2000000   (    31 MB actual)
  118. [    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
  119. [    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
  120. [    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc080000000   (  2046 MB)
  121. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
  122. [    0.000000] Hierarchical RCU implementation.
  123. [    0.000000]  Build-time adjustment of leaf fanout to 64.
  124. [    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
  125. [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
  126. [    0.000000] NR_IRQS:64 nr_irqs:64 0
  127. [    0.000000] GIC: Using split EOI/Deactivate mode
  128. [    0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
  129. [    0.000000] ITS: allocated 65536 Devices @a300000 (psz 64K, shr 0)
  130. [    0.000000] ITS: using cache flushing for cmd queue
  131. [    0.000000] GIC: using LPI property table @0x000000000a290000
  132. [    0.000000] ITS: Allocated 1792 chunks for LPIs
  133. [    0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
  134. [    0.000000] CPU0: using LPI pending table @0x000000000a2a0000
  135. [    0.000000] GIC: using cache flushing for LPI property table
  136. [    0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
  137. [    0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
  138. [
  139.    0.000000] rockchip_clk_register_frac_branch: could not find
  140. dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
  141. [   
  142. 0.000000] rockchip_clk_register_frac_branch: could not find
  143. dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
  144. [    0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
  145. [    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
  146. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  147. [    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  148. [    0.001257] Console: colour dummy device 80x25
  149. [    0.001276] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
  150. [    0.001289] pid_max: default: 32768 minimum: 301
  151. [    0.001434] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
  152. [    0.001445] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
  153. [    0.002121] Initializing cgroup subsys devices
  154. [    0.002138] Initializing cgroup subsys freezer
  155. [    0.002163] ftrace: allocating 40726 entries in 160 pages
  156. [    0.102127] sched-energy: Sched-energy-costs installed from DT
  157. [    0.102143] CPU0: update cpu_capacity 401
  158. [    0.102198] ASID allocator initialised with 32768 entries
  159. [    0.105145] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
  160. [    0.105615] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
  161. [    0.106839] Detected VIPT I-cache on CPU1
  162. [    0.106872] CPU1: found redistributor 1 region 0:0x00000000fef20000
  163. [    0.106901] CPU1: using LPI pending table @0x0000000000310000
  164. [    0.106943] CPU1: update cpu_capacity 401
  165. [    0.106947] CPU1: Booted secondary processor [410fd034]
  166. [    0.107504] Detected VIPT I-cache on CPU2
  167. [    0.107525] CPU2: found redistributor 2 region 0:0x00000000fef40000
  168. [    0.107552] CPU2: using LPI pending table @0x0000000000340000
  169. [    0.107581] CPU2: update cpu_capacity 401
  170. [    0.107584] CPU2: Booted secondary processor [410fd034]
  171. [    0.108082] Detected VIPT I-cache on CPU3
  172. [    0.108102] CPU3: found redistributor 3 region 0:0x00000000fef60000
  173. [    0.108128] CPU3: using LPI pending table @0x0000000000390000
  174. [    0.108156] CPU3: update cpu_capacity 401
  175. [    0.108159] CPU3: Booted secondary processor [410fd034]
  176. [    0.108674] Detected PIPT I-cache on CPU4
  177. [    0.108701] CPU4: found redistributor 100 region 0:0x00000000fef80000
  178. [    0.108740] CPU4: using LPI pending table @0x00000000003c0000
  179. [    0.108779] CPU4: update cpu_capacity 1024
  180. [    0.108783] CPU4: Booted secondary processor [410fd082]
  181. [    0.109329] Detected PIPT I-cache on CPU5
  182. [    0.109347] CPU5: found redistributor 101 region 0:0x00000000fefa0000
  183. [    0.109384] CPU5: using LPI pending table @0x00000000003f0000
  184. [    0.109411] CPU5: update cpu_capacity 1024
  185. [    0.109414] CPU5: Booted secondary processor [410fd082]
  186. [    0.109500] Brought up 6 CPUs
  187. [    0.109578] SMP: Total of 6 processors activated.
  188. [    0.109587] CPU features: detected feature: GIC system register CPU interface
  189. [    0.109600] CPU: All CPU(s) started at EL2
  190. [    0.109646] alternatives: patching kernel code
  191. [    0.111026] devtmpfs: initialized
  192. [    0.125367] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
  193. [    0.125391] futex hash table entries: 2048 (order: 5, 131072 bytes)
  194. [    0.125848] pinctrl core: initialized pinctrl subsystem
  195. [    0.126587] NET: Registered protocol family 16
  196. [    0.131574] cpuidle: using governor ladder
  197. [    0.135583] cpuidle: using governor menu
  198. [    0.135599] Registered FIQ tty driver
  199. [    0.135788] vdso: 2 pages (1 code @ ffffff8008b66000, 1 data @ ffffff80090a4000)
  200. [    0.135815] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
  201. [    0.135978] DMA: preallocated 256 KiB pool for atomic allocations
  202. [    0.218372] console [ttyFIQ0] enabled
  203. [    0.218907] Registered fiq debugger ttyFIQ0
  204. [    0.248459] iommu: Adding device ff650000.vpu_service to group 0
  205. [    0.249074] iommu: Adding device ff660000.rkvdec to group 1
  206. [    0.249661] iommu: Adding device ff8f0000.vop to group 2
  207. [    0.250214] iommu: Adding device ff900000.vop to group 3
  208. [    0.251969] SCSI subsystem initialized
  209. [    0.252482] usbcore: registered new interface driver usbfs
  210. [    0.253005] usbcore: registered new interface driver hub
  211. [    0.253565] usbcore: registered new device driver usb
  212. [    0.308793] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
  213. [    0.309717] NET: Registered protocol family 2
  214. [    0.310549] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
  215. [    0.311283] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
  216. [    0.312274] TCP: Hash tables configured (established 16384 bind 16384)
  217. [    0.312934] UDP hash table entries: 1024 (order: 4, 98304 bytes)
  218. [    0.313563] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
  219. [    0.314401] NET: Registered protocol family 1
  220. [    0.315074] RPC: Registered named UNIX socket transport module.
  221. [    0.315615] RPC: Registered udp transport module.
  222. [    0.316032] RPC: Registered tcp transport module.
  223. [    0.316456] RPC: Registered tcp NFSv4.1 backchannel transport module.
  224. [    0.317564] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
  225. [    0.318386] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
  226. [    0.322189] Initialise system trusted keyring
  227. [    0.330861] NFS: Registering the id_resolver key type
  228. [    0.331347] Key type id_resolver registered
  229. [    0.331717] Key type id_legacy registered
  230. [    0.332130] fuse init (API version 7.23)
  231. [    0.332862] SGI XFS with security attributes, no debug enabled
  232. [    0.338091] NET: Registered protocol family 38
  233. [    0.338518] Key type asymmetric registered
  234. [    0.338893] Asymmetric key parser 'x509' registered
  235. [    0.339486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
  236. [    0.340156] io scheduler noop registered
  237. [    0.340509] io scheduler deadline registered
  238. [    0.341014] io scheduler cfq registered (default)
  239. [    0.342788] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: vbus_drv is not assigned
  240. [    0.347993] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
  241. [    0.348587] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
  242. [    0.349174] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
  243. [    0.891221] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
  244. [    0.891942] rockchip-pcie: probe of f8000000.pcie failed with error -110
  245. [    0.893659] rk-vcodec ff650000.vpu_service: no regulator for vcodec
  246. [    0.894577] rk-vcodec ff650000.vpu_service: probe device
  247. [    0.895099] rk-vcodec ff650000.vpu_service: vpu mmu dec ffffffc079242410
  248. [    0.895948] rk-vcodec ff650000.vpu_service: allocator is drm
  249. [    0.896528] rk-vcodec ff650000.vpu_service: checking hw id 0
  250. [    0.897689] rk-vcodec ff650000.vpu_service: could not find power_model node
  251. [    0.898323] rk-vcodec ff650000.vpu_service: init success
  252. [    0.899196] rk-vcodec ff660000.rkvdec: no regulator for vcodec
  253. [    0.900125] rk-vcodec ff660000.rkvdec: probe device
  254. [    0.900625] rk-vcodec ff660000.rkvdec: vpu mmu dec ffffffc079242c10
  255. [    0.901369] rk-vcodec ff660000.rkvdec: allocator is drm
  256. [    0.901885] rk-vcodec ff660000.rkvdec: checking hw id 6876
  257. [    0.902736] rk-vcodec ff660000.rkvdec: could not find power_model node
  258. [    0.903325] rk-vcodec ff660000.rkvdec: init success
  259. [    0.905219] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
  260. [    0.905889] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
  261. [    0.908140] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  262. [    0.908821] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
  263. [    0.911054] dw-apb-uart: probe of ff180000.serial failed with error -28
  264. [    0.911728] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.serial
  265. [    0.912680] rockchip-pinctrl pinctrl: pin-147 (ff1a0000.serial) status -22
  266. [    0.913296] rockchip-pinctrl pinctrl: could not request pin 147 (gpio4-19) from group uart2c-xfer  on device rockchip-pinctrl
  267. [    0.913293] dw-apb-uart ff1a0000.serial: Error applying setting, reverse things back
  268. [!▒▒▒p>=75▒0▒] /c▒▒-▒▒▒t:,vs▒l▒▒▒fv9m6̟8gs▒ض▒▒▒y|}n#▒▒▒▒`uzzo
Copy the code
THE FULL LOGS OF THE IMAGE WITHOUT FIQ (FIQ off)

  1. DDR Version 1.08 20170320
  2. In
  3. Channel 0: DDR3, 800MHz
  4. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  5. Channel 1: DDR3, 800MHz
  6. Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
  7. 256B stride
  8. ch 0 ddrconfig = 0x101, ddrsize = 0x20
  9. ch 1 ddrconfig = 0x101, ddrsize = 0x20
  10. pmugrf_os_reg[2] = 0x32817281, stride = 0x9
  11. OUT
  12. Boot1: 2017-04-07, version: 1.06
  13. CPUId = 0x0
  14. ChipType = 0x10, 1842
  15. SdmmcInit=2 0
  16. BootCapSize=100000
  17. UserCapSize=7456MB
  18. FwPartOffset=2000 , 100000
  19. SdmmcInit=0 0
  20. BootCapSize=0
  21. UserCapSize=30436MB
  22. FwPartOffset=2000 , 0
  23. StorageInit ok = 316769
  24. LoadTrustBL
  25. No find bl30.bin
  26. RunBL31 0x10000
  27. NOTICE:  BL31: v1.3(debug):65aa5ce
  28. NOTICE:  BL31: Built : 10:47:37, Jun 19 2018
  29. NOTICE:  BL31: Rockchip release version: v1.1
  30. INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
  31. INFO:    Using opteed sec cpu_context!
  32. INFO:    boot cpu mask: 0
  33. INFO:    plat_rockchip_pmu_init(1151): pd status 3e
  34. INFO:    BL31: Initializing runtime services
  35. INFO:    BL31: Initializing BL32
  36. INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)

  37. INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

  38. INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
  39. INFO:    BL31: Preparing for EL3 exit to normal world
  40. INFO:    Entry point address = 0x200000
  41. INFO:    SPSR = 0x3c9


  42. U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)

  43. Model: Firefly-RK3399 Board
  44. DRAM:  2 GiB
  45. Relocation Offset is: 7fd15000
  46. rk8xx_read: read reg 0x17 failed, ret=-121
  47. MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
  48. invalid parameter
  49. *** Warning - bad CRC, using default environment

  50. In:    serial@ff1a0000
  51. Out:   serial@ff1a0000
  52. Err:   serial@ff1a0000
  53. Model: Firefly-RK3399 Board
  54. switch to partitions #0, OK
  55. mmc1 is current device
  56. do_rkimg_test found IDB in SDcard
  57. Boot from SDcard
  58. get part misc fail -1
  59. Net:   eth0: ethernet@fe300000
  60. Hit any key to stop autoboot:  0
  61. android_bootloader_boot_flow Could not find misc partition
  62. get part misc fail -1
  63. ANDROID: reboot reason: "(none)"
  64. ** Invalid Android Image header **
  65. android_bootloader_boot_flow boot part load fail
  66. Android boot failed, error -1.
  67. get part misc fail -1
  68. =Booting Rockchip format image=
  69. boot_rockchip_image kernel or boot part info error
  70. switch to partitions #0, OK
  71. mmc1 is current device
  72. Scanning mmc 1:4...
  73. Found /extlinux/extlinux.conf
  74. Retrieving file: /extlinux/extlinux.conf
  75. reading /extlinux/extlinux.conf
  76. 214 bytes read in 4 ms (51.8 KiB/s)
  77. 1:      kernel-4.4
  78. Retrieving file: /Image
  79. reading /Image
  80. 17846280 bytes read in 749 ms (22.7 MiB/s)
  81. append: earlyprintk console=ttyFIQ0,1500000n8 rw root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4 init=/sbin/init rootwait
  82. Retrieving file: /rk3399-firefly-linux.dtb
  83. reading /rk3399-firefly-linux.dtb
  84. 75364 bytes read in 7 ms (10.3 MiB/s)
  85. ## Flattened Device Tree blob at 01f00000
  86.    Booting using the fdt blob at 0x1f00000
  87.    Loading Device Tree to 00000000081ea000, end 00000000081ff663 ... OK
  88. Adding bank: start=0x00200000, size=0x08200000
  89. Adding bank: start=0x0a200000, size=0x75e00000

  90. Starting kernel ...
Copy the code


Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list