santopol1 Posted June 5, 2018 Posted June 5, 2018 1Gb RAM. I have tested all desktop images, and none started. I think all of us who said "no boot", have the 1Gb version
Osiris Posted June 6, 2018 Posted June 6, 2018 I also can confirm this issue with the 1GB version. The boards work fine, but not with recent armbian images.
Set3 Posted June 6, 2018 Posted June 6, 2018 Hi Santopol1 and Osiris, thanks for confirming, so I am not the only one, as one start doubting when being the only one. Osiris, for the support guys interesting I guess : Your answer could, perhaps, possibly suggest, not exclude, that you had Armbian on Rock64 1GB work with older images ? If so, around what date / version did it stop working ?
Osiris Posted June 11, 2018 Posted June 11, 2018 (edited) I'm not sure about the current state. But images from maybe 1-2 weeks ago did not work for me as well as images from several months ago. So up to now there was no version which worked. I'm maybe going to test the images from time to time but my focus will be more on some custom debian builds or other operating systems. Edit: Since the problem occurs before the kernel boots it is likely u-boot related. So you could ask on the u-boot mailing list or irc or maybe on the official pine64/rock64 forum. I guess the version is still the one from ayufan so you could maybe also ask him. From what I understand the pine64 armbian image works on the rock64 1gb version. If you could figure out the differences maybe you could find a hint on why the official rock64 version fails. Edited June 11, 2018 by Osiris
Set3 Posted June 14, 2018 Posted June 14, 2018 Well we ( 1GB Rock64 owners ) only have problems with the Armbian images for Rock64, and not with the Pine64/Rock64 Bionic image, so despite how much we love Armbian, I can't imagine that the problem is not in the Armbian image. I see that it starts U-Boot 2018.01-rc2-armbian (May 14 2018 - 20:13:51 +0200), so that is Armbian right ? My guess is that the during boot, memory locations between 1GB and 2GB are used that are not there ? No idea where how to check / solve, as I am no expert in that, but I can make some time for that, as I am willing to learn, so anyone have a clue where to start ?
chwe Posted June 14, 2018 Posted June 14, 2018 1 hour ago, Set3 said: My guess is that the during boot, memory locations between 1GB and 2GB are used that are not there ? No idea where how to check / solve, as I am no expert in that, but I can make some time for that, as I am willing to learn, so anyone have a clue where to start ? I had memory issues with the R2 during 'board bring up'. So you might look into this one: for sure, between u-boot 2018 and my 2014 u-boot I had to deal with, things changed, but the debug process might be similar. E.g. check how much memory is reserved for u-boot during boot, check if the memory allocation is correct, activate LL-Debug on kernel side to see when it fails and which information you get before the kernel crashes. From what I see in your bootlogs from june the 5th, it looks quite similar to the one I saw when @JMCC played with his renegade and the last information I got from him was that he got it booting manually and works now on an adjustment of the bootscript to get it working. Maybe he has some hints whats needed?
JMCC Posted June 14, 2018 Posted June 14, 2018 (edited) 23 hours ago, chwe said: Maybe he has some hints whats needed? Well, only that the problem is not in the blobs, but something in the boot.scr script. You can boot it manually by hitting repeatedly enter right after powering it up, and then in the uboot shell enter the following sequence (courtesy of @chwe): ext4load mmc 1:1 ${fdt_addr_r} boot/dtb/your-dtb-name-here.dtb ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd ext4load mmc 1:1 ${kernel_addr_r} boot/Image booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} I haven't been able to debug it, since I've been out for the last two days. Edited June 15, 2018 by JMCC EDIT: corrected some typos
Set3 Posted June 14, 2018 Posted June 14, 2018 Just thinking out loud : Could it be memory timing as mentioned earlier in this thread by boobypi https://forum.armbian.com/topic/5771-rock64-nightly-image/?tab=comments#comment-45615 ? Perhaps the Rock64 1GB have/need different timing than 2/4 GB ? My memory chip has the marking PB047-125PT Looks like this is the manufacturer www.spectek.com chip code PB047 = 8GBit = SS256M32V01MD1LPF LPDDR3 somewhere else on that site, I found that code -125 stands for PC3-12800/DDR3 1600 11-11-11 What chips are on the 2G/4G ?
chwe Posted June 15, 2018 Posted June 15, 2018 Just think out loud too.. You didn't tes the one from @JMCC. Btw. I would adjust it like this: ext4load mmc 1:1 ${fdt_addr_r} boot/dtb/your-dtb-name-here.dtb ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd ext4load mmc 1:1 ${kernel_addr_r} boot/zImage bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} Speculating what it could be is worthless when you don't have the board on the bench..
Set3 Posted June 15, 2018 Posted June 15, 2018 Yes, I know I did not test yet as I guessed (All new to me :-) that I needed more time than I had yesterday late, still wanted to share my thoughts about timing. Ok, today I tested Below the results, but basically there is no "boot/zImage", so what am I doing wrong ? tried boot/Image, same thing Spoiler 1A => ext4load mmc 1:1 ${fdt_addr_r} boot/dtb-4.17.0-rc6-rk3328/rockchip/rk3328-roc k64.dtb 34699 bytes read in 34 ms (996.1 KiB/s) => ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd 8316170 bytes read in 1227 ms (6.5 MiB/s) => ext4load mmc 1:1 ${kernel_addr_r} boot/zImage ** File not found boot/zImage ** => bootz ${kernel_addr_r} ${rdaddr} ${fdt_addr_r} => bootz ${kernel_addr_r} ${rdaddr} ${fdt_addr_r} 1B => ext4load mmc 1:1 ${fdt_addr_r} boot/dtb-4.17.0-rc6-rk3328/rockchip/rk3328-rock64.dtb 34699 bytes read in 34 ms (996.1 KiB/s) => ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd 8316170 bytes read in 1227 ms (6.5 MiB/s) => ext4load mmc 1:1 ${kernel_addr_r} boot/zImage ** File not found boot/zImage ** => bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} 2A => ext4load mmc 1:1 ${fdt_addr_r} /boot/dtb-4.4.124-rk3328/rockchip/rk3328-rock64.dtb 58088 bytes read in 45 ms (1.2 MiB/s) => ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd 4428328 bytes read in 673 ms (6.3 MiB/s) => ext4load mmc 1:1 ${kernel_addr_r} boot/zImage ** File not found boot/zImage ** => bootz ${kernel_addr_r} ${rdaddr} ${fdt_addr_r} bootz ${kernel_addr_r} ${rdaddr} ${fdt_addr_r} 2B => ext4load mmc 1:1 ${fdt_addr_r} /boot/dtb-4.4.124-rk3328/rockchip/rk3328-rock64.dtb 58088 bytes read in 44 ms (1.3 MiB/s) => ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd 4428328 bytes read in 672 ms (6.3 MiB/s) => ext4load mmc 1:1 ${kernel_addr_r} boot/zImage ** File not found boot/zImage ** => bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
zador.blood.stained Posted June 15, 2018 Posted June 15, 2018 64bit boards usually have an uncompressed kernel (/boot/Image) that should be started with booti instead of bootz
JMCC Posted June 15, 2018 Posted June 15, 2018 Yes, there were a few typos in my answer, they are corrected now. I can't test in the board now, so off the top of my head. If there is some other thing failing, try looking at the boot folder and there will probably be the right file name.
Set3 Posted June 15, 2018 Posted June 15, 2018 No problem guys, ok, I see a lot on the serial and hdmi screen, but I think is is stuck HDMI vendor storage : 20160801 ret = 1 Edit : get the whole start log in the spoiler Spoiler => ext4load mmc 1:1 ${fdt_addr_r} /boot/dtb-4.4.124-rk3328/rockchip/rk3328-rock6 4.dtb 58088 bytes read in 44 ms (1.3 MiB/s) => ext4load mmc 1:1 ${ramdisk_addr_r} boot/uInitrd 4428328 bytes read in 672 ms (6.3 MiB/s) => ext4load mmc 1:1 ${kernel_addr_r} boot/Image 19019784 bytes read in 2756 ms (6.6 MiB/s) => booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ## Loading init Ramdisk from Legacy Image at 04000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 4428264 Bytes = 4.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 3dac9000, end 3df021e8 ... OK Loading Device Tree to 000000003dab7000, end 000000003dac82e7 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.124-rk3328 (root@xeon) (gcc version 6.4.1 20171 012 (Linaro GCC 6.4-2017.11) ) #24 SMP Wed Mar 28 17:15:52 CEST 2018 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc03ff49000 s46376 r8192 d314 48 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 257544 [ 0.000000] Kernel command line: rockchip_jtag earlyprintk=uart8250-32bit,0xf f130000 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] software IO TLB [mem 0x39ab7000-0x3dab7000] (64MB) mapped at [fff fffc039ab7000-ffffffc03dab6fff] [ 0.000000] Memory: 938140K/1046528K available (11710K kernel code, 1422K rwd ata, 4160K rodata, 1216K init, 759K bss, 108388K reserved, 0K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 M [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 G [ 0.000000] .init : 0xffffff8009010000 - 0xffffff8009140000 ( 1216 K [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008bf0000 ( 11712 K [ 0.000000] .rodata : 0xffffff8008bf0000 - 0xffffff8009010000 ( 4224 K [ 0.000000] .data : 0xffffff8009140000 - 0xffffff80092a3808 ( 1423 K [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 G B maximum) [ 0.000000] 0xffffffbdc0008000 - 0xffffffbdc1000000 ( 15 M B actual) [ 0.000000] fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 ( 4116 K [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 M [ 0.000000] memory : 0xffffffc000200000 - 0xffffffc040000000 ( 1022 M [ 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 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980 46511097ns [ 0.001028] Console: colour dummy device 80x25 [ 0.002389] console [tty0] enabled [ 0.002437] Calibrating delay loop (skipped), value calculated using timer fr equency.. 48.00 BogoMIPS (lpj=24000) [ 0.002508] pid_max: default: 32768 minimum: 301 [ 0.002664] Security Framework initialized [ 0.002704] Yama: becoming mindful. [ 0.002758] AppArmor: AppArmor disabled by boot time parameter [ 0.002861] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.002907] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.003838] Initializing cgroup subsys io [ 0.003890] Initializing cgroup subsys memory [ 0.003953] Initializing cgroup subsys devices [ 0.003997] Initializing cgroup subsys freezer [ 0.004064] Initializing cgroup subsys net_cls [ 0.004107] Initializing cgroup subsys perf_event [ 0.004151] Initializing cgroup subsys net_prio [ 0.004204] Initializing cgroup subsys hugetlb [ 0.004245] Initializing cgroup subsys pids [ 0.004326] ftrace: allocating 44750 entries in 175 pages [ 0.125182] sched-energy: CPU device node has no sched-energy-costs [ 0.125239] Invalid sched_group_energy for CPU0 [ 0.125273] CPU0: update cpu_capacity 1024 [ 0.125364] ASID allocator initialised with 32768 entries [ 0.128155] Detected VIPT I-cache on CPU1 [ 0.128212] Invalid sched_group_energy for CPU1 [ 0.128217] CPU1: update cpu_capacity 1024 [ 0.128222] CPU1: Booted secondary processor [410fd034] [ 0.128902] Detected VIPT I-cache on CPU2 [ 0.128947] Invalid sched_group_energy for CPU2 [ 0.128952] CPU2: update cpu_capacity 1024 [ 0.128957] CPU2: Booted secondary processor [410fd034] [ 0.129654] Detected VIPT I-cache on CPU3 [ 0.129699] Invalid sched_group_energy for CPU3 [ 0.129704] CPU3: update cpu_capacity 1024 [ 0.129708] CPU3: Booted secondary processor [410fd034] [ 0.129819] Brought up 4 CPUs [ 0.130219] SMP: Total of 4 processors activated. [ 0.130262] CPU: All CPU(s) started at EL2 [ 0.130328] alternatives: patching kernel code [ 0.130601] Invalid sched_group_energy for CPU3 [ 0.130642] Invalid sched_group_energy for Cluster3 [ 0.130677] Invalid sched_group_energy for CPU2 [ 0.130711] Invalid sched_group_energy for Cluster2 [ 0.130744] Invalid sched_group_energy for CPU1 [ 0.130778] Invalid sched_group_energy for Cluster1 [ 0.130812] Invalid sched_group_energy for CPU0 [ 0.130846] Invalid sched_group_energy for Cluster0 [ 0.131617] devtmpfs: initialized [ 0.150973] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 1911260446275000 ns [ 0.151068] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.151659] xor: measuring software checksum speed [ 0.161514] 8regs : 1080.000 MB/sec [ 0.171597] 8regs_prefetch: 968.000 MB/sec [ 0.181676] 32regs : 1456.000 MB/sec [ 0.191760] 32regs_prefetch: 1224.000 MB/sec [ 0.191797] xor: using function: 32regs (1456.000 MB/sec) [ 0.191860] pinctrl core: initialized pinctrl subsystem [ 0.193240] NET: Registered protocol family 16 [ 0.197866] cpuidle: using governor ladder [ 0.201896] cpuidle: using governor menu [ 0.201951] Registered FIQ tty driver [ 0.202161] vdso: 2 pages (1 code @ ffffff8008bf6000, 1 data @ ffffff80091440 00) [ 0.202248] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.203178] DMA: preallocated 2048 KiB pool for atomic allocations [ 0.232108] genirq: Setting trigger mode 8 for irq 179 failed (gic_set_type+0 x0/0x64) [ 0.288160] console [ttyFIQ0] enabled [ 0.288845] Registered fiq debugger ttyFIQ0 [ 0.325866] raid6: int64x1 gen() 203 MB/s [ 0.342940] raid6: int64x1 xor() 183 MB/s [ 0.360203] raid6: int64x2 gen() 328 MB/s [ 0.377281] raid6: int64x2 xor() 263 MB/s [ 0.394498] raid6: int64x4 gen() 472 MB/s [ 0.411614] raid6: int64x4 xor() 332 MB/s [ 0.428927] raid6: int64x8 gen() 402 MB/s [ 0.445964] raid6: int64x8 xor() 306 MB/s [ 0.463172] raid6: neonx1 gen() 363 MB/s [ 0.480360] raid6: neonx1 xor() 365 MB/s [ 0.497548] raid6: neonx2 gen() 570 MB/s [ 0.514665] raid6: neonx2 xor() 464 MB/s [ 0.531892] raid6: neonx4 gen() 761 MB/s [ 0.549045] raid6: neonx4 xor() 564 MB/s [ 0.566228] raid6: neonx8 gen() 773 MB/s [ 0.583394] raid6: neonx8 xor() 570 MB/s [ 0.583806] raid6: using algorithm neonx8 gen() 773 MB/s [ 0.584301] raid6: .... xor() 570 MB/s, rmw enabled [ 0.584775] raid6: using intx1 recovery algorithm [ 0.585676] mpp venc_srv: mpp_probe enter [ 0.586112] mpp venc_srv: init success [ 0.586768] rockchip-pm rockchip-suspend: not set sleep mode config [ 0.587380] rockchip-pm rockchip-suspend: not set wakeup-config [ 0.587941] rockchip-pm rockchip-suspend: not set pwm-regulator-config ERROR: rockchip_plat_sip_handler: unhandled SMC (0x82000003) [ 0.591043] vcc_sd: regulator get failed, ret=-517 [ 0.591934] vcc_host_5v: supplied by vcc_sys [ 0.593143] vcc_host1_5v: supplied by vcc_sys [ 0.594804] iommu: Adding device ff350000.vpu_service to group 0 [ 0.595471] iommu: Adding device ff351000.avsd to group 1 [ 0.596080] iommu: Adding device ff360000.rkvdec to group 2 [ 0.596679] iommu: Adding device ff330000.h265e to group 3 [ 0.597292] iommu: Adding device ff340000.vepu to group 4 [ 0.597886] iommu: Adding device ff370000.vop to group 5 [ 0.598485] iommu: Adding device ff3a0000.iep to group 6 [ 0.600014] rk_iommu ff360480.iommu: can't get aclk [ 0.600522] rk_iommu ff360480.iommu: can't get hclk [ 0.601175] rk_iommu ff330200.iommu: can't get aclk [ 0.601666] rk_iommu ff330200.iommu: can't get hclk [ 0.602562] rk_iommu ff373f00.iommu: can't get aclk [ 0.603056] rk_iommu ff373f00.iommu: can't get hclk [ 0.604431] SCSI subsystem initialized [ 0.605147] usbcore: registered new interface driver usbfs [ 0.605735] usbcore: registered new interface driver hub [ 0.606370] usbcore: registered new device driver usb [ 0.607012] media: Linux media interface: v0.10 [ 0.607515] Linux video capture interface: v2.00 [ 0.608062] pps_core: LinuxPPS API ver. 1 registered [ 0.608554] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it> [ 0.609430] PTP clock support registered [ 0.611706] Advanced Linux Sound Architecture Driver Initialized. [ 0.613146] Bluetooth: Core ver 2.21 [ 0.613567] NET: Registered protocol family 31 [ 0.613996] Bluetooth: HCI device and connection manager initialized [ 0.614608] Bluetooth: HCI socket layer initialized [ 0.615080] Bluetooth: L2CAP socket layer initialized [ 0.615586] Bluetooth: SCO socket layer initialized [ 0.616746] NetLabel: Initializing [ 0.617110] NetLabel: domain hash size = 128 [ 0.617526] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.618064] NetLabel: unlabeled traffic allowed by default [ 0.619126] rockchip-cpuinfo cpuinfo: Serial : 0f085438fd8f91e4 [ 0.620313] clocksource: Switched to clocksource arch_sys_counter [ 0.721891] NET: Registered protocol family 2 [ 0.723116] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.723949] TCP bind hash table entries: 8192 (order: 6, 262144 bytes) [ 0.724954] TCP: Hash tables configured (established 8192 bind 8192) [ 0.725658] UDP hash table entries: 512 (order: 3, 49152 bytes) [ 0.726282] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes) [ 0.727272] NET: Registered protocol family 1 [ 0.728224] RPC: Registered named UNIX socket transport module. [ 0.728820] RPC: Registered udp transport module. [ 0.729273] RPC: Registered tcp transport module. [ 0.729740] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.730682] Trying to unpack rootfs image as initramfs... [ 1.099163] Freeing initrd memory: 4324K [ 1.100067] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counte rs available [ 1.102118] kvm [1]: 8-bit VMID [ 1.102454] kvm [1]: Hyp mode initialized successfully [ 1.103437] kvm [1]: interrupt-controller@ff814000 IRQ46 [ 1.104260] kvm [1]: timer IRQ3 [ 1.108574] audit: initializing netlink subsys (disabled) [ 1.109170] audit: type=2000 audit(1.014:1): initialized [ 1.110872] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 1.124484] VFS: Disk quotas dquot_6.6.0 [ 1.125128] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.128572] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.131461] NFS: Registering the id_resolver key type [ 1.131985] Key type id_resolver registered [ 1.132409] Key type id_legacy registered [ 1.132815] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.133473] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.135170] fuse init (API version 7.23) [ 1.136876] JFS: nTxBlock = 7363, nTxLock = 58904 [ 1.143644] SGI XFS with ACLs, security attributes, realtime, no debug enable d [ 1.147133] Key type big_key registered [ 1.147653] [ 1.147653] TEE Core Framework initialization (ver 1:0.1) [ 1.148357] TEE armv7 Driver initialization [ 1.149244] tz_tee_probe: name="armv7sec", id=0, pdev_name="armv7sec.0" [ 1.149888] TEE core: Alloc the misc device "opteearmtz00" (id=0) [ 1.150786] TEE Core: Register the misc device "opteearmtz00" (id=0,minor=62) [ 1.157316] NET: Registered protocol family 38 [ 1.157796] Key type asymmetric registered [ 1.158200] Asymmetric key parser 'x509' registered [ 1.158996] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 47) [ 1.159942] io scheduler noop registered [ 1.160357] io scheduler deadline registered (default) [ 1.160903] io scheduler cfq registered [ 1.164122] rockchip-usb2phy ff450000.syscon:usb2-phy@100: vbus_drv is not as signed [ 1.165825] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned [ 1.169138] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized succ essfully [ 1.173529] rk-vcodec vpu_combo: no regulator for vcodec [ 1.174350] rk-vcodec vpu_combo: failed on clk_get clk_cabac [ 1.174897] rk-vcodec vpu_combo: failed on clk_get clk_core [ 1.175526] platform ff350000.vpu_service: probe device [ 1.176079] platform ff350000.vpu_service: vpu mmu dec ffffffc03ebf8410 [ 1.177012] platform ff350000.vpu_service: allocator is drm [ 1.177629] platform ff350000.vpu_service: checking hw id 0 [ 1.178992] platform ff351000.avsd: probe device [ 1.179599] platform ff351000.avsd: vpu mmu dec ffffffc03ebf8410 [ 1.180580] platform ff351000.avsd: allocator is drm [ 1.181105] platform ff351000.avsd: checking hw id 6731 [ 1.183727] rk-vcodec vpu_combo: could not find power_model node [ 1.184337] rk-vcodec vpu_combo: init success [ 1.185125] rk-vcodec ff360000.rkvdec: vcodec regulator not ready, retry [ 1.186714] probe device ff330000.h265e [ 1.187457] mpp_dev ff330000.h265e: try to get iommu dev ffffffc03ebfa010 [ 1.188578] mpp_dev ff330000.h265e: resource ready, register device [ 1.189690] probe device ff340000.vepu [ 1.190442] mpp_dev ff340000.vepu: try to get iommu dev ffffffc03ebfa810 [ 1.191476] mpp_dev ff340000.vepu: resource ready, register device [ 1.195341] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330 [ 1.195989] dma-pl330 ff1f0000.dmac: DBUFF-128x8bytes Num_Chans-8 Num _Peri-20 Num_Events-16 [ 1.197895] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 1.201767] [drm] Initialized drm 1.1.0 20060810 [ 1.206197] rockchip-drm display-subsystem: devfreq is not set [ 1.207209] rockchip-vop ff370000.vop: invalid resource [ 1.207740] rockchip-vop ff370000.vop: failed to get vop lut registers [ 1.208369] rockchip-vop ff370000.vop: invalid resource [ 1.208869] rockchip-vop ff370000.vop: failed to get vop cabc lut registers [ 1.209798] rockchip-drm display-subsystem: bound ff370000.vop (ops 0xffffff8 008cbc900) [ 1.210971] i2c i2c-4: of_i2c: modalias failure on /hdmi@ff3c0000/ports [ 1.211622] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver [ 1.212494] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2) [ 1.214562] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops 0xffffff 8008cb4320) [ 1.215369] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.215981] [drm] No driver support for vblank timestamp query. [ 1.216649] rockchip-drm display-subsystem: failed to parse display resources [ 1.442385] rockchip-vop ff370000.vop: [drm:vop_crtc_enable] Update mode to 1 920*1080, close all win [ 1.525585] Console: switching to colour frame buffer device 240x67 [ 1.577600] rockchip-drm display-subsystem: fb0: frame buffer device [ 1.585127] usbcore: registered new interface driver udl [ 1.588888] Unable to detect cache hierarchy for CPU 0 [ 1.590903] brd: module loaded [ 1.600456] loop: module loaded [ 1.601268] lkdtm: No crash points registered, enable through debugfs [ 1.604833] m25p80 spi32766.0: gd25q128 (16384 Kbytes) [ 1.605575] 2 ofpart partitions found on MTD device spi32766.0 [ 1.606330] Creating 2 MTD partitions on "spi32766.0": [ 1.606988] 0x000000008000-0x000000400000 : "loader" [ 1.609188] 0x0000007c0000-0x000000800000 : "vendor" [ 1.613817] force_sf_dma_mode is ignored if force_thresh_dma_mode is set. [ 1.614904] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input). [ 1.615831] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24). [ 1.616575] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18). [ 1.617326] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no). [ 1.618360] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed [ 1.619239] rk_gmac-dwmac ff540000.ethernet: clock input from PHY [ 1.625042] rk_gmac-dwmac ff540000.ethernet: init for RGMII [ 1.625920] stmmac - user ID: 0x10, Synopsys ID: 0x35 [ 1.626603] Ring mode enabled [ 1.627004] DMA HW capability register supported [ 1.627600] Normal descriptors [ 1.628050] RX Checksum Offload Engine supported (type 2) [ 1.628764] Wake-Up On Lan supported [ 1.629322] Enable RX Mitigation via HW Watchdog Timer [ 1.704413] libphy: stmmac: probed [ 1.704888] eth%d: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active [ 1.705720] eth%d: PHY ID 001cc916 at 1 IRQ POLL (stmmac-0:01) [ 1.707913] rk_gmac-dwmac ff550000.ethernet: clock input or output? (output). [ 1.708854] rk_gmac-dwmac ff550000.ethernet: Can not read property: tx_delay. [ 1.709788] rk_gmac-dwmac ff550000.ethernet: set tx_delay to 0x30 [ 1.710575] rk_gmac-dwmac ff550000.ethernet: Can not read property: rx_delay. [ 1.711485] rk_gmac-dwmac ff550000.ethernet: set rx_delay to 0x10 [ 1.712316] rk_gmac-dwmac ff550000.ethernet: integrated PHY? (yes). [ 1.713377] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout [ 1.714276] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed [ 1.720282] rk_gmac-dwmac ff550000.ethernet: init for RMII [ 1.751481] stmmac - user ID: 0x10, Synopsys ID: 0x35 [ 1.752125] Ring mode enabled [ 1.752544] DMA HW capability register supported [ 1.753126] Normal descriptors [ 1.775328] RX Checksum Offload Engine supported (type 2) [ 1.786694] TX Checksum insertion supported [ 1.797894] Wake-Up On Lan supported [ 1.808944] Enable RX Mitigation via HW Watchdog Timer [ 1.975218] libphy: stmmac: probed [ 1.986338] eth%d: PHY ID 1234d400 at 0 IRQ POLL (stmmac-1:00) active [ 1.997737] eth%d: PHY ID 00000000 at 1 IRQ POLL (stmmac-1:01) [ 2.008970] eth%d: PHY ID 00000000 at 2 IRQ POLL (stmmac-1:02) [ 2.020137] eth%d: PHY ID 00000000 at 3 IRQ POLL (stmmac-1:03) [ 2.031231] eth%d: PHY ID 00000000 at 4 IRQ POLL (stmmac-1:04) [ 2.042238] eth%d: PHY ID 00000000 at 5 IRQ POLL (stmmac-1:05) [ 2.042245] eth%d: PHY ID 00000000 at 6 IRQ POLL (stmmac-1:06) [ 2.042258] eth%d: PHY ID 00000000 at 7 IRQ POLL (stmmac-1:07) [ 2.042264] eth%d: PHY ID 00000000 at 8 IRQ POLL (stmmac-1:08) [ 2.042270] eth%d: PHY ID 00000000 at 9 IRQ POLL (stmmac-1:09) [ 2.042277] eth%d: PHY ID 00000000 at 10 IRQ POLL (stmmac-1:0a) [ 2.042283] eth%d: PHY ID 00000000 at 11 IRQ POLL (stmmac-1:0b) [ 2.042289] eth%d: PHY ID 00000000 at 12 IRQ POLL (stmmac-1:0c) [ 2.042309] eth%d: PHY ID 00000000 at 13 IRQ POLL (stmmac-1:0d) [ 2.042315] eth%d: PHY ID 00000000 at 14 IRQ POLL (stmmac-1:0e) [ 2.042321] eth%d: PHY ID 00000000 at 15 IRQ POLL (stmmac-1:0f) [ 2.042327] eth%d: PHY ID 00000000 at 16 IRQ POLL (stmmac-1:10) [ 2.042333] eth%d: PHY ID 00000000 at 17 IRQ POLL (stmmac-1:11) [ 2.042340] eth%d: PHY ID 00000000 at 18 IRQ POLL (stmmac-1:12) [ 2.042346] eth%d: PHY ID 00000000 at 19 IRQ POLL (stmmac-1:13) [ 2.042352] eth%d: PHY ID 00000000 at 20 IRQ POLL (stmmac-1:14) [ 2.042359] eth%d: PHY ID 00000000 at 21 IRQ POLL (stmmac-1:15) [ 2.042365] eth%d: PHY ID 00000000 at 22 IRQ POLL (stmmac-1:16) [ 2.042371] eth%d: PHY ID 00000000 at 23 IRQ POLL (stmmac-1:17) [ 2.042377] eth%d: PHY ID 00000000 at 24 IRQ POLL (stmmac-1:18) [ 2.042384] eth%d: PHY ID 00000000 at 25 IRQ POLL (stmmac-1:19) [ 2.042391] eth%d: PHY ID 00000000 at 26 IRQ POLL (stmmac-1:1a) [ 2.042398] eth%d: PHY ID 00000000 at 27 IRQ POLL (stmmac-1:1b) [ 2.042404] eth%d: PHY ID 00000000 at 28 IRQ POLL (stmmac-1:1c) [ 2.042410] eth%d: PHY ID 00000000 at 29 IRQ POLL (stmmac-1:1d) [ 2.042417] eth%d: PHY ID 00000000 at 30 IRQ POLL (stmmac-1:1e) [ 2.042422] eth%d: PHY ID 00000000 at 31 IRQ POLL (stmmac-1:1f) [ 2.044102] Rockchip WiFi SYS interface (V1.00) ... [ 2.044231] usbcore: registered new interface driver cdc_ether [ 2.044332] usbcore: registered new interface driver rndis_host [ 2.046459] phy phy-ff470000.usb3-phy.2: u3phy u2 power on [ 2.046485] phy phy-ff470000.usb3-phy.3: u3phy u3 power on [ 2.047651] ff580000.usb supply vusb_d not found, using dummy regulator [ 2.047770] ff580000.usb supply vusb_a not found, using dummy regulator [ 2.060391] dwc2 ff580000.usb: DWC OTG Controller [ 2.060433] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1 [ 2.060480] dwc2 ff580000.usb: irq 43, io mem 0xff580000 [ 2.060776] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.060786] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 2.060795] usb usb1: Product: DWC OTG Controller [ 2.060803] usb usb1: Manufacturer: Linux 4.4.124-rk3328 dwc2_hsotg [ 2.060811] usb usb1: SerialNumber: ff580000.usb [ 2.124909] hub 1-0:1.0: USB hub found [ 2.124957] hub 1-0:1.0: 1 port detected [ 2.126340] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.126352] ehci-pci: EHCI PCI platform driver [ 2.126441] ehci-platform: EHCI generic platform driver [ 2.129096] ehci-platform ff5c0000.usb: EHCI Host Controller [ 2.129493] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2 [ 2.129642] ehci-platform ff5c0000.usb: irq 44, io mem 0xff5c0000 [ 2.135341] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00 [ 2.135594] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.135604] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 2.135613] usb usb2: Product: EHCI Host Controller [ 2.135620] usb usb2: Manufacturer: Linux 4.4.124-rk3328 ehci_hcd [ 2.135628] usb usb2: SerialNumber: ff5c0000.usb [ 2.136493] hub 2-0:1.0: USB hub found [ 2.136539] hub 2-0:1.0: 1 port detected [ 2.137232] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.137267] ohci-platform: OHCI generic platform driver [ 2.137832] ohci-platform ff5d0000.usb: Generic Platform OHCI controller [ 2.138165] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3 [ 2.138372] ohci-platform ff5d0000.usb: irq 45, io mem 0xff5d0000 [ 2.192603] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 2.192614] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 2.192622] usb usb3: Product: Generic Platform OHCI controller [ 2.192630] usb usb3: Manufacturer: Linux 4.4.124-rk3328 ohci_hcd [ 2.192638] usb usb3: SerialNumber: ff5d0000.usb [ 2.193545] hub 3-0:1.0: USB hub found [ 2.193594] hub 3-0:1.0: 1 port detected [ 2.194915] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller [ 2.195255] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus nu mber 4 [ 2.195490] xhci-hcd xhci-hcd.9.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x00210010 [ 2.195562] xhci-hcd xhci-hcd.9.auto: irq 183, io mem 0xff600000 [ 2.195815] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.195825] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 2.195833] usb usb4: Product: xHCI Host Controller [ 2.195841] usb usb4: Manufacturer: Linux 4.4.124-rk3328 xhci-hcd [ 2.195849] usb usb4: SerialNumber: xhci-hcd.9.auto [ 2.196678] hub 4-0:1.0: USB hub found [ 2.196732] hub 4-0:1.0: 1 port detected [ 2.197235] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller [ 2.197545] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus nu mber 5 [ 2.197660] usb usb5: We don't know the algorithms for LPM for this host, dis abling LPM. [ 2.197838] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003 [ 2.197848] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 2.197856] usb usb5: Product: xHCI Host Controller [ 2.197864] usb usb5: Manufacturer: Linux 4.4.124-rk3328 xhci-hcd [ 2.197871] usb usb5: SerialNumber: xhci-hcd.9.auto [ 2.198692] hub 5-0:1.0: USB hub found [ 2.198736] hub 5-0:1.0: 1 port detected [ 2.200958] usbcore: registered new interface driver iforce [ 2.201071] usbcore: registered new interface driver xpad [ 2.201636] usbcore: registered new interface driver usbtouchscreen [ 2.202669] i2c /dev entries driver [ 2.205588] rk808 1-0018: Pmic Chip id: 0x8050 [ 2.206667] rk808 1-0018: source: on=0x40, off=0x00 [ 2.213286] DCDC_REG1: supplied by vcc_sys [ 2.216581] DCDC_REG2: supplied by vcc_sys [ 2.219240] DCDC_REG3: supplied by vcc_sys [ 2.221031] DCDC_REG4: supplied by vcc_sys [ 2.222754] vcc_sd: supplied by vcc_io [ 2.222856] LDO_REG1: supplied by vcc_io [ 2.226147] LDO_REG2: supplied by vcc_io [ 2.229551] LDO_REG3: supplied by vcc_sys [ 2.232865] rk808 1-0018: register rk8050 regulators [ 2.233259] rk8xx-gpio rk8xx-gpio: register rk8050 gpio successful [ 2.235384] input: rk8xx_pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-001 8/input/input0 [ 2.245871] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0 [ 2.246726] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at ffffff8009b1 c000 [ 2.248591] IR NEC protocol handler initialized [ 2.248600] IR RC5(x/sz) protocol handler initialized [ 2.248609] IR RC6 protocol handler initialized [ 2.248618] IR JVC protocol handler initialized [ 2.248626] IR Sony protocol handler initialized [ 2.248635] IR SANYO protocol handler initialized [ 2.248643] IR Sharp protocol handler initialized [ 2.248653] IR MCE Keyboard/mouse protocol handler initialized [ 2.248662] IR XMP protocol handler initialized [ 2.249244] usbcore: registered new interface driver uvcvideo [ 2.249247] USB Video Class driver (1.1.1) [ 2.255567] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-d evel@redhat.com [ 2.255585] Bluetooth: Virtual HCI driver ver 1.5 [ 2.255764] Bluetooth: HCI UART driver ver 2.3 [ 2.255771] Bluetooth: HCI UART protocol H4 registered [ 2.255775] Bluetooth: HCI UART protocol LL registered [ 2.255779] Bluetooth: HCI UART protocol ATH3K registered [ 2.255888] usbcore: registered new interface driver bfusb [ 2.255995] usbcore: registered new interface driver btusb [ 2.256397] cpu cpu0: cpu_leakage=9 [ 2.256431] cpu cpu0: cpu_leakage=9 [ 2.256447] cpu cpu0: cpu_leakage-volt-sel=1 [ 2.259196] sdhci: Secure Digital Host Controller Interface driver [ 2.259199] sdhci: Copyright(c) Pierre Ossman [ 2.259209] Synopsys Designware Multimedia Card Interface Driver [ 2.260675] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode . [ 2.260712] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller. [ 2.260728] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a [ 2.260802] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 39,32 bit host data width,256 deep fifo [ 2.260831] dwmmc_rockchip ff520000.dwmmc: 'clock-freq-min-max' property was deprecated. [ 2.272366] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 2.283519] dwmmc_rockchip ff520000.dwmmc: 1 slots initialized [ 2.284121] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode . [ 2.284153] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller. [ 2.284164] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a [ 2.284211] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo [ 2.284232] dwmmc_rockchip ff500000.dwmmc: 'clock-freq-min-max' property was deprecated. [ 2.296364] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 2.306405] dwmmc_rockchip ff500000.dwmmc: 1 slots initialized [ 2.306572] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.308047] hidraw: raw HID events driver (C) Jiri Kosina [ 2.308826] usbcore: registered new interface driver usbhid [ 2.308828] usbhid: USB HID core driver [ 2.309111] ashmem: initialized [ 2.309996] rockchip-dmc dmc: unable to get devfreq-event device : dfi [ 2.311595] usbcore: registered new interface driver snd-usb-audio [ 2.312544] rk3328-codec ff410000.codec: spk_depop_time use default value. [ 2.315254] rockchip-pinctrl pinctrl: pin gpio0-27 already requested by vcc-h ost1-5v-regulator; cannot claim for ff030000.spdif [ 2.315260] rockchip-pinctrl pinctrl: pin-27 (ff030000.spdif) status -22 [ 2.315266] rockchip-pinctrl pinctrl: could not request pin 27 (gpio0-27) fro m group spdifm0-tx on device rockchip-pinctrl [ 2.315270] rockchip-spdif ff030000.spdif: Error applying setting, reverse th ings back [ 2.316404] u32 classifier [ 2.316415] Netfilter messages via NETLINK v0.30. [ 2.316467] ip_set: protocol 6 [ 2.316605] Initializing XFRM netlink socket [ 2.317172] NET: Registered protocol family 10 [ 2.318145] NET: Registered protocol family 17 [ 2.318168] NET: Registered protocol family 15 [ 2.318201] bridge: automatic filtering via arp/ip/ip6tables has been depreca ted. Update your scripts to load br_netfilter if you need this. [ 2.318228] Bridge firewalling registered [ 2.318372] Bluetooth: RFCOMM socket layer initialized [ 2.318403] Bluetooth: RFCOMM ver 1.11 [ 2.318420] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.318428] Bluetooth: HIDP socket layer initialized [ 2.318500] 8021q: 802.1Q VLAN Support v1.8 [ 2.318524] [WLAN_RFKILL]: Enter rfkill_wlan_init [ 2.318809] [BT_RFKILL]: Enter rfkill_rk_init [ 2.318992] Key type dns_resolver registered [ 2.322787] Registered cp15_barrier emulation handler [ 2.322796] Registered setend emulation handler [ 2.323462] registered taskstats version 1 [ 2.325501] Btrfs loaded, integrity-checker=on [ 2.325587] BTRFS: selftest: Running btrfs free space cache tests [ 2.325613] BTRFS: selftest: Running extent only tests [ 2.325632] BTRFS: selftest: Running bitmap only tests [ 2.325649] BTRFS: selftest: Running bitmap and extent tests [ 2.325672] BTRFS: selftest: Running space stealing from bitmap to extent [ 2.326536] BTRFS: selftest: Free space cache tests finished [ 2.326540] BTRFS: selftest: Running extent buffer operation tests [ 2.326540] BTRFS: selftest: Running btrfs_split_item tests [ 2.326579] BTRFS: selftest: Running find delalloc tests [ 2.382535] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000 Hz, actual 50000000HZ div = 0) [ 2.382603] mmc1: new high speed SDHC card at address aaaa [ 2.383144] mmcblk1: mmc1:aaaa SC16G 14.8 GiB [ 2.385530] mmcblk1: p1 [ 2.538751] BTRFS: selftest: Running btrfs_get_extent tests [ 2.538948] BTRFS: selftest: Running hole first btrfs_get_extent test [ 2.538977] BTRFS: selftest: Running outstanding_extents tests [ 2.539035] BTRFS: selftest: Running qgroup tests [ 2.539036] BTRFS: selftest: Qgroup basic add [ 2.539103] BTRFS: selftest: Qgroup multiple refs test [ 3.122991] rk-vcodec ff360000.rkvdec: parent devfreq retry [ 3.129550] rockchip-dmc dmc: current ATF version 0x101! [ 3.135345] rockchip-dmc dmc: read tf version 0x101! [ 3.142304] rockchip-dmc dmc: ddr_leakage=9 [ 3.147813] rockchip-dmc dmc: ddr_leakage-volt-sel=1 [ 3.153823] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate [ 3.161217] asoc-simple-card hdmi-sound: i2s-hifi <-> ff000000.i2s mapping ok [ 3.188824] asoc-simple-card sound: rk3328-hifi <-> ff010000.i2s mapping ok [ 3.195091] asoc-simple-card sound: snd-soc-dummy-dai <-> ff010000.i2s mappin g ok [ 3.202775] asoc-simple-card spdif-sound: dit-hifi <-> ff030000.spdif mapping ok [ 3.209595] rk-vcodec ff360000.rkvdec: parent devfreq is ok [ 3.215633] rk-vcodec ff360000.rkvdec: rkvdec_leakage=9 [ 3.221199] rk-vcodec ff360000.rkvdec: rkvdec_leakage-volt-sel=1 [ 3.227074] rk-vcodec ff360000.rkvdec: probe device [ 3.232442] rk-vcodec ff360000.rkvdec: vpu mmu dec ffffffc03ebf9810 [ 3.238196] rk-vcodec ff360000.rkvdec: allocator is drm [ 3.243554] rk-vcodec ff360000.rkvdec: checking hw id 3410 [ 3.249521] rk-vcodec ff360000.rkvdec: init success [ 3.256832] rk808-rtc rk808-rtc: setting system clock to 2016-01-21 08:50:50 UTC (1453366250) [ 3.262522] of_cfs_init [ 3.267571] of_cfs_init: OK [ 3.283717] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux .c; [Line] : 415; [Func] : mali_module_init(); svn_rev_string_from_arm of this m ali_ko is '-91d9eef', rk_ko_ver is '5', built at '17:15:48', on 'Mar 28 2018'. [ 3.291020] mali-utgard ff300000.gpu: mali_platform_device->num_resources = 9 [ 3.296805] mali-utgard ff300000.gpu: resource[0].start = 0x0x00000000ff30000 0 [ 3.302536] mali-utgard ff300000.gpu: resource[1].start = 0x0x00000000ff30000 0 [ 3.308156] mali-utgard ff300000.gpu: resource[2].start = 0x0x000000000000001 1 [ 3.313642] mali-utgard ff300000.gpu: resource[3].start = 0x0x000000000000001 2 [ 3.319036] mali-utgard ff300000.gpu: resource[4].start = 0x0x000000000000001 3 [ 3.324394] mali-utgard ff300000.gpu: resource[5].start = 0x0x000000000000001 4 [ 3.329694] mali-utgard ff300000.gpu: resource[6].start = 0x0x000000000000001 5 [ 3.334961] mali-utgard ff300000.gpu: resource[7].start = 0x0x000000000000001 6 [ 3.340183] mali-utgard ff300000.gpu: resource[8].start = 0x0x000000000000001 7 [ 3.345413] D : [File] : drivers/gpu/arm/mali400/mali/platform/rk/rk.c; [Line ] : 617; [Func] : mali_platform_device_init(); to add platform_specific_data to platform_device_of_mali. [ 3.351878] mali-utgard ff300000.gpu: gpu_leakage=9 [ 3.357160] mali-utgard ff300000.gpu: gpu_leakage-volt-sel=1 [ 3.364415] Mali: Mali device driver loaded [ 3.370840] ALSA device list: [ 3.375887] #0: HDMI [ 3.380762] #1: I2S [ 3.385588] #2: SPDIF [ 3.391009] Freeing unused kernel memory: 1216K Loading, please wait... starting version 229 [ 3.435732] random: systemd-udevd: uninitialized urandom read (16 bytes read, 11 bits of entropy available) [ 3.438770] random: udevadm: uninitialized urandom read (16 bytes read, 11 bi ts of entropy available) [ 3.438855] random: udevadm: uninitialized urandom read (16 bytes read, 11 bi ts of entropy available) [ 3.453421] random: systemd-udevd: uninitialized urandom read (16 bytes read, 11 bits of entropy available) [ 3.459413] random: systemd-udevd: uninitialized urandom read (16 bytes read, 11 bits of entropy available) [ 3.462427] devfreq ff300000.gpu: Couldn't update frequency transition inform ation. [ 3.488559] random: systemd-udevd: uninitialized urandom read (16 bytes read, 11 bits of entropy available) [ 3.494679] random: systemd-udevd: uninitialized urandom read (16 bytes read, 11 bits of entropy available) [ 3.500772] random: systemd-udevd: uninitialized urandom read (16 bytes read, 11 bits of entropy available) [ 3.503548] random: udevadm: uninitialized urandom read (16 bytes read, 11 bi ts of entropy available) [ 3.503698] random: udevadm: uninitialized urandom read (16 bytes read, 11 bi ts of entropy available) Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check file system ... fsck from util-linux 2.27.1 Checking all file systems. done. mount: can't find /root in /etc/fstab done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed : No such file or directory done. mount: mounting /run on /root/run failed: No such file or directory run-init: current directory on the same filesystem as the root: error 0 Target filesystem doesn't have requested /sbin/init. run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 No init found. Try passing init= bootarg. BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs) [ 5.327368] vendor storage:20160801 ret = -1
JMCC Posted June 15, 2018 Posted June 15, 2018 Well, yes, but at least it starts to load the kernel. The problem is identical in a 1Gb Renegade. I was able to debug the boot script, and locate the line where it fails: https://github.com/armbian/build/blob/ebd89c9b73a73bada602d7905a5072f5334e8428/config/bootscripts/boot-rk3328.cmd#L19 Right now I can't test any further, but I'll keep digging into it when I can.
Set3 Posted June 15, 2018 Posted June 15, 2018 Ok, next steps ? 1 : repair the boot script and get it into the Rock64 Armbian images 2: Why does it get stuck after it boots ? I will try it on the other image too.
Set3 Posted June 15, 2018 Posted June 15, 2018 Armbian_5.46.180611_Rock64_Ubuntu_bionic_dev_4.17.0-rc6.img also starts a boot, but is stuck even sooner Spoiler => booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} ## Loading init Ramdisk from Legacy Image at 04000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 8316106 Bytes = 7.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 3d723000, end 3df114ca ... OK Loading Device Tree to 000000003d717000, end 000000003d72278a ... OK Starting kernel ... [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.000000] rockchip_mmc_get_phase: invalid clk rate [ 0.962405] zswap: default zpool zbud not available [ 0.962863] zswap: pool creation failed Loading, please wait... starting version 237 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check unknown file system ... fsck from util-linux 2.31.1 Checking all file systems. done. mount: can't find /root in /etc/fstab done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed : No such file or directory mount: mounting /dev on /root/dev failed: No such file or directory done. mount: mounting /run on /root/run failed: No such file or directory run-init: current directory on the same filesystem as the root: error 0 Target filesystem doesn't have requested /sbin/init. run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 run-init: current directory on the same filesystem as the root: error 0 No init found. Try passing init= bootarg. BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs)
zador.blood.stained Posted June 15, 2018 Posted June 15, 2018 23 minutes ago, Set3 said: [ 0.000000] Kernel command line: rockchip_jtag earlyprintk=uart8250-32bit,0xf f130000 ... mount: can't find /root in /etc/fstab done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed You didn't add necessary kernel arguments (i.e. root= ), so it's not stuck, it's working exactly as expected
Set3 Posted June 15, 2018 Posted June 15, 2018 Yep, 4.4.124 not stuck indeed, ls does work. It is just not what I expected :-) Edit : same with dev_4.17.0-rc6 4.4.124 not stuck, ls command works
Set3 Posted June 15, 2018 Posted June 15, 2018 So only 1 step to go then ? 1 : repair the boot script and get it into all Rock64 Armbian images Who can do that ?
JMCC Posted June 16, 2018 Posted June 16, 2018 On 6/15/2018 at 7:04 PM, Set3 said: So only 1 step to go then ? 1 : repair the boot script and get it into all Rock64 Armbian images Please test the following. It works on my Renegade, not sure about a Rock64: 1. In the SD card, find the 6th line in /boot/boot.cmd. Change it from: setenv load_addr "0x44000000" to: setenv load_addr "0x39000000" 2. Recompile the script with: mkimage -C none -A arm -T script -d boot.cmd boot.scr 3. Try to boot.
Set3 Posted June 16, 2018 Posted June 16, 2018 Ok, Yes 2 images (bionic/xenial)boot now with serial connected, I can login,change root password dhcp/ssh works Edit 1 ( now only using dhcp/SSH, serial disconnected) Bionic looks ok, did an update/upgrade/ installed a few packages : all ok. but HDMI : no sync, no output, no boot log and no prompt ( is that normal for bionic=development ? ) But shutdown -h now leaves red/white LEDs on, strange Also power usage does not go down, remains on 1.5W serial: Spoiler [ OK ] Stopped target Host and Network Name Lookups. Stopping Authorization Manager... Stopping User Manager for UID 0... Stopping Session 5 of user root. Stopping Session 2 of user root. [ OK ] Stopped target Graphical Interface. [ OK ] Stopped target Multi-User System. Stopping LSB: Advanced IEEE 802.11 management daemon... [ OK ] Stopped Resets System Activity Data Collector. Stopping LSB: Armbian gathering hardware information... Stopping System Logging Service... Stopping LSB: mosquitto MQTT v3.1 message broker... Stopping OpenBSD Secure Shell server... Stopping LSB: Set sysfs variables from /etc/sysfs.conf... Stopping Regular background program processing daemon... Stopping Dispatcher daemon for systemd-networkd... [ OK ] Stopped target Login Prompts. Stopping Getty on tty1... Stopping Serial Getty on ttyS2... Stopping Initializes zram swaping... Stopping Unattended Upgrades Shutdown... [ OK ] Stopped target Timers. [ OK ] Stopped Discard unused blocks once a week. [ OK ] Stopped Message of the Day. [ OK ] Stopped Daily Cleanup of Temporary Directories. [ OK ] Stopped Daily apt upgrade and clean activities. [ OK ] Stopped Daily apt download activities. [ OK ] Stopped target System Time Synchronized. Stopping Session 4 of user root. [ OK ] Deactivated swap /dev/zram3. [ OK ] Deactivated swap /dev/zram2. [ OK ] Deactivated swap /dev/zram1. [ OK ] Deactivated swap /dev/zram0. [ OK ] Stopped Regular background program processing daemon. [ OK ] Stopped System Logging Service. [ OK ] Stopped Dispatcher daemon for systemd-networkd. [ OK ] Stopped OpenBSD Secure Shell server. [ OK ] Stopped Authorization Manager. [ OK ] Stopped Serial Getty on ttyS2. [ OK ] Stopped Getty on tty1. [ OK ] Stopped User Manager for UID 0. [ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon. [ OK ] Stopped LSB: Armbian gathering hardware information. [ OK ] Stopped Initializes zram swaping. [ OK ] Stopped Unattended Upgrades Shutdown. [ OK ] Stopped Session 4 of user root. [ OK ] Stopped Session 5 of user root. [ OK ] Stopped Session 2 of user root. [ OK ] Stopped Session 6 of user root. [ OK ] Removed slice User Slice of root. Stopping Login Service... [ OK ] Removed slice system-getty.slice. Stopping Permit User Sessions... [ OK ] Stopped /etc/rc.local Compatibility. [ OK ] Stopped target Network is Online. [ OK ] Stopped Network Manager Wait Online. [ OK ] Removed slice system-serial\x2dgetty.slice. [ OK ] Stopped Login Service. [ OK ] Stopped LSB: mosquitto MQTT v3.1 message broker. [ OK ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Network. Stopping WPA supplicant... Stopping Network Manager... Stopping Network Name Resolution... Stopping Raise network interfaces... Stopping LSB: set CPUFreq kernel parameters... [ OK ] Stopped Network Name Resolution. [ OK ] Stopped WPA supplicant. [ OK ] Stopped Network Manager. [ OK ] Stopped Raise network interfaces. [ OK ] Stopped target Network (Pre). Stopping D-Bus System Message Bus... [ OK ] Stopped LSB: set CPUFreq kernel parameters. [ OK ] Stopped D-Bus System Message Bus. Stopping LSB: Load kernel modules needed to enable cpufreq scaling... [ OK ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped resolvconf-pull-resolved.path. [ OK ] Stopped target Sockets. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Closed Syslog Socket. [ OK ] Stopped target Slices. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target System Initialization. [ OK ] Stopped Apply Kernel Variables. Stopping Update UTMP about System Boot/Shutdown... Stopping Load/Save Random Seed... [ OK ] Stopped Load Kernel Modules. Stopping Restore / save the current clock... Stopping Armbian enhanced Log2Ram... [ OK ] Stopped target Local Encrypted Volumes. [ OK ] Stopped Dispatch Password Requests to Console Directory Watch. [ OK ] Stopped Forward Password Requests to Wall Directory Watch. Stopping Network Time Synchronization... [ OK ] Stopped Load/Save Random Seed. [ OK ] Unmounted /var/log. [ OK ] Stopped Network Time Synchronization. [ OK ] Unmounted /var/log.hdd. [ OK ] Stopped Restore / save the current clock. [ OK ] Stopped Armbian enhanced Log2Ram. [ OK ] Stopped Update UTMP about System Boot/Shutdown. [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Stopped target Local File Systems. Unmounting /run/user/0... Unmounting /tmp... [ OK ] Unmounted /run/user/0. [ OK ] Unmounted /tmp. [ OK ] Reached target Unmount All Filesystems. [ OK ] Stopped target Swap. [ OK ] Stopped target Local File Systems (Pre). [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Reached target Shutdown. [ OK ] Reached target Final Step. Starting Power-Off... [ 113.960508] reboot: Power down INFO: PSCI Power Domain Map: INFO: Domain Node : Level 2, parent_node -1, State ON (0x0) INFO: Domain Node : Level 1, parent_node 0, State ON (0x0) INFO: Domain Node : Level 0, parent_node 0, State ON (0x0) INFO: Domain Node : Level 0, parent_node 0, State ON (0x0) INFO: CPU Node : MPID 0x0, parent_node 1, State ON (0x0) INFO: CPU Node : MPID 0x1, parent_node 1, State ON (0x0) INFO: CPU Node : MPID 0x2, parent_node 1, State ON (0x0) INFO: CPU Node : MPID 0x3, parent_node 1, State ON (0x0) Edit 2 ( now only using dhcp/SSH, serial disconnected) Xenial looks ok, did an update/upgrade/ installed a few packages : all ok. HDMI does not show a boot log, but does show Ubuntu....Login, usb keyboard login works shutdown red/white LEDs off, Also power usage drops to 0.03W Looking good man ! Good work ! Edit 3 : Hmm, we are not there yet, Xenial boot / reboot is unreliable. Once it boots it looks good, but only half-ish of the boots succeeds I need to do more testing,
Set3 Posted June 18, 2018 Posted June 18, 2018 Ok, although I did see strange results earlier today, I now can say that the patch works, tested about 10 times from scratch so I can login, update/upgrade/install some stuff I see error messages in the boot : ** File not found /boot/dtb/rockchip/overlay/-fixup.scr ** and Starting kernel ... ERROR: rockchip_plat_sip_handler: unhandled SMC (0x82000003) Loading, please wait... starting version 229 and [ OK ] Started User Manager for UID 0. [FAILED] Failed to start Network Manager Wait Online. See 'systemctl status NetworkManager-wait-online.service' for details. [ OK ] Reached target Network is Online. Is that "normal" ? But reboot does not always work, hangs on one sbc, succeeds on another sbc, both show like : Starting kernel ... ERROR: rockchip_plat_sip_handler: unhandled SMC (0x82000003) Loading, please wait... starting version 229 [ 2.080920] Internal error: Oops: 96000004 [#1] SMP [ 2.081455] Modules linked in: [ 2.081810] CPU: 3 PID: 212 Comm: udevadm Not tainted 4.4.124-rk3328 #24 [ 2.082522] Hardware name: Pine64 Rock64 (DT) [ 2.082989] task: ffffffc037833600 task.stack: ffffffc027510000 [ 2.083627] PC is at __rmqueue.isra.7+0x84/0x3f4 [ 2.084120] LR is at get_page_from_freelist+0x20c/0x774 [ 2.084674] pc : [<ffffff800819550c>] lr : [<ffffff8008195a88>] pstate: 20000 1c5 [ 2.085447] sp : ffffffc027513a30 [ 2.085802] x29: ffffffc027513a30 x28: 0000000000000001 [ 2.086391] x27: 0000000000000010 x26: ffffffc03ff95d98 [ 2.086978] x25: 0000004036e79000 x24: ffffffc03ff95d88 [ 2.087565] x23: 0000000000000001 x22: 0000000000000001 [ 2.088153] x21: 0000000000000000 x20: ffffff800928a380 [ 2.0 etc etc
Set3 Posted September 14, 2018 Posted September 14, 2018 Hi guys, Using the Pine images from ayufan for a while, I still longed back to Armbian, so all SBCs look and feel the same :-) Not that the Pine images are bad, just a bit different. The latest Ubuntu (non desktop) image 5.59 now work also on Rock-64 1GB, thanks ! Reboot is also ok. It is only confusing that the HDMI does not show anything, so initially I missed that they work, but SSH works, and that is all I need anyway. Issue closed
lomady Posted November 5, 2019 Posted November 5, 2019 Okay, I tried Armbian_5.99.191031_Rock64_Debian_buster_dev_5.3.0-rc4_minimal.img on my ROCK64 4GB v2.0 It booted fine to the point I could SSH into it. dmesg said it timed out waiting for /dev/ttyFIQ0 all USB2 and USB3 ports were not working did apt update && apt upgrade and it hang power cycled it. it responds to ping with ~28% packet loss but does not answer to SSH. Back on the shelf to collect dust for another month
Igor Posted November 5, 2019 Posted November 5, 2019 3 minutes ago, lomady said: I tried Armbian_5.99.191031_Rock64_Debian_buster_dev_5.3.0-rc4_minimal.img The filename itself tells that it will probably not work very well. If at all. What do you expect? Support is not matured and hardware comes in several different revisions which are incompatible ... which only adds problems. Remember than here people fix problems in their spare time and on their costs. If it will take another year for R&D, you have nothing to rant. If you have to drop shit, do it at Pine64 forums. They promised you something and took the money. We didn't.
martinayotte Posted November 5, 2019 Posted November 5, 2019 34 minutes ago, lomady said: all USB2 and USB3 ports were not working On my Rock64 v1.1, I have no issue with USB, they are present. I'm using self-made build 5.4.0-rc1 stretch...
Igor Posted November 5, 2019 Posted November 5, 2019 7 minutes ago, martinayotte said: On my Rock64 v1.1, I have no issue with USB, they are present. I'm using self-made build 5.4.0-rc1 stretch... I also did testings with v2 and v3 two weeks ago and both were working. At least one USB2 for sure since I attached a keyboard there.
martinayotte Posted November 5, 2019 Posted November 5, 2019 1 minute ago, Igor said: At least one USB2 for sure since I attached a keyboard there. Right ! In my case, I've a WiFi donlge connected and few minutes ago, I've connected an USB Storage ...
lomady Posted November 8, 2019 Posted November 8, 2019 On 11/5/2019 at 9:42 PM, Igor said: Remember than here people fix problems in their spare time and on their costs. If it will take another year for R&D, you have nothing to rant. Just sharing feedback for mainlining effort, sorry if I sounded ranting. Yes, I know that Armbian is run by volunteers and I even have supported you with donation last year. I am a happy Armbian user of H3 based boards.
Recommended Posts