Title: Linux not booting on AIORK3399 [Print This Page] Author: ritter Time: 7/13/2018 08:02 Title: Linux not booting on AIORK3399 Hi,
I am trying to boot linux on a the AIO RK3399. I have tried both the rockchip-linux and the firefly limux branch. I compile the kernel into a boot.img using the default scripts ./build_all.sh in the rockchip-linux version or use the mkimg to combine the kern.imgand resource.img into one single image.
I can get uboot to show up but when linux starts booting it just hangs without throwing any specific error
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
[ 0.000000] bootconsole [uart0] enabled
[ 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 @ffffffc07fef7000 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: storagemedia=emmc androidboot.mode=emmc androidboot.slot_suff4
[ 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 0x7feae000-0x7feee000] (0MB) mapped at [ffffffc07feae000-ffff]
[ 0.000000] Memory: 2002904K/2064384K available (11582K kernel code, 1692K rwdata, 4412K rodat)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB)
[ 0.000000] .init : 0xffffff8009030000 - 0xffffff8009140000 ( 1088 KB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008bd0000 ( 11584 KB)
[ 0.000000] .rodata : 0xffffff8008bd0000 - 0xffffff8009030000 ( 4480 KB)
[ 0.000000] .data : 0xffffff8009140000 - 0xffffff80092e7008 ( 1693 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/}
[ 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 dclkk
[ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclkk
[ 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, maxs
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.002018] Console: colour dummy device 80x25
[ 0.002450] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 B)
[ 0.003416] pid_max: default: 32768 minimum: 301
[ 0.003986] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.004623] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.005989] Initializing cgroup subsys devices
[ 0.006416] Initializing cgroup subsys freezer
[ 0.006861] ftrace: allocating 41960 entries in 164 pages
[ 0.110640] sched-energy: Sched-energy-costs installed from DT
[ 0.111193] CPU0: update cpu_capacity 401
[ 0.111626] ASID allocator initialised with 32768 entries
[ 0.115247] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain creatd
[ 0.116536] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain d
[ 0.118665] Detected VIPT I-cache on CPU1
[ 0.118698] CPU1: found redistributor 1 region 0:0x00000000fef20000
[ 0.118728] CPU1: using LPI pending table @0x0000000000320000
[ 0.118771] CPU1: update cpu_capacity 401
[ 0.118775] CPU1: Booted secondary processor [410fd034]
[ 0.119299] Detected VIPT I-cache on CPU2
[ 0.119320] CPU2: found redistributor 2 region 0:0x00000000fef40000
[ 0.119349] CPU2: using LPI pending table @0x0000000000340000
[ 0.119376] CPU2: update cpu_capacity 401
[ 0.119379] CPU2: Booted secondary processor [410fd034]
[ 0.119898] Detected VIPT I-cache on CPU3
[ 0.119919] CPU3: found redistributor 3 region 0:0x00000000fef60000
[ 0.119947] CPU3: using LPI pending table @0x0000000000390000
[ 0.119973] CPU3: update cpu_capacity 401
[ 0.119977] CPU3: Booted secondary processor [410fd034]
[ 0.120489] Detected PIPT I-cache on CPU4
[ 0.120515] CPU4: found redistributor 100 region 0:0x00000000fef80000
[ 0.120555] CPU4: using LPI pending table @0x00000000003d0000
[ 0.120594] CPU4: update cpu_capacity 1024
[ 0.120597] CPU4: Booted secondary processor [410fd082]
[ 0.121127] Detected PIPT I-cache on CPU5
[ 0.121146] CPU5: found redistributor 101 region 0:0x00000000fefa0000
[ 0.121186] CPU5: using LPI pending table @0x000000007d000000
[ 0.121214] CPU5: update cpu_capacity 1024
[ 0.121218] CPU5: Booted secondary processor [410fd082]
[ 0.121305] Brought up 6 CPUs
[ 0.133364] SMP: Total of 6 processors activated.
[ 0.133805] CPU features: detected feature: GIC system register CPU interface
[ 0.134481] CPU: All CPU(s) started at EL2
[ 0.134903] alternatives: patching kernel code
[ 0.136710] devtmpfs: initialized
[ 0.151627] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126s
[ 0.152606] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.153657] pinctrl core: initialized pinctrl subsystem
[ 0.154909] NET: Registered protocol family 16
[ 0.160658] cpuidle: using governor ladder
[ 0.165665] cpuidle: using governor menu
[ 0.166065] Registered FIQ tty driver
[ 0.166739] vdso: 2 pages (1 code @ ffffff8008bd6000, 1 data @ ffffff8009144000)
[ 0.167479] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.168303] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.192587] console [ttyFIQ0] enabled
[ 0.192587] console [ttyFIQ0] enabled
[ 0.193268] bootconsole [uart0] disabled
[ 0.193268] bootconsole [uart0] disabled
[ 0.194190] Registered fiq debugger ttyFIQ0
[ 0.223297] iommu: Adding device ff650000.vpu_service to group 0
[ 0.223899] iommu: Adding device ff660000.rkvdec to group 1
[ 0.224494] iommu: Adding device ff8f0000.vop to group 2
[ 0.225039] iommu: Adding device ff900000.vop to group 3
[ 0.225642] iommu: Adding device ff910000.cif_isp to group 4
[ 0.226210] iommu: Adding device ff920000.cif_isp to group 5
[ 0.228294] SCSI subsystem initialized
[ 0.228811] usbcore: registered new interface driver usbfs
[ 0.229338] usbcore: registered new interface driver hub
[ 0.229893] usbcore: registered new device driver usb
[ 0.230402] media: Linux media interface: v0.10
[ 0.230845] Linux video capture interface: v2.00
[ 0.231293] pps_core: LinuxPPS API ver. 1 registered
[ 0.231733] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@lin>
[ 0.232553] PTP clock support registered
[ 0.234038] Advanced Linux Sound Architecture Driver Initialized.
[ 0.235087] Bluetooth: Core ver 2.21
[ 0.235430] NET: Registered protocol family 31
[ 0.235834] Bluetooth: HCI device and connection manager initialized
[ 0.236402] Bluetooth: HCI socket layer initialized
[ 0.236843] Bluetooth: L2CAP socket layer initialized
[ 0.237311] Bluetooth: SCO socket layer initialized
[ 0.238818] clocksource: Switched to clocksource arch_sys_counter
[ 0.286035] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[ 0.286963] NET: Registered protocol family 2
[ 0.287775] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.288546] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
[ 0.289503] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.290173] UDP hash table entries: 1024 (order: 4, 98304 bytes)
[ 0.290765] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
[ 0.291619] NET: Registered protocol family 1
[ 0.292307] RPC: Registered named UNIX socket transport module.
[ 0.292847] RPC: Registered udp transport module.
[ 0.293264] RPC: Registered tcp transport module.
[ 0.293681] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.294896] Trying to unpack rootfs image as initramfs...
[ 0.481571] Freeing initrd memory: 3680K
[ 0.482456] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.483295] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.487067] Initialise system trusted keyring
[ 0.495161] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.496446] NFS: Registering the id_resolver key type
[ 0.496932] Key type id_resolver registered
[ 0.497303] Key type id_legacy registered
[ 0.497710] fuse init (API version 7.23)
[ 0.498453] SGI XFS with security attributes, no debug enabled
[ 0.503623] NET: Registered protocol family 38
[ 0.504056] Key type asymmetric registered
[ 0.504432] Asymmetric key parser 'x509' registered
[ 0.505027] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.505689] io scheduler noop registered
[ 0.506055] io scheduler deadline registered
[ 0.506557] io scheduler cfq registered (default)
[ 0.508356] phy phy-ff770000.syscon:usb2-phy@e460.0: Failed to get VBUS supply regulator
[ 0.513963] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[ 0.514544] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 0.515135] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 1.056876] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 1.057597] rockchip-pcie: probe of f8000000.pcie failed with error -110
[ 1.059146] backlight supply power not found, using dummy regulator
[ 1.060457] rk-vcodec ff650000.vpu_service: no regulator for vcodec
[ 1.061406] rk-vcodec ff650000.vpu_service: probe device
[ 1.061974] rk-vcodec ff650000.vpu_service: vpu mmu dec ffffffc07d24ac10
[ 1.062785] rk-vcodec ff650000.vpu_service: allocator is drm
[ 1.063366] rk-vcodec ff650000.vpu_service: checking hw id 0
[ 1.064543] rk-vcodec ff650000.vpu_service: could not find power_model node
[ 1.065178] rk-vcodec ff650000.vpu_service: init success
[ 1.066069] rk-vcodec ff660000.rkvdec: no regulator for vcodec
[ 1.067082] rk-vcodec ff660000.rkvdec: probe device
[ 1.067553] rk-vcodec ff660000.rkvdec: vpu mmu dec ffffffc07d24b410
[ 1.068285] rk-vcodec ff660000.rkvdec: allocator is drm
[ 1.068801] rk-vcodec ff660000.rkvdec: checking hw id 6876
[ 1.069641] rk-vcodec ff660000.rkvdec: could not find power_model node
[ 1.070230] rk-vcodec ff660000.rkvdec: init success
[ 1.072078] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.072748] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 N2
[ 1.075003] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.075673] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 6Author: penguin Time: 7/13/2018 14:44 http://en.t-firefly.com/doc/product/info/id/447.htmlAuthor: ritter Time: 7/14/2018 01:27
I have tried that but it doesnt seem to work. Is there something else I have to enable?Author: penguin Time: 7/16/2018 10:27
Are you try to upgrade newest update.img ? Author: ritter Time: 7/17/2018 02:19
I am trying to install all images built from source. Not using update.img(I have boot.img, uboot.img and the rest)
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)