Skip to content

Stop booting in RK3188 #117

@dcostan

Description

@dcostan

Hello all
I have a chinese board with RK3188 and I tried to build and use this kernel with Radxa Rock device tree. Unfortunately the boot process stops after a few seconds and it doesn't go on. Here is the serial

DDR Version 1.04 20140217
In
DDR3
300MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=8 Size=2048MB
Memory OK
OUT


barebox 2016.02.0 #18 Sat Mar 5 09:20:35 CET 2016


Board: Radxa Rock
clk_register clk xin24m is already registered, skipping!

of_clk_init: failed to init clock for /oscillator: 1

arc-emac 10204000.ethernet: ARC EMAC detected with id: 0x7fd02
mdio_bus: miibus0: probed
dw_mmc 10214000.dwmmc: registered as 10214000.dwmmc
mshc1: detected SD card version 1.0
mshc1: registered mshc1
netconsole: registered as netconsole-1
i2c-gpio i2c-gpio0: using pins 58 (SDA) and 59 (SCL)
malloc space: 0x9ff7d800 -> 0xdfefafff (size 1023.5 MiB)
envfs: wrong magic
running /env/bin/init...

Hit any key to stop autoboot:  3 2 1 0
blspec: blspec_scan_directory: /mnt/mshc1.0 loader/entries
ext4 ext40: EXT2 rev 1, inode_size 256
blspec: blspec_scan_directory: /mnt/mshc1.1 loader/entries
blspec: blspec_scan_directory: mshc1 loader/entries
blspec: booting Debian
 from mshc1

Loading ARM Linux zImage '/mnt/mshc1.0/rk3188-radxarock.img.neww
'
Loading devicetree from '/mnt/mshc1.0/rk3188-radxarock.dtb.neww
'
commandline:  console=ttyS2,115200 console=tty0 console=ttyS2,115200 root=/dev/mmcblk0p2 rootdelay=3 rootfstype=ext4 rw clocksource=jiffies earlyprintk debug
  
[    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 (matlin@matlin-PC) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #5 SMP Wed Aug 8 15:48:09 CEST 2018
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Radxa Rock
[    0.000000] cma: Reserved 16 MiB at 0xdf000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c10d5bc0, node_mem_map eeffa000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 14 pages/cpu @eef9d000 s24728 r8192 d24424 u57344
[    0.000000] pcpu-alloc: s24728 r8192 d24424 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS2,115200 console=tty0 console=ttyS2,115200 root=/dev/mmcblk0p2 rootdelay=3 rootfstype=ext4 rw clocksource=jiffies earlyprintk debug
  
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2046320K/2097152K available (10240K kernel code, 892K rwdata, 2912K rodata, 1024K init, 582K bss, 34448K reserved, 16384K cma-reserved, 1294336K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0b00000   (11232 kB)
[    0.000000]       .init : 0xc0f00000 - 0xc1000000   (1024 kB)
[    0.000000]       .data : 0xc1000000 - 0xc10df274   ( 893 kB)
[    0.000000]        .bss : 0xc10e1000 - 0xc11729f0   ( 583 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000022] sched_clock: 64 bits at 150MHz, resolution 6ns, wraps every 2199023255551ns
[    0.000059] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x2298375bd0, max_idle_ns: 440795208267 ns
[    0.001765] Console: colour dummy device 80x30
[    0.003095] console [tty0] enabled
[    0.003167] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090372] pid_max: default: 32768 minimum: 301
[    0.090580] Security Framework initialized
[    0.090638] Yama: becoming mindful.
[    0.090779] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.090850] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.092316] Initializing cgroup subsys devices
[    0.092414] Initializing cgroup subsys freezer
[    0.092522] CPU: Testing write buffer coherency: ok
[    0.092631] ftrace: allocating 39052 entries in 115 pages
[    0.199862] CPU0: update cpu_capacity 1024
[    0.199935] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.200122] Setting up static identity map for 0x60100000 - 0x60100058
[    0.207781] Brought up 1 CPUs
[    0.207854] SMP: Total of 1 processors activated (1196.85 BogoMIPS).
[    0.207892] CPU: All CPU(s) started in SVC mode.
[    0.209480] devtmpfs: initialized
[    0.221134] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.222135] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.222263] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.225293] pinctrl core: initialized pinctrl subsystem
[    0.227488] NET: Registered protocol family 16
[    0.230080] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.232789] cpuidle: using governor ladder
[    0.232881] cpuidle: using governor menu
[    0.232961] Registered FIQ tty driver
[    0.245192] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio0
[    0.245475] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio1
[    0.245771] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio2
[    0.246032] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio3
[    0.252526] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.252613] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.281170] of_get_named_gpiod_flags: parsed 'gpio' property of node '/usb-otg-regulator[0]' - status (0)
[    0.282054] of_get_named_gpiod_flags: parsed 'gpio' property of node '/sdmmc-regulator[0]' - status (0)
[    0.282638] sdmmc-supply: regulator get failed, ret=-517
[    0.283040] of_get_named_gpiod_flags: parsed 'gpio' property of node '/usb-host-regulator[0]' - status (0)
[    0.283881] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vsys-regulator[0]'
[    0.286148] SCSI subsystem initialized
[    0.286843] usbcore: registered new interface driver usbfs
[    0.287040] usbcore: registered new interface driver hub
[    0.287520] usbcore: registered new device driver usb
[    0.287900] media: Linux media interface: v0.10
[    0.288051] Linux video capture interface: v2.00
[    0.288185] pps_core: LinuxPPS API ver. 1 registered
[    0.288229] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.288336] PTP clock support registered
[    0.290236] Advanced Linux Sound Architecture Driver Initialized.
[    0.291691] Bluetooth: Core ver 2.21
[    0.291837] NET: Registered protocol family 31
[    0.291886] Bluetooth: HCI device and connection manager initialized
[    0.291944] Bluetooth: HCI socket layer initialized
[    0.291996] Bluetooth: L2CAP socket layer initialized
[    0.292101] Bluetooth: SCO socket layer initialized
[    0.409955] NET: Registered protocol family 2
[    0.411335] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.411559] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    0.411986] TCP: Hash tables configured (established 8192 bind 8192)
[    0.412180] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    0.412291] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    0.412782] NET: Registered protocol family 1
[    0.413701] RPC: Registered named UNIX socket transport module.
[    0.413772] RPC: Registered udp transport module.
[    0.413807] RPC: Registered tcp transport module.
[    0.413840] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.418556] Initialise system trusted keyring
[    0.437475] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.441768] NFS: Registering the id_resolver key type
[    0.441881] Key type id_resolver registered
[    0.441926] Key type id_legacy registered
[    0.442012] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.443344] fuse init (API version 7.23)
[    0.455285] jitterentropy: Initialization failed with host not compliant with requirements: 2
[    0.455820] NET: Registered protocol family 38
[    0.455945] Key type asymmetric registered
[    0.456010] Asymmetric key parser 'x509' registered
[    0.456196] bounce: pool size: 64 pages
[    0.456639] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.456753] io scheduler noop registered
[    0.456813] io scheduler deadline registered
[    0.456941] io scheduler cfq registered (default)
[    0.465623] dma-pl330 20018000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.465721] dma-pl330 20018000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.470158] dma-pl330 20078000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.470253] dma-pl330 20078000.dma-controller: 	DBUFF-64x8bytes Num_Chans-7 Num_Peri-20 Num_Events-14
[    0.472143] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.475742] 10124000.serial: ttyS0 at MMIO 0x10124000 (irq = 22, base_baud = 1500000) is a 16550A
[    0.477354] 10126000.serial: ttyS1 at MMIO 0x10126000 (irq = 23, base_baud = 1500000) is a 16550A
[    0.479018] console [ttyS2] disabled
[    0.479205] 20064000.serial: ttyS2 at MMIO 0x20064000 (irq = 30, base_baud = 1500000) is a 16550A
[    1.373506] console [ttyS2] enabled
[    1.378975] 20068000.serial: ttyS3 at MMIO 0x20068000 (irq = 31, base_baud = 1500000) is a 16550A
[    1.391560] [drm] Initialized drm 1.1.0 20060810
[    1.399586] usbcore: registered new interface driver udl
[    1.409777] brd: module loaded
[    1.428425] loop: module loaded
[    1.433928] zram: Added device: zram0
[    1.438175] lkdtm: No crash points registered, enable through debugfs
[    1.446961] tun: Universal TUN/TAP device driver, 1.6
[    1.452791] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

In addition mainline kernel from Torvalds boots, however it does not contain board specific drivers
Thank you all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions