Open dcostan opened 6 years ago
Got it to work here: https://github.com/peppelinux/Radxa-Rock-RK3188/blob/master/README.md
now I'm compiling rockchip-linux 4.4 instead of linux-stable 5.8.7, further updates on that repository. Don't know why you're encourring in that, I've added init= parameter in boot arguments, I can see systemd starting properly
Got this
Loading ARM Linux zImage '/mnt/mshc1.0/zImage'
zImage: concatenated oftree detected
commandline: <NULL>
[ 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.194 (root@peppelinux-desktop) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu1) ) #1 SMP PREEMPT Mon Sep 21 14:29:25 CEST 2020
[ 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] PERCPU: Embedded 13 pages/cpu @eeda7000 s23948 r8192 d21108 u53248
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522560
[ 0.000000] Kernel command line: console=ttyS2,115200 root=/dev/mmcblk0p2 rootwait init=/init
[ 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: 2041400K/2097152K available (10240K kernel code, 1193K rwdata, 4160K rodata, 1024K init, 2163K bss, 39368K 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 : 0xc1000000 - 0xc1100000 (1024 kB)
[ 0.000000] .data : 0xc1100000 - 0xc122a458 (1194 kB)
[ 0.000000] .bss : 0xc122c000 - 0xc1448da4 (2164 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000021] sched_clock: 64 bits at 150MHz, resolution 6ns, wraps every 2199023255551ns
[ 0.000056] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x2298375bd0, max_idle_ns: 440795208267 ns
[ 0.001227] Calibrating delay loop... 1194.16 BogoMIPS (lpj=1990656)
[ 0.040248] pid_max: default: 32768 minimum: 301
[ 0.040370] Security Framework initialized
[ 0.040391] SELinux: Initializing.
[ 0.040531] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.040556] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.041729] Initializing cgroup subsys memory
[ 0.041791] Initializing cgroup subsys freezer
[ 0.041889] CPU: Testing write buffer coherency: ok
[ 0.042531] CPU0: update cpu_capacity 1024
[ 0.042556] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.042684] Setting up static identity map for 0x60100000 - 0x60100058
[ 0.090418] Brought up 1 CPUs
[ 0.090445] SMP: Total of 1 processors activated (1194.16 BogoMIPS).
[ 0.090457] CPU: All CPU(s) started in SVC mode.
[ 0.092163] devtmpfs: initialized
[ 0.104126] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.105136] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.105193] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.108924] pinctrl core: initialized pinctrl subsystem
[ 0.110968] NET: Registered protocol family 16
[ 0.113069] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.133638] cpuidle: using governor ladder
[ 0.160299] cpuidle: using governor menu
[ 0.160392] Registered FIQ tty driver
[ 0.177995] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.178018] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.262724] sdmmc-supply: regulator get failed, ret=-517
[ 0.265499] SCSI subsystem initialized
[ 0.266017] usbcore: registered new interface driver usbfs
[ 0.266142] usbcore: registered new interface driver hub
[ 0.266549] usbcore: registered new device driver usb
[ 0.267982] media: Linux media interface: v0.10
[ 0.268091] Linux video capture interface: v2.00
[ 0.268565] pps_core: LinuxPPS API ver. 1 registered
[ 0.268585] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.268661] PTP clock support registered
[ 0.271449] Advanced Linux Sound Architecture Driver Initialized.
[ 0.272526] Bluetooth: Core ver 2.21
[ 0.272644] NET: Registered protocol family 31
[ 0.272661] Bluetooth: HCI device and connection manager initialized
[ 0.272690] Bluetooth: HCI socket layer initialized
[ 0.272713] Bluetooth: L2CAP socket layer initialized
[ 0.272807] Bluetooth: SCO socket layer initialized
[ 0.278582] clocksource: Switched to clocksource arm_global_timer
[ 0.387797] rga: Module initialized.
[ 0.392026] NET: Registered protocol family 2
[ 0.393152] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.393271] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.393445] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.393693] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.393769] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.394184] NET: Registered protocol family 1
[ 0.405481] audit: initializing netlink subsys (disabled)
[ 0.405581] audit: type=2000 audit(0.400:1): initialized
[ 0.427734] VFS: Disk quotas dquot_6.6.0
[ 0.428009] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.430092] Registering sdcardfs 0.1
[ 0.430694] fuse init (API version 7.23)
[ 0.433940]
[ 0.433940] TEE Core Framework initialization (ver 1:0.1)
[ 0.434015] tee: kernel is running in secure mode, tee service unavailable.
[ 0.450922] bounce: pool size: 64 pages
[ 0.451230] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.451277] io scheduler noop registered
[ 0.451305] io scheduler deadline registered
[ 0.451546] io scheduler cfq registered (default)
[ 0.457708] Module initialized.
[ 0.460748] dma-pl330 20018000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.460778] dma-pl330 20018000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 0.464709] dma-pl330 20078000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.464741] dma-pl330 20078000.dma-controller: DBUFF-64x8bytes Num_Chans-7 Num_Peri-20 Num_Events-14
[ 0.467228] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 0.468129] 10124000.serial: ttyS0 at MMIO 0x10124000 (irq = 22, base_baud = 1500000) is a 16550A
[ 0.469191] 10126000.serial: ttyS1 at MMIO 0x10126000 (irq = 23, base_baud = 1500000) is a 16550A
[ 0.470463] 20064000.serial: ttyS2 at MMIO 0x20064000 (irq = 30, base_baud = 1500000) is a 16550A
[ 1.111879] console [ttyS2] enabled
[ 1.116391] 20068000.serial: ttyS3 at MMIO 0x20068000 (irq = 31, base_baud = 1500000) is a 16550A
[ 1.126887] [drm] Initialized drm 1.1.0 20060810
[ 1.264404] brd: module loaded
[ 1.321438] loop: module loaded
[ 1.331333] zram: Added device: zram0
[ 1.341211] SCSI Media Changer driver v0.25
[ 1.346423] tun: Universal TUN/TAP device driver, 1.6
[ 1.351558] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.358792] PPP generic driver version 2.4.2
[ 1.363772] PPP BSD Compression module registered
[ 1.368655] PPP Deflate Compression module registered
[ 1.373817] PPP MPPE Compression module registered
[ 1.378782] NET: Registered protocol family 24
[ 1.383390] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[ 1.393168] CSLIP: code copyright 1989 Regents of the University of California.
[ 1.400571] Rockchip WiFi SYS interface (V1.00) ...
[ 1.405899] usbcore: registered new interface driver catc
[ 1.411535] usbcore: registered new interface driver kaweth
[ 1.417198] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[ 1.424771] usbcore: registered new interface driver pegasus
[ 1.430646] usbcore: registered new interface driver rtl8150
[ 1.436519] usbcore: registered new interface driver r8152
[ 1.442091] hso: drivers/net/usb/hso.c: Option Wireless
[ 1.447557] usbcore: registered new interface driver hso
[ 1.453083] usbcore: registered new interface driver asix
[ 1.458699] usbcore: registered new interface driver ax88179_178a
[ 1.465005] usbcore: registered new interface driver cdc_ether
[ 1.471049] usbcore: registered new interface driver cdc_eem
[ 1.476986] usbcore: registered new interface driver dm9601
[ 1.482788] usbcore: registered new interface driver smsc75xx
[ 1.488778] usbcore: registered new interface driver smsc95xx
[ 1.494747] usbcore: registered new interface driver gl620a
[ 1.500536] usbcore: registered new interface driver net1080
[ 1.506405] usbcore: registered new interface driver plusb
[ 1.512104] usbcore: registered new interface driver rndis_host
[ 1.518229] usbcore: registered new interface driver cdc_subset
[ 1.524357] usbcore: registered new interface driver zaurus
[ 1.530146] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.537790] usbcore: registered new interface driver int51x1
[ 1.543726] usbcore: registered new interface driver kalmia
[ 1.549518] usbcore: registered new interface driver ipheth
[ 1.555292] usbcore: registered new interface driver sierra_net
[ 1.561421] usbcore: registered new interface driver cx82310_eth
[ 1.567645] usbcore: registered new interface driver cdc_ncm
[ 1.573511] usbcore: registered new interface driver qmi_wwan
[ 1.579470] usbcore: registered new interface driver cdc_mbim
[ 1.585634] 10180000.usb supply vusb_d not found, using dummy regulator
[ 1.592481] 10180000.usb supply vusb_a not found, using dummy regulator
[ 1.803685] dwc2 10180000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 1.817377] dwc2 10180000.usb: DWC OTG Controller
[ 1.822287] dwc2 10180000.usb: new USB bus registered, assigned bus number 1
[ 1.829464] dwc2 10180000.usb: irq 24, io mem 0x10180000
[ 1.835330] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.842192] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.849467] usb usb1: Product: DWC OTG Controller
[ 1.854222] usb usb1: Manufacturer: Linux 4.4.194 dwc2_hsotg
[ 1.859931] usb usb1: SerialNumber: 10180000.usb
[ 1.865817] hub 1-0:1.0: USB hub found
[ 1.869829] hub 1-0:1.0: 1 port detected
[ 1.875180] 101c0000.usb supply vusb_d not found, using dummy regulator
[ 1.882097] 101c0000.usb supply vusb_a not found, using dummy regulator
[ 2.000500] dwc2 101c0000.usb: DWC OTG Controller
[ 2.005410] dwc2 101c0000.usb: new USB bus registered, assigned bus number 2
[ 2.012587] dwc2 101c0000.usb: irq 25, io mem 0x101c0000
[ 2.018638] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.025508] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.032785] usb usb2: Product: DWC OTG Controller
[ 2.037544] usb usb2: Manufacturer: Linux 4.4.194 dwc2_hsotg
[ 2.043251] usb usb2: SerialNumber: 101c0000.usb
[ 2.049114] hub 2-0:1.0: USB hub found
[ 2.053126] hub 2-0:1.0: 1 port detected
[ 2.059713] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.066433] ehci-platform: EHCI generic platform driver
[ 2.072046] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.078459] ohci-platform: OHCI generic platform driver
[ 2.084242] usbcore: registered new interface driver cdc_acm
[ 2.090063] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.098330] usbcore: registered new interface driver usblp
[ 2.104142] usbcore: registered new interface driver cdc_wdm
[ 2.110127] usbcore: registered new interface driver usb-storage
[ 2.116368] usbcore: registered new interface driver ums-alauda
[ 2.122512] usbcore: registered new interface driver ums-cypress
[ 2.128739] usbcore: registered new interface driver ums-datafab
[ 2.134959] usbcore: registered new interface driver ums-freecom
[ 2.141203] usbcore: registered new interface driver ums-isd200
[ 2.147343] usbcore: registered new interface driver ums-jumpshot
[ 2.153697] usbcore: registered new interface driver ums-karma
[ 2.159744] usbcore: registered new interface driver ums-onetouch
[ 2.166059] usbcore: registered new interface driver ums-sddr09
[ 2.172200] usbcore: registered new interface driver ums-sddr55
[ 2.178336] usbcore: registered new interface driver ums-usbat
[ 2.184526] usbcore: registered new interface driver usbserial
[ 2.190562] usbcore: registered new interface driver usbserial_generic
[ 2.197234] usbserial: USB Serial support registered for generic
[ 2.203472] usbcore: registered new interface driver option
[ 2.209207] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.216730] usbcore: registered new interface driver trancevibrator
[ 2.223108] usb20_otg: version 3.10a 21-DEC-2012
[ 2.228125] usb20_host: version 3.10a 21-DEC-2012
[ 2.240924] usbcore: registered new interface driver xpad
[ 2.254093] sensor_register_slave:mma8452,id=17
[ 2.258794] sensor_register_slave:lis3dh,id=7
[ 2.263232] sensor_register_slave:mma7660,id=18
[ 2.267829] sensor_register_slave:lsm303d,id=23
[ 2.272420] sensor_register_slave:gs_mc3230,id=24
[ 2.277169] [Gsensor] gsensor_init
[ 2.280806] sensor_register_slave:mpu6880_acc,id=25
[ 2.285743] sensor_register_slave:mpu6500_acc,id=26
[ 2.290678] sensor_register_slave:lsm330_acc,id=27
[ 2.295528] sensor_register_slave:akm8975,id=31
[ 2.300118] sensor_register_slave:akm8963,id=32
[ 2.304709] sensor_register_slave:l3g4200d,id=46
[ 2.309383] sensor_register_slave:l3g20d,id=47
[ 2.313885] sensor_register_slave:ewtsa,id=48
[ 2.318302] sensor_register_slave:lsm330_gyro,id=52
[ 2.323241] sensor_register_slave:cm3217,id=54
[ 2.327741] sensor_register_slave:cm3218,id=55
[ 2.334214] i2c /dev entries driver
[ 2.345196] rtc-hym8563 1-0051: rtc core: registered hym8563 as rtc0
[ 2.353496] REG1: supplied by vsys
[ 2.359371] REG2: supplied by vsys
[ 2.365565] REG3: supplied by vsys
[ 2.371785] REG4: supplied by vsys
[ 2.376025] VCC_IO: Bringing 3000000uV into 3300000-3300000uV
[ 2.384929] sdmmc-supply: supplied by VCC_IO
[ 2.389776] REG5: supplied by VCC_IO
[ 2.396096] REG6: supplied by VCC_IO
[ 2.400798] VDD_HDMI: Bringing 1200000uV into 2500000-2500000uV
[ 2.410039] REG7: supplied by VCC_IO
[ 2.416596] REG8: supplied by vsys
[ 2.422732] REG9: supplied by vsys
[ 2.427930] REG10: supplied by vsys
[ 2.434523] REG11: supplied by vsys
[ 2.440535] REG12: supplied by vsys
[ 2.446712] rk3x-i2c 2002f000.i2c: Initialized RK3xxx I2C bus at f0932000
[ 2.455018] IR NEC protocol handler initialized
[ 2.459653] IR RC5(x/sz) protocol handler initialized
[ 2.464781] IR RC6 protocol handler initialized
[ 2.469378] IR JVC protocol handler initialized
[ 2.473974] IR Sony protocol handler initialized
[ 2.478651] IR SANYO protocol handler initialized
[ 2.483417] IR Sharp protocol handler initialized
[ 2.488443] IR MCE Keyboard/mouse protocol handler initialized
[ 2.494368] IR XMP protocol handler initialized
[ 2.500175] usbcore: registered new interface driver uvcvideo
[ 2.506003] USB Video Class driver (1.1.1)
[ 2.510192] CamSys driver version: v0.48.2, CamSys head file version: v1.0.0
[ 2.517802] test_power_init: could not find dev node
[ 2.524172] Boot mode: coldboot
[ 2.528462] device-mapper: uevent: version 1.0.3
[ 2.533985] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 2.547101] device-mapper: verity-avb: AVB error handler initialized with vbmeta device:
[ 2.555448] Bluetooth: HCI UART driver ver 2.3
[ 2.560048] Bluetooth: HCI UART protocol H4 registered
[ 2.565318] usb 2-1: new high-speed USB device number 2 using dwc2
[ 2.571630] Bluetooth: HCI UART protocol LL registered
[ 2.577082] rtk_btusb: RTKBT_RELEASE_NAME: 20200318_BT_ANDROID_9.0
[ 2.583511] rtk_btusb: Realtek Bluetooth USB driver module init, version 5.2.1
[ 2.590791] rtk_btusb: Register usb char device interface for BT driver
[ 2.598016] usbcore: registered new interface driver rtk_btusb
[ 2.604184] cpu cpu0: OPP-v2 not supported
[ 2.611311] cpu cpu0: OPP-v2 not supported
[ 2.616099] Synopsys Designware Multimedia Card Interface Driver
[ 2.623317] dwmmc_rockchip 10214000.dwmmc: Using PIO mode.
[ 2.628908] dwmmc_rockchip 10214000.dwmmc: Version ID is 240a
[ 2.634888] dwmmc_rockchip 10214000.dwmmc: DW MMC controller at irq 27,32 bit host data width,256 deep fifo
[ 2.644961] dwmmc_rockchip 10214000.dwmmc: No vqmmc regulator found
[ 2.783233] dwmmc_rockchip 10214000.dwmmc: 1 slots initialized
[ 2.793070] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.802481] usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
IT seems to me that: mmcblk0 haven't been recognized (we use this in the kernel command line) that serial connections stops
using vanilla kernel 5.8.7 I can get a working prompt instead https://github.com/peppelinux/Radxa-Rock-RK3188/blob/master/batrebox_rk3188_serial.log
my kernel configuration is here: https://github.com/peppelinux/Radxa-Rock-RK3188/blob/master/linux-5.8.7.config
you can also read the README with my build instruction.
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
In addition mainline kernel from Torvalds boots, however it does not contain board specific drivers Thank you all