|
【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:- [ 0.900624] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.901293] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
- [ 0.903508] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.904188] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
- [ 0.906020] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
- [ 0.908085] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 36, base_baud = 1500000) is a 16550A
- [ 0.909184] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.smria▒▒
-
- [
- 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:
- [ 0.905219] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.905889] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
- [ 0.908140] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.908821] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
- [ 0.911054] dw-apb-uart: probe of ff180000.serial failed with error -28
- [ 0.911728] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.serial
- [ 0.912680] rockchip-pinctrl pinctrl: pin-147 (ff1a0000.serial) status -22
- [ 0.913296] rockchip-pinctrl pinctrl: could not request pin 147 (gpio4-19) from group uart2c-xfer on device rockchip-pinctrl
- [ 0.913293] dw-apb-uart ff1a0000.serial: Error applying setting, reverse things back
- [!▒▒▒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:
- [ 0.900572] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.901242] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
- [ 0.903530] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.904199] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
- [ 0.906253] [drm] Initialized drm 1.1.0 20060810
- [
- 0.909842] rockchip-▒r}0lmws▒▒y▒▒ubsvg▒▒▒c
- 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)
- DDR Version 1.08 20170320
- In
- Channel 0: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- Channel 1: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- 256B stride
- ch 0 ddrconfig = 0x101, ddrsize = 0x20
- ch 1 ddrconfig = 0x101, ddrsize = 0x20
- pmugrf_os_reg[2] = 0x32817281, stride = 0x9
- OUT
- Boot1: 2017-04-07, version: 1.06
- CPUId = 0x0
- ChipType = 0x10, 1825
- SdmmcInit=2 0
- BootCapSize=100000
- UserCapSize=7456MB
- FwPartOffset=2000 , 100000
- SdmmcInit=0 0
- BootCapSize=0
- UserCapSize=30436MB
- FwPartOffset=2000 , 0
- StorageInit ok = 311038
- LoadTrustBL
- No find bl30.bin
- RunBL31 0x10000
- NOTICE: BL31: v1.3(debug):65aa5ce
- NOTICE: BL31: Built : 10:47:37, Jun 19 2018
- NOTICE: BL31: Rockchip release version: v1.1
- INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
- INFO: Using opteed sec cpu_context!
- INFO: boot cpu mask: 0
- INFO: plat_rockchip_pmu_init(1151): pd status 3e
- INFO: BL31: Initializing runtime services
- INFO: BL31: Initializing BL32
- INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)
- INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2
- INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
- INFO: BL31: Preparing for EL3 exit to normal world
- INFO: Entry point address = 0x200000
- INFO: SPSR = 0x3c9
- U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)
- Model: Firefly-RK3399 Board
- DRAM: 2 GiB
- Relocation Offset is: 7fd15000
- rk8xx_read: read reg 0x17 failed, ret=-121
- MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0
- invalid parameter
- *** Warning - bad CRC, using default environment
- In: serial@ff1a0000
- Out: serial@ff1a0000
- Err: serial@ff1a0000
- Model: Firefly-RK3399 Board
- switch to partitions #0, OK
- mmc1 is current device
- do_rkimg_test found IDB in SDcard
- Boot from SDcard
- get part misc fail -1
- Net: eth0: ethernet@fe300000
- Hit any key to stop autoboot: 0
- android_bootloader_boot_flow Could not find misc partition
- get part misc fail -1
- ANDROID: reboot reason: "(none)"
- ** Invalid Android Image header **
- android_bootloader_boot_flow boot part load fail
- Android boot failed, error -1.
- get part misc fail -1
- =Booting Rockchip format image=
- boot_rockchip_image kernel or boot part info error
- switch to partitions #0, OK
- mmc1 is current device
- Scanning mmc 1:4...
- Found /extlinux/extlinux.conf
- Retrieving file: /extlinux/extlinux.conf
- reading /extlinux/extlinux.conf
- 214 bytes read in 3 ms (69.3 KiB/s)
- 1: kernel-4.4
- Retrieving file: /Image
- reading /Image
- 17936392 bytes read in 752 ms (22.7 MiB/s)
- append:
- earlyprintk console=ttyFIQ0,1500000n8 rw
- root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
- init=/sbin/init rootwait
- Retrieving file: /rk3399-firefly-linux.dtb
- reading /rk3399-firefly-linux.dtb
- 75364 bytes read in 7 ms (10.3 MiB/s)
- ## Flattened Device Tree blob at 01f00000
- Booting using the fdt blob at 0x1f00000
- Loading Device Tree to 00000000081ea000, end 00000000081ff663 ... OK
- Adding bank: start=0x00200000, size=0x08200000
- Adding bank: start=0x0a200000, size=0x75e00000
- Starting kernel ...
- [ 0.000000] Booting Linux on physical CPU 0x0
- [ 0.000000] Initializing cgroup subsys cpuset
- [ 0.000000] Initializing cgroup subsys cpu
- [ 0.000000] Initializing cgroup subsys cpuacct
- [
- 0.000000] Linux version 4.4.114 (test@test-VirtualBox) (gcc version
- 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #37 SMP Wed Sep
- 19 07:57:22 CEST 2018
- [ 0.000000] Boot CPU: AArch64 Processor [410fd034]
- [ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
- [ 0.000000] psci: probing for conduit method from DT.
- [ 0.000000] psci: PSCIv1.0 detected in firmware.
- [ 0.000000] psci: Using standard PSCI v0.2 function IDs
- [ 0.000000] psci: Trusted OS migration not required
- [ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07fef6000 s45800 r8192 d32024 u86016
- [ 0.000000] Detected VIPT I-cache on CPU0
- [ 0.000000] CPU features: enabling workaround for ARM erratum 845719
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 507912
- [
- 0.000000] Kernel command line: earlyprintk console=ttyFIQ0,1500000n8
- rw root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
- init=/sbin/init rootwait
- [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
- [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
- [ 0.000000] software IO TLB [mem 0x79a00000-0x7da00000] (64MB) mapped at [ffffffc079a00000-ffffffc07d9fffff]
- [
- 0.000000] Memory: 1943148K/2064384K available (10814K kernel code,
- 1580K rwdata, 4016K rodata, 1088K init, 729K bss, 121236K reserved, 0K
- cma-reserved)
- [ 0.000000] Virtual kernel memory layout:
- [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
- [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB)
- [ 0.000000] .init : 0xffffff8008f00000 - 0xffffff8009010000 ( 1088 KB)
- [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008b10000 ( 10816 KB)
- [ 0.000000] .rodata : 0xffffff8008b10000 - 0xffffff8008f00000 ( 4032 KB)
- [ 0.000000] .data : 0xffffff8009010000 - 0xffffff800919b008 ( 1581 KB)
- [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
- [ 0.000000] 0xffffffbdc0008000 - 0xffffffbdc2000000 ( 31 MB actual)
- [ 0.000000] fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 ( 4116 KB)
- [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB)
- [ 0.000000] memory : 0xffffffc000200000 - 0xffffffc080000000 ( 2046 MB)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] Build-time adjustment of leaf fanout to 64.
- [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
- [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
- [ 0.000000] NR_IRQS:64 nr_irqs:64 0
- [ 0.000000] GIC: Using split EOI/Deactivate mode
- [ 0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
- [ 0.000000] ITS: allocated 65536 Devices @a300000 (psz 64K, shr 0)
- [ 0.000000] ITS: using cache flushing for cmd queue
- [ 0.000000] GIC: using LPI property table @0x000000000a290000
- [ 0.000000] ITS: Allocated 1792 chunks for LPIs
- [ 0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
- [ 0.000000] CPU0: using LPI pending table @0x000000000a2a0000
- [ 0.000000] GIC: using cache flushing for LPI property table
- [ 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] }
- [ 0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
- [
- 0.000000] rockchip_clk_register_frac_branch: could not find
- dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
- [
- 0.000000] rockchip_clk_register_frac_branch: could not find
- dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
- [ 0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
- [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
- [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
- [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
- [ 0.001270] Console: colour dummy device 80x25
- [ 0.001294] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
- [ 0.001306] pid_max: default: 32768 minimum: 301
- [ 0.001454] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.001465] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.002147] Initializing cgroup subsys devices
- [ 0.002164] Initializing cgroup subsys freezer
- [ 0.002189] ftrace: allocating 39257 entries in 154 pages
- [ 0.098517] sched-energy: Sched-energy-costs installed from DT
- [ 0.098533] CPU0: update cpu_capacity 401
- [ 0.098588] ASID allocator initialised with 32768 entries
- [ 0.101445] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
- [ 0.101929] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
- [ 0.103146] Detected VIPT I-cache on CPU1
- [ 0.103178] CPU1: found redistributor 1 region 0:0x00000000fef20000
- [ 0.103206] CPU1: using LPI pending table @0x0000000000310000
- [ 0.103247] CPU1: update cpu_capacity 401
- [ 0.103251] CPU1: Booted secondary processor [410fd034]
- [ 0.103781] Detected VIPT I-cache on CPU2
- [ 0.103802] CPU2: found redistributor 2 region 0:0x00000000fef40000
- [ 0.103829] CPU2: using LPI pending table @0x0000000000340000
- [ 0.103856] CPU2: update cpu_capacity 401
- [ 0.103859] CPU2: Booted secondary processor [410fd034]
- [ 0.104374] Detected VIPT I-cache on CPU3
- [ 0.104394] CPU3: found redistributor 3 region 0:0x00000000fef60000
- [ 0.104421] CPU3: using LPI pending table @0x0000000000390000
- [ 0.104446] CPU3: update cpu_capacity 401
- [ 0.104450] CPU3: Booted secondary processor [410fd034]
- [ 0.104957] Detected PIPT I-cache on CPU4
- [ 0.104984] CPU4: found redistributor 100 region 0:0x00000000fef80000
- [ 0.105023] CPU4: using LPI pending table @0x00000000003c0000
- [ 0.105062] CPU4: update cpu_capacity 1024
- [ 0.105066] CPU4: Booted secondary processor [410fd082]
- [ 0.105597] Detected PIPT I-cache on CPU5
- [ 0.105616] CPU5: found redistributor 101 region 0:0x00000000fefa0000
- [ 0.105652] CPU5: using LPI pending table @0x00000000003f0000
- [ 0.105680] CPU5: update cpu_capacity 1024
- [ 0.105683] CPU5: Booted secondary processor [410fd082]
- [ 0.105769] Brought up 6 CPUs
- [ 0.105848] SMP: Total of 6 processors activated.
- [ 0.105857] CPU features: detected feature: GIC system register CPU interface
- [ 0.105870] CPU: All CPU(s) started at EL2
- [ 0.105916] alternatives: patching kernel code
- [ 0.107281] devtmpfs: initialized
- [ 0.121525] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
- [ 0.121549] futex hash table entries: 2048 (order: 5, 131072 bytes)
- [ 0.122001] pinctrl core: initialized pinctrl subsystem
- [ 0.122731] NET: Registered protocol family 16
- [ 0.126841] cpuidle: using governor ladder
- [ 0.130861] cpuidle: using governor menu
- [ 0.130879] Registered FIQ tty driver
- [ 0.131072] vdso: 2 pages (1 code @ ffffff8008b16000, 1 data @ ffffff8009014000)
- [ 0.131100] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
- [ 0.131262] DMA: preallocated 256 KiB pool for atomic allocations
- [ 0.213709] console [ttyFIQ0] enabled
- [ 0.214243] Registered fiq debugger ttyFIQ0
- [ 0.243853] iommu: Adding device ff650000.vpu_service to group 0
- [ 0.244467] iommu: Adding device ff660000.rkvdec to group 1
- [ 0.245057] iommu: Adding device ff8f0000.vop to group 2
- [ 0.245608] iommu: Adding device ff900000.vop to group 3
- [ 0.247377] SCSI subsystem initialized
- [ 0.247895] usbcore: registered new interface driver usbfs
- [ 0.248417] usbcore: registered new interface driver hub
- [ 0.248974] usbcore: registered new device driver usb
- [
- [ 0.303948] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
- [ 0.304869] NET: Registered protocol family 2
- [ 0.305703] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
- [ 0.306421] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
- [ 0.307379] TCP: Hash tables configured (established 16384 bind 16384)
- [ 0.308047] UDP hash table entries: 1024 (order: 4, 98304 bytes)
- [ 0.308671] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
- [ 0.309507] NET: Registered protocol family 1
- [ 0.310195] RPC: Registered named UNIX socket transport module.
- [ 0.310735] RPC: Registered udp transport module.
- [ 0.311151] RPC: Registered tcp transport module.
- [ 0.311567] RPC: Registered tcp NFSv4.1 backchannel transport module.
- [ 0.312678] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
- [ 0.313473] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
- [ 0.317447] Initialise system trusted keyring
- [ 0.326210] NFS: Registering the id_resolver key type
- [ 0.326696] Key type id_resolver registered
- [ 0.327067] Key type id_legacy registered
- [ 0.327484] fuse init (API version 7.23)
- [ 0.328219] SGI XFS with security attributes, no debug enabled
- [ 0.333387] NET: Registered protocol family 38
- [ 0.333816] Key type asymmetric registered
- [ 0.334193] Asymmetric key parser 'x509' registered
- [ 0.334786] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
- [ 0.335447] io scheduler noop registered
- [ 0.335810] io scheduler deadline registered
- [ 0.336312] io scheduler cfq registered (default)
- [ 0.338099] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: vbus_drv is not assigned
- [ 0.343254] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
- [ 0.343847] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
- [ 0.344424] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
- [ 0.886654] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
- [ 0.887378] rockchip-pcie: probe of f8000000.pcie failed with error -110
- [ 0.889094] rk-vcodec ff650000.vpu_service: no regulator for vcodec
- [ 0.890017] rk-vcodec ff650000.vpu_service: probe device
- [ 0.890540] rk-vcodec ff650000.vpu_service: vpu mmu dec ffffffc07923a410
- [ 0.891390] rk-vcodec ff650000.vpu_service: allocator is drm
- [ 0.891972] rk-vcodec ff650000.vpu_service: checking hw id 0
- [ 0.893139] rk-vcodec ff650000.vpu_service: could not find power_model node
- [ 0.893773] rk-vcodec ff650000.vpu_service: init success
- [ 0.894646] rk-vcodec ff660000.rkvdec: no regulator for vcodec
- [ 0.895632] rk-vcodec ff660000.rkvdec: probe device
- [ 0.896101] rk-vcodec ff660000.rkvdec: vpu mmu dec ffffffc07923ac10
- [ 0.896834] rk-vcodec ff660000.rkvdec: allocator is drm
- [ 0.897347] rk-vcodec ff660000.rkvdec: checking hw id 6876
- [ 0.898190] rk-vcodec ff660000.rkvdec: could not find power_model node
- [ 0.898787] rk-vcodec ff660000.rkvdec: init success
- [ 0.900624] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.901293] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
- [ 0.903508] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.904188] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
- [ 0.906020] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
- [ 0.908085] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 36, base_baud = 1500000) is a 16550A
- [ 0.909184] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.smria▒▒
-
-
-
- [ 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)
- DDR Version 1.08 20170320
- In
- Channel 0: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- Channel 1: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- 256B stride
- ch 0 ddrconfig = 0x101, ddrsize = 0x20
- ch 1 ddrconfig = 0x101, ddrsize = 0x20
- pmugrf_os_reg[2] = 0x32817281, stride = 0x9
- OUT
- Boot1: 2017-04-07, version: 1.06
- CPUId = 0x0
- ChipType = 0x10, 1839
- SdmmcInit=2 0
- BootCapSize=100000
- UserCapSize=7456MB
- FwPartOffset=2000 , 100000
- SdmmcInit=0 0
- BootCapSize=0
- UserCapSize=30436MB
- FwPartOffset=2000 , 0
- StorageInit ok = 307676
- LoadTrustBL
- No find bl30.bin
- RunBL31 0x10000
- NOTICE: BL31: v1.3(debug):65aa5ce
- NOTICE: BL31: Built : 10:47:37, Jun 19 2018
- NOTICE: BL31: Rockchip release version: v1.1
- INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
- INFO: Using opteed sec cpu_context!
- INFO: boot cpu mask: 0
- INFO: plat_rockchip_pmu_init(1151): pd status 3e
- INFO: BL31: Initializing runtime services
- INFO: BL31: Initializing BL32
- INF
- [0x0] TEE-CORE:init_primary_helper:337: Initializing
- (1.1.0-170-gc4654a6 #16
- Wed May 30 08:54:30 UTC 2018 aarch64)
- INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2
- INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
- INFO: BL31: Preparing for EL3 exit to normal world
- INFO: Entry point address = 0x200000
- INFO: SPSR = 0x3c9
- U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)
- Model: Firefly-RK3399 Board
- DRAM: 2 GiB
- Relocation Offset is: 7fd15000
- rk8xx_read: read reg 0x17 failed, ret=-121
- MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0
- invalid parameter
- *** Warning - bad CRC, using default environment
- In: serial@ff1a0000
- Out: serial@ff1a0000
- Err: serial@ff1a0000
- Model: Firefly-RK3399 Board
- switch to partitions #0, OK
- mmc1 is current device
- do_rkimg_test found IDB in SDcard
- Boot from SDcard
- get part misc fail -1
- Net: eth0: ethernet@fe300000
- Hit any key to stop autoboot: 0
- android_bootloader_boot_flow Could not find misc partition
- get part misc fail -1
- ANDROID: reboot reason: "(none)"
- ** Invalid Android Image header **
- android_bootloader_boot_flow boot part load fail
- Android boot failed, error -1.
- get part misc fail -1
- =Booting Rockchip format image=
- boot_rockchip_image kernel or boot part info error
- switch to partitions #0, OK
- mmc1 is current device
- Scanning mmc 1:4...
- Found /extlinux/extlinux.conf
- Retrieving file: /extlinux/extlinux.conf
- reading /extlinux/extlinux.conf
- 214 bytes read in 4 ms (51.8 KiB/s)
- 1: kernel-4.4
- Retrieving file: /Image
- reading /Image
- 17911816 bytes read in 751 ms (22.7 MiB/s)
- append:
- earlyprintk console=ttyFIQ0,1500000n8 rw
- root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
- init=/sbin/init rootwait
- Retrieving file: /rk3399-firefly-linux.dtb
- reading /rk3399-firefly-linux.dtb
- 75364 bytes read in 7 ms (10.3 MiB/s)
- ## Flattened Device Tree blob at 01f00000
- Booting using the fdt blob at 0x1f00000
- Loading Device Tree to 00000000081ea000, end 00000000081ff663 ... OK
- Adding bank: start=0x00200000, size=0x08200000
- Adding bank: start=0x0a200000, size=0x75e00000
- Starting kernel ...
- [ 0.000000] Booting Linux on physical CPU 0x0
- [ 0.000000] Initializing cgroup subsys cpuset
- [ 0.000000] Initializing cgroup subsys cpu
- [ 0.000000] Initializing cgroup subsys cpuacct
- [
- 0.000000] Linux version 4.4.114 (marijn@marijn-VirtualBox) (gcc
- version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #38 SMP
- Wed Sep 19 08:15:31 CEST 2018
- [ 0.000000] Boot CPU: AArch64 Processor [410fd034]
- [ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
- [ 0.000000] psci: probing for conduit method from DT.
- [ 0.000000] psci: PSCIv1.0 detected in firmware.
- [ 0.000000] psci: Using standard PSCI v0.2 function IDs
- [ 0.000000] psci: Trusted OS migration not required
- [ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07fef6000 s45800 r8192 d32024 u86016
- [ 0.000000] Detected VIPT I-cache on CPU0
- [ 0.000000] CPU features: enabling workaround for ARM erratum 845719
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 507912
- [
- 0.000000] Kernel command line: earlyprintk console=ttyFIQ0,1500000n8
- rw root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4
- init=/sbin/init rootwait
- [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
- [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
- [ 0.000000] software IO TLB [mem 0x79a00000-0x7da00000] (64MB) mapped at [ffffffc079a00000-ffffffc07d9fffff]
- [
- 0.000000] Memory: 1943176K/2064384K available (10814K kernel code,
- 1556K rwdata, 4000K rodata, 1088K init, 726K bss, 121208K reserved, 0K
- cma-reserved)
- [ 0.000000] Virtual kernel memory layout:
- [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
- [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB)
- [ 0.000000] .init : 0xffffff8008f00000 - 0xffffff8009010000 ( 1088 KB)
- [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008b10000 ( 10816 KB)
- [ 0.000000] .rodata : 0xffffff8008b10000 - 0xffffff8008f00000 ( 4032 KB)
- [ 0.000000] .data : 0xffffff8009010000 - 0xffffff8009195008 ( 1557 KB)
- [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
- [ 0.000000] 0xffffffbdc0008000 - 0xffffffbdc2000000 ( 31 MB actual)
- [ 0.000000] fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 ( 4116 KB)
- [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB)
- [ 0.000000] memory : 0xffffffc000200000 - 0xffffffc080000000 ( 2046 MB)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] Build-time adjustment of leaf fanout to 64.
- [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
- [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
- [ 0.000000] NR_IRQS:64 nr_irqs:64 0
- [ 0.000000] GIC: Using split EOI/Deactivate mode
- [ 0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
- [ 0.000000] ITS: allocated 65536 Devices @a300000 (psz 64K, shr 0)
- [ 0.000000] ITS: using cache flushing for cmd queue
- [ 0.000000] GIC: using LPI property table @0x000000000a290000
- [ 0.000000] ITS: Allocated 1792 chunks for LPIs
- [ 0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
- [ 0.000000] CPU0: using LPI pending table @0x000000000a2a0000
- [ 0.000000] GIC: using cache flushing for LPI property table
- [ 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] }
- [ 0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
- [
- 0.000000] rockchip_clk_register_frac_branch: could not find
- dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
- [
- 0.000000] rockchip_clk_register_frac_branch: could not find
- dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
- [ 0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
- [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
- [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
- [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
- [ 0.001255] Console: colour dummy device 80x25
- [ 0.001273] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
- [ 0.001286] pid_max: default: 32768 minimum: 301
- [ 0.001433] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.001444] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.002128] Initializing cgroup subsys devices
- [ 0.002146] Initializing cgroup subsys freezer
- [ 0.002172] ftrace: allocating 39001 entries in 153 pages
- [ 0.097982] sched-energy: Sched-energy-costs installed from DT
- [ 0.097999] CPU0: update cpu_capacity 401
- [ 0.098055] ASID allocator initialised with 32768 entries
- [ 0.100876] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
- [ 0.101332] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
- [ 0.102548] Detected VIPT I-cache on CPU1
- [ 0.102580] CPU1: found redistributor 1 region 0:0x00000000fef20000
- [ 0.102609] CPU1: using LPI pending table @0x0000000000310000
- [ 0.102650] CPU1: update cpu_capacity 401
- [ 0.102654] CPU1: Booted secondary processor [410fd034]
- [ 0.103173] Detected VIPT I-cache on CPU2
- [ 0.103194] CPU2: found redistributor 2 region 0:0x00000000fef40000
- [ 0.103222] CPU2: using LPI pending table @0x0000000000330000
- [ 0.103248] CPU2: update cpu_capacity 401
- [ 0.103252] CPU2: Booted secondary processor [410fd034]
- [ 0.103772] Detected VIPT I-cache on CPU3
- [ 0.103792] CPU3: found redistributor 3 region 0:0x00000000fef60000
- [ 0.103819] CPU3: using LPI pending table @0x0000000000380000
- [ 0.103845] CPU3: update cpu_capacity 401
- [ 0.103849] CPU3: Booted secondary processor [410fd034]
- [ 0.104352] Detected PIPT I-cache on CPU4
- [ 0.104379] CPU4: found redistributor 100 region 0:0x00000000fef80000
- [ 0.104419] CPU4: using LPI pending table @0x00000000003c0000
- [ 0.104458] CPU4: update cpu_capacity 1024
- [ 0.104462] CPU4: Booted secondary processor [410fd082]
- [ 0.104992] Detected PIPT I-cache on CPU5
- [ 0.105010] CPU5: found redistributor 101 region 0:0x00000000fefa0000
- [ 0.105047] CPU5: using LPI pending table @0x00000000003f0000
- [ 0.105073] CPU5: update cpu_capacity 1024
- [ 0.105076] CPU5: Booted secondary processor [410fd082]
- [ 0.105163] Brought up 6 CPUs
- [ 0.105241] SMP: Total of 6 processors activated.
- [ 0.105250] CPU features: detected feature: GIC system register CPU interface
- [ 0.105263] CPU: All CPU(s) started at EL2
- [ 0.105308] alternatives: patching kernel code
- [ 0.106676] devtmpfs: initialized
- [ 0.120968] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
- [ 0.120993] futex hash table entries: 2048 (order: 5, 131072 bytes)
- [ 0.121447] pinctrl core: initialized pinctrl subsystem
- [ 0.122186] NET: Registered protocol family 16
- [ 0.126628] cpuidle: using governor ladder
- [ 0.130638] cpuidle: using governor menu
- [ 0.130656] Registered FIQ tty driver
- [ 0.130844] vdso: 2 pages (1 code @ ffffff8008b16000, 1 data @ ffffff8009014000)
- [ 0.130872] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
- [ 0.131032] DMA: preallocated 256 KiB pool for atomic allocations
- [ 0.213589] console [ttyFIQ0] enabled
- [ 0.214122] Registered fiq debugger ttyFIQ0
- [ 0.243712] iommu: Adding device ff650000.vpu_service to group 0
- [ 0.244325] iommu: Adding device ff660000.rkvdec to group 1
- [ 0.244910] iommu: Adding device ff8f0000.vop to group 2
- [ 0.245469] iommu: Adding device ff900000.vop to group 3
- [ 0.247225] SCSI subsystem initialized
- [ 0.247740] usbcore: registered new interface driver usbfs
- [ 0.248262] usbcore: registered new interface driver hub
- [ 0.248821] usbcore: registered new device driver usb
- [
- [ 0.886500] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
- [ 0.887223] rockchip-pcie: probe of f8000000.pcie failed with error -110
- [ 0.888943] rk-vcodec ff650000.vpu_service: no regulator for vcodec
- [ 0.889860] rk-vcodec ff650000.vpu_service: probe device
- [ 0.890383] rk-vcodec ff650000.vpu_service: vpu mmu dec ffffffc07923a410
- [ 0.891232] rk-vcodec ff650000.vpu_service: allocator is drm
- [ 0.891812] rk-vcodec ff650000.vpu_service: checking hw id 0
- [ 0.892996] rk-vcodec ff650000.vpu_service: could not find power_model node
- [ 0.893630] rk-vcodec ff650000.vpu_service: init success
- [ 0.894506] rk-vcodec ff660000.rkvdec: no regulator for vcodec
- [ 0.895470] rk-vcodec ff660000.rkvdec: probe device
- [ 0.895945] rk-vcodec ff660000.rkvdec: vpu mmu dec ffffffc07923ac10
- [ 0.896692] rk-vcodec ff660000.rkvdec: allocator is drm
- [ 0.897207] rk-vcodec ff660000.rkvdec: checking hw id 6876
- [ 0.898060] rk-vcodec ff660000.rkvdec: could not find power_model node
- [ 0.898659] rk-vcodec ff660000.rkvdec: init success
- [ 0.900572] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.901242] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
- [ 0.903530] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.904199] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
- [ 0.906253] [drm] Initialized drm 1.1.0 20060810
- [
- 0.909842] rockchip-▒r}0lmws▒▒y▒▒ubsvg▒▒▒c
- y{,dksر▒▒d-▒Р▒▒▒▒yyx8=>]<ooooo▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒|▒▒~|}~~>?????▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Copy the code THE FULL LOGS W/O UART PORTS CONFIGURED (FIQ on, UART_PORTS 0)
- In
- Channel 0: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- Channel 1: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- 256B stride
- ch 0 ddrconfig = 0x101, ddrsize = 0x20
- ch 1 ddrconfig = 0x101, ddrsize = 0x20
- pmugrf_os_reg[2] = 0x32817281, stride = 0x9
- OUT
- Boot1: 2017-04-07, version: 1.06
- CPUId = 0x0
- ChipType = 0x10, 1830
- SdmmcInit=2 0
- BootCapSize=100000
- UserCapSize=7456MB
- FwPartOffset=2000 , 100000
- SdmmcInit=0 0
- BootCapSize=0
- UserCapSize=30436MB
- FwPartOffset=2000 , 0
- StorageInit ok = 312104
- LoadTrustBL
- No find bl30.bin
- RunBL31 0x10000
- NOTICE: BL31: v1.3(debug):65aa5ce
- NOTICE: BL31: Built : 10:47:37, Jun 19 2018
- NOTICE: BL31: Rockchip release version: v1.1
- INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
- INFO: Using opteed sec cpu_context!
- INFO: boot cpu mask: 0
- INFO: plat_rockchip_pmu_init(1151): pd status 3e
- INFO: BL31: Initializing runtime services
- INFO: BL31: Initializing BL32
- INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)
- INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2
- INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
- INFO: BL31: Preparing for EL3 exit to normal world
- INFO: Entry point address = 0x200000
- INFO: SPSR = 0x3c9
- U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)
- Model: Firefly-RK3399 Board
- DRAM: 2 GiB
- Relocation Offset is: 7fd15000
- rk8xx_read: read reg 0x17 failed, ret=-121
- MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0
- invalid parameter
- *** Warning - bad CRC, using default environment
- In: serial@ff1a0000
- Out: serial@ff1a0000
- Err: serial@ff1a0000
- Model: Firefly-RK3399 Board
- switch to partitions #0, OK
- mmc1 is current device
- do_rkimg_test found IDB in SDcard
- Boot from SDcard
- get part misc fail -1
- Net: eth0: ethernet@fe300000
- Hit any key to stop autoboot: 0
- android_bootloader_boot_flow Could not find misc partition
- get part misc fail -1
- ANDROID: reboot reason: "(none)"
- Error: Bad gzipped data
- FDT load addr 0x10f00000 size 262 KiB
- Booting kernel at 0x207f800 with fdt at 32d8800...
- ## Booting Android Image at 0x0207f800 ...
- Kernel load addr 0x02080000 size 18783 KiB
- ## Flattened Device Tree blob at 032d8800
- Booting using the fdt blob at 0x32d8800
- XIP Kernel Image ... OK
- Loading Device Tree to 00000000081ea000, end 00000000081ff933 ... OK
- Adding bank: start=0x00200000, size=0x08200000
- Adding bank: start=0x0a200000, size=0x75e00000
- Starting kernel ...
- [ 0.000000] Booting Linux on physical CPU 0x0
- [ 0.000000] Initializing cgroup subsys cpuset
- [ 0.000000] Initializing cgroup subsys cpu
- [ 0.000000] Initializing cgroup subsys cpuacct
- [
- 0.000000] Linux version 4.4.143 (marijn@marijn-VirtualBox) (gcc
- version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #4 SMP Fri Aug 17
- 08:52:06 CEST 2018
- [ 0.000000] Boot CPU: AArch64 Processor [410fd034]
- [ 0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
- [ 0.000000] bootconsole [uart0] enabled
- [ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
- [ 0.000000] psci: probing for conduit method from DT.
- [ 0.000000] psci: PSCIv1.0 detected in firmware.
- [ 0.000000] psci: Using standard PSCI v0.2 function IDs
- [ 0.000000] psci: Trusted OS migration not required
- [ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07fef9000 s45800 r8192 d32024 u86016
- [ 0.000000] Detected VIPT I-cache on CPU0
- [ 0.000000] CPU features: enabling workaround for ARM erratum 845719
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 507912
- [
- 0.000000] Kernel command line: sdfwupdate storagemedia=sd
- androidboot.mode=sd androidboot.slot_suffix=
- androidboot.serialno=e251fb7457dd2c0d rw rootwait
- earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 console=ttyFIQ0
- root=PARTUUID=614e0000-0000 rootfstype=ext4
- [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
- [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
- [ 0.000000] software IO TLB [mem 0x7feb1000-0x7fef1000] (0MB) mapped at [ffffffc07feb1000-ffffffc07fef0fff]
- [
- 0.000000] Memory: 2007524K/2064384K available (11518K kernel code,
- 1694K rwdata, 4400K rodata, 1088K init, 754K bss, 56860K reserved, 0K
- cma-reserved)
- [ 0.000000] Virtual kernel memory layout:
- [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
- [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB)
- [ 0.000000] .init : 0xffffff8008f80000 - 0xffffff80090a0000 ( 1152 KB)
- [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008b60000 ( 11136 KB)
- [ 0.000000] .rodata : 0xffffff8008b60000 - 0xffffff8008f80000 ( 4224 KB)
- [ 0.000000] .data : 0xffffff80090a0000 - 0xffffff8009229808 ( 1575 KB)
- [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
- [ 0.000000] 0xffffffbdc0008000 - 0xffffffbdc2000000 ( 31 MB actual)
- [ 0.000000] fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 ( 4116 KB)
- [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB)
- [ 0.000000] memory : 0xffffffc000200000 - 0xffffffc080000000 ( 2046 MB)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] Build-time adjustment of leaf fanout to 64.
- [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
- [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
- [ 0.000000] NR_IRQS:64 nr_irqs:64 0
- [ 0.000000] GIC: Using split EOI/Deactivate mode
- [ 0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
- [ 0.000000] ITS: allocated 65536 Devices @a300000 (psz 64K, shr 0)
- [ 0.000000] ITS: using cache flushing for cmd queue
- [ 0.000000] GIC: using LPI property table @0x000000000a290000
- [ 0.000000] ITS: Allocated 1792 chunks for LPIs
- [ 0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
- [ 0.000000] CPU0: using LPI pending table @0x000000000a2a0000
- [ 0.000000] GIC: using cache flushing for LPI property table
- [ 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] }
- [ 0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
- [
- 0.000000] rockchip_clk_register_frac_branch: could not find
- dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
- [
- 0.000000] rockchip_clk_register_frac_branch: could not find
- dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
- [ 0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
- [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
- [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
- [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
- [ 0.001257] Console: colour dummy device 80x25
- [ 0.001276] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
- [ 0.001289] pid_max: default: 32768 minimum: 301
- [ 0.001434] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.001445] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.002121] Initializing cgroup subsys devices
- [ 0.002138] Initializing cgroup subsys freezer
- [ 0.002163] ftrace: allocating 40726 entries in 160 pages
- [ 0.102127] sched-energy: Sched-energy-costs installed from DT
- [ 0.102143] CPU0: update cpu_capacity 401
- [ 0.102198] ASID allocator initialised with 32768 entries
- [ 0.105145] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
- [ 0.105615] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
- [ 0.106839] Detected VIPT I-cache on CPU1
- [ 0.106872] CPU1: found redistributor 1 region 0:0x00000000fef20000
- [ 0.106901] CPU1: using LPI pending table @0x0000000000310000
- [ 0.106943] CPU1: update cpu_capacity 401
- [ 0.106947] CPU1: Booted secondary processor [410fd034]
- [ 0.107504] Detected VIPT I-cache on CPU2
- [ 0.107525] CPU2: found redistributor 2 region 0:0x00000000fef40000
- [ 0.107552] CPU2: using LPI pending table @0x0000000000340000
- [ 0.107581] CPU2: update cpu_capacity 401
- [ 0.107584] CPU2: Booted secondary processor [410fd034]
- [ 0.108082] Detected VIPT I-cache on CPU3
- [ 0.108102] CPU3: found redistributor 3 region 0:0x00000000fef60000
- [ 0.108128] CPU3: using LPI pending table @0x0000000000390000
- [ 0.108156] CPU3: update cpu_capacity 401
- [ 0.108159] CPU3: Booted secondary processor [410fd034]
- [ 0.108674] Detected PIPT I-cache on CPU4
- [ 0.108701] CPU4: found redistributor 100 region 0:0x00000000fef80000
- [ 0.108740] CPU4: using LPI pending table @0x00000000003c0000
- [ 0.108779] CPU4: update cpu_capacity 1024
- [ 0.108783] CPU4: Booted secondary processor [410fd082]
- [ 0.109329] Detected PIPT I-cache on CPU5
- [ 0.109347] CPU5: found redistributor 101 region 0:0x00000000fefa0000
- [ 0.109384] CPU5: using LPI pending table @0x00000000003f0000
- [ 0.109411] CPU5: update cpu_capacity 1024
- [ 0.109414] CPU5: Booted secondary processor [410fd082]
- [ 0.109500] Brought up 6 CPUs
- [ 0.109578] SMP: Total of 6 processors activated.
- [ 0.109587] CPU features: detected feature: GIC system register CPU interface
- [ 0.109600] CPU: All CPU(s) started at EL2
- [ 0.109646] alternatives: patching kernel code
- [ 0.111026] devtmpfs: initialized
- [ 0.125367] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
- [ 0.125391] futex hash table entries: 2048 (order: 5, 131072 bytes)
- [ 0.125848] pinctrl core: initialized pinctrl subsystem
- [ 0.126587] NET: Registered protocol family 16
- [ 0.131574] cpuidle: using governor ladder
- [ 0.135583] cpuidle: using governor menu
- [ 0.135599] Registered FIQ tty driver
- [ 0.135788] vdso: 2 pages (1 code @ ffffff8008b66000, 1 data @ ffffff80090a4000)
- [ 0.135815] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
- [ 0.135978] DMA: preallocated 256 KiB pool for atomic allocations
- [ 0.218372] console [ttyFIQ0] enabled
- [ 0.218907] Registered fiq debugger ttyFIQ0
- [ 0.248459] iommu: Adding device ff650000.vpu_service to group 0
- [ 0.249074] iommu: Adding device ff660000.rkvdec to group 1
- [ 0.249661] iommu: Adding device ff8f0000.vop to group 2
- [ 0.250214] iommu: Adding device ff900000.vop to group 3
- [ 0.251969] SCSI subsystem initialized
- [ 0.252482] usbcore: registered new interface driver usbfs
- [ 0.253005] usbcore: registered new interface driver hub
- [ 0.253565] usbcore: registered new device driver usb
- [ 0.308793] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
- [ 0.309717] NET: Registered protocol family 2
- [ 0.310549] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
- [ 0.311283] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
- [ 0.312274] TCP: Hash tables configured (established 16384 bind 16384)
- [ 0.312934] UDP hash table entries: 1024 (order: 4, 98304 bytes)
- [ 0.313563] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
- [ 0.314401] NET: Registered protocol family 1
- [ 0.315074] RPC: Registered named UNIX socket transport module.
- [ 0.315615] RPC: Registered udp transport module.
- [ 0.316032] RPC: Registered tcp transport module.
- [ 0.316456] RPC: Registered tcp NFSv4.1 backchannel transport module.
- [ 0.317564] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
- [ 0.318386] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
- [ 0.322189] Initialise system trusted keyring
- [ 0.330861] NFS: Registering the id_resolver key type
- [ 0.331347] Key type id_resolver registered
- [ 0.331717] Key type id_legacy registered
- [ 0.332130] fuse init (API version 7.23)
- [ 0.332862] SGI XFS with security attributes, no debug enabled
- [ 0.338091] NET: Registered protocol family 38
- [ 0.338518] Key type asymmetric registered
- [ 0.338893] Asymmetric key parser 'x509' registered
- [ 0.339486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
- [ 0.340156] io scheduler noop registered
- [ 0.340509] io scheduler deadline registered
- [ 0.341014] io scheduler cfq registered (default)
- [ 0.342788] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: vbus_drv is not assigned
- [ 0.347993] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
- [ 0.348587] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
- [ 0.349174] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
- [ 0.891221] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
- [ 0.891942] rockchip-pcie: probe of f8000000.pcie failed with error -110
- [ 0.893659] rk-vcodec ff650000.vpu_service: no regulator for vcodec
- [ 0.894577] rk-vcodec ff650000.vpu_service: probe device
- [ 0.895099] rk-vcodec ff650000.vpu_service: vpu mmu dec ffffffc079242410
- [ 0.895948] rk-vcodec ff650000.vpu_service: allocator is drm
- [ 0.896528] rk-vcodec ff650000.vpu_service: checking hw id 0
- [ 0.897689] rk-vcodec ff650000.vpu_service: could not find power_model node
- [ 0.898323] rk-vcodec ff650000.vpu_service: init success
- [ 0.899196] rk-vcodec ff660000.rkvdec: no regulator for vcodec
- [ 0.900125] rk-vcodec ff660000.rkvdec: probe device
- [ 0.900625] rk-vcodec ff660000.rkvdec: vpu mmu dec ffffffc079242c10
- [ 0.901369] rk-vcodec ff660000.rkvdec: allocator is drm
- [ 0.901885] rk-vcodec ff660000.rkvdec: checking hw id 6876
- [ 0.902736] rk-vcodec ff660000.rkvdec: could not find power_model node
- [ 0.903325] rk-vcodec ff660000.rkvdec: init success
- [ 0.905219] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.905889] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
- [ 0.908140] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
- [ 0.908821] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
- [ 0.911054] dw-apb-uart: probe of ff180000.serial failed with error -28
- [ 0.911728] rockchip-pinctrl pinctrl: pin gpio4-19 already requested by fiq-debugger; cannot claim for ff1a0000.serial
- [ 0.912680] rockchip-pinctrl pinctrl: pin-147 (ff1a0000.serial) status -22
- [ 0.913296] rockchip-pinctrl pinctrl: could not request pin 147 (gpio4-19) from group uart2c-xfer on device rockchip-pinctrl
- [ 0.913293] dw-apb-uart ff1a0000.serial: Error applying setting, reverse things back
- [!▒▒▒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)
- DDR Version 1.08 20170320
- In
- Channel 0: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- Channel 1: DDR3, 800MHz
- Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
- 256B stride
- ch 0 ddrconfig = 0x101, ddrsize = 0x20
- ch 1 ddrconfig = 0x101, ddrsize = 0x20
- pmugrf_os_reg[2] = 0x32817281, stride = 0x9
- OUT
- Boot1: 2017-04-07, version: 1.06
- CPUId = 0x0
- ChipType = 0x10, 1842
- SdmmcInit=2 0
- BootCapSize=100000
- UserCapSize=7456MB
- FwPartOffset=2000 , 100000
- SdmmcInit=0 0
- BootCapSize=0
- UserCapSize=30436MB
- FwPartOffset=2000 , 0
- StorageInit ok = 316769
- LoadTrustBL
- No find bl30.bin
- RunBL31 0x10000
- NOTICE: BL31: v1.3(debug):65aa5ce
- NOTICE: BL31: Built : 10:47:37, Jun 19 2018
- NOTICE: BL31: Rockchip release version: v1.1
- INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
- INFO: Using opteed sec cpu_context!
- INFO: boot cpu mask: 0
- INFO: plat_rockchip_pmu_init(1151): pd status 3e
- INFO: BL31: Initializing runtime services
- INFO: BL31: Initializing BL32
- INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)
- INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2
- INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
- INFO: BL31: Preparing for EL3 exit to normal world
- INFO: Entry point address = 0x200000
- INFO: SPSR = 0x3c9
- U-Boot 2017.09-01874-ga60b58c (Aug 16 2018 - 15:49:09 +0200)
- Model: Firefly-RK3399 Board
- DRAM: 2 GiB
- Relocation Offset is: 7fd15000
- rk8xx_read: read reg 0x17 failed, ret=-121
- MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0
- invalid parameter
- *** Warning - bad CRC, using default environment
- In: serial@ff1a0000
- Out: serial@ff1a0000
- Err: serial@ff1a0000
- Model: Firefly-RK3399 Board
- switch to partitions #0, OK
- mmc1 is current device
- do_rkimg_test found IDB in SDcard
- Boot from SDcard
- get part misc fail -1
- Net: eth0: ethernet@fe300000
- Hit any key to stop autoboot: 0
- android_bootloader_boot_flow Could not find misc partition
- get part misc fail -1
- ANDROID: reboot reason: "(none)"
- ** Invalid Android Image header **
- android_bootloader_boot_flow boot part load fail
- Android boot failed, error -1.
- get part misc fail -1
- =Booting Rockchip format image=
- boot_rockchip_image kernel or boot part info error
- switch to partitions #0, OK
- mmc1 is current device
- Scanning mmc 1:4...
- Found /extlinux/extlinux.conf
- Retrieving file: /extlinux/extlinux.conf
- reading /extlinux/extlinux.conf
- 214 bytes read in 4 ms (51.8 KiB/s)
- 1: kernel-4.4
- Retrieving file: /Image
- reading /Image
- 17846280 bytes read in 749 ms (22.7 MiB/s)
- append: earlyprintk console=ttyFIQ0,1500000n8 rw root=PARTUUID=B921B045-1DF0-41C3-AF44-4C6F280D3FAE rootfstype=ext4 init=/sbin/init rootwait
- Retrieving file: /rk3399-firefly-linux.dtb
- reading /rk3399-firefly-linux.dtb
- 75364 bytes read in 7 ms (10.3 MiB/s)
- ## Flattened Device Tree blob at 01f00000
- Booting using the fdt blob at 0x1f00000
- Loading Device Tree to 00000000081ea000, end 00000000081ff663 ... OK
- Adding bank: start=0x00200000, size=0x08200000
- Adding bank: start=0x0a200000, size=0x75e00000
- Starting kernel ...
Copy the code
|
|