Jump to content

CSC Armbian for RK322x TV box boards


jock

Recommended Posts

24 minutes ago, jock said:

We're on the right way but maybe something still has to be refined.

I have another suggestion: take the two dtbo I gave you in this previous post, put them in the proper place.

Try first overlays=wlan-alt-wiring wlan8189-etv-ah and, if does not work, try overlays=wlan-alt-wiring wlan8189-etv-al in armbianEnv.txt

 

The error -110 is the standard linux error for timeout, so probably the sdio works because wlan-alt-wiring fixed the GPIO wiring of the bus, but the power enable GPIO pin has the inverted polarity (al=ACTIVE_LOW, ah=ACTIVE_HIGH) so we still need to catch this to let the wifi chip correctly being powered on.

 

The wireless is fully working with overlays=wlan-alt-wiring wlan8189-etv-al.Thanks again!!!!!!!!!:D

Spoiler


[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 5.8.12-rk322x (root@vt-ubuntu) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #trunk SMP PREEMPT Mon Sep 28 16:24:13 CEST 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Generic RK322x Tv Box board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x9f000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000060000000-0x000000009fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000060000000-0x00000000683fffff]
[    0.000000]   node   0: [mem 0x000000006a400000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000060000000-0x000000009fffffff]
[    0.000000] On node 0 totalpages: 253952
[    0.000000]   Normal zone: 2304 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 253952 pages, LIFO batch:63
[    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] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 20 pages/cpu s51416 r8192 d22312 u81920
[    0.000000] pcpu-alloc: s51416 r8192 d22312 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 251648
[    0.000000] Kernel command line: earlyprintk root=UUID=d1a1ad36-0ab9-4f27-a75a-6bf97a2b1e57 console=ttyS2,115200n8 console=tty1 rootwait rootfstype=ext4  consoleblank=0 loglevel=1 ubootpart=49e8e85f-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u coherent_pool=2M  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] allocated 1048576 bytes of page_ext
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 959960K/1015808K available (15360K kernel code, 1326K rwdata, 3296K rodata, 1024K init, 574K bss, 39464K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 46757 entries in 92 pages
[    0.000000] ftrace: allocated 92 pages with 4 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x394/0x564 with crng_init=0
[    0.000000] arch_timer: 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.001271] Console: colour dummy device 80x30
[    0.001290] printk: console [tty1] enabled
[    0.001333] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001348] pid_max: default: 32768 minimum: 301
[    0.001543] LSM: Security Framework initializing
[    0.001566] Yama: becoming mindful.
[    0.001673] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001690] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002956] CPU: Testing write buffer coherency: ok
[    0.003357] /cpus/cpu@f00 missing clock-frequency property
[    0.003391] /cpus/cpu@f01 missing clock-frequency property
[    0.003424] /cpus/cpu@f02 missing clock-frequency property
[    0.003461] /cpus/cpu@f03 missing clock-frequency property
[    0.003476] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.004617] Setting up static identity map for 0x60100000 - 0x60100060
[    0.004834] rcu: Hierarchical SRCU implementation.
[    0.005709] smp: Bringing up secondary CPUs ...
[    0.015244] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.025125] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.034794] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.035011] smp: Brought up 1 node, 4 CPUs
[    0.035024] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035032] CPU: All CPU(s) started in SVC mode.
[    0.035954] devtmpfs: initialized
[    0.049504] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.050232] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.050259] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.051481] xor: measuring software checksum speed
[    0.088379]    arm4regs  :  1011.000 MB/sec
[    0.128499]    8regs     :   704.000 MB/sec
[    0.168627]    32regs    :   702.000 MB/sec
[    0.208758]    neon      :   991.000 MB/sec
[    0.208767] xor: using function: arm4regs (1011.000 MB/sec)
[    0.208855] pinctrl core: initialized pinctrl subsystem
[    0.209765] thermal_sys: Registered thermal governor 'step_wise'
[    0.211020] NET: Registered protocol family 16
[    0.214426] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.215165] audit: initializing netlink subsys (disabled)
[    0.215482] audit: type=2000 audit(0.212:1): state=initialized audit_enabled=0 res=1
[    0.216691] cpuidle: using governor ladder
[    0.216743] cpuidle: using governor menu
[    0.217573] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.217583] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.244029] gpio gpiochip0: (gpio0): added GPIO chardev (254:0)
[    0.244176] gpio gpiochip0: registered GPIOs 0 to 31 on gpio0
[    0.244593] gpio gpiochip1: (gpio1): added GPIO chardev (254:1)
[    0.244715] gpio gpiochip1: registered GPIOs 32 to 63 on gpio1
[    0.245164] gpio gpiochip2: (gpio2): added GPIO chardev (254:2)
[    0.245300] gpio gpiochip2: registered GPIOs 64 to 95 on gpio2
[    0.245683] gpio gpiochip3: (gpio3): added GPIO chardev (254:3)
[    0.245818] gpio gpiochip3: registered GPIOs 96 to 127 on gpio3
[    0.357856] raid6: neonx8   gen()   624 MB/s
[    0.426080] raid6: neonx8   xor()   459 MB/s
[    0.494354] raid6: neonx4   gen()   679 MB/s
[    0.562566] raid6: neonx4   xor()   511 MB/s
[    0.630831] raid6: neonx2   gen()   734 MB/s
[    0.699048] raid6: neonx2   xor()   524 MB/s
[    0.767332] raid6: neonx1   gen()   655 MB/s
[    0.835625] raid6: neonx1   xor()   454 MB/s
[    0.903894] raid6: int32x8  gen()   191 MB/s
[    0.972108] raid6: int32x8  xor()   119 MB/s
[    1.040362] raid6: int32x4  gen()   203 MB/s
[    1.108560] raid6: int32x4  xor()   146 MB/s
[    1.176846] raid6: int32x2  gen()   247 MB/s
[    1.244991] raid6: int32x2  xor()   143 MB/s
[    1.313255] raid6: int32x1  gen()   257 MB/s
[    1.381479] raid6: int32x1  xor()   139 MB/s
[    1.381487] raid6: using algorithm neonx2 gen() 734 MB/s
[    1.381494] raid6: .... xor() 524 MB/s, rmw enabled
[    1.381501] raid6: using neon recovery algorithm
[    1.382357] reg-fixed-voltage vcc-host-regulator: GPIO lookup for consumer (null)
[    1.382371] reg-fixed-voltage vcc-host-regulator: using device tree for GPIO lookup
[    1.382408] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/vcc-host-regulator[0]'
[    1.382454] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-host-regulator[0]' - status (0)
[    1.382487] gpio gpiochip3: Persistence not supported for GPIO 20
[    1.383080] reg-fixed-voltage vccio-1v8-regulator: GPIO lookup for consumer (null)
[    1.383092] reg-fixed-voltage vccio-1v8-regulator: using device tree for GPIO lookup
[    1.383121] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/vccio-1v8-regulator[0]'
[    1.383145] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccio-1v8-regulator[0]'
[    1.383160] reg-fixed-voltage vccio-1v8-regulator: using lookup tables for GPIO lookup
[    1.383172] reg-fixed-voltage vccio-1v8-regulator: No GPIO consumer (null) found
[    1.383655] reg-fixed-voltage vccio-3v3-regulator: GPIO lookup for consumer (null)
[    1.383667] reg-fixed-voltage vccio-3v3-regulator: using device tree for GPIO lookup
[    1.383694] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/vccio-3v3-regulator[0]'
[    1.383718] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccio-3v3-regulator[0]'
[    1.383733] reg-fixed-voltage vccio-3v3-regulator: using lookup tables for GPIO lookup
[    1.383744] reg-fixed-voltage vccio-3v3-regulator: No GPIO consumer (null) found
[    1.384416] reg-fixed-voltage vcc-otg-regulator: GPIO lookup for consumer (null)
[    1.384429] reg-fixed-voltage vcc-otg-regulator: using device tree for GPIO lookup
[    1.384460] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/vcc-otg-regulator[0]'
[    1.384502] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-otg-regulator[0]' - status (0)
[    1.384531] gpio gpiochip3: Persistence not supported for GPIO 22
[    1.385108] reg-fixed-voltage vcc-phy-regulator: GPIO lookup for consumer (null)
[    1.385121] reg-fixed-voltage vcc-phy-regulator: using device tree for GPIO lookup
[    1.385148] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/vcc-phy-regulator[0]'
[    1.385172] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-phy-regulator[0]'
[    1.385187] reg-fixed-voltage vcc-phy-regulator: using lookup tables for GPIO lookup
[    1.385198] reg-fixed-voltage vcc-phy-regulator: No GPIO consumer (null) found
[    1.385790] reg-fixed-voltage vcc-sys-regulator: GPIO lookup for consumer (null)
[    1.385803] reg-fixed-voltage vcc-sys-regulator: using device tree for GPIO lookup
[    1.385831] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/vcc-sys-regulator[0]'
[    1.385855] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-sys-regulator[0]'
[    1.385871] reg-fixed-voltage vcc-sys-regulator: using lookup tables for GPIO lookup
[    1.385881] reg-fixed-voltage vcc-sys-regulator: No GPIO consumer (null) found
[    1.387047] iommu: Default domain type: Translated
[    1.390122] SCSI subsystem initialized
[    1.390478] usbcore: registered new interface driver usbfs
[    1.390562] usbcore: registered new interface driver hub
[    1.390729] usbcore: registered new device driver usb
[    1.390870] mc: Linux media interface: v0.10
[    1.390920] videodev: Linux video capture interface: v2.00
[    1.391114] pps_core: LinuxPPS API ver. 1 registered
[    1.391122] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.391149] PTP clock support registered
[    1.393165] Bluetooth: Core ver 2.22
[    1.393239] NET: Registered protocol family 31
[    1.393247] Bluetooth: HCI device and connection manager initialized
[    1.393265] Bluetooth: HCI socket layer initialized
[    1.393280] Bluetooth: L2CAP socket layer initialized
[    1.393316] Bluetooth: SCO socket layer initialized
[    1.393366] NetLabel: Initializing
[    1.393373] NetLabel:  domain hash size = 128
[    1.393379] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.393480] NetLabel:  unlabeled traffic allowed by default
[    1.394873] clocksource: Switched to clocksource arch_sys_counter
[    2.760761] VFS: Disk quotas dquot_6.6.0
[    2.760872] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.761209] FS-Cache: Loaded
[    2.761537] CacheFiles: Loaded
[    2.777676] NET: Registered protocol family 2
[    2.778734] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 12288 bytes, linear)
[    2.778808] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    2.779002] TCP bind hash table entries: 8192 (order: 5, 163840 bytes, linear)
[    2.779354] TCP: Hash tables configured (established 8192 bind 8192)
[    2.779544] UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
[    2.779617] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
[    2.779990] NET: Registered protocol family 1
[    2.780994] RPC: Registered named UNIX socket transport module.
[    2.781006] RPC: Registered udp transport module.
[    2.781012] RPC: Registered tcp transport module.
[    2.781018] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.782119] Trying to unpack rootfs image as initramfs...
[    3.255425] Freeing initrd memory: 5816K
[    3.257056] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    3.259654] Initialise system trusted keyrings
[    3.260041] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    3.269882] zbud: loaded
[    3.272291] FS-Cache: Netfs 'nfs' registered for caching
[    3.273333] NFS: Registering the id_resolver key type
[    3.273391] Key type id_resolver registered
[    3.273400] Key type id_legacy registered
[    3.273421] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.273804] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.407541] async_tx: api initialized (async)
[    3.407563] Key type asymmetric registered
[    3.407572] Asymmetric key parser 'x509' registered
[    3.407660] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.407955] io scheduler mq-deadline registered
[    3.407967] io scheduler kyber registered
[    3.408323] io scheduler bfq registered
[    3.410086] inno-hdmi-phy 12030000.hdmi-phy: IRQ index 0 not found
[    3.419838] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
[    3.419858] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    3.420468] pwm-regulator vdd-arm-regulator: GPIO lookup for consumer enable
[    3.420482] pwm-regulator vdd-arm-regulator: using device tree for GPIO lookup
[    3.420517] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/vdd-arm-regulator[0]'
[    3.420543] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/vdd-arm-regulator[0]'
[    3.420559] pwm-regulator vdd-arm-regulator: using lookup tables for GPIO lookup
[    3.420571] pwm-regulator vdd-arm-regulator: No GPIO consumer enable found
[    3.420630] pwm-regulator: supplied by vcc_sys
[    3.421078] vcc_host: supplied by vcc_sys
[    3.421189] vccio_1v8: supplied by vcc_sys
[    3.421318] vccio_3v3: supplied by vcc_sys
[    3.421422] vcc_otg_vbus: supplied by vcc_sys
[    3.421523] vcc_phy: supplied by vccio_1v8
[    3.421901] pwm-regulator vdd-log-regulator: GPIO lookup for consumer enable
[    3.421913] pwm-regulator vdd-log-regulator: using device tree for GPIO lookup
[    3.421961] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/vdd-log-regulator[0]'
[    3.421986] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/vdd-log-regulator[0]'
[    3.422003] pwm-regulator vdd-log-regulator: using lookup tables for GPIO lookup
[    3.422014] pwm-regulator vdd-log-regulator: No GPIO consumer enable found
[    3.422063] pwm-regulator: supplied by vcc_sys
[    3.423083] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.425689] printk: console [ttyS2] disabled
[    3.425725] dw-apb-uart 11030000.serial: GPIO lookup for consumer rs485-term
[    3.425736] dw-apb-uart 11030000.serial: using device tree for GPIO lookup
[    3.425772] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/serial@11030000[0]'
[    3.425799] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/serial@11030000[0]'
[    3.425816] dw-apb-uart 11030000.serial: using lookup tables for GPIO lookup
[    3.425827] dw-apb-uart 11030000.serial: No GPIO consumer rs485-term found
[    3.425882] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 30, base_baud = 1500000) is a 16550A
[    3.426759] printk: console [ttyS2] enabled
[    3.429127] rockchip-vop 20050000.vop: Adding to iommu group 2
[    3.432071] usbcore: registered new interface driver udl
[    3.433777] brd: module loaded
[    3.451913] loop: module loaded
[    3.454504] mdio_bus fixed-0: GPIO lookup for consumer reset
[    3.454519] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    3.454530] mdio_bus fixed-0: No GPIO consumer reset found
[    3.454725] libphy: Fixed MDIO Bus: probed
[    3.454780] tun: Universal TUN/TAP device driver, 1.6
[    3.455252] CAN device driver interface
[    3.456248] rk_gmac-dwmac 30200000.ethernet: IRQ eth_wake_irq not found
[    3.456263] rk_gmac-dwmac 30200000.ethernet: IRQ eth_lpi not found
[    3.456441] rk_gmac-dwmac 30200000.ethernet: PTP uses main clock
[    3.456643] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    3.456658] rk_gmac-dwmac 30200000.ethernet: TX delay(0x26).
[    3.456670] rk_gmac-dwmac 30200000.ethernet: RX delay(0x11).
[    3.456707] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    3.456851] rk_gmac-dwmac 30200000.ethernet: cannot get clock clk_mac_speed
[    3.461981] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    3.499339] rk_gmac-dwmac 30200000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    3.499360] rk_gmac-dwmac 30200000.ethernet:         DWMAC1000
[    3.499373] rk_gmac-dwmac 30200000.ethernet: DMA HW capability register supported
[    3.499384] rk_gmac-dwmac 30200000.ethernet: RX Checksum Offload Engine supported
[    3.499395] rk_gmac-dwmac 30200000.ethernet: COE Type 2
[    3.499405] rk_gmac-dwmac 30200000.ethernet: TX Checksum insertion supported
[    3.499414] rk_gmac-dwmac 30200000.ethernet: Wake-Up On Lan supported
[    3.499486] rk_gmac-dwmac 30200000.ethernet: Normal descriptors
[    3.499496] rk_gmac-dwmac 30200000.ethernet: Ring mode enabled
[    3.499507] rk_gmac-dwmac 30200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.500457] mdio_bus stmmac-0: GPIO lookup for consumer reset
[    3.500469] mdio_bus stmmac-0: using device tree for GPIO lookup
[    3.500503] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@30200000/mdio[0]'
[    3.500532] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@30200000/mdio[0]'
[    3.500549] mdio_bus stmmac-0: using lookup tables for GPIO lookup
[    3.500560] mdio_bus stmmac-0: No GPIO consumer reset found
[    3.500571] rk_gmac-dwmac 30200000.ethernet: GPIO lookup for consumer snps,reset
[    3.500581] rk_gmac-dwmac 30200000.ethernet: using device tree for GPIO lookup
[    3.500606] of_get_named_gpiod_flags: can't parse 'snps,reset-gpios' property of node '/ethernet@30200000[0]'
[    3.500631] of_get_named_gpiod_flags: can't parse 'snps,reset-gpio' property of node '/ethernet@30200000[0]'
[    3.500646] rk_gmac-dwmac 30200000.ethernet: using lookup tables for GPIO lookup
[    3.500657] rk_gmac-dwmac 30200000.ethernet: No GPIO consumer snps,reset found
[    3.500670] libphy: stmmac: probed
[    3.516009] mdio_bus stmmac-0:00: GPIO lookup for consumer reset
[    3.516025] mdio_bus stmmac-0:00: using device tree for GPIO lookup
[    3.516073] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@30200000/mdio/phy@0[0]'
[    3.516105] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@30200000/mdio/phy@0[0]'
[    3.516125] mdio_bus stmmac-0:00: using lookup tables for GPIO lookup
[    3.516137] mdio_bus stmmac-0:00: No GPIO consumer reset found
[    3.519030] usbcore: registered new interface driver rt2500usb
[    3.519112] usbcore: registered new interface driver rt73usb
[    3.519185] usbcore: registered new interface driver rt2800usb
[    3.519260] usbcore: registered new interface driver rtl8xxxu
[    3.519337] usbcore: registered new interface driver rndis_wlan
[    3.519413] usbcore: registered new interface driver cdc_ether
[    3.519475] usbcore: registered new interface driver rndis_host
[    3.520104] rockchip-usb2phy 11000000.syscon:usb2-phy@760: Requested PHY is disabled
[    3.520165] dwc2 30040000.usb: supply vusb_d not found, using dummy regulator
[    3.520330] dwc2 30040000.usb: supply vusb_a not found, using dummy regulator
[    3.531797] rockchip-usb2phy 11000000.syscon:usb2-phy@760: Requested PHY is disabled
[    3.531817] dwc2 30040000.usb: DWC OTG Controller
[    3.531857] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    3.531920] dwc2 30040000.usb: irq 47, io mem 0x30040000
[    3.532287] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[    3.532301] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.532312] usb usb1: Product: DWC OTG Controller
[    3.532323] usb usb1: Manufacturer: Linux 5.8.12-rk322x dwc2_hsotg
[    3.532332] usb usb1: SerialNumber: 30040000.usb
[    3.533348] hub 1-0:1.0: USB hub found
[    3.533421] hub 1-0:1.0: 1 port detected
[    3.535286] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.535298] ehci-platform: EHCI generic platform driver
[    3.535785] rockchip-usb2phy 11000000.syscon:usb2-phy@760: Requested PHY is disabled
[    3.535800] ehci-platform 30080000.usb: EHCI Host Controller
[    3.536151] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    3.536718] ehci-platform 30080000.usb: irq 48, io mem 0x30080000
[    3.550887] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    3.551223] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[    3.551238] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.551250] usb usb2: Product: EHCI Host Controller
[    3.551260] usb usb2: Manufacturer: Linux 5.8.12-rk322x ehci_hcd
[    3.551270] usb usb2: SerialNumber: 30080000.usb
[    3.552212] hub 2-0:1.0: USB hub found
[    3.552285] hub 2-0:1.0: 1 port detected
[    3.553234] rockchip-usb2phy 11000000.syscon:usb2-phy@800: Requested PHY is disabled
[    3.553250] ehci-platform 300c0000.usb: EHCI Host Controller
[    3.553677] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 3
[    3.554165] ehci-platform 300c0000.usb: irq 50, io mem 0x300c0000
[    3.566919] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    3.567296] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[    3.567311] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.567322] usb usb3: Product: EHCI Host Controller
[    3.567333] usb usb3: Manufacturer: Linux 5.8.12-rk322x ehci_hcd
[    3.567343] usb usb3: SerialNumber: 300c0000.usb
[    3.568285] hub 3-0:1.0: USB hub found
[    3.568366] hub 3-0:1.0: 1 port detected
[    3.569333] rockchip-usb2phy 11000000.syscon:usb2-phy@800: Requested PHY is disabled
[    3.569349] ehci-platform 30100000.usb: EHCI Host Controller
[    3.569757] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 4
[    3.570237] ehci-platform 30100000.usb: irq 52, io mem 0x30100000
[    3.582920] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    3.583267] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.08
[    3.583281] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.583293] usb usb4: Product: EHCI Host Controller
[    3.583303] usb usb4: Manufacturer: Linux 5.8.12-rk322x ehci_hcd
[    3.583313] usb usb4: SerialNumber: 30100000.usb
[    3.584263] hub 4-0:1.0: USB hub found
[    3.584347] hub 4-0:1.0: 1 port detected
[    3.585182] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.585226] ohci-platform: OHCI generic platform driver
[    3.585689] rockchip-usb2phy 11000000.syscon:usb2-phy@760: Requested PHY is disabled
[    3.585705] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    3.586067] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5
[    3.586458] ohci-platform 300a0000.usb: irq 49, io mem 0x300a0000
[    3.647214] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.08
[    3.647229] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.647241] usb usb5: Product: Generic Platform OHCI controller
[    3.647251] usb usb5: Manufacturer: Linux 5.8.12-rk322x ohci_hcd
[    3.647261] usb usb5: SerialNumber: 300a0000.usb
[    3.648240] hub 5-0:1.0: USB hub found
[    3.648309] hub 5-0:1.0: 1 port detected
[    3.649251] rockchip-usb2phy 11000000.syscon:usb2-phy@800: Requested PHY is disabled
[    3.649269] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    3.649665] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 6
[    3.650093] ohci-platform 300e0000.usb: irq 51, io mem 0x300e0000
[    3.711212] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.08
[    3.711228] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.711240] usb usb6: Product: Generic Platform OHCI controller
[    3.711250] usb usb6: Manufacturer: Linux 5.8.12-rk322x ohci_hcd
[    3.711260] usb usb6: SerialNumber: 300e0000.usb
[    3.712236] hub 6-0:1.0: USB hub found
[    3.712307] hub 6-0:1.0: 1 port detected
[    3.713258] rockchip-usb2phy 11000000.syscon:usb2-phy@800: Requested PHY is disabled
[    3.713274] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    3.713645] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    3.714030] ohci-platform 30120000.usb: irq 53, io mem 0x30120000
[    3.775252] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.08
[    3.775267] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.775279] usb usb7: Product: Generic Platform OHCI controller
[    3.775289] usb usb7: Manufacturer: Linux 5.8.12-rk322x ohci_hcd
[    3.775299] usb usb7: SerialNumber: 30120000.usb
[    3.776256] hub 7-0:1.0: USB hub found
[    3.776324] hub 7-0:1.0: 1 port detected
[    3.777409] usbcore: registered new interface driver usb-storage
[    3.778041] usbcore: registered new interface driver iforce
[    3.778178] usbcore: registered new interface driver xpad
[    3.778368] usbcore: registered new interface driver usbtouchscreen
[    3.779211] i2c /dev entries driver
[    3.783285] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[    3.783778] device-mapper: raid: Loading target version 1.15.1
[    3.784071] Bluetooth: HCI UART driver ver 2.3
[    3.784083] Bluetooth: HCI UART protocol H4 registered
[    3.784091] Bluetooth: HCI UART protocol ATH3K registered
[    3.784146] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    3.784258] usbcore: registered new interface driver bfusb
[    3.784370] usbcore: registered new interface driver btusb
[    3.784927] pwrseq_simple sdio-pwrseq: GPIO lookup for consumer reset
[    3.784940] pwrseq_simple sdio-pwrseq: using device tree for GPIO lookup
[    3.784995] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq[0]' - status (0)
[    3.785027] gpio gpiochip2: Persistence not supported for GPIO 29
[    3.785561] Synopsys Designware Multimedia Card Interface Driver
[    3.786569] dwmmc_rockchip 30000000.mmc: IDMAC supports 32-bit address mode.
[    3.786903] dwmmc_rockchip 30000000.mmc: Using internal DMA controller.
[    3.786925] dwmmc_rockchip 30000000.mmc: Version ID is 270a
[    3.787063] dwmmc_rockchip 30000000.mmc: DW MMC controller at irq 44,32 bit host data width,256 deep fifo
[    3.787172] dwmmc_rockchip 30000000.mmc: GPIO lookup for consumer cd
[    3.787183] dwmmc_rockchip 30000000.mmc: using device tree for GPIO lookup
[    3.787239] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/mmc@30000000[0]' - status (0)
[    3.787270] gpio gpiochip1: Persistence not supported for GPIO 17
[    3.787310] dwmmc_rockchip 30000000.mmc: Got CD GPIO
[    3.787322] dwmmc_rockchip 30000000.mmc: GPIO lookup for consumer wp
[    3.787332] dwmmc_rockchip 30000000.mmc: using device tree for GPIO lookup
[    3.787358] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@30000000[0]'
[    3.787383] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@30000000[0]'
[    3.787400] dwmmc_rockchip 30000000.mmc: using lookup tables for GPIO lookup
[    3.787411] dwmmc_rockchip 30000000.mmc: No GPIO consumer wp found
[    3.800339] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.814228] dwmmc_rockchip 30010000.mmc: IDMAC supports 32-bit address mode.
[    3.814803] dwmmc_rockchip 30010000.mmc: Using internal DMA controller.
[    3.814824] dwmmc_rockchip 30010000.mmc: Version ID is 270a
[    3.815022] dwmmc_rockchip 30010000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[    3.815124] dwmmc_rockchip 30010000.mmc: GPIO lookup for consumer wp
[    3.815136] dwmmc_rockchip 30010000.mmc: using device tree for GPIO lookup
[    3.815207] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@30010000[0]'
[    3.815233] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@30010000[0]'
[    3.815251] dwmmc_rockchip 30010000.mmc: using lookup tables for GPIO lookup
[    3.815262] dwmmc_rockchip 30010000.mmc: No GPIO consumer wp found
[    3.815328] dwmmc_rockchip 30010000.mmc: allocated mmc-pwrseq
[    3.815343] mmc_host mmc1: card is non-removable.
[    3.828253] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    3.841453] dwmmc_rockchip 30020000.mmc: IDMAC supports 32-bit address mode.
[    3.841668] dwmmc_rockchip 30020000.mmc: Using internal DMA controller.
[    3.841688] dwmmc_rockchip 30020000.mmc: Version ID is 270a
[    3.841813] dwmmc_rockchip 30020000.mmc: DW MMC controller at irq 46,32 bit host data width,256 deep fifo
[    3.841921] dwmmc_rockchip 30020000.mmc: GPIO lookup for consumer wp
[    3.841932] dwmmc_rockchip 30020000.mmc: using device tree for GPIO lookup
[    3.841966] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@30020000[0]'
[    3.841992] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/mmc@30020000[0]'
[    3.842009] dwmmc_rockchip 30020000.mmc: using lookup tables for GPIO lookup
[    3.842021] dwmmc_rockchip 30020000.mmc: No GPIO consumer wp found
[    3.842083] mmc_host mmc2: card is non-removable.
[    3.854930] mmc_host mmc2: Bus speed (slot 0) = 2343750Hz (slot req 400000Hz, actual 390625HZ div = 3)
[    3.864664] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    3.867656] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/working[0]' - status (0)
[    3.867692] gpio gpiochip3: Persistence not supported for GPIO 21
[    3.867700] gpio-117 (?): no flags found for gpios
[    3.868345] mmc1: new high speed SDIO card at address 0001
[    3.869016] ledtrig-cpu: registered to indicate activity on CPUs
[    3.869133] hid: raw HID events driver (C) Jiri Kosina
[    3.869618] usbcore: registered new interface driver usbhid
[    3.869625] usbhid: USB HID core driver
[    3.870123] ashmem: initialized
[    3.871477] rockchip-efuse 11040000.efuse: GPIO lookup for consumer wp
[    3.871491] rockchip-efuse 11040000.efuse: using device tree for GPIO lookup
[    3.871528] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/efuse@11040000[0]'
[    3.871554] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/efuse@11040000[0]'
[    3.871570] rockchip-efuse 11040000.efuse: using lookup tables for GPIO lookup
[    3.871581] rockchip-efuse 11040000.efuse: No GPIO consumer wp found
[    3.873601] NET: Registered protocol family 10
[    3.875809] Segment Routing with IPv6
[    3.875920] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.877981] NET: Registered protocol family 17
[    3.878090] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.878098] can: controller area network core (rev 20170425 abi 9)
[    3.878286] NET: Registered protocol family 29
[    3.878536] Bluetooth: RFCOMM socket layer initialized
[    3.878594] Bluetooth: RFCOMM ver 1.11
[    3.878623] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.878641] Bluetooth: HIDP socket layer initialized
[    3.879276] 8021q: 802.1Q VLAN Support v1.8
[    3.879337] lib80211: common routines for IEEE802.11 drivers
[    3.879346] lib80211_crypt: registered algorithm 'NULL'
[    3.879354] lib80211_crypt: registered algorithm 'WEP'
[    3.879362] lib80211_crypt: registered algorithm 'CCMP'
[    3.879369] lib80211_crypt: registered algorithm 'TKIP'
[    3.879431] Key type dns_resolver registered
[    3.880086] ThumbEE CPU extension supported.
[    3.880109] Registering SWP/SWPB emulation handler
[    3.880554] Loading compiled-in X.509 certificates
[    3.880725] zswap: loaded using pool lzo/zbud
[    3.881359] Key type ._fscrypt registered
[    3.881370] Key type .fscrypt registered
[    3.881377] Key type fscrypt-provisioning registered
[    3.883060] Btrfs loaded, crc32c=crc32c-generic
[    3.923251] inno-hdmi-phy 12030000.hdmi-phy: IRQ index 0 not found
[    3.923541] inno-hdmi-phy 12030000.hdmi-phy: phy_flag is: 0
[    3.926113] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb1078b2c)
[    3.926604] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy2)
[    3.927709] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    3.929160] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb107c454)
[    3.929181] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.940877] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    3.941239] mmc2: new high speed MMC card at address 0001
[    3.942621] mmcblk2: mmc2:0001 BJNB4R 29.1 GiB
[    3.943363] mmcblk2boot0: mmc2:0001 BJNB4R partition 1 4.00 MiB
[    3.943986] mmcblk2boot1: mmc2:0001 BJNB4R partition 2 4.00 MiB
[    3.944422] mmcblk2rpmb: mmc2:0001 BJNB4R partition 3 4.00 MiB, chardev (241:0)
[    3.947079]  mmcblk2: p1
[    3.984028] random: fast init done
[    4.096745] Console: switching to colour frame buffer device 240x67
[    4.151261] rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
[    4.152381] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    4.153003] of_cfs_init
[    4.153081] of_cfs_init: OK
[    4.153495] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.186135] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.186467] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    4.186481] cfg80211: failed to load regulatory.db
[    4.193586] Freeing unused kernel memory: 1024K
[    4.207345] Run /init as init process
[    4.207354]   with arguments:
[    4.207359]     /init
[    4.207364]     earlyprintk
[    4.207369]   with environment:
[    4.207374]     HOME=/
[    4.207380]     TERM=linux
[    4.207385]     ubootpart=49e8e85f-01
[    4.207390]     cgroup_enable=memory
[    4.207396]     cgroup_memory=1
[    4.207911] process '/usr/bin/sh' started with executable stack
[    4.957814] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/power-key[0]' - status (0)
[    4.957861] gpio gpiochip3: Persistence not supported for GPIO 25
[    4.958334] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    5.455984] EXT4-fs (mmcblk2p1): mounted filesystem with writeback data mode. Opts: (null)
[    5.983524] systemd[1]: System time before build time, advancing clock.
[    6.019651] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    6.020927] systemd[1]: Detected architecture arm.
[    6.055265] systemd[1]: Set hostname to <rk322x-box>.
[    6.302184] dw-apb-uart 11030000.serial: forbid DMA for kernel console
[    6.395344] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    6.395373] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    6.830492] random: systemd: uninitialized urandom read (16 bytes read)
[    6.842938] random: systemd: uninitialized urandom read (16 bytes read)
[    6.843973] systemd[1]: Listening on Syslog Socket.
[    6.845586] random: systemd: uninitialized urandom read (16 bytes read)
[    6.846162] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    6.853890] systemd[1]: Created slice system-getty.slice.
[    6.855452] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.857432] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.158051] EXT4-fs (mmcblk2p1): re-mounted. Opts: commit=600,errors=remount-ro
[    8.184566] zram: Added device: zram0
[    8.189291] zram: Added device: zram1
[    8.196678] zram: Added device: zram2
[    8.210037] rockchip-rga 20060000.rga: HW Version: 0x04.01
[    8.214504] rk3288-crypto 100a0000.cypto-controller: Crypto Accelerator successfully registered
[    8.217122] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[    8.218680] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[    8.220290] hantro-vpu 20020000.video-codec: Adding to iommu group 0
[    8.221135] rkvdec 20030000.video-codec: Adding to iommu group 1
[    8.226552] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video0
[    8.227267] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video1
[    8.235393] lima 20000000.gpu: gp - mali400 version major 1 minor 1
[    8.235544] lima 20000000.gpu: pp0 - mali400 version major 1 minor 1
[    8.235881] rockchip-rga 20060000.rga: Registered rockchip-rga as /dev/video3
[    8.235898] lima 20000000.gpu: pp1 - mali400 version major 1 minor 1
[    8.235961] lima 20000000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[    8.247518] lima 20000000.gpu: bus rate = 300000000
[    8.247541] lima 20000000.gpu: mod rate = 300000000
[    8.247829] debugfs: Directory '20000000.gpu-mali' with parent 'vdd_log' already present!
[    8.249366] lima 20000000.gpu: Failed to register cooling device
[    8.250468] [drm] Initialized lima 1.1.0 20191231 for 20000000.gpu on minor 1
[    8.458340] bFWReady == _FALSE call reset 8051...
[    8.584218] gpio_ir_recv ir-receiver: GPIO lookup for consumer (null)
[    8.584234] gpio_ir_recv ir-receiver: using device tree for GPIO lookup
[    8.584290] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ir-receiver[0]' - status (0)
[    8.584320] gpio gpiochip1: Persistence not supported for GPIO 11
[    8.584398] Registered IR keymap rc-empty
[    8.584570] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[    8.590488] zram1: detected capacity change from 0 to 503390208
[    8.591289] optee: probing for conduit method.
[    8.591329] optee: revision 3.10 (a1d5c81f)
[    8.592159] optee: dynamic shared memory is enabled
[    8.592785] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[    8.593081] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input1
[    8.593188] optee: initialized driver
[    9.097325] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/hdmi-sound[0]'
[    9.097348] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/hdmi-sound[0]'
[    9.101333] asoc-simple-card hdmi-sound: i2s-hifi <-> 100c0000.i2s0 mapping ok
[    9.690945] Adding 491588k swap on /dev/zram1.  Priority:5 extents:1 across:491588k SSFS
[    9.888808] zram0: detected capacity change from 0 to 52428800
[   11.978346] systemd[1]: Started Armbian ZRAM config.
[   11.993764] systemd[1]: Starting Armbian memory supported logging...
[   12.089615] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[   12.089673] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[   14.937761] systemd[1]: systemd-rfkill.service: Succeeded.
[   16.433623] systemd[1]: Started Armbian memory supported logging.
[   16.451948] systemd[1]: Starting Journal Service...
[   16.915582] systemd[1]: Started Journal Service.
[   16.997539] systemd-journald[552]: Received request to flush runtime journal from PID 1
[   17.742767] random: crng init done
[   17.742784] random: 7 urandom warning(s) missed due to ratelimiting
[   19.373220] rk_gmac-dwmac 30200000.ethernet eth0: PHY [stmmac-0:00] driver [Rockchip integrated EPHY] (irq=POLL)
[   19.374825] rk_gmac-dwmac 30200000.ethernet eth0: No Safety Features support found
[   19.374938] rk_gmac-dwmac 30200000.ethernet eth0: PTP not supported by HW
[   19.374963] rk_gmac-dwmac 30200000.ethernet eth0: configuring for phy/rmii link mode
[   21.411467] rk_gmac-dwmac 30200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   21.411549] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
root@rk322x-box:~# ^C
root@rk322x-box:~# iwconfig
lo        no wireless extensions.

dummy0    no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

ip6tnl0   no wireless extensions.

wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 

 

Link to comment
Share on other sites

@megaduo Thanks for your patience too, reporting every step was very useful to pinpoint to issue ;)

 

Another hint: use rk322x-config to configure your box with the proper overlays. if the chip is a rk3228b/rk3229 it will gain 200 Mhz and the eMMC will be set to run in DDR mode for much faster speed. You will need to add back the wifi overlays manually after to get them working back.

 

I would also like to add the led setup of your box to the list of led configurations. I see 5 leds on your board, am I right? What is the commercial name of the tv box? I confirm the board is very peculiar and would require some study because its hardware is not the common hardware of cheap rk322x tv boxes

Link to comment
Share on other sites

2 hours ago, jock said:

We're on the right way but maybe something still has to be refined.

I have another suggestion: take the two dtbo I gave you in this previous post, put them in the proper place.

Try first overlays=wlan-alt-wiring wlan8189-etv-ah and, if does not work, try overlays=wlan-alt-wiring wlan8189-etv-al in armbianEnv.txt

 

The error -110 is the standard linux error for timeout, so probably the sdio works because wlan-alt-wiring fixed the GPIO wiring of the bus, but the power enable GPIO pin has the inverted polarity (al=ACTIVE_LOW, ah=ACTIVE_HIGH) so we still need to catch this to let the wifi chip correctly being powered on.

 

edit: thanks for the photos, that's definitely not a board I have ever seen and does not resemble any of the common boards we encountered here on the forums.

 

I'll Do this tomorrow  and brief you guys back 

 

My family is killing me to stay away from PC ... LOL 

 

Thanks once again 

 

Cesar

Link to comment
Share on other sites

1 minute ago, zero48 said:

I'll Do this tomorrow  and brief you guys back 

 

My family is killing me to stay away from PC ... LOL 

 

Thanks once again 

 

Cesar

Unless you have rtl8189etv as wifi chip you don't need that.

Just configure the board with rk322x-config so can you get back soon to spend some time with your family ;)

Link to comment
Share on other sites

Gents, 

 

Cant wait until tomorrow. :D

 

I'm trying to install the Armbian legacy to NAND according to https://www.armbian.com/rk322x-tv-box/

Quick installation instructions on NAND:

 

Build or download your preferred Armbian image and a copy of the Multitool; Check

Burn the Multitool on an SD card; once done, place the Armbian legacy kernel image in images folder of the SD card FAT partition;Check

Plug the SD card in the TV box and plug in the power cord. After some seconds the blue led starts blinking and the Multitool appears;Check

OPTIONAL: you can do a backup of the existing firmware with “Backup flash” menu option;Check

Choose “Burn Armbian image via steP-nand” from the menu, then select the destination device (usually rknand0) and the image to burn; I  can't see this option  “Burn Armbian image via steP-nand” Picture attached

Wait for the process to complete, then choose “Shutdown” from main menu;

Unplug the power cord and the SD card, then replug the power cord;

Wait for 10 seconds, then the led should start blinking and HDMI will turn on. The first time the boot process will take a couple of minutes or more because the filesystem is going to be resized, so be patient and wait for the login prompt.

On first boot you will be asked for entering a password for root user of your choice and the name and password for a regular user

Run sudo rk322x-config and select your board characteristics to enable leds, wifi chips, etc…

Run armbian-config to configure timezone, locales and other personal options

Congratulations, Armbian is now installed!

 

Here attched picture and logs

 

Thanks once again in advance

image.png

imgtoll1.5m.txt imgtool115200.txt

Link to comment
Share on other sites

@zero48
Well remember to use  LEGACY IMAGES since main line kernel HAS NOT drivers for nand.

Those board are so many different each from other that is always a jungle to decide the right thing to burn on it
rk3228a or 3228b.. maybe 3229...ddr 2 or perhaps ddr3, emmc instead of nand , ssv6051 as wifi or better rtl8189 and why not an 8188, trust os or better trust_with_ta or the last trust you tested      :unsure::wacko::blink:

But once the picture is complete I can only say you those board work quite well

p.s calcutating the time shift.. you did at 4 in the morning ( madrugada ??) ??
If yes ,well nerd people are egual in every part of the world ahahahahaahh :beer:

Link to comment
Share on other sites

@jock

Yes,there are 5 leds on the board.i uploaded  two photos to explain this,While running official firrmware,the led's  logical are define like this,the led on the right it's a single led(green) ,it's  blink  once when it recieves IR signal,the leds on left and middle are two leds(green/red) in parallel.while the box on stanby mode,only the red led on left is on ,after power on the box,the leds on left turn to green,the red led in middle turn on ,after a while when the os was fully loaded,the middle one turn from red to green.This box is customized by ISP for IPTV application which manifacutured by Huawei,the model is EC6108V9E.Please excuse my poor English.:rolleyes:

111.thumb.jpg.0d0934ea138d0b8d7314276b99e93ccd.jpg

222.thumb.jpg.d0332d1e365a4398cbd80bdd66879ce1.jpg

Link to comment
Share on other sites

On 11/30/2020 at 4:57 AM, jock said:

@zero48
Apparently you have emmc and not NAND flash, so use the other instructions

Hello, 

Busy monday ...

Perfect So imagetool will shown if your box has NAND or EMMC depending of the chip... Understood.

 

I flashed both legacy Images and it does not boot on Armbian after flash and reboot .

If there some other images that I can use for testing Since it looks like you need the "perect fit" for you the board.

 

This is a Microcosmos and I really enjoy the ride .

 

Cesar

 

Link to comment
Share on other sites

Gents, 

 

Finally got it Installed , I'm so happy !! 

 

Now I'll check whats working or not (not interested in WIFI in case of failure) .

 

I used Armbian_20.11_Rk322x-box_buster_current_5.9.10_minimal.img  ( I dont need Desktop for my purpose)

 

Thanks Very much @jock and @fabiobassa for your patience and guide .

 

Sincerely

 

 

 

 

image.thumb.png.ddd0f978f9d613ed757e70a22abe35c3.png

Link to comment
Share on other sites

13 hours ago, Flávio Lima said:

Hi,
looking for ubuntu bionic image for rk322x. only focal encounter, but my equipment only has 1GB Ram and is slow. all the links I found are broken.
Thank you very much in advance

Hello, Ubuntu bionic is kind of deprecated by Armbian itself, so it is not in the archive directory anymore.

I don't really know if it is even possible to build an image.

Why you really need Bionic anyway? Focal is way better because packages are just more up-to-date and if you really need stable older packages you may want to try a Debian Buster build.

 

edit: sorry, my mistake. Ubuntu Bionic is deprecated as a building OS, but it is still supported as target OS, so it is possible to have an Ubuntu Bionic image, but you have to build it yourself because it is not in the archives anymore. Suggestions above are still valid (use Focal if you can, or Buster if you need older stable packages)

Link to comment
Share on other sites

8 hours ago, jock said:

Hello, Ubuntu bionic is kind of deprecated by Armbian itself, so it is not in the archive directory anymore.

I don't really know if it is even possible to build an image.

Why you really need Bionic anyway? Focal is way better because packages are just more up-to-date and if you really need stable older packages you may want to try a Debian Buster build.

 

edit: sorry, my mistake. Ubuntu Bionic is deprecated as a building OS, but it is still supported as target OS, so it is possible to have an Ubuntu Bionic image, but you have to build it yourself because it is not in the archives anymore. Suggestions above are still valid (use Focal if you can, or Buster if you need older stable packages)

 

Hi, @jock

my box only has 1gb of RAM, the focal is heavy in it. I would like bionic to see if performance improves. I saw that there is no more to download, but usually someone has gdrive. do you know who might have it? Thank you very much in advance

Link to comment
Share on other sites

3 hours ago, Flávio Lima said:

 

Hi, @jock

my box only has 1gb of RAM, the focal is heavy in it. I would like bionic to see if performance improves. I saw that there is no more to download, but usually someone has gdrive. do you know who might have it? Thank you very much in advance

It depends what you want to do. 1Gb is plenty of memory if you want to build up a little home server or media center, but of course if you want to browse the internet with a recent full-featured browser in a rich GUI it is way too low, either if you use Focal or Bionic.

 

Link to comment
Share on other sites

16 horas atrás, jock disse:

Depende do que você quer fazer. 1 Gb é bastante memória se você deseja construir um pequeno servidor doméstico ou centro de mídia, mas é claro se você deseja navegar na Internet com um navegador completo recente em uma interface gráfica rica, é muito baixo, se você usar Focal ou biônico.

 

 

I want to make a service terminal, for companies. can you get this bionic image with someone?

Link to comment
Share on other sites

Gents, 

All Boards I have I have been properly flashed with Armbian and installed the application I wanted flawlessly. 

 

However I do Have the one that I did handle a lot that I have this error below . Any advise on it ( I did try the Shorting Pins Method ) .

 

Thanks in advance 

 

 

image.png.33d5b493929cc545d71142adece3016e.png

 

Link to comment
Share on other sites

1 hour ago, zero48 said:

Gents, 

All Boards I have I have been properly flashed with Armbian and installed the application I wanted flawlessly. 

 

However I do Have the one that I did handle a lot that I have this error below . Any advise on it ( I did try the Shorting Pins Method ) .

 

Thanks in advance 

 

 

image.png.33d5b493929cc545d71142adece3016e.png

 

What's wrong with that? It does not boot anymore? If so, maybe your installation is corrupted.

By the way, you're using a very outdated armbian image, a lot happened in the meantime and it is preferred to download a new one from the download page.

Link to comment
Share on other sites

@zero48
Please zero48 really no needed to short pins . The concept of multitool is booting WHATEVER is in the board ( android, other linux, whatever)  and flash in the EMMC or NAND  " something"  that will boot later , when multitool has set GPT, boot environment ( u-boot and trust os) and root file system.

As you can see the ddrbin ( the very first first first part ) is booting, it says to you that you have a ddr 3 at 600 Mhz and also is booting u-boot 2020.04

After this no more messages from uart !
Well some scenarios:
1) the uart speed in the beginning is different after u-boot start (EXAMPLE : ddrbin at 1500000 and then u-boot at 115200 )
2) something went wrong in flashing image
SOLUTIONS ( maybe... )
1) set 115200 FROM BEGINNING : you will see some wrong characters and then correct booting or set from beginning 1500000
2) flash another armbian may be more recent as @jock already suggested

 

EDIT post scriptum
where did you downloaded this image?



 

Link to comment
Share on other sites

2 hours ago, jock said:

What's wrong with that? It does not boot anymore? If so, maybe your installation is corrupted.

By the way, you're using a very outdated armbian image, a lot happened in the meantime and it is preferred to download a new one from the download page.

Thanks 

Link to comment
Share on other sites

23 minutes ago, fabiobassa said:

@zero48
Please zero48 really no needed to short pins . The concept of multitool is booting WHATEVER is in the board ( android, other linux, whatever)  and flash in the EMMC or NAND  " something"  that will boot later , when multitool has set GPT, boot environment ( u-boot and trust os) and root file system.

As you can see the ddrbin ( the very first first first part ) is booting, it says to you that you have a ddr 3 at 600 Mhz and also is booting u-boot 2020.04

After this no more messages from uart !
Well some scenarios:
1) the uart speed in the beginning is different after u-boot start (EXAMPLE : ddrbin at 1500000 and then u-boot at 115200 )
2) something went wrong in flashing image
SOLUTIONS ( maybe... )
1) set 115200 FROM BEGINNING : you will see some wrong characters and then correct booting or set from beginning 1500000
2) flash another armbian may be more recent as @jock already suggested

 

EDIT post scriptum
where did you downloaded this image?



 

Thanks

 

Link to comment
Share on other sites

30 minutes ago, fabiobassa said:

@zero48
well also could be physical damage of EMMC or bad bga chip solder
In that case you could try to start with multitool , press exit to shell ( menu 4 ? ) , do a list block lsblk and try to manually mount the emmc or nand somewhere ( under /mnt or under /tmp) and inspect it

Well I play a lot with this one (the original first Timer) it does not recognise the SD , with multitool.

The others 3 are fine and working flawlessly. 

I think this one Die with Honors ... LOL 

 

PD. By the way 1.5Mb speed is not showing nothisn , the image was taken with 115200 Speed.

Edited by zero48
Adding Post Data
Link to comment
Share on other sites

But with the sd-multitool have you at least a try-to-boot ?

Those boards are UNBRICKABLE because the real bootstrap is in the soc itself. I have many with broken nand or emmc that I desoldered and they boot flawlessly from SD of course with right ddrbin U-Boot and the hellish trust-os.

Later if is phisically broken the sdcard reader, well YES it died with honor LOL 

( And.... ... There still is last thing to try but the process is long)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines