Closed TYeniyayla closed 2 years ago
maybe try to decode those dtb into dts(dtc tool can do this i think), and compare.
Hi,
I compared the dts file I took from the system I created with Yocto and the dts files I took from the company's os. I examined the differences and changed some places, but I could not get a result. I am sharing the original (unmodified) files in the attachments, is it possible for you to have a look? Poky is your dts file, manufacturer is manufacturer's dts files.
the dts file should match the hardware(for hardware modules/regulators/pin configs, etc.) so the dts in this meta-rockchip is for the specific evb board only...
according to the diff, these might related: otg-vbus-drv usb@ff580000's dr_mode and vbus-supply other regulator settings
anyway, i don't know your hardware, so might not be able to help :(
maybe just use the manufacturer's kernel and dtb instead of meta-rockchip's?
Let me take a closer look at the parts you mentioned. The manufacturer's dtb works, but when I try to add features such as lvds and touch, I cannot use it because it is dtb. When I convert it to dts and edit it, for some reason it gets stuck on "Starting Kernel..." after uboot. Everything I edited in your dts works fine, but usbs do not give 5v.
When I convert it to dts and edit it, for some reason it gets stuck on "Starting Kernel..
that might because there're some phandle in that decoded dts, would might be changed after edit.
that might because there're some phandle in that decoded dts, would might be changed after edit.
I checked the Phandle parts, there is no problem. Now I'm trying to change the usb and regulator parts. I tried 3 times, still no results.
Update: I still haven't found a solution
i think there would be 2 ways for it: 1/ use fdtdump/fdtget/fdtput to manipulate the manufacturer.dtb or 2/ try to port from the decoded manufacturer.dts(using dtc/fdtget) to the new dts(i) a) make sure /pinctrl/ matched(mostly otg-vbus-drv and host-vbus-drv) b) make sure usb nodes's dr_mode and status matched c) fixup new dts's otg-vbus-regulator from manufacturer.dts's usb-otg-regulator (the manufacturer's dts is using it as a standalone always on regulator)
I was getting the dts file with the command: dtc -I fs /proc/device-tree -O dts -o a.dts
How can I do it with the method you say? is there any source?
for the first way, fdtput is a tool to modify manufacturer.dtb directly, you can google for it's usage. using it instead of modifying decoded manufacturer.dts manually should prevent stucking at starting kernel.
for the second way, you can try to understand those fdt nodes in the decoded manufacturer.dts and modify the poky kernel's dts(check the readme.md for using local custom kernel)
Hi, I've been working on the problem for the last 2 days. I haven't been able to solve it yet. I checked the places you mentioned. No problem with Phandles. dr_mode and status are the same. I tried fdtput but it was too slow and cumbersome so I went ahead with manual editing. I saved the changes as a patch and created an image from scratch but without success. I don't know what else to do, what could I be missing?
don't know much about usb, my guess still be the pinctl/dr_mode/regulator/gpio/irq parts
try to port from the decoded manufacturer.dts(using dtc/fdtget) to the new dts(i) a) make sure /pinctrl/ matched(mostly otg-vbus-drv and host-vbus-drv) b) make sure usb nodes's dr_mode and status matched c) fixup new dts's otg-vbus-regulator from manufacturer.dts's usb-otg-regulator (the manufacturer's dts is using it as a standalone always on regulator)
Hello, I could not get a result from what they said, but as a result of long talks with the manufacturer, I was able to get the dts file. It's running at 5 volts now, but it gets stuck on "Starting kernel..." at uboot startup. I have attached the dts file I received rk3288-lc-linux.zip
when compiling i show this dts file. .
maybe you can try to enable earlycon in the dts's bootargs(check other 3288 dts in kernel for how to set it), that should give you a few more early boot logs.
maybe you can try to decode the new dtb and compare with the old decoded manufacturer.dts
maybe there are some difference in the dtsi(which they didn't provide in that zip)
Does this help in solving the problem? (printenv output):
arch=arm
autoload=no
baudrate=115200
board=evb_rk3288
board_name=evb_rk3288
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_targets=mmc1 mmc0 usb0 pxe dhcp
bootargs=storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal
bootcmd=boot_android ${devtype} ${devnum};boot_fit;bootrkp;run distro_bootcmd;
bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_mmc1=setenv devnum 1; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=0
cpu=armv7
devnum=0
devtype=mmc
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
eth1addr=2e:a5:ef:15:4d:5b
ethaddr=2a:a5:ef:15:4d:5b
fdt_addr_r=0x08300000
kernel_addr_r=0x02008000
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
partitions=uuid_disk=${uuid_gpt_disk};name=loader1,start=32K,size=4000K,uuid=${uuid_gpt_loader1};name=loader2,start=8MB,size=4MB,uuid=${uuid_gpt_loader2};name=trust,size=4M,uuid=${uuid_gpt_atf};name=boot,size=112M,bootable,uuid=${uuid_gpt_boot};name=rootfs,size=-,uuid=69DAD710-2CE4-4E3C-B16C-21A1D49ABED3;
pxefile_addr_r=0x00100000
ramdisk_addr_r=0x0a200000
reset_reason=POR
rkimg_bootdev=if mmc dev 1 && rkimgtest mmc 1; then setenv devtype mmc; setenv devnum 1; echo Boot from SDcard;elif mmc dev 0; then setenv devtype mmc; setenv devnum 0;elif mtd_blk dev 0; then setenv devtype mtd; setenv devnum 0;elif mtd_blk dev 1; then setenv devtype mtd; setenv devnum 1;elif mtd_blk dev 2; then setenv devtype mtd; setenv devnum 2;elif rknand dev 0; then setenv devtype rknand; setenv devnum 0;elif rksfc dev 0; then setenv devtype spinand; setenv devnum 0;elif rksfc dev 1; then setenv devtype spinor; setenv devnum 1;elsesetenv devtype ramdisk; setenv devnum 0;fi;
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x00000000
serial#=c3d9b8674f4b94f6
soc=rockchip
stderr=serial,vidconsole
stdout=serial,vidconsole
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
vendor=rockchip
Or this (at the opening):
@DDR Version 1.11 20210818
In
Channel a: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel b: DDR3 400MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Memory OK
Memory OK
OUT
Boot1 Release Time: Jul 22 2021 09:08:57, version: 2.63
ChipType = 0x8, 236
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPartOffset=2000 , 2000
mmc0:cmd8,400
mmc0:cmd8,400
mmc0:cmd8,400
SdmmcInit=0 1
StorageInit ok = 24592
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: uboot, start:0x4000, size:0x2000
GPT part: 1, name: trust, start:0x6000, size:0x2000
GPT part: 2, name: boot, start:0x8000, size:0x3650
GPT part: 3, name: rootfs, start:0xc000, size:0xe83fdf
find part:uboot OK. first_lba:0x4000.
find part:trust OK. first_lba:0x6000.
LOADER Check OK! 0x4000, 118350
TOS Check OK! 0x6000, 154756
Enter Trust OS
INF [0x0] TEE-CORE:init_primary_helper:385: Core0 Initializing (1.1.0-432-gc99a453d #4 Mon Aug 17 09:16:49 UTC 2020 arm)
INF [0x0] TEE-CORE:init_primary_helper:386: Release version: 1.3
INF [0x0] TEE-CORE:init_primary_helper:387: Next entry point address: 0x200000
INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
U-Boot 2017.09 (Jan 10 2022 - 01:38:43 +0000)
Model: Evb-RK3288
PreSerial: 2, raw, 0xff690000
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 00000000
Relocation fdt: 7bdd0948 - 7bdd1ddd
CR: M/C/I
Using default environment
DM: v1
dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
No misc partition
boot mode: None
Found DTB in boot part
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 400000Hz
PMIC: RK808
vdd_arm 1100000 uV
vdd_gpu 1100000 uV
Can't get crtc id, default set to id = 0
Can't get crtc id, default set to id = 0
Could not find baseparameter partition
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
lvds: detailed mode clock 51200 kHz, flags[a]
H: 1024 1184 1188 1344
V: 0600 0612 0615 0635
bus_format: 100e
failed to set phy mode: -19
hdmi@ff980000 disconnected
CLK: (uboot. arm: enter 1000000 KHz, init 1000000 KHz, kernel 0N/A)
apll 1000000 KHz
dpll 396000 KHz
cpll 24000 KHz
gpll 594000 KHz
npll 24000 KHz
aclk_bus 198000 KHz
No misc partition
Net: Net Initialization Skipped
No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
Booting ZIMAGE kernel at 0x02008000(Uncompress to 0) with fdt at 0x08300000...
Fdt Ramdisk skip relocation
No misc partition
## Booting Android Image at 0x02007800 ...
Kernel: 0x02008000 - 0x026b4ff0 (6836 KiB)
## Flattened Device Tree blob at 0x08300000
Booting using the fdt blob at 0x08300000
XIP Kernel Image from 0x02008000 to 0x02008000 ... OK
kernel loaded at 0x02008000, end = 0x026b4ff0
'reserved-memory' dma-unusable@fe000000: addr=fe000000 size=1000000
Using Device Tree in place at 08300000, end 083163dd
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00000000 - 0x08400000 (size: 0x08400000)
Adding bank: 0x09310000 - 0x80000000 (size: 0x76cf0000)
Total: 514.186 ms
Starting kernel ...
1/ according to your previous comment, the manufacturer.dtb(manufacturer's dts + manufacturer's dtsi) works, the manufacturer's dts + poky(your current kernel)'s dtsi stucks. so guessing the problem might due to different dtsi, you can try to get the dtsi too, or check the difference from the decoded dtb.
2/ you can try to enable early boot logs(in kernel dts) to get more logs, one way to do it would be using earlycon:
+++ b/arch/arm/boot/dts/rk3288-linux.dtsi
@@ -8,7 +8,7 @@
/ {
chosen {
- bootargs = "earlyprintk console=ttyFIQ0 rw root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait";
+ bootargs = "earlycon=uart8250,mmio32,0xff690000 keep_bootcon console=ttyFIQ0 rw root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait";
};
1) I'm still looking into it, so far I haven't seen a reason. 2) I did what you said and created the image. The output was as follows:
U-Boot 2017.09 (Jan 10 2022 - 01:38:43 +0000)
Model: Evb-RK3288
PreSerial: 2, raw, 0xff690000
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 00000000
Relocation fdt: 7bdd0948 - 7bdd1ddd
CR: M/C/I
Using default environment
DM: v1
dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
No misc partition
boot mode: normal
Found DTB in boot part
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 400000Hz
PMIC: RK808
vdd_arm 1100000 uV
vdd_gpu 1100000 uV
Can't get crtc id, default set to id = 0
Can't get crtc id, default set to id = 0
Could not find baseparameter partition
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
lvds: detailed mode clock 51200 kHz, flags[a]
H: 1024 1184 1188 1344
V: 0600 0612 0615 0635
bus_format: 100e
failed to set phy mode: -19
hdmi@ff980000 disconnected
CLK: (uboot. arm: enter 1000000 KHz, init 1000000 KHz, kernel 0N/A)
apll 1000000 KHz
dpll 396000 KHz
cpll 24000 KHz
gpll 594000 KHz
npll 24000 KHz
aclk_bus 198000 KHz
No misc partition
Net: Net Initialization Skipped
No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
Booting ZIMAGE kernel at 0x02008000(Uncompress to 0) with fdt at 0x08300000...
Fdt Ramdisk skip relocation
No misc partition
## Booting Android Image at 0x02007800 ...
Kernel: 0x02008000 - 0x026b4ff0 (6836 KiB)
## Flattened Device Tree blob at 0x08300000
Booting using the fdt blob at 0x08300000
XIP Kernel Image from 0x02008000 to 0x02008000 ... OK
kernel loaded at 0x02008000, end = 0x026b4ff0
'reserved-memory' dma-unusable@fe000000: addr=fe000000 size=1000000
Using Device Tree in place at 08300000, end 08316405
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00000000 - 0x08400000 (size: 0x08400000)
Adding bank: 0x09310000 - 0x80000000 (size: 0x76cf0000)
Total: 514.563 ms
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x500
[ 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-rockchip-standard (oe-user@oe-host) (gcc version 9.3.0 (GCC) ) #1 SMP Fri Jan 7 03:48:33 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: rockchip,rk3288w
[ 0.000000] debug: skip boot console de-registration.
[ 0.000000] earlycon: Early serial console at MMIO32 0xff690000 (options '')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv65535.65535 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] PERCPU: Embedded 14 pages/cpu @eef79000 s24728 r8192 d24424 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 518896
[ 0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal androidboot.verifiedbootstate=orange androidboot.serialno=c3d9b8674f4b94f6 keep_bootcon rw rootwait earlycon=uart8250,mmio32,0xff690000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4
[ 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: 2030968K/2081728K available (10240K kernel code, 783K rwdata, 3116K rodata, 1024K init, 518K bss, 34376K 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 - 0xc10c3dcc ( 784 kB)
[ 0.000000] .bss : 0xc10c5000 - 0xc1146b60 ( 519 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.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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008802] Switching to timer-based delay loop, resolution 41ns
[ 0.019167] Console: colour dummy device 80x30
[ 0.024076] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.035483] pid_max: default: 32768 minimum: 301
[ 0.040671] Security Framework initialized
[ 0.045200] Yama: becoming mindful.
[ 0.049134] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.056438] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.065254] Initializing cgroup subsys devices
[ 0.070195] Initializing cgroup subsys freezer
[ 0.075124] CPU: Testing write buffer coherency: ok
[ 0.080552] ftrace: allocating 39297 entries in 116 pages
[ 0.201617] CPU0: update cpu_capacity 430
[ 0.206027] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[ 0.212413] Setting up static identity map for 0x100000 - 0x100058
[ 0.222508] CPU1: update cpu_capacity 430
[ 0.222519] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[ 0.223757] CPU2: update cpu_capacity 430
[ 0.223767] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[ 0.225022] CPU3: update cpu_capacity 430
[ 0.225033] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
[ 0.225196] Brought up 4 CPUs
[ 0.260315] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.267209] CPU: All CPU(s) started in SVC mode.
[ 0.274327] devtmpfs: initialized
[ 0.307128] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[ 0.316128] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.326986] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.335275] pinctrl core: initialized pinctrl subsystem
[ 0.342610] NET: Registered protocol family 16
[ 0.349749] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.387466] cpuidle: using governor ladder
[ 0.417512] cpuidle: using governor menu
[ 0.421861] Registered FIQ tty driver
[ 0.481709] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.490539] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.497788] uart2 is enabled, please disable it
[ 0.502831] rk-fiq-debugger: probe of fiq-debugger failed with error -22
[ 0.558805] iommu: Adding device ff910000.isp to group 0
[ 0.564854] iommu: Adding device ff930000.vop to group 1
[ 0.570845] iommu: Adding device ff940000.vop to group 2
[ 0.576881] iommu: Adding device ff9a0000.video-codec to group 3
[ 0.583634] iommu: Adding device ff9a0000.vpu-service to group 4
[ 0.590426] iommu: Adding device ff9c0000.hevc-service to group 5
[ 0.598006] rk_iommu ff914000.iommu: can't get sclk
[ 0.604082] rk_iommu ff930300.iommu: can't get sclk
[ 0.609914] rk_iommu ff940300.iommu: can't get sclk
[ 0.615794] rk_iommu ff9a0800.iommu: can't get sclk
[ 0.621726] rk_iommu ff9c0440.iommu: can't get sclk
[ 0.628005] SCSI subsystem initialized
[ 0.632529] usbcore: registered new interface driver usbfs
[ 0.638700] usbcore: registered new interface driver hub
[ 0.644696] usbcore: registered new device driver usb
[ 0.650474] media: Linux media interface: v0.10
[ 0.655514] Linux video capture interface: v2.00
[ 0.660770] pps_core: LinuxPPS API ver. 1 registered
[ 0.666220] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.676314] PTP clock support registered
[ 0.683009] Advanced Linux Sound Architecture Driver Initialized.
[ 0.690786] Bluetooth: Core ver 2.21
[ 0.694768] NET: Registered protocol family 31
[ 0.699644] Bluetooth: HCI device and connection manager initialized
[ 0.706672] Bluetooth: HCI socket layer initialized
[ 0.712033] Bluetooth: L2CAP socket layer initialized
[ 0.717679] Bluetooth: SCO socket layer initialized
[ 0.725282] clocksource: Switched to clocksource arch_sys_counter
[ 0.818833] NET: Registered protocol family 2
[ 0.824493] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.832385] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[ 0.839933] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.847042] UDP hash table entries: 512 (order: 2, 24576 bytes)
[ 0.853592] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[ 0.860927] NET: Registered protocol family 1
[ 0.866270] RPC: Registered named UNIX socket transport module.
[ 0.872772] RPC: Registered udp transport module.
[ 0.877980] RPC: Registered tcp transport module.
[ 0.883143] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.891701] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[ 0.904004] Initialise system trusted keyring
[ 0.923941] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.933622] NFS: Registering the id_resolver key type
[ 0.939249] Key type id_resolver registered
[ 0.943842] Key type id_legacy registered
[ 0.948307] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.956364] fuse init (API version 7.23)
[ 0.970108] NET: Registered protocol family 38
[ 0.975028] Key type asymmetric registered
[ 0.979652] Asymmetric key parser 'x509' registered
[ 0.985135] bounce: pool size: 64 pages
[ 0.989751] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.997996] io scheduler noop registered
[ 1.002317] io scheduler deadline registered
[ 1.007156] io scheduler cfq registered (default)
[ 1.019614] backlight supply power not found, using dummy regulator
[ 1.027616] rk-vcodec ff9a0000.vpu-service: no regulator for vcodec
[ 1.034941] rk-vcodec ff9a0000.vpu-service: probe device
[ 1.041262] rk-vcodec ff9a0000.vpu-service: drm allocator with mmu enabled
[ 1.050141] rk-vcodec ff9a0000.vpu-service: could not find power_model node
[ 1.057849] rk-vcodec ff9a0000.vpu-service: init success
[ 1.064286] rk-vcodec ff9c0000.hevc-service: no regulator for vcodec
[ 1.071819] rk-vcodec ff9c0000.hevc-service: probe device
[ 1.078197] rk-vcodec ff9c0000.hevc-service: drm allocator with mmu enabled
[ 1.086765] rk-vcodec ff9c0000.hevc-service: could not find power_model node
[ 1.094511] rk-vcodec ff9c0000.hevc-service: init success
[ 1.104172] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.112562] dma-pl330 ff250000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.124134] dma-pl330 ff600000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.132506] dma-pl330 ff600000.dma-controller: DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[ 1.144479] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 1.153769] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.161801] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[ 1.172601] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 38, base_baud = 1500000) is a 16550A
[ 1.183433] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 39, base_baud = 1500000) is a 16550A
try to disable uart2 in that dts, remove this:
&uart2 {
status = "okay";
};
I just deleted it. The result is like this:
U-Boot 2017.09 (Jan 10 2022 - 01:38:43 +0000)
Model: Evb-RK3288
PreSerial: 2, raw, 0xff690000
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 00000000
Relocation fdt: 7bdd0948 - 7bdd1ddd
CR: M/C/I
Using default environment
DM: v1
dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
No misc partition
boot mode: normal
Found DTB in boot part
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 400000Hz
PMIC: RK808
vdd_arm 1100000 uV
vdd_gpu 1100000 uV
Can't get crtc id, default set to id = 0
Can't get crtc id, default set to id = 0
Could not find baseparameter partition
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
lvds: detailed mode clock 51200 kHz, flags[a]
H: 1024 1184 1188 1344
V: 0600 0612 0615 0635
bus_format: 100e
failed to set phy mode: -19
hdmi@ff980000 disconnected
CLK: (uboot. arm: enter 1000000 KHz, init 1000000 KHz, kernel 0N/A)
apll 1000000 KHz
dpll 396000 KHz
cpll 24000 KHz
gpll 594000 KHz
npll 24000 KHz
aclk_bus 198000 KHz
No misc partition
Net: Net Initialization Skipped
No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
Booting ZIMAGE kernel at 0x02008000(Uncompress to 0) with fdt at 0x08300000...
Fdt Ramdisk skip relocation
No misc partition
## Booting Android Image at 0x02007800 ...
Kernel: 0x02008000 - 0x026b4ff0 (6836 KiB)
## Flattened Device Tree blob at 0x08300000
Booting using the fdt blob at 0x08300000
XIP Kernel Image from 0x02008000 to 0x02008000 ... OK
kernel loaded at 0x02008000, end = 0x026b4ff0
'reserved-memory' dma-unusable@fe000000: addr=fe000000 size=1000000
Using Device Tree in place at 08300000, end 08316405
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00000000 - 0x08400000 (size: 0x08400000)
Adding bank: 0x09310000 - 0x80000000 (size: 0x76cf0000)
Total: 514.490 ms
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x500
[ 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-rockchip-standard (oe-user@oe-host) (gcc version 9.3.0 (GCC) ) #1 SMP Fri Jan 7 03:48:33 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: rockchip,rk3288w
[ 0.000000] debug: skip boot console de-registration.
[ 0.000000] earlycon: Early serial console at MMIO32 0xff690000 (options '')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv65535.65535 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] PERCPU: Embedded 14 pages/cpu @eef79000 s24728 r8192 d24424 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 518896
[ 0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal androidboot.verifiedbootstate=orange androidboot.serialno=c3d9b8674f4b94f6 keep_bootcon rw rootwait earlycon=uart8250,mmio32,0xff690000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4
[ 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: 2030968K/2081728K available (10240K kernel code, 783K rwdata, 3116K rodata, 1024K init, 518K bss, 34376K 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 - 0xc10c3dcc ( 784 kB)
[ 0.000000] .bss : 0xc10c5000 - 0xc1146b60 ( 519 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.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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008801] Switching to timer-based delay loop, resolution 41ns
[ 0.019203] Console: colour dummy device 80x30
[ 0.024114] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.035519] pid_max: default: 32768 minimum: 301
[ 0.040707] Security Framework initialized
[ 0.045237] Yama: becoming mindful.
[ 0.049175] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.056480] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.065296] Initializing cgroup subsys devices
[ 0.070235] Initializing cgroup subsys freezer
[ 0.075163] CPU: Testing write buffer coherency: ok
[ 0.080590] ftrace: allocating 39297 entries in 116 pages
[ 0.201676] CPU0: update cpu_capacity 430
[ 0.206086] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[ 0.212473] Setting up static identity map for 0x100000 - 0x100058
[ 0.222553] CPU1: update cpu_capacity 430
[ 0.222563] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[ 0.223805] CPU2: update cpu_capacity 430
[ 0.223814] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[ 0.225065] CPU3: update cpu_capacity 430
[ 0.225074] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
[ 0.225238] Brought up 4 CPUs
[ 0.260355] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.267250] CPU: All CPU(s) started in SVC mode.
[ 0.274366] devtmpfs: initialized
[ 0.306974] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[ 0.315976] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.326834] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.335129] pinctrl core: initialized pinctrl subsystem
[ 0.342447] NET: Registered protocol family 16
[ 0.349596] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.387313] cpuidle: using governor ladder
[ 0.417361] cpuidle: using governor menu
[ 0.421710] Registered FIQ tty driver
[ 0.481532] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.490363] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.497624] uart2 is enabled, please disable it
[ 0.502667] rk-fiq-debugger: probe of fiq-debugger failed with error -22
[ 0.568641] iommu: Adding device ff910000.isp to group 0
[ 0.574691] iommu: Adding device ff930000.vop to group 1
[ 0.580684] iommu: Adding device ff940000.vop to group 2
[ 0.586717] iommu: Adding device ff9a0000.video-codec to group 3
[ 0.593470] iommu: Adding device ff9a0000.vpu-service to group 4
[ 0.600266] iommu: Adding device ff9c0000.hevc-service to group 5
[ 0.607847] rk_iommu ff914000.iommu: can't get sclk
[ 0.613925] rk_iommu ff930300.iommu: can't get sclk
[ 0.619756] rk_iommu ff940300.iommu: can't get sclk
[ 0.625639] rk_iommu ff9a0800.iommu: can't get sclk
[ 0.631581] rk_iommu ff9c0440.iommu: can't get sclk
[ 0.637856] SCSI subsystem initialized
[ 0.642378] usbcore: registered new interface driver usbfs
[ 0.648551] usbcore: registered new interface driver hub
[ 0.654549] usbcore: registered new device driver usb
[ 0.660325] media: Linux media interface: v0.10
[ 0.665366] Linux video capture interface: v2.00
[ 0.670619] pps_core: LinuxPPS API ver. 1 registered
[ 0.676069] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.686163] PTP clock support registered
[ 0.692859] Advanced Linux Sound Architecture Driver Initialized.
[ 0.700633] Bluetooth: Core ver 2.21
[ 0.704610] NET: Registered protocol family 31
[ 0.709487] Bluetooth: HCI device and connection manager initialized
[ 0.716513] Bluetooth: HCI socket layer initialized
[ 0.721875] Bluetooth: L2CAP socket layer initialized
[ 0.727520] Bluetooth: SCO socket layer initialized
[ 0.735119] clocksource: Switched to clocksource arch_sys_counter
[ 0.828635] NET: Registered protocol family 2
[ 0.834298] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.842193] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[ 0.849877] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.856987] UDP hash table entries: 512 (order: 2, 24576 bytes)
[ 0.863538] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[ 0.870876] NET: Registered protocol family 1
[ 0.876222] RPC: Registered named UNIX socket transport module.
[ 0.882724] RPC: Registered udp transport module.
[ 0.887928] RPC: Registered tcp transport module.
[ 0.893090] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.901648] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[ 0.913971] Initialise system trusted keyring
[ 0.933876] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.943545] NFS: Registering the id_resolver key type
[ 0.949175] Key type id_resolver registered
[ 0.953767] Key type id_legacy registered
[ 0.958230] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.966290] fuse init (API version 7.23)
[ 0.980011] NET: Registered protocol family 38
[ 0.984930] Key type asymmetric registered
[ 0.989555] Asymmetric key parser 'x509' registered
[ 0.995038] bounce: pool size: 64 pages
[ 0.999653] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.007899] io scheduler noop registered
[ 1.012220] io scheduler deadline registered
[ 1.017059] io scheduler cfq registered (default)
[ 1.029505] backlight supply power not found, using dummy regulator
[ 1.037512] rk-vcodec ff9a0000.vpu-service: no regulator for vcodec
[ 1.044838] rk-vcodec ff9a0000.vpu-service: probe device
[ 1.051163] rk-vcodec ff9a0000.vpu-service: drm allocator with mmu enabled
[ 1.060026] rk-vcodec ff9a0000.vpu-service: could not find power_model node
[ 1.067736] rk-vcodec ff9a0000.vpu-service: init success
[ 1.074172] rk-vcodec ff9c0000.hevc-service: no regulator for vcodec
[ 1.081702] rk-vcodec ff9c0000.hevc-service: probe device
[ 1.088079] rk-vcodec ff9c0000.hevc-service: drm allocator with mmu enabled
[ 1.096652] rk-vcodec ff9c0000.hevc-service: could not find power_model node
[ 1.104398] rk-vcodec ff9c0000.hevc-service: init success
[ 1.114048] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.122438] dma-pl330 ff250000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.134009] dma-pl330 ff600000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.142380] dma-pl330 ff600000.dma-controller: DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[ 1.154347] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 1.163648] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.171679] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[ 1.182472] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 38, base_baud = 1500000) is a 16550A
[ 1.193304] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 39, base_baud = 1500000) is a 16550A
[ 0.497624] uart2 is enabled, please disable it [ 0.502667] rk-fiq-debugger: probe of fiq-debugger failed with error -22
this log means it's still enabled... maybe try to:
&uart2 {
status = "disabled";
};
I disabled it but the uboot output is still the same. The dts file looks like this:
/*
* This file is dual-licensed: you can use it either under the terms
* of the GPL or the X11 license, at your option. Note that this dual
* licensing only applies to this file, and not this project as a
* whole.
*
* a) This file is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Or, alternatively,
*
* b) Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
/dts-v1/;
#include <dt-bindings/clock/rockchip,rk808.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/input/input.h>
#include "rk3288.dtsi"
#include "rk3288-rkisp1.dtsi"
#include "rk3288-linux.dtsi"
/ {
compatible = "rockchip,rk3288-miniarm", "rockchip,rk3288";
backlight: backlight {
compatible = "pwm-backlight";
brightness-levels = <
255 190 189 188 187 186 185 184
183 182 181 180 179 178 177 176
175 174 173 172 171 170 169 168
167 166 165 164 163 162 161 160
159 158 157 156 155 154 153 152
151 150 149 148 147 146 145 144
143 142 141 140 139 138 137 136
135 134 133 132 131 130 129 128
127 126 125 124 123 122 121 120
119 118 117 116 115 114 113 112
111 110 109 108 107 106 105 104
103 102 101 100 99 98 97 96
95 94 93 92 91 90 89 88
87 86 85 84 83 82 81 80
79 78 77 76 75 74 73 72
71 70 69 68 67 66 65 64
63 62 61 60 59 58 57 56
55 54 53 52 51 50 49 48
47 46 45 44 43 42 41 40
39 38 37 36 35 34 33 32
31 30 29 28 27 26 25 24
23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0>;
default-brightness-level = <136>;
// enable-gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
pwms = <&pwm0 0 1000000 0>;
pwm-names = "backlight";
pinctrl-names = "default";
status = "okay";
};
adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 1>;
io-channel-names = "buttons";
poll-interval = <100>;
keyup-threshold-microvolt = <1800000>;
button-up {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
press-threshold-microvolt = <18000>;
};
button-down {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
press-threshold-microvolt = <300000>;
};
menu {
label = "Menu";
linux,code = <KEY_MENU>;
press-threshold-microvolt = <640000>;
};
esc {
label = "Esc";
linux,code = <KEY_ESC>;
press-threshold-microvolt = <1000000>;
};
home {
label = "Home";
linux,code = <KEY_HOME>;
press-threshold-microvolt = <1300000>;
};
};
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
pinctrl-names = "default";
pinctrl-0 = <&pwrbtn>;
button@0 {
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
linux,code = <116>;
label = "GPIO Key Power";
linux,input-type = <1>;
gpio-key,wakeup = <1>;
debounce-interval = <100>;
};
};
memory {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};
dfi: dfi {
compatible = "rockchip,rk3288-dfi";
rockchip,pmu = <&pmu>;
rockchip,grf = <&grf>;
status = "okay";
};
ext_gmac: external-gmac-clock {
compatible = "fixed-clock";
clock-frequency = <125000000>;
clock-output-names = "ext_gmac";
#clock-cells = <0>;
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk808 1>;
clock-names = "ext_clock";
pinctrl-names = "default";
pinctrl-0 = <&wifi_enable_h>;
/*
* On the module itself this is one of these (depending
* on the actual card populated):
* - SDIO_RESET_L_WL_REG_ON
* - PDN (power down when low)
*/
reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
// reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
};
wireless-bluetooth {
compatible = "bluetooth-platdata";
clocks = <&rk808 1>;
clock-names = "ext_clock";
uart_rts_gpios = <&gpio4 RK_PC3 GPIO_ACTIVE_LOW>;
pinctrl-names = "default", "rts_gpio";
pinctrl-0 = <&uart0_rts>;
pinctrl-1 = <&uart0_gpios>;
BT,reset_gpio = <&gpio4 RK_PD5 GPIO_ACTIVE_LOW>;
BT,wake_gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio4 RK_PD7 GPIO_ACTIVE_HIGH>;
status = "okay";
};
wireless-wlan {
compatible = "wlan-platdata";
wifi_chip_type = "rtl8723bs";
WIFI,host_wake_irq = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>;
WIFI,wl_reg_on = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
status = "okay";
};
sound: sound {
status = "okay";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,name = "rockchip,es8316-codec";
simple-audio-card,mclk-fs = <512>;
simple-audio-card,widgets =
"Microphone", "Microphone Jack",
"Headphone", "Headphone Jack";
simple-audio-card,routing =
"MIC1", "Microphone Jack",
"MIC2", "Microphone Jack",
"Microphone Jack", "micbias1",
"Headphone Jack", "HPOL",
"Headphone Jack", "HPOR";
simple-audio-card,dai-link@0 {
format = "i2s";
cpu {
sound-dai = <&i2s>;
};
codec {
sound-dai = <&es8316>;
};
};
simple-audio-card,dai-link@1 {
format = "i2s";
cpu {
sound-dai = <&i2s>;
};
codec {
sound-dai = <&hdmi>;
// sound-dai = <&dw_hdmi_audio>;
};
};
};
vcc_sys: vsys-regulator {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vccadc_ref: vccadc-ref {
compatible = "regulator-fixed";
regulator-name = "vcc1v8_sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
vcc_otg: usb-otg-regulator {
compatible = "regulator-fixed";
enable-active-high;
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&otg_vbus_drv>;
regulator-name = "vcc_otg_5v";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
/*
* NOTE: vcc_sd isn't hooked up on v1.0 boards where power comes from
* vcc_io directly. Those boards won't be able to power cycle SD cards
* but it shouldn't hurt to toggle this pin there anyway.
*/
// vcc_sd: sdmmc-regulator {
// compatible = "regulator-fixed";
// gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
// pinctrl-names = "default";
// pinctrl-0 = <&sdmmc_pwr>;
// regulator-name = "vcc_sd";
// regulator-min-microvolt = <3300000>;
// regulator-max-microvolt = <3300000>;
// startup-delay-us = <100000>;
// vin-supply = <&vcc_io>;
// };
};
&cpu0 {
cpu0-supply = <&vdd_cpu>;
};
&gmac {
phy-supply = <&vcc_lcd>;
phy-mode = "rgmii";
clock_in_out = "input";
snps,reset-gpio = <&gpio4 7 0>;
snps,reset-active-low;
snps,reset-delays-us = <0 10000 1000000>;
assigned-clocks = <&cru SCLK_MAC>;
assigned-clock-parents = <&ext_gmac>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
tx_delay = <0x30>;
rx_delay = <0x10>;
status = "ok";
};
&dsi0 {
status = "disabled";
mipi_panel: mipi-panel {
compatible ="asus,tc358762";
reg = <0>;
status = "okay";
};
};
&gpu {
mali-supply = <&vdd_gpu>;
status = "okay";
};
&hdmi {
#address-cells = <1>;
#size-cells = <0>;
#sound-dai-cells = <0>;
status = "okay";
/* Don't use vopl for HDMI */
// ports {
// hdmi_in: port {
// /delete-node/ endpoint@1;
// };
// };
};
&lvds {
status = "okay";
ports {
lvds_out: port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
lvds_out_panel: endpoint@0 {
reg = <0>;
remote-endpoint = <&panel_in_lvds>;
};
};
};
};
&lvds_panel {
compatible ="simple-panel";
backlight = <&backlight>;
enable-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
enable-delay-ms = <10>;
rockchip,data-mapping = "vesa";
rockchip,output = "lvds";
rockchip,data-width = <24>;
pinctrl-0 = <&lcd_cs>;
power-supply = <&vcc_lcd>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <51200000>;
hactive = <1024>;
vactive = <600>;
hfront-porch = <160>;
hsync-len = <4>;
hback-porch = <156>;
vfront-porch = <12>;
vsync-len = <3>;
vback-porch = <20>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
&display_subsystem {
status = "okay";
// memory-region = <&drm_logo>;
route {
// route_edp: route-edp {
// status = "disabled";
// logo,uboot = "logo.bmp";
// logo,kernel = "logo_kernel.bmp";
// logo,mode = "center";
// charge_logo,mode = "center";
// connect = <&vopb_out_edp>;
// };
// route_dsi0: route-dsi0 {
// status = "disabled";
// logo,uboot = "logo.bmp";
// logo,kernel = "logo_kernel.bmp";
// logo,mode = "center";
// charge_logo,mode = "center";
// connect = <&vopb_out_dsi0>;
// };
route_lvds: route-lvds {
status = "okay";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vopl_out_lvds>;
};
route_hdmi: route-hdmi {
status = "okay";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
logo,mode = "center";
charge_logo,mode = "center";
connect = <&vopb_out_hdmi>;
};
};
};
&route_lvds {
status = "okay";
};
&route_hdmi {
status = "okay";
};
&hevc_service {
status = "okay";
};
&i2c0 {
status = "okay";
clock-frequency = <400000>;
rk808: pmic@1b {
compatible = "rockchip,rk808";
reg = <0x1b>;
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pmic_int &global_pwroff>;
rockchip,system-power-controller;
wakeup-source;
#clock-cells = <1>;
clock-output-names = "rk808-clkout1", "rk808-clkout2";
gpios =<&gpio0 RK_PA1 GPIO_ACTIVE_LOW>,<&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>,<&gpio0 RK_PB3 GPIO_ACTIVE_LOW>;
vcc1-supply = <&vcc_sys>;
vcc2-supply = <&vcc_sys>;
vcc3-supply = <&vcc_sys>;
vcc4-supply = <&vcc_sys>;
vcc6-supply = <&vcc_sys>;
vcc8-supply = <&vcc_io>;
vcc9-supply = <&vcc_io>;
vcc12-supply = <&vcc_io>;
vddio-supply = <&vcc_io>;
rtc {
status = "disable";
};
regulators {
vdd_cpu: DCDC_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1400000>;
regulator-name = "vdd_arm";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vdd_gpu: DCDC_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1250000>;
regulator-name = "vdd_gpu";
regulator-ramp-delay = <6000>;
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_ddr: DCDC_REG3 {
regulator-always-on;
regulator-boot-on;
regulator-name = "vcc_ddr";
regulator-state-mem {
regulator-on-in-suspend;
};
};
vcc_io: DCDC_REG4 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc_io";
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
};
vcc_tp: LDO_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc_tp";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcca_codec: LDO_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcca_codec";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vdd_10: LDO_REG3 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-name = "vdd_10";
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1000000>;
};
};
vcc_wl: LDO_REG4 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;// dorian modify
// regulator-max-microvolt = <1800000>;
regulator-name = "vcc_wl";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vccio_sd: LDO_REG5 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vccio_sd";
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <3300000>;
};
};
vdd10_lcd: LDO_REG6 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-name = "vdd10_lcd";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_18: LDO_REG7 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcc_18";
regulator-state-mem {
regulator-on-in-suspend;
regulator-suspend-microvolt = <1800000>;
};
};
vcc18_lcd: LDO_REG8 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcc18_lcd";
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc_sd: SWITCH_REG1 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc_sd";
regulator-state-mem {
regulator-on-in-suspend;
};
};
vcc_lcd: SWITCH_REG2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc_lcd";
regulator-state-mem {
regulator-off-in-suspend;
};
};
};
};
rtc: rtc@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
status = "okay";
};
};
&i2c1 {
status = "okay";
gt911@5d {
compatible = "goodix,gt911";
reg = <0x5d>;
pinctrl-names = "default";
pinctrl-0 = <&goodix_pins>;
interrupt-parent = <&gpio7>;
interrupts = <RK_PB6 2>;
irq-gpios = <&gpio7 RK_PB6 IRQ_TYPE_LEVEL_LOW>; /* GPIO7_B6_TP_INT */
reset-gpios = <&gpio7 RK_PB5 GPIO_ACTIVE_LOW>; /* GPIO7_B5_TP_RST */
//tp-size = <911>;
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
status = "okay";
};
gt911@14 {
compatible = "goodix,gt911";
reg = <0x14>;
pinctrl-names = "default";
pinctrl-0 = <&goodix_pins>;
interrupt-parent = <&gpio7>;
interrupts = <RK_PB6 2>;
irq-gpios = <&gpio7 RK_PB6 IRQ_TYPE_LEVEL_LOW>; /* GPIO7_B6_TP_INT */
reset-gpios = <&gpio7 RK_PB5 GPIO_ACTIVE_LOW>; /* GPIO7_B5_TP_RST */
//tp-size = <911>;
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
status = "okay";
};
};
&i2c2 {
status = "okay";
// m24c08@50 {
// compatible = "at,24c08";
// reg = <0x50>;
// };
es8316: es8316@11 {
status = "okay";
#sound-dai-cells = <0>;
compatible = "everest,es8316";
reg = <0x11>;
clocks = <&cru SCLK_I2S0_OUT>;
clock-names = "mclk";
spk-con-gpio = <&gpio7 RK_PA5 GPIO_ACTIVE_HIGH>;
hp-det-gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&i2s0_mclk>;
};
};
&i2c3 {
status = "okay";
};
&i2c4 {
status = "okay";
};
&rga {
status = "okay";
};
&isp {
status = "okay";
port {
isp_mipi_in: endpoint {
remote-endpoint = <&dphy_rx0_out>;
};
};
};
&isp_mmu {
status = "okay";
};
&mipi_phy_rx0 {
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
// port@0 {
// reg = <0>;
// imx219_in: endpoint {
// remote-endpoint = <&imx219_out>;
// data-lanes = <1 2>;
// };
// };
port@1 {
reg = <1>;
dphy_rx0_out: endpoint {
remote-endpoint = <&isp_mipi_in>;
};
};
};
};
&spi2 {
status = "disable";
max-freq = <50000000>;
};
&i2s {
#sound-dai-cells = <0>;
status = "okay";
};
&io_domains {
status = "okay";
audio-supply = <&vcc_io>;
bb-supply = <&vcc_io>;
dvp-supply = <&vcc_io>;
flash0-supply = <&vcc_18>;
flash1-supply = <&vcc_io>;
gpio30-supply = <&vcc_io>;
gpio1830 = <&vcc_io>;
lcdc-supply = <&vcc_lcd>;
sdcard-supply = <&vccio_sd>;
wifi-supply = <&vcc_18>;
};
&sdio0 {
status = "okay";
// clock-frequency = <50000000>;
// clock-freq-min-max = <200000 50000000>;
max-frequency = <150000000>;
bus-width = <4>;
cap-sd-highspeed;
cap-sdio-irq;
disable-wp;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
num-slots = <1>;
pinctrl-names = "default";
// pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk &sdio0_int>;
sd-uhs-sdr104;
supports-sdio;
};
&pwm0 {
status = "okay";
};
&saradc {
vref-supply = <&vccadc_ref>;
status ="okay";
};
&emmc {
bus-width = <8>;
cap-mmc-highspeed;
disable-wp;
non-removable;
num-slots = <1>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
max-frequency = <100000000>;
mmc-hs200-1_8v;
mmc-ddr-1_8v;
status = "okay";
};
&sdmmc {
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
card-detect-delay = <200>;
disable-wp; /* wp not hooked up */
num-slots = <1>;
pinctrl-names = "default";
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
status = "okay";
supports-sd;
vmmc-supply = <&vcc_sd>;
vqmmc-supply = <&vccio_sd>;
};
&tsadc {
// rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
// rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
// pinctrl-1 = <&otp_out>;
// status = "okay";
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
status = "okay";
};
&uart0 {
// pinctrl-names = "default";
// pinctrl-0 = <&uart0_xfer>, <&uart0_cts>;
// status = "disable";
status = "okay";
};
&uart1 {
status = "okay";
};
&uart2 {
status = "disabled";
};
&uart3 {
status = "okay";
};
&uart4 {
compatible = "rockchip,serial";
pinctrl-names = "default";
pinctrl-0 = <&uart4_xfer>;
status = "okay";
};
&usbphy {
status = "okay";
};
&usb_host0_ehci {
no-relinquish-port;
status = "okay";
// status = "disable";
};
&usb_host0_ohci {
status = "disable";
// status = "okay";
};
&usb_host1 {
status = "okay";
};
&usb_otg {
dr_mode = "host";
status= "okay";
};
&vopb {
status = "okay";
};
&vopb_mmu {
status = "okay";
};
&vopl {
status = "okay";
/* Don't use vopl for HDMI */
// vopl_out: port {
// /delete-node/ endpoint@0;
// };
};
&vopl_mmu {
status = "okay";
};
&vpu {
status = "okay";
};
&vpu_service {
status = "okay";
};
&hevc_service {
status = "okay";
};
&wdt {
status = "okay";
// status = "disable";
};
&pinctrl {
pinctrl-names = "default";
// pinctrl-0 = <&bl_en &enable_5v &enable_usb1 &enable_usb2 &enable_uart_1_3 &arm_work>;
pinctrl-0 = <&bl_en &enable_5v &enable_usb1 &enable_usb2 &enable_uart_1_3 &arm_work &arm_work &amr_good>;
pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
drive-strength = <8>;
};
pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
bias-pull-up;
drive-strength = <8>;
};
pcfg_output_high: pcfg-output-high {
output-high;
};
pcfg_output_low: pcfg-output-low {
output-low;
};
backlight {
bl_en: bl-en {
rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
power_enable {
enable_5v: enable-5v{
rockchip,pins = <0 11 RK_FUNC_GPIO &pcfg_pull_up>;
};
enable_usb1: enable-usb1{
rockchip,pins = <7 6 RK_FUNC_GPIO &pcfg_pull_up>;
};
enable_usb2: enable-usb2{
rockchip,pins = <7 10 RK_FUNC_GPIO &pcfg_pull_up>;
};
enable_uart_1_3: enable-uart-1-3{
rockchip,pins = <8 7 RK_FUNC_GPIO &pcfg_pull_up>;
};
arm_work: arm-work{
rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_up>;
};
amr_good: amr-good{
rockchip,pins = <7 21 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
buttons {
pwrbtn: pwrbtn {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
eth_phy {
eth_phy_pwr: eth-phy-pwr {
rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
pmic {
pmic_int: pmic-int {
rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;
};
// dvs_1: dvs-1 {
// rockchip,pins = <RK_GPIO0 11 RK_FUNC_GPIO &pcfg_pull_down>;
// };
// dvs_2: dvs-2 {
// rockchip,pins = <RK_GPIO0 12 RK_FUNC_GPIO &pcfg_pull_down>;
// };
};
sdio-pwrseq {
wifi_enable_h: wifi-enable-h {
rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_none>;
};
// chip_enable_h: chip-enable-h {
// rockchip,pins = <4 27 RK_FUNC_GPIO &pcfg_pull_none>;
// };
};
sdmmc {
/*
* Default drive strength isn't enough to achieve even
* high-speed mode on EVB board so bump up to 8ma.
*/
sdmmc_bus4: sdmmc-bus4 {
rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
<6 17 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
<6 18 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
<6 19 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
};
sdmmc_clk: sdmmc-clk {
rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_drv_8ma>;
};
sdmmc_cmd: sdmmc-cmd {
rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
};
sdmmc_pwr: sdmmc-pwr {
rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
usb {
host_vbus_drv: host-vbus-drv {
rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
};
// pwr_3g: pwr-3g {
// rockchip,pins = <7 8 RK_FUNC_GPIO &pcfg_pull_none>;
// };
};
usb_otg {
otg_vbus_drv: otg-vbus-drv {
rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
wireless-bluetooth {
uart0_gpios: uart0-gpios {
rockchip,pins = <4 19 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
sound {
hpmic_det: hpmic-det {
rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_down>;
};
};
// cam_pins {
// cam_pwr: cam-pwr {
// rockchip,pins = <2 0 RK_FUNC_GPIO &pcfg_pull_none>;
// };
// };
};
that log is very clear, the uart2 is enabled in dtb. so guessing wrong dtb been used...
drivers/./soc/rockchip/rk_fiq_debugger.c
if (of_device_is_available(np)) { <-- check for serial2, aka, uart2
pr_err("uart%d is enabled, please disable it\n", serial_id);
return -EINVAL;
}
Yes, that's what happened when uart2 was turned off, I guess the system still won't boot. staying here:
U-Boot 2017.09 (Jan 10 2022 - 01:38:43 +0000)
Model: Evb-RK3288
PreSerial: 2, raw, 0xff690000
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 00000000
Relocation fdt: 7bdd0948 - 7bdd1ddd
CR: M/C/I
Using default environment
DM: v1
dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
No misc partition
boot mode: normal
Found DTB in boot part
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 400000Hz
PMIC: RK808
vdd_arm 1100000 uV
vdd_gpu 1100000 uV
Can't get crtc id, default set to id = 0
Can't get crtc id, default set to id = 0
Could not find baseparameter partition
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
lvds: detailed mode clock 51200 kHz, flags[a]
H: 1024 1184 1188 1344
V: 0600 0612 0615 0635
bus_format: 100e
failed to set phy mode: -19
hdmi@ff980000 disconnected
CLK: (uboot. arm: enter 1000000 KHz, init 1000000 KHz, kernel 0N/A)
apll 1000000 KHz
dpll 396000 KHz
cpll 24000 KHz
gpll 594000 KHz
npll 24000 KHz
aclk_bus 198000 KHz
No misc partition
Net: Net Initialization Skipped
No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
Booting ZIMAGE kernel at 0x02008000(Uncompress to 0) with fdt at 0x08300000...
Fdt Ramdisk skip relocation
No misc partition
## Booting Android Image at 0x02007800 ...
Kernel: 0x02008000 - 0x026b4ff8 (6836 KiB)
## Flattened Device Tree blob at 0x08300000
Booting using the fdt blob at 0x08300000
XIP Kernel Image from 0x02008000 to 0x02008000 ... OK
kernel loaded at 0x02008000, end = 0x026b4ff8
'reserved-memory' dma-unusable@fe000000: addr=fe000000 size=1000000
Using Device Tree in place at 08300000, end 08316409
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00000000 - 0x08400000 (size: 0x08400000)
Adding bank: 0x09310000 - 0x80000000 (size: 0x76cf0000)
Total: 515.66 ms
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x500
[ 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-rockchip-standard (oe-user@oe-host) (gcc version 9.3.0 (GCC) ) #1 SMP Fri Jan 7 03:48:33 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: rockchip,rk3288w
[ 0.000000] debug: skip boot console de-registration.
[ 0.000000] earlycon: Early serial console at MMIO32 0xff690000 (options '')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv65535.65535 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] PERCPU: Embedded 14 pages/cpu @eef79000 s24728 r8192 d24424 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 518896
[ 0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal androidboot.verifiedbootstate=orange androidboot.serialno=c3d9b8674f4b94f6 keep_bootcon rw rootwait earlycon=uart8250,mmio32,0xff690000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4
[ 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: 2030968K/2081728K available (10240K kernel code, 783K rwdata, 3116K rodata, 1024K init, 518K bss, 34376K 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 - 0xc10c3dcc ( 784 kB)
[ 0.000000] .bss : 0xc10c5000 - 0xc1146b60 ( 519 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.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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008802] Switching to timer-based delay loop, resolution 41ns
[ 0.019175] Console: colour dummy device 80x30
[ 0.024084] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.035491] pid_max: default: 32768 minimum: 301
[ 0.040680] Security Framework initialized
[ 0.045208] Yama: becoming mindful.
[ 0.049144] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.056447] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.065264] Initializing cgroup subsys devices
[ 0.070203] Initializing cgroup subsys freezer
[ 0.075131] CPU: Testing write buffer coherency: ok
[ 0.080557] ftrace: allocating 39297 entries in 116 pages
[ 0.201614] CPU0: update cpu_capacity 430
[ 0.206024] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[ 0.212413] Setting up static identity map for 0x100000 - 0x100058
[ 0.222509] CPU1: update cpu_capacity 430
[ 0.222520] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[ 0.223764] CPU2: update cpu_capacity 430
[ 0.223774] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[ 0.225026] CPU3: update cpu_capacity 430
[ 0.225036] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
[ 0.225215] Brought up 4 CPUs
[ 0.260334] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.267228] CPU: All CPU(s) started in SVC mode.
[ 0.274343] devtmpfs: initialized
[ 0.307106] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[ 0.316105] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.326965] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.335256] pinctrl core: initialized pinctrl subsystem
[ 0.342570] NET: Registered protocol family 16
[ 0.349713] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.387430] cpuidle: using governor ladder
[ 0.417476] cpuidle: using governor menu
[ 0.421825] Registered FIQ tty driver
[ 0.481303] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.490135] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.497623] fiq debugger fiq mode enabled
[ 0.502380] console [ttyFIQ0] enabled
[ 0.502380] console [ttyFIQ0] enabled
[ 0.510423] Registered fiq debugger ttyFIQ0
[ 0.510423] Registered fiq debugger ttyFIQ0
[ 0.565240] iommu: Adding device ff910000.isp to group 0
[ 0.565240] iommu: Adding device ff910000.isp to group 0
[ 0.576591] iommu: Adding device ff930000.vop to group 1
[ 0.576591] iommu: Adding device ff930000.vop to group 1
[ 0.587931] iommu: Adding device ff940000.vop to group 2
[ 0.587931] iommu: Adding device ff940000.vop to group 2
[ 0.599262] iommu: Adding device ff9a0000.video-codec to group 3
[ 0.599262] iommu: Adding device ff9a0000.video-codec to group 3
[ 0.612065] iommu: Adding device ff9a0000.vpu-service to group 4
[ 0.612065] iommu: Adding device ff9a0000.vpu-service to group 4
[ 0.624860] iommu: Adding device ff9c0000.hevc-service to group 5
[ 0.624860] iommu: Adding device ff9c0000.hevc-service to group 5
[ 0.638539] rk_iommu ff914000.iommu: can't get sclk
[ 0.638539] rk_iommu ff914000.iommu: can't get sclk
[ 0.649486] rk_iommu ff930300.iommu: can't get sclk
[ 0.649486] rk_iommu ff930300.iommu: can't get sclk
[ 0.660257] rk_iommu ff940300.iommu: can't get sclk
[ 0.660257] rk_iommu ff940300.iommu: can't get sclk
[ 0.670991] rk_iommu ff9a0800.iommu: can't get sclk
[ 0.670991] rk_iommu ff9a0800.iommu: can't get sclk
[ 0.681840] rk_iommu ff9c0440.iommu: can't get sclk
[ 0.681840] rk_iommu ff9c0440.iommu: can't get sclk
[ 0.693030] SCSI subsystem initialized
[ 0.693030] SCSI subsystem initialized
[ 0.701276] usbcore: registered new interface driver usbfs
[ 0.701276] usbcore: registered new interface driver usbfs
[ 0.712929] usbcore: registered new interface driver hub
[ 0.712929] usbcore: registered new interface driver hub
[ 0.724256] usbcore: registered new device driver usb
[ 0.724256] usbcore: registered new device driver usb
[ 0.735080] media: Linux media interface: v0.10
[ 0.735080] media: Linux media interface: v0.10
[ 0.744640] Linux video capture interface: v2.00
[ 0.744640] Linux video capture interface: v2.00
[ 0.754509] pps_core: LinuxPPS API ver. 1 registered
[ 0.754509] pps_core: LinuxPPS API ver. 1 registered
[ 0.764944] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.764944] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.784146] PTP clock support registered
[ 0.784146] PTP clock support registered
[ 0.794815] Advanced Linux Sound Architecture Driver Initialized.
[ 0.794815] Advanced Linux Sound Architecture Driver Initialized.
[ 0.808662] Bluetooth: Core ver 2.21
[ 0.808662] Bluetooth: Core ver 2.21
[ 0.816213] NET: Registered protocol family 31
[ 0.816213] NET: Registered protocol family 31
[ 0.825564] Bluetooth: HCI device and connection manager initialized
[ 0.825564] Bluetooth: HCI device and connection manager initialized
[ 0.838921] Bluetooth: HCI socket layer initialized
[ 0.838921] Bluetooth: HCI socket layer initialized
[ 0.849176] Bluetooth: L2CAP socket layer initialized
[ 0.849176] Bluetooth: L2CAP socket layer initialized
[ 0.859866] Bluetooth: SCO socket layer initialized
[ 0.859866] Bluetooth: SCO socket layer initialized
[ 0.872373] clocksource: Switched to clocksource arch_sys_counter
[ 0.872373] clocksource: Switched to clocksource arch_sys_counter
[ 0.971777] NET: Registered protocol family 2
[ 0.971777] NET: Registered protocol family 2
[ 0.981832] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.981832] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.996751] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[ 0.996751] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[ 1.010846] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.010846] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.024288] UDP hash table entries: 512 (order: 2, 24576 bytes)
[ 1.024288] UDP hash table entries: 512 (order: 2, 24576 bytes)
[ 1.036787] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[ 1.036787] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[ 1.050482] NET: Registered protocol family 1
[ 1.050482] NET: Registered protocol family 1
[ 1.060181] RPC: Registered named UNIX socket transport module.
[ 1.060181] RPC: Registered named UNIX socket transport module.
[ 1.072649] RPC: Registered udp transport module.
[ 1.072649] RPC: Registered udp transport module.
[ 1.082540] RPC: Registered tcp transport module.
[ 1.082540] RPC: Registered tcp transport module.
[ 1.092424] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.092424] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.107472] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[ 1.107472] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[ 1.127946] Initialise system trusted keyring
[ 1.127946] Initialise system trusted keyring
[ 1.152185] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.152185] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.167722] NFS: Registering the id_resolver key type
[ 1.167722] NFS: Registering the id_resolver key type
[ 1.178400] Key type id_resolver registered
[ 1.178400] Key type id_resolver registered
[ 1.187207] Key type id_legacy registered
[ 1.187207] Key type id_legacy registered
[ 1.195679] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 1.195679] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 1.210095] fuse init (API version 7.23)
[ 1.210095] fuse init (API version 7.23)
[ 1.227816] NET: Registered protocol family 38
[ 1.227816] NET: Registered protocol family 38
[ 1.237278] Key type asymmetric registered
[ 1.237278] Key type asymmetric registered
[ 1.245964] Asymmetric key parser 'x509' registered
[ 1.245964] Asymmetric key parser 'x509' registered
[ 1.256402] bounce: pool size: 64 pages
[ 1.256402] bounce: pool size: 64 pages
[ 1.264832] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.264832] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.280452] io scheduler noop registered
[ 1.280452] io scheduler noop registered
[ 1.288774] io scheduler deadline registered
[ 1.288774] io scheduler deadline registered
[ 1.297827] io scheduler cfq registered (default)
[ 1.297827] io scheduler cfq registered (default)
[ 1.314882] backlight supply power not found, using dummy regulator
[ 1.314882] backlight supply power not found, using dummy regulator
[ 1.329137] rk-vcodec ff9a0000.vpu-service: no regulator for vcodec
[ 1.329137] rk-vcodec ff9a0000.vpu-service: no regulator for vcodec
[ 1.342810] rk-vcodec ff9a0000.vpu-service: probe device
[ 1.342810] rk-vcodec ff9a0000.vpu-service: probe device
[ 1.354420] rk-vcodec ff9a0000.vpu-service: drm allocator with mmu enabled
[ 1.354420] rk-vcodec ff9a0000.vpu-service: drm allocator with mmu enabled
[ 1.370134] rk-vcodec ff9a0000.vpu-service: could not find power_model node
[ 1.370134] rk-vcodec ff9a0000.vpu-service: could not find power_model node
[ 1.384791] rk-vcodec ff9a0000.vpu-service: init success
[ 1.384791] rk-vcodec ff9a0000.vpu-service: init success
[ 1.396618] rk-vcodec ff9c0000.hevc-service: no regulator for vcodec
[ 1.396618] rk-vcodec ff9c0000.hevc-service: no regulator for vcodec
[ 1.410550] rk-vcodec ff9c0000.hevc-service: probe device
[ 1.410550] rk-vcodec ff9c0000.hevc-service: probe device
[ 1.422409] rk-vcodec ff9c0000.hevc-service: drm allocator with mmu enabled
[ 1.422409] rk-vcodec ff9c0000.hevc-service: drm allocator with mmu enabled
[ 1.437930] rk-vcodec ff9c0000.hevc-service: could not find power_model node
[ 1.437930] rk-vcodec ff9c0000.hevc-service: could not find power_model node
[ 1.452766] rk-vcodec ff9c0000.hevc-service: init success
[ 1.452766] rk-vcodec ff9c0000.hevc-service: init success
[ 1.467841] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.467841] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.483784] dma-pl330 ff250000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.483784] dma-pl330 ff250000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.504761] dma-pl330 ff600000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.504761] dma-pl330 ff600000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.520689] dma-pl330 ff600000.dma-controller: DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[ 1.520689] dma-pl330 ff600000.dma-controller: DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[ 1.541783] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 1.541783] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 1.558624] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.558624] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.572992] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[ 1.572992] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[ 1.592696] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 38, base_baud = 1500000) is a 16550A
[ 1.592696] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 38, base_baud = 1500000) is a 16550A
[ 1.612470] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 39, base_baud = 1500000) is a 16550A
[ 1.612470] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 39, base_baud = 1500000) is a 16550A
[ 1.633491] [drm] Initialized drm 1.1.0 20060810
[ 1.633491] [drm] Initialized drm 1.1.0 20060810
[ 1.646669] rockchip-lvds ff770000.syscon:lvds: failed to get phy: -517
[ 1.646669] rockchip-lvds ff770000.syscon:lvds: failed to get phy: -517
[ 1.664076] [drm] Rockchip DRM driver version: v1.0.1
[ 1.664076] [drm] Rockchip DRM driver version: v1.0.1
[ 1.676194] usbcore: registered new interface driver udl
[ 1.676194] usbcore: registered new interface driver udl
[ 1.687759] panel-simple lvds-panel: failed to get power regulator: -517
[ 1.687759] panel-simple lvds-panel: failed to get power regulator: -517
[ 1.705754] mali ffa30000.gpu: Failed to get regulator
[ 1.705754] mali ffa30000.gpu: Failed to get regulator
[ 1.716577] mali ffa30000.gpu: Power control initialization failed
[ 1.716577] mali ffa30000.gpu: Power control initialization failed
[ 1.731582] brd: module loaded
[ 1.731582] brd: module loaded
[ 1.748995] loop: module loaded
[ 1.748995] loop: module loaded
[ 1.756849] zram: Added device: zram0
[ 1.756849] zram: Added device: zram0
[ 1.764634] lkdtm: No crash points registered, enable through debugfs
[ 1.764634] lkdtm: No crash points registered, enable through debugfs
[ 1.779734] tun: Universal TUN/TAP device driver, 1.6
[ 1.779734] tun: Universal TUN/TAP device driver, 1.6
[ 1.790369] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.790369] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.805550] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing
[ 1.805550] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing
[ 1.825662] PPP generic driver version 2.4.2
[ 1.825662] PPP generic driver version 2.4.2
[ 1.835000] PPP BSD Compression module registered
[ 1.835000] PPP BSD Compression module registered
[ 1.844921] PPP Deflate Compression module registered
[ 1.844921] PPP Deflate Compression module registered
[ 1.855565] PPP MPPE Compression module registered
[ 1.855565] PPP MPPE Compression module registered
[ 1.865652] NET: Registered protocol family 24
[ 1.865652] NET: Registered protocol family 24
[ 1.875172] usbcore: registered new interface driver rndis_wlan
[ 1.875172] usbcore: registered new interface driver rndis_wlan
[ 1.888107] usbcore: registered new interface driver rt2800usb
[ 1.888107] usbcore: registered new interface driver rt2800usb
[ 1.900398] Rockchip WiFi SYS interface (V1.00) ...
[ 1.900398] Rockchip WiFi SYS interface (V1.00) ...
[ 1.910904] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[ 1.910904] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[ 1.926553] usbcore: registered new interface driver pegasus
[ 1.926553] usbcore: registered new interface driver pegasus
[ 1.938552] usbcore: registered new interface driver rtl8150
[ 1.938552] usbcore: registered new interface driver rtl8150
[ 1.950549] usbcore: registered new interface driver r8152
[ 1.950549] usbcore: registered new interface driver r8152
[ 1.962194] usbcore: registered new interface driver asix
[ 1.962194] usbcore: registered new interface driver asix
[ 1.973648] usbcore: registered new interface driver ax88179_178a
[ 1.973648] usbcore: registered new interface driver ax88179_178a
[ 1.986572] usbcore: registered new interface driver cdc_ether
[ 1.986572] usbcore: registered new interface driver cdc_ether
[ 1.998937] usbcore: registered new interface driver dm9601
[ 1.998937] usbcore: registered new interface driver dm9601
[ 2.010787] usbcore: registered new interface driver smsc75xx
[ 2.010787] usbcore: registered new interface driver smsc75xx
[ 2.022985] usbcore: registered new interface driver smsc95xx
[ 2.022985] usbcore: registered new interface driver smsc95xx
[ 2.035163] usbcore: registered new interface driver net1080
[ 2.035163] usbcore: registered new interface driver net1080
[ 2.047163] usbcore: registered new interface driver rndis_host
[ 2.047163] usbcore: registered new interface driver rndis_host
[ 2.059707] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 2.059707] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 2.075390] usbcore: registered new interface driver cdc_ncm
[ 2.075390] usbcore: registered new interface driver cdc_ncm
[ 2.087401] usbcore: registered new interface driver qmi_wwan
[ 2.087401] usbcore: registered new interface driver qmi_wwan
[ 2.099582] usbcore: registered new interface driver cdc_mbim
[ 2.099582] usbcore: registered new interface driver cdc_mbim
[ 2.112093] ff540000.usb supply vusb_d not found, using dummy regulator
[ 2.112093] ff540000.usb supply vusb_d not found, using dummy regulator
[ 2.126102] ff540000.usb supply vusb_a not found, using dummy regulator
[ 2.126102] ff540000.usb supply vusb_a not found, using dummy regulator
[ 2.253022] dwc2 ff540000.usb: DWC OTG Controller
[ 2.253022] dwc2 ff540000.usb: DWC found, idVendor=1d6b, idProduct=0002
[ 2.447106] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.461389] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.461389] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.476583] usb usb2: Product: DWC OTG Controller
[ 2.476583] usb usb2: Product: DWC OTG Controller
[ 2.486483] usb usb2: Manufacturer: Linux 4.4.194-rockchip-standard dwc2_hsotg
[ 2.486483] usb usb2: Manufacturer: Linux 4.4.194-rockchip-standard dwc2_hsotg
[ 2.501662] usb usb2: SerialNumber: ff580000.usb
[ 2.501662] usb usb2: SerialNumber: ff580000.usb
[ 2.512579] hub 2-0:1.0: USB hub found
[ 2.512579] hub 2-0:1.0: USB hub found
[ 2.520507] hub 2-0:1.0: 1 port detected
[ 2.520507] hub 2-0:1.0: 1 port detected
[ 2.531089] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.531089] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.544900] ehci-platform: EHCI generic platform driver
[ 2.544900] ehci-platform: EHCI generic platform driver
[ 2.556366] ehci-platform ff500000.usb: EHCI Host Controller
[ 2.556366] ehci-platform ff500000.usb: EHCI Host Controller
[ 2.568688] ehci-platform ff500000.usb: new USB bus registered, assigned bus number 3
[ 2.568688] ehci-platform ff500000.usb: new USB bus registered, assigned bus number 3
[ 2.585404] ehci-platform ff500000.usb: irq 44, io mem 0xff500000
[ 2.585404] ehci-platform ff500000.usb: irq 44, io mem 0xff500000
[ 2.612441] ehci-platform ff500000.usb: USB 2.0 started, EHCI 1.00
[ 2.612441] ehci-platform ff500000.usb: USB 2.0 started, EHCI 1.00
[ 2.625967] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.625967] usb usb3: New USB devers
[ 2.761999] usbcore: registered new interface driver cdc_wdm
[ 2.761999] usbcore: registered new interface driver cdc_wdm
[ 2.774096] usbcore: registered new interface driver usb-storage
[ 2.774096] usbcore: registered new interface driver usb-storage
[ 2.786907] usbcore: registered new interface driver usbserial
[ 2.786907] usbcore: registered new interface driver usbserial
[ 2.799261] usbcore: registered new interface driver usbserial_generic
[ 2.799261] usbcore: registered new interface driver usbserial_generic
[ 2.813218] usbserial: USB Serial support registered for generic
[ 2.813218] usbserial: USB Serial support registered for generic
[ 2.825971] usbcore: registered new interface driver cp210x
[ 2.825971] usbcore: registered new interface driver cp210x
[ 2.837750] usbserial: USB Serial support registered for cp210x
[ 2.837750] usbserial: USB Serial support registered for cp210x
[ 2.850344] usbcore: registered new interface driver ftdi_sio
[ 2.850344] usbcore: registered new interface driver ftdi_sio
[ 2.862487] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.862487] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.878098] usbcore: registered new interface driver keyspan
[ 2.878098] usbcore: registered new interface driver keyspan
[ 2.890056] usbserial: USB Serial support registered for Keyspan - (without firmware)
[ 2.890056] usbserial: USB Serial support registered for Keyspan - (without firmware)
[ 2.906554] usbserial: USB Serial support registered for Keyspan 1 port adapter
[ 2.906554] usbserial: USB Serial support registered for Keyspan 1 port adapter
[ 2.922193] usbserial: USB Serial support registered for Keyspan 2 port adapter
[ 2.922193] usbserial: USB Serial support registered for Keyspan 2 port adapter
[ 2.937622] usbserial: USB Serial support registered for Keyspan 4 port adapter
[ 2.937622] usbserial: USB Serial support registered for Keyspan 4 port adapter
[ 2.953092] usbcore: registered new interface driver option
[ 2.953092] usbcore: registered new interface driver option
[ 2.964868] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.964868] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.980194] usbcore: registered new interface driver oti6858
[ 2.980194] usbcore: registered new interface driver oti6858
[ 2.992160] usbserial: USB Serial support registered for oti6858
[ 2.992160] usbserial: USB Serial support registered for oti6858
[ 3.004902] usbcore: registered new interface driver pl2303
[ 3.004902] usbcore: registered new interface driver pl2303
[ 3.016680] usbserial: USB Serial support registered for pl2303
[ 3.016680] usbserial: USB Serial support registered for pl2303
[ 3.029237] usbcore: registered new interface driver qcserial
[ 3.029237] usbcore: registered new interface driver qcserial
[ 3.041356] usb 3-1: new high-speed USB device number 2 using ehci-platform
[ 3.041356] usb 3-1: new high-speed USB device number 2 using ehci-platform
[ 3.056070] usbserial: USB Serial support registered for Qualcomm USB modem
[ 3.056070] usbserial: USB Serial support registered for Qualcomm USB modem
[ 3.070903] usbcore: registered new interface driver sierra
[ 3.070903] usbcore: registered new interface driver sierra
[ 3.082835] usbserial: USB Serial support registered for Sierra USB modem
[ 3.082835] usbserial: USB Serial support registered for Sierra USB modem
[ 3.099070] usbcore: registered new interface driver iforce
[ 3.099070] usbcore: registered new interface driver iforce
[ 3.110948] usbcore: registered new interface driver xpad
[ 3.110948] usbcore: registered new interface driver xpad
[ 3.122736] usbcore: registered new interface driver usbtouchscreen
[ 3.122736] sing dummy regulator
[ 3.408196] 1-005d supply VDDIO not found, using dummy regulator
[ 3.514244] Goodix-TS 1-005d: ID 911, version: 1060
[ 3.514244] Goodix-TS 1-005d: ID 911, version: 1060
[ 3.524665] Goodix-TS 1-005d: Direct firmware load for goodix_911_cfg.bin failed with error -2
[ 3.524665] Goodix-TS 1-005d: Direct firmware load for goodix_911_cfg.bin failed with error -2
[ 3.543166] rockchip-pinctrl pinctrl: unable to find group for node goodix_pins
[ 3.543166] rockchip-pinctrl pinctrl: unable to find group for node goodix_pins
[ 3.558782] 1-0014 supply AVDD28 not found, using dummy regulator
[ 3.558782] 1-0014 supply AVDD28 not found, using dummy regulator
[ 3.571740] 1-0014 supply VDDIO not found, using dummy regulator
[ 3.571740] 1-0014 supply VDDIO not found, using dummy regulator
[ 3.584789] input: Goodix Capacitive TouchScreen as /devices/platform/ff140000.i2c/i2c-1/1-005d/input/input0
[ 3.584789] input: Goodix Capacitive TouchScreen as /devices/platform/ff140000.i2c/i2c-1/1-005d/input/input0
[ 3.606080] Goodix-TS: probe of 1-0014 failed with error -16
[ 3.606080] Goodix-TS: probe of 1-0014 failed with error -16
[ 3.618061] rk3x-i2c ff140000.i2c: Initialized RK3xxx I2C bus at f08fe000
[ 3.618061] rk3x-i2c ff140000.i2c: Initialized RK3xxx I2C bus at f08fe000
[ 3.633333] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at f0912000
[ 3.633333] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at f0912000
[ 3.648627] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at f0914000
[ 3.648627] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at f0914000
[ 3.664243] rk3x-i2c ff660000.i2c: Initialized RK3xxx I2C bus at f0916000
[ 3.664243] rk3x-i2c ff660000.i2c: Initialized RK3xxx I2C bus at f0916000
[ 3.684039] rkisp1 ff910000.isp: rkisp1 driver version: v00.01.05
[ 3.684039] rkisp1 ff910000.isp: rkisp1 driver version: v00.01.05
[ 3.700343] probe device ff9a0000.video-codec
[ 3.700343] probe device ff9a0000.video-codec
[ 3.709619] rockchip-vpu ff9a0000.video-codec: can't request region for resource [mem 0xff9a0000-0xff9a07ff]
[ 3.709619] rockchip-vpu ff9a0000.video-codec: can't request region for resource [mem 0xff9a0000-0xff9a07ff]
[ 3.730266] rockchip-vpu ff9a0000.video-codec: rockchip_vpu_hw_probe failed
[ 3.730266] rockchip-vpu ff9a0000.video-codec: rockchip_vpu_hw_probe failed
[ 3.745006] rockchip-vpu: probe of ff9a0000.video-codec failed with error -16
[ 3.745006] rockchip-vpu: probe of ff9a0000.video-codec failed with error -16
[ 3.760338] usbcore: registered new interface driver uvcvideo
[ 3.760338] usbcore: registered new interface driver uvcvideo
[ 3.772422] USB Video Class driver (1.1.1)
[ 3.772422] USB Video Class driver (1.1.1)
[ 3.782474] rockchip-iodomain ff770000.syscon:io-domains: lcdc supplied by 3300000 uV
[ 3.782474] rockchip-iodomain ff770000.syscon:io-domains: lcdc supplied by 3300000 uV
[ 3.799039] rockchip-iodomain ff770000.syscon:io-domains: dvp supplied by 3300000 uV
[ 3.799039] rockchip-iodomain ff770000.syscon:io-domains: dvp supplied by 3300000 uV
[ 3.815457] rockchip-iodomain ff770000.syscon:io-domains: flash0 supplied by 1800000 uV
[ 3.815457] rockchip-iodomain ff770000.syscon:io-domains: flash0 supplied by 1800000 uV
[ 3.832456] rockchip-iodomain ff770000.syscon:io-domains: flash1 supplied by 3300000 uV
[ 3.832456] rockchip-iodomain ff770000.syscon:io-domains: flash1 supplied by 3300000 uV
[ 3.849418] rockchip-iodomain ff770000.syscon:io-domains: wifi supplied by 1800000 uV
[ 3.849418] rockchip-iodomain ff770000.syscon:io-domains: wifi supplied by 1800000 uV
[ 3.865989] rockchip-iodomain ff770000.syscon:io-domains: bb supplied by 3300000 uV
[ 3.865989] rockchip-iodomain ff770000.syscon:io-domains: bb supplied by 3300000 uV
[ 3.882191] rockchip-iodomain ff770000.syscon:io-domains: audio supplied by 3300000 uV
[ 3.882191] rockchip-iodomain ff770000.syscon:io-domains: audio supplied by 3300000 uV
[ 3.898962] rockchip-iodomain ff770000.syscon:io-domains: sdcard supplied by 3300000 uV
[ 3.898962] rockchip-iodomain ff770000.syscon:io-domains: sdcard supplied by 3300000 uV
[ 3.915951] rockchip-it=0 h_limit=0 h_table=0
[ 4.094750] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 4.111239] cpu cpu0: failed to read out thermal zone (-22)
[ 4.111239] cpu cpu0: failed to read out thermal zone (-22)
[ 4.123751] cpu cpu0: failed to find power_model node
[ 4.123751] cpu cpu0: failed to find power_model node
[ 4.134688] sdhci: Secure Digital Host Controller Interface driver
[ 4.134688] sdhci: Secure Digital Host Controller Interface driver
[ 4.147716] sdhci: Copyright(c) Pierre Ossman
[ 4.147716] sdhci: Copyright(c) Pierre Ossman
[ 4.156701] Synopsys Designware Multimedia Card Interface Driver
[ 4.156701] Synopsys Designware Multimedia Card Interface Driver
[ 4.169820] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[ 4.169820] dwmmc_rockchip ff0c0000.dwmmc: IDMAC supports 32-bit address mode.
[ 4.184631] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[ 4.184631] dwmmc_rockchip ff0c0000.dwmmc: Using internal DMA controller.
[ 4.198530] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[ 4.198530] dwmmc_rockchip ff0c0000.dwmmc: Version ID is 270a
[ 4.210305] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[ 4.210305] dwmmc_rockchip ff0c0000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[ 4.230084] dwmmc_rockchip ff0c0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[ 4.230084] dwmmc_rockchip ff0c0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[ 4.246985] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
[ 4.246985] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
[ 4.262235] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
[ 4.262235] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000 done
[ 4.289957] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 4.289957] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 4.321271] dwmmc_rockchip ff0c0000.dwmmc: f0000.dwmmc: Using internal DMA controller.
[ 4.464920] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a
[ 4.464920] dwmmc_rockchip ff0f0000.dwmmc: Version ID is 270a
[ 4.476663] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[ 4.476663] dwmmc_rockchip ff0f0000.dwmmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
[ 4.496411] dwmmc_rockchip ff0f0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[ 4.496411] dwmmc_rockchip ff0f0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[ 4.512776] dwmmc_rockchip ff0f0000.dwmmc: No vmmc regulator found
[ 4.512776] dwmmc_rockchip ff0f0000.dwmmc: No vmmc regulator found
[ 4.525328] dwmmc_rockchip ff0f0000.dwmmc: No vqmmc regulator found
[ 4.525328] dwmmc_rockchip ff0f0000.dwmmc: No vqmmc regulator found
[ 4.550725] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 4.550725] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 4.582028] dwmmc_rockchip ff0f0000.dwmmc: 1 slots initi
[ 4.618061] usbcore: registered new interface driver usbhid
[ 4.618061] usbcore: registered new interface driver usbhid
[ 4.629447] usbhid: USB HID core driver
[ 4.629447] usbhid: USB HID core driver
[ 4.637575] ashmem: initialized
[ 4.637575] ashmem: initialized
[ 4.645449] rknandbase v1.2 2018-05-08
[ 4.645449] rknandbase v1.2 2018-05-08
[ 4.653575] usbcore: registered new interface driver snd-usb-audio
[ 4.653575] usbcore: registered new interface driver snd-usb-audio
[ 4.668601] u32 classifier
[ 4.668601] u32 classifier
[ 4.674139] Netfilter messages via NETLINK v0.30.
[ 4.674139] Netfilter messages via NETLINK v0.30.
[ 4.683725] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 4.683725] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 4.696271] ctnetlink v0.93: registering with nfnetlink.
[ 4.696271] ctnetlink v0.93: registering with nfnetlink.
[ 4.700838] mmc_host mmc1: Bus speed (slot 0) = 99000000Hz (slot req 100000000Hz, actual 99000000HZ div = 0)
[ 4.700838] mmc_host mmc1: Bus speed (slot 0) = 99000000Hz (slot req 100000000Hz, actual 99000000HZ div = 0)
[ 4.707018] dwmmc_rockchip ff0f0000.dwmmc: Successfully tuned phase to 135
[ 4.707018] dwmmc_rockchip ff0f0000.dwmmc: Successfully tuned phase to 135
[ 4.707082] mmc1: new HS200 MMC card at address 0001
[ 4.707082] mmc1: new HS200 MMC card at address 0001
[ 4.707419] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[ 4.707419] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[ 4.707565] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[ 4.707565] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[ 4.707700] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[ 4.707700] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[ 4.707825] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
[ 4.707825] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
[ 4.709928] mmcblk1: p1 p2 p3 p4
[ 4.709928] mmcblk1: p1 p2 p3 p4
[ 4.802412] ip_set: protocol 6
[ 4.802412] ip_set: protocol 6
[ 4.808574] IPVS: Registered protocols ()
[ 4.808574] IPVS: Registered protocols ()
[ 4.816718] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 4.816718] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 4.831599] IPVS: Creating netns size=1104 id=0
[ 4.831599] IPVS: Creating netns size=1104 id=0
[ 4.840824] IPVS: ipvs loaded.
[ 4.840824] IPVS: ipvs loaded.
[ 4.847244] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 4.847244] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 4.858103] Initializing XFRM netlink socket
[ 4.858103] Initializing XFRM netlink socket
[ 4.867224] NET: Registered protocol family 10
[ 4.867224] NET: Registered protocol family 10
[ 4.876731] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 4.876731] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 4.887782] sit: IPv6 over IPv4 tunneling driver
[ 4.887782] sit: IPv6 over IPv4 tunneling driver
[ 4.897523] NET: Registered protocol family 17
[ 4.897523] NET: Registered protocol family 17
[ 4.906585] NET: Registered protocol family 15
[ 4.906585] NET: Registered protocol family 15
[ 4.915644] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 4.915644] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 4.941246] Bridge firewalling registered
[ 4.941246] Bridge firewalling registered
[ 4.949428] Bluetooth: RFCOMM socket layer initialized
[ 4.949428] Bluetooth: RFCOMM socket layer initialized
[ 4.959845] Bluetooth: RFCOMM ver 1.11
[ 4.959845] Bluetooth: RFCOMM ver 1.11
[ 4.967413] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 4.967413] Bluetoot00.gpu: avs=0
[ 5.346464] mali ffa30000.gpu: avs=0
[ 5.353751] W : [File] : /media/tunahan/f1cceee6-ac24-4956-9e80-7ce648ac31e4/yoctoproject/build/tmp/work-shared/mepsan-pcr172/kernel-source/drivers/gpu/arm/midgard/platform/rk/mali_kbase_config_rk.c; [Line] : 114; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[ 5.353751] W : [File] : /media/tunahan/f1cceee6-ac24-4956-9e80-7ce648ac31e4/yoctoproject/build/tmp/work-shared/mepsan-pcr172/kernel-source/drivers/gpu/arm/midgard/platform/rk/mali_kbase_config_rk.c; [Line] : 114; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[ 5.404561] mali ffa30000.gpu: GPU identified as 0x0750 r1p0 status 0
[ 5.404561] mali ffa30000.gpu: GPU identified as 0x0750 r1p0 status 0
[ 5.417731] mali ffa30000.gpu: Protected mode not available
[ 5.417731] mali ffa30000.gpu: Protected mode not available
[ 5.429207] mali ffa30000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 5.429207] mali ffa30000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 5.446679] mali ffa30000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
[ 5.446679] mali ffa30000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model
[ 5.446788] devfreq ffa30000.gpu: Couldn't update frequency transition information.
[ 5.446788] devfreq ffa30000.gpu: Couldn't update frequency transition information.
[ 5.484468] I : [File] : /media/tunahan/f1cceee6-ac24-4956-9e80-7ce648ac31e4/yoctoproject/build/tmp/work-shared/mepsan-pcr172/kernel-source/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c; [Line] : 423; [Func] : kbase_devfreq_init(); success initing power_model_simple.
[ 5.484468] I : [File] : /media/tunahan/f1cceee6-ac24-4956-9e80-7ce648ac31e4/yoctoproject/build/tmp/work-shared/mepsan-pcr172/kernel-source/drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c; [Line] : 423; [Func] : kbase_devfreq_init(); success initing power_model_simple.
[ 5.534564] mali ffa30000.gpu: Probed as mali0
[ 5.534564] mali ffa30000.gpu: Probed as mali0
[ 5.544141] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
[ 5.544141] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
[ 5.558460] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
[ 5.558460] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
[ 5.569929] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
[ 5.569929] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
[ 5.581415] rk_gmac-dwmac ff290000.ethernet: integrated PHY? (no).
[ 5.581415] rk_gmac-dwmac ff290000.ethernet: integrated PHY? (no).
[ 5.594047] rk_gmac-dwmac ff290000.ethernet: cannot get clock clk_mac_speed
[ 5.594047] rk_gmac-dwmac ff290000.ethernet: cannot get clock clk_mac_speed
[ 5.608194] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
[ 5.608194] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
[ 5.625569] rk_gmac-dwmac ff290000.ethernet: init for RGMII
[ 5.625569] rk_gmac-dwmac ff290000.ethernet: init for RGMII
[ 5.636887] stmmac - user ID: 0x10, Synopsys ID: 0x35
[ 5.636887] stmmac - user ID: 0x10, Synopsys ID: 0x35
[ 5.647063] Ring mode enabled
[ 5.647063] Ring mode enabled
[ 5.653224] DMA HW capability register supported[ 5.653224] DMA HW capability register supported
[ 5.662407] Normal descriptors
[ 5.662407] Normal descriptors
[ 5.669155] RX Checksum Offload Engine supported (type 2)
[ 5.669155] RX Checksum Offload Engine supported (type 2)
[ 5.680256] TX Checksum insertion supported
[ 5.680256] TX Checksum insertion supported
[ 5.688922] Wake-Up On Lan supported
[ 5.688922] Wake-Up On Lan supported
[ 5.696351] Enable RX Mitigation via HW Watchdog Timer
[ 5.696351] Enable RX Mitigation via H
[ 6.739414] libphy: stmmac: probed
[ 6.739414] libphy: stmmac: probed
[ 6.746327] eth%d: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[ 6.746327] eth%d: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[ 6.759349] eth%d: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[ 6.759349] eth%d: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[ 6.771840] input: adc-keys as /devices/platform/adc-keys/input/input1
[ 6.771840] input: adc-keys as /devices/platform/adc-keys/input/input1
[ 6.785555] clk: couldn't get clock 0 for /tsadc@ff280000
[ 6.785555] clk: couldn't get clock 0 for /tsadc@ff280000
[ 6.796965] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode.
[ 6.796965] dwmmc_rockchip ff0d0000.dwmmc: IDMAC supports 32-bit address mode.
[ 6.811619] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller.
[ 6.811619] dwmmc_rockchip ff0d0000.dwmmc: Using internal DMA controller.
[ 6.825418] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a
[ 6.825418] dwmmc_rockchip ff0d0000.dwmmc: Version ID is 270a
[ 6.837087] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
[ 6.837087] dwmmc_rockchip ff0d0000.dwmmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
[ 6.856761] dwmmc_rockchip ff0d0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[ 6.856761] dwmmc_rockchip ff0d0000.dwmmc: 'clock-freq-min-max' property was deprecated.
[ 6.873172] dwmmc_rockchip ff0d0000.dwmmc: No vmmc regulator found
[ 6.873172] dwmmc_rockchip ff0d0000.dwmmc: No vmmc regulator found
[ 6.885688] dwmmc_rockchip ff0d0000.dwmmc: No vqmmc regulator found
[ 6.885688] dwmmc_rockchip ff0d0000.dwmmc: No vqmmc regulator found
[ 6.898654] dwmmc_rockchip ff0d0000.dwmmc: allocated mmc-pwrseq
[ 6.898654] dwmmc_rockchip ff0d0000.dwmmc: allocated mmc-pwrseq
[ 6.923336] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 6.923336] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 6.954790] dwmmc_rockchip ff0d0000.dwmmc: 1 slots initialized
[ 6.954790] dwmmc_rockchip ff0d0000.dwmmc: 1 slots initialized
[ 6.967198] rockchip-lvds ff770000.syscon:lvds: failed to get phy: -517
[ 6.967198] rockchip-lvds ff770000.syscon:lvds: failed to get phy: -517
[ 6.981331] clk: couldn't get clock 0 for /tsadc@ff280000
[ 6.981331] clk: couldn't get clock 0 for /tsadc@ff280000
[ 6.993064] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[ 6.993064] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[ 7.005270] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[ 7.005270] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[ 7.006774] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.006774] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.008276] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.008276] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[ 7.010980] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[ 7.010980] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[ 7.014291] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[ 7.014291] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[ 7.062263] hctosys: unable to open rtc device (rtc0)
[ 7.062263] hctosys: unable to open rtc device (rtc0)
[ 7.062612] rockchip-lvds ff770000.syscon:lvds: failed to get phy: -517
[ 7.062612] rockchip-lvds ff770000.syscon:lvds: failed to get phy: -517
[ 7.062954] clk: couldn't get clock 0 for /tsadc@ff280000
[ 7.062954] clk: couldn't get clock 0 for /tsadc@ff280000
[ 7.096260] mmc_host mmc2: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0)
[ 7.096260] mmc_host mmc2: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0)
[ 7.097657] mmc2: new high speed SDIO card at address 0001
[ 7.097657] mmc2: new high speed SDIO card at address 0001
[ 7.135798] I : [File] : /media/tunahan/f1cceee6-ac24-4956-9e80-7ce648ac31e4/yoctoproject/build/tmp/work-shared/mepsan-pcr172/kernel-source/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 413; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '03:48:33', on 'Jan 7 2022'.
[ 7.135798] I : [File] : /media/tunahan/f1cceee6-ac24-4956-9e80-7ce648ac31e4/yoctoproject/build/tmp/work-shared/mepsan-pcr172/kernel-source/drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 413; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '03:48:33', on 'Jan 7 2022'.
[ 7.197114] Mali: [ 7.197114] Mali: Mali device driver loaded
Mali device driver loaded
[ 7.205604] rkisp1 ff910000.isp: clear unready subdev num: 1
[ 7.205604] rkisp1 ff910000.isp: clear unready subdev num: 1
[ 7.217217] rkisp1: update sensor failed
[ 7.217217] rkisp1: update sensor failed
[ 7.225386] ALSA device list:
[ 7.225386] ALSA device list:
[ 7.231405] No soundcards found.
[ 7.231405] No soundcards found.
[ 7.241095] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null)
[ 7.241095] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null)
[ 7.257638] VFS: Mounted root (ext4 filesystem) on device 179:4.
[ 7.257638] VFS: Mounted root (ext4 filesystem) on device 179:4.
[ 7.270169] devtmpfs: mounted
[ 7.270169] devtmpfs: mounted
[ 7.277049] Freeing unused kernel memory: 1024K
[ 7.281577] Unable to handle kernel paging request at virtual address c0f2c4b8
so it seems like kernel booted, but crashed somewhere.
you can try to revert the bootargs changes(earlycon=uart8250,mmio32,0xff690000 keep_bootcon), and start to disable devices in the dts to figure out which driver caused that crash
After restoring the Bootargs variables, the system booted. It works at 5 volts. Thanks for the help.
Hi,
My board with rk808 PMU and rk3288 CPU does not output 5 volts from USBs. I'm sure the problem is due to Device Tree because; There is no such problem when I use the dtb file provided by the manufacturer of the board, whose contents I cannot see. When I use that dtb file, I cannot activate other features. How can I activate the 5v feature on the card?
Thank you in advance for your help. Attached you can see the contents of the dts files that I am currently using rk3288-evb-rk808-linux.zip .