Odroid C2 Unable to get USB wifi (r8188eu) working

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Odroid C2 Unable to get USB wifi (r8188eu) working

Postby Strykar » Wed Feb 21, 2018 5:25 pm

I've tried the suggestions at https://wiki.archlinux.org/index.php/Wi ... figuration but no cigar. Oddly lsusb just show the Device ID, no name. Mine's the V2 -https://askubuntu.com/questions/912498/tl-wn722n-is-not-recognized

The driver loads at boot, but bringing up the interface always fails:
$this->bbcode_second_pass_code('', '[root@Odroid-C2 ~]# ip link set wlan0 up
Cannot find device "wlan0"

[root@Odroid-C2 ~]# dmesg | grep firmware
[root@Odroid-C2 ~]#

[root@Odroid-C2 ~]# iw dev
[root@Odroid-C2 ~]#

[root@Odroid-C2 ~]# lsmod | grep r8188eu
r8188eu 851201 0

[root@Odroid-C2 ~]# dmesg | grep r8188eu
[ 7.170201] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[ 7.174883] usbcore: registered new interface driver r8188eu

[root@Odroid-C2 ~]# dmesg|grep usb
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rootwait rw console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1080p60hz m_bpp=32 vout=dvi fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true max_freq=1536 maxcpus=4 monitor_onoff=false disableuhs=false mmc_removable=true usbmulticam=false
[ 1.910468] usbcore: registered new interface driver usbfs
[ 1.910503] usbcore: registered new interface driver hub
[ 1.910555] usbcore: registered new device driver usb
[ 2.090969] usbcore: registered new interface driver cdc_ether
[ 2.091022] usbcore: registered new interface driver cdc_ncm
[ 2.091254] usbcore: registered new interface driver cdc_acm
[ 2.091302] usbcore: registered new interface driver usb-storage
[ 2.091327] usbcore: registered new interface driver ums-cypress
[ 2.091353] usbcore: registered new interface driver ums_eneub6250
[ 2.091430] usbcore: registered new interface driver usbserial
[ 2.091455] usbcore: registered new interface driver usbserial_generic
[ 2.091478] usbserial: USB Serial support registered for generic
[ 2.092662] usbcore: registered new interface driver usbhid
[ 2.092671] usbhid: USB HID core driver
[ 3.947368] dwc_otg: usb1: type: 1 speed: 0, config: 0, dma: 0, id: 1, phy: c0000020, ctrl: 0
[ 4.014656] dwc_otg: usb0: type: 0 speed: 0, config: 0, dma: 0, id: 0, phy: c0000000, ctrl: 0
[ 4.392125] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 4.962423] usb 1-1.2: new high-speed USB device number 3 using dwc_otg
[ 7.174883] usbcore: registered new interface driver r8188eu
[ 263.758465] usb 1-1.2: USB disconnect, device number 3
[ 268.089364] usb 1-1.3: new high-speed USB device number 4 using dwc_otg

[root@Odroid-C2 ~]# lsusb
Bus 001 Device 004: ID 2357:010c
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[root@Odroid-C2 ~]# lsusb -v

Bus 001 Device 004: ID 2357:010c
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2357
idProduct 0x010c
bcdDevice 0.00
iManufacturer 1 Realtek
iProduct 2 802.11n NIC
iSerial 3 00E04C0001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled')

What am I missing here?
Full dmesg:

$this->bbcode_second_pass_code('', '[root@Odroid-C2 ~]# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.79-28-ARCH (builduser@leming) (gcc version 7.2.0 (GCC) ) #1 SMP PREEMPT Tue Nov 28 20:47:59 MST 2017
[ 0.000000] CPU: AArch64 Processor [410fd034] revision 4
[ 0.000000] secmon: share mem setup
[ 0.000000] Reserved memory: initialized node linux,secmon, compatible id aml_secmon_memory
[ 0.000000] __reserved_mem_alloc_size: linux,meson-fb
[ 0.000000] fb: Reserved memory: created fb at 0x0000000078000000, size 128 MiB
[ 0.000000] Reserved memory: initialized node linux,meson-fb, compatible id amlogic, fb-memory
[ 0.000000] __reserved_mem_alloc_size: linux,di
[ 0.000000] DI reserved memory: created CMA memory pool at 0x0000000076200000, size 30 MiB
[ 0.000000] Reserved memory: initialized node linux,di, compatible id amlogic, di-mem
[ 0.000000] __reserved_mem_alloc_size: linux,ion-dev
[ 0.000000] linux,ion-dev add multi user:ffffffc001d1d1f0
[ 0.000000] ion_dev mem setup
[ 0.000000] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[ 0.000000] ppmgr share mem setup
[ 0.000000] linux,ion-dev add multi user:ffffffc001d25d70
[ 0.000000] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[ 0.000000] __reserved_mem_alloc_size: linux,codec_mm_cma
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000067c00000, size 188 MiB
[ 0.000000] Reserved memory: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[ 0.000000] __reserved_mem_alloc_size: linux,picdec
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000064c00000, size 48 MiB
[ 0.000000] Reserved memory: initialized node linux,picdec, compatible id shared-dma-pool
[ 0.000000] __reserved_mem_alloc_size: linux,codec_mm_reserved
[ 0.000000] codec_mm:vdec: reserved mem setup
[ 0.000000] Reserved memory: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[ 0.000000] __reserved_mem_alloc_size: linux,jpegenc_cma
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000005e400000, size 36 MiB
[ 0.000000] Reserved memory: initialized node linux,jpegenc_cma, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 8 MiB at 5dc00000
[ 0.000000] On node 0 totalpages: 486912
[ 0.000000] Normal zone: 8568 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 486912 pages, LIFO batch:31
[ 0.000000] psci: probing function IDs from device-tree
[ 0.000000] PERCPU: Embedded 11 pages/cpu @ffffffc074199000 s16000 r8192 d20864 u45056
[ 0.000000] pcpu-alloc: s16000 r8192 d20864 u45056 alloc=11*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 478344
[ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rootwait rw console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=1080p60hz m_bpp=32 vout=dvi fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true max_freq=1536 maxcpus=4 monitor_onoff=false disableuhs=false mmc_removable=true usbmulticam=false
[ 0.000000] logo: get hdmimode: 1080p60hz
[ 0.000000] dvfs [get_max_freq] - max_freq : 1536000000
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Memory: 1466380K/1947648K available (8953K kernel code, 653K rwdata, 2896K rodata, 587K init, 4096K bss, 481268K reserved)
[ 0.000000] Virtual kernel memory layout:
vmalloc : 0xffffff8000000000 - 0xffffff8040000000 ( 1024 MB)
vmemmap : 0xffffff8040010000 - 0xffffff80421d0000 ( 33 MB)
modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
memory : 0xffffffc000000000 - 0xffffffc078000000 ( 1920 MB)
.init : 0xffffffc001c14000 - 0xffffffc001ca6e80 ( 588 kB)
.text : 0xffffffc001080000 - 0xffffffc001c137a4 ( 11854 kB)
.data : 0xffffffc001ca7000 - 0xffffffc001d4a6a0 ( 654 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000007] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[ 0.000024] mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000a994
[ 0.000066] local timer MESON TIMER-G mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000c998
[ 0.000085] local timer MESON TIMER-H mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000e99c
[ 0.000102] local timer MESON TIMER-I mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff80000109a0
[ 0.000112] Switching to timer-based delay loop
[ 0.000338] Console: colour dummy device 80x25
[ 0.000764] console [tty0] enabled
[ 0.003121] allocated 8388608 bytes of page_cgroup
[ 0.003128] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.003144] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.003160] pid_max: default: 32768 minimum: 301
[ 0.003230] Security Framework initialized
[ 0.003247] AppArmor: AppArmor disabled by boot time parameter
[ 0.003281] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.003291] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.003683] Initializing cgroup subsys debug
[ 0.003695] Initializing cgroup subsys memory
[ 0.003712] Initializing cgroup subsys devices
[ 0.003721] Initializing cgroup subsys freezer
[ 0.003731] Initializing cgroup subsys net_cls
[ 0.003739] Initializing cgroup subsys blkio
[ 0.003747] Initializing cgroup subsys perf_event
[ 0.003758] Initializing cgroup subsys hugetlb
[ 0.003934] /cpus/cpu@0: Missing clock-frequency property
[ 0.003946] /cpus/cpu@1: Missing clock-frequency property
[ 0.003958] /cpus/cpu@2: Missing clock-frequency property
[ 0.003968] /cpus/cpu@3: Missing clock-frequency property
[ 0.003979] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[ 0.040161] Meson chip version = RevC (1F:C - 0:0)
[ 0.060782] CPU1: Booted secondary processor
[ 0.080758] CPU2: Booted secondary processor
[ 0.100754] CPU3: Booted secondary processor
[ 0.100806] Brought up 4 CPUs
[ 0.100828] SMP: Total of 4 processors activated.
[ 0.101262] devtmpfs: initialized
[ 0.110972] xor: measuring software checksum speed
[ 0.210068] 8regs : 2946.400 MB/sec
[ 0.310048] 8regs_prefetch: 2626.400 MB/sec
[ 0.410047] 32regs : 3621.600 MB/sec
[ 0.510048] 32regs_prefetch: 3044.000 MB/sec
[ 0.510056] xor: using function: 32regs (3621.600 MB/sec)
[ 0.510071] pinctrl core: initialized pinctrl subsystem
[ 0.510294] regulator-dummy: no parameters
[ 0.511898] device-tree: Duplicate name in efusekey, renamed to "key0#1"
[ 0.511924] device-tree: Duplicate name in efusekey, renamed to "key1#1"
[ 0.511948] device-tree: Duplicate name in efusekey, renamed to "key2#1"
[ 0.511972] device-tree: Duplicate name in efusekey, renamed to "key3#1"
[ 0.513730] NET: Registered protocol family 16
[ 0.514514] register canvas platform driver
[ 0.514523] codec:ignore bus ops for cpu=25
[ 0.514529] codec:ignore bus ops for cpu=29
[ 0.514537] codec:register amports ops for bus[0]
[ 0.514544] codec:register amports ops for bus[4]
[ 0.514550] codec:register amports ops for bus[3]
[ 0.514557] codec:register amports ops for bus[2]
[ 0.514564] codec:register amports ops for bus[1]
[ 0.514570] codec:register amports ops for bus[13]
[ 0.514577] codec:register amports ops for bus[2]
[ 0.514584] codec:register amports ops for bus[14]
[ 0.514606] register rdma platform driver
[ 0.515067] vdso: 2 pages (1 code, 1 data) at base ffffffc001cae000
[ 0.515100] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.515575] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.516771] software IO TLB [mem 0x5a400000-0x5a800000] (4MB) mapped at [ffffffc05a400000-ffffffc05a7fffff]
[ 0.516782] Serial: AMBA PL011 UART driver
[ 0.516857] hdmitx: system: amhdmitx_init
[ 0.516865] hdmitx: system: Ver: 2014May6
[ 0.516892] tv_vout: tv_init_module
[ 0.516903] tv_vout: major number 254 for disp
[ 0.516910] vout_notify: vout_register_server
[ 0.516918] tv_vout: register tv module server ok
[ 0.516943] codec_mm:codec_mm_module_init
[ 0.517064] gxbb clk HIU base is 0xffffff800005a000
[ 0.517072] gxbb clk ao base is 0xffffff800005c000
[ 0.517107] register mpll_clk_out0 success done
[ 0.517117] register mpll_clk_out1 success done
[ 0.517128] register mpll_clk_out2 success done
[ 0.517286] register sys pll success done
[ 0.517326] clkrate [ xtal ] : 24000000Hz
[ 0.517334] clkrate [ 32Khz ] : 32000Hz
[ 0.517342] clkrate [ clk81 ] : 166666666Hz
[ 0.517350] clkrate [ fixed_pll ] : 2000000000Hz
[ 0.517358] clkrate [ fclk_div2 ] : 1000000000Hz
[ 0.517365] clkrate [ fclk_div3 ] : 666666000Hz
[ 0.517372] clkrate [ fclk_div4 ] : 500000000Hz
[ 0.517379] clkrate [ fclk_div5 ] : 400000000Hz
[ 0.517386] clkrate [ fclk_div7 ] : 285714000Hz
[ 0.517413] gxbb clock initialization complete
[ 0.517520] msr_clk_reg0=ffffff800005e75c,msr_clk_reg2=ffffff800006a764
[ 0.518345] amlogic iomap probe done
[ 0.518573] Init pinux probe!
[ 0.519250] pinmux-gxbb c1109880.pinmux: Probed amlogic pinctrl driver
[ 0.519495] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xa8)
[ 0.519513] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xa8)
[ 0.519572] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xa8)
[ 0.519589] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xa8)
[ 0.519764] dvfs [scpi_dvfs_get_opps] - new count 6, max_freq 1536000000
[ 0.520196] codec:codec map io source 0x00000000c1100000,size=1048576 to 0xffffff8000680000
[ 0.520214] codec:codec map io source 0x00000000c8820000,size=65536 to 0xffffff80000a0000
[ 0.520230] codec:codec map io source 0x00000000c883c000,size=8192 to 0xffffff8000094000
[ 0.520255] codec:codec map io source 0x00000000c8100000,size=1048576 to 0xffffff8000800000
[ 0.520274] codec:codec map io source 0x00000000d0100000,size=262144 to 0xffffff8000980000
[ 0.520290] codec:codec map io source 0x00000000c8838000,size=1024 to 0xffffff8000092000
[ 0.520351] codec_mm has 2 memory regions
[ 0.520366] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma ok
[ 0.520379] codec_mm:codec_mm_reserved_init 0000000060b00000->0000000064c00000
[ 0.520391] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_reserved ok
[ 0.520400] codec_mm:codec_mm_probe mem init done
[ 0.520410] codec_mm:add reserve memory 0000000060b00000(aligned 0000000060b00000) size=4100000(aligned 4100000)
[ 0.520434] codec_mm has 2 memory regions
[ 0.520444] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma ok
[ 0.520455] codec_mm:codec_mm_reserved_init 0000000060b00000->0000000064c00000
[ 0.520466] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_reserved ok
[ 0.520476] codec_mm:codec_mm reserved memory probed done
[ 0.520483] codec_mm:codec_mm_probe ok
[ 0.521064] VPU driver version: v01
[ 0.521073] vpu driver detect cpu type: gxbaby
[ 0.521086] load vpu_clk in dts: 666667000Hz(7)
[ 0.521108] vpu_probe OK
[ 0.521285] hdmitx: system: amhdmitx_probe
[ 0.521502] hdmitx hpd irq = 89
[ 0.521678] hdmitx20: Mapped PHY: 0xc0800000
[ 0.521689] hdmitx20: Mapped PHY: 0xc1104400
[ 0.521709] hdmitx20: Mapped PHY: 0xc8100000
[ 0.521718] hdmitx20: Mapped PHY: 0xc8834000
[ 0.521726] hdmitx20: Mapped PHY: 0xc883a000
[ 0.521734] hdmitx20: Mapped PHY: 0xc883c000
[ 0.521745] hdmitx20: Mapped PHY: 0xd0100000
[ 0.521753] hdmitx20: Mapped PHY: 0xda83a000
[ 0.521767] hdmitx: alread display in uboot 0x10
[ 0.521790] avmute set to 1
[ 0.522079] canvas_probe reg=00000000c8838000,size=400
[ 0.522093] canvas maped reg_base =ffffff800009e000
[ 0.525160] rdma_probe
[ 0.551445] bio: create slab <bio-0> at 0
[ 0.720082] raid6: int64x1 523 MB/s
[ 0.890085] raid6: int64x2 868 MB/s
[ 1.060103] raid6: int64x4 1337 MB/s
[ 1.060112] hdmitx: plugin
[ 1.124500] hdmitx: edid: raw data are all zeroes
[ 1.124509] EDID Parser:
[ 1.131055] EDID BlockCount=0
[ 1.131062] hdmitx: edid: HDMI: set default vic
[ 1.131075] hdmitx: video: get current mode: null
[ 1.131083] hdmtix: set audio
[ 1.131095] hdmitx tx_aud_src = 0
[ 1.131122] hdmitx aud_n_para = 24576
[ 1.131143] hdmitx set channel status
[ 1.230073] raid6: int64x8 1256 MB/s
[ 1.400061] raid6: neonx1 940 MB/s
[ 1.570078] raid6: neonx2 1504 MB/s
[ 1.740064] raid6: neonx4 1939 MB/s
[ 1.910059] raid6: neonx8 2010 MB/s
[ 1.910066] raid6: using algorithm neonx8 (2010 MB/s)
[ 1.910074] raid6: using intx1 recovery algorithm
[ 1.910324] SCSI subsystem initialized
[ 1.910468] usbcore: registered new interface driver usbfs
[ 1.910503] usbcore: registered new interface driver hub
[ 1.910555] usbcore: registered new device driver usb
[ 1.910770] media: Linux media interface: v0.10
[ 1.910796] Linux video capture interface: v2.00
[ 1.910838] pps_core: LinuxPPS API ver. 1 registered
[ 1.910846] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.910864] PTP clock support registered
[ 1.911000] logo: logo_init
[ 1.911041] Advanced Linux Sound Architecture Driver Initialized.
[ 1.911330] Bluetooth: Core ver 2.18
[ 1.911361] NET: Registered protocol family 31
[ 1.911369] Bluetooth: HCI device and connection manager initialized
[ 1.911381] Bluetooth: HCI socket layer initialized
[ 1.911393] Bluetooth: L2CAP socket layer initialized
[ 1.911413] Bluetooth: SCO socket layer initialized
[ 1.911426] NetLabel: Initializing
[ 1.911432] NetLabel: domain hash size = 128
[ 1.911439] NetLabel: protocols = UNLABELED CIPSOv4
[ 1.911472] NetLabel: unlabeled traffic allowed by default
[ 1.912094] Switched to clocksource Timer-E
[ 1.915744] NET: Registered protocol family 2
[ 1.916193] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.916287] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 1.916490] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.916554] TCP: reno registered
[ 1.916564] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.916602] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.916758] NET: Registered protocol family 1
[ 1.916916] RPC: Registered named UNIX socket transport module.
[ 1.916925] RPC: Registered udp transport module.
[ 1.916932] RPC: Registered tcp transport module.
[ 1.916939] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.917074] Unpacking initramfs...
[ 2.067304] Freeing initrd memory: 4816K (ffffffc073a74000 - ffffffc073f28000)
[ 2.070523] kvm [1]: interrupt-controller@c4304000 IRQ25
[ 2.070691] kvm [1]: kvm_arch_timer: can't find DT node
[ 2.070724] kvm [1]: error initializing Hyp mode: -19
[ 2.071122] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 2.071191] audit: initializing netlink subsys (disabled)
[ 2.071226] audit: type=2000 audit(2.060:1): initialized
[ 2.071589] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 2.075186] VFS: Disk quotas dquot_6.5.2
[ 2.075313] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.076715] NFS: Registering the id_resolver key type
[ 2.076745] Key type id_resolver registered
[ 2.076753] Key type id_legacy registered
[ 2.076764] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.076786] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[ 2.077613] msgmni has been set to 3433
[ 2.078339] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.078402] io scheduler noop registered (default)
[ 2.078411] io scheduler deadline registered
[ 2.078434] io scheduler cfq registered
[ 2.078991] meson-rng c8834000.rng: hwrng registered
[ 2.079065] [drm] Initialized drm 1.1.0 20060810
[ 2.079094] mali-utgard d00c0000.mali: max pp is 3
[ 2.079104] mali-utgard d00c0000.mali: min pp is 3
[ 2.079114] mali-utgard d00c0000.mali: min clk is 4
[ 2.079128] mali-utgard d00c0000.mali: hiu io source 0xffffff80000d2000
[ 2.079142] mali-utgard d00c0000.mali: hiu io source 0xffffff80000e8000
[ 2.079152] mali-utgard d00c0000.mali: num of pp used most of time 3
[ 2.079162] mali-utgard d00c0000.mali: clock dvfs table size is 6
[ 2.079172] mali-utgard d00c0000.mali: max clk set 4
[ 2.079181] mali-utgard d00c0000.mali: max clk is 4
[ 2.079190] mali-utgard d00c0000.mali: turbo clk set to 5
[ 2.079198] mali-utgard d00c0000.mali: turbo clk is 5
[ 2.079207] mali-utgard d00c0000.mali: default clk is 4
[ 2.079266] mali-utgard d00c0000.mali: ====================0====================
clk_freq= 125000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<30 120>, clk_sample=125
[ 2.079289] mali-utgard d00c0000.mali: ====================1====================
clk_freq= 285000000, clk_parent=fclk_div7, voltage=1150, keep_count=5, threshod=<100 190>, clk_sample=285
[ 2.079311] mali-utgard d00c0000.mali: ====================2====================
clk_freq= 400000000, clk_parent=fclk_div5, voltage=1150, keep_count=5, threshod=<152 207>, clk_sample=400
[ 2.079334] mali-utgard d00c0000.mali: ====================3====================
clk_freq= 500000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<180 220>, clk_sample=500
[ 2.079356] mali-utgard d00c0000.mali: ====================4====================
clk_freq= 666000000, clk_parent=fclk_div3, voltage=1150, keep_count=5, threshod=<210 236>, clk_sample=666
[ 2.079378] mali-utgard d00c0000.mali: ====================5====================
clk_freq= 792000000, clk_parent= gp0_pll, voltage=1150, keep_count=5, threshod=<230 255>, clk_sample=792
[ 2.080585] gpu cooling register okay with err=0
[ 2.080624] gpu core cooling register okay with err=0
[ 2.080740] Mali: Mali device driver loaded
[ 2.080865] UMP: UMP device driver loaded
[ 2.082987] loop: module loaded
[ 2.083496] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 2.090645] libphy: stmmac: probed
[ 2.090667] eth0: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
[ 2.090677] eth0: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
[ 2.090969] usbcore: registered new interface driver cdc_ether
[ 2.091022] usbcore: registered new interface driver cdc_ncm
[ 2.091114] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.091124] ehci-h20ahb: H20AHB-EHCI Host Controller driver
[ 2.091202] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.091254] usbcore: registered new interface driver cdc_acm
[ 2.091263] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.091302] usbcore: registered new interface driver usb-storage
[ 2.091327] usbcore: registered new interface driver ums-cypress
[ 2.091353] usbcore: registered new interface driver ums_eneub6250
[ 2.091430] usbcore: registered new interface driver usbserial
[ 2.091455] usbcore: registered new interface driver usbserial_generic
[ 2.091478] usbserial: USB Serial support registered for generic
[ 2.091757] mousedev: PS/2 mouse device common for all mice
[ 2.091974] i2c /dev entries driver
[ 2.092499] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.092543] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.092662] usbcore: registered new interface driver usbhid
[ 2.092671] usbhid: USB HID core driver
[ 2.092796] ==uart0 reg addr = ffffff80002244c0
[ 2.092819] c81004c0.serial: ttyS0 at MMIO 0xc81004c0 (irq = 225, base_baud = 1500000) is a meson_uart
[ 3.876939] console [ttyS0] enabled
[ 3.880535] ==uart1 reg addr = ffffff80002264c0
[ 3.884885] c11084c0.serial: ttyS1 at MMIO 0xc11084c0 (irq = 58, base_baud = 1500000) is a meson_uart
[ 3.894190] enter cpufreq
[ 3.896692] probe cpufreq okay
[ 3.899894] dvfs [scpi_dvfs_get_opps] - new count 6, max_freq 1536000000
[ 3.947368] dwc_otg: usb1: type: 1 speed: 0, config: 0, dma: 0, id: 1, phy: c0000020, ctrl: 0
[ 3.952853] dwc_otg: Core Release: 3.10a
[ 3.954108] dwc_otg: Setting default values for core params
[ 3.959634] dwc_otg: curmode: 1, host_only: 1
[ 3.966139] dwc_otg: Using Buffer DMA mode
[ 3.967994] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[ 3.973090] dwc_otg: Working on port type = HOST
[ 3.977764] dwc_otg dwc2_b: DWC OTG Controller
[ 3.982062] dwc_otg dwc2_b: new USB bus registered, assigned bus number 1
[ 3.988800] dwc_otg dwc2_b: irq 63, io mem 0x00000000
[ 3.993789] dwc_otg: -------hcd->flags.d32 = 0
[ 3.998197] dwc_otg: Init: Port Power? op_state=1
[ 4.002845] dwc_otg: Init1: Power Port (0)
[ 4.007301] hub 1-0:1.0: USB hub found
[ 4.010614] hub 1-0:1.0: 1 port detected
[ 4.014656] dwc_otg: usb0: type: 0 speed: 0, config: 0, dma: 0, id: 0, phy: c0000000, ctrl: 0
[ 4.034510] dwc_otg: Core Release: 3.10a
[ 4.034532] dwc_otg: Setting default values for core params
[ 4.038324] dwc_otg: curmode: 1, host_only: 0
[ 4.046814] dwc_otg: Using Buffer DMA mode
[ 4.046835] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[ 4.051776] dwc_otg: Working on port type = OTG
[ 4.056269] dwc_otg: Current port type: SLAVE
[ 4.060639] dwc_otg dwc2_a: DWC OTG Controller
[ 4.064988] dwc_otg dwc2_a: new USB bus registered, assigned bus number 2
[ 4.071710] dwc_otg dwc2_a: irq 62, io mem 0x00000000
[ 4.077010] hub 2-0:1.0: USB hub found
[ 4.080423] hub 2-0:1.0: 1 port detected
[ 4.084400] dwc_otg: Dedicated Tx FIFOs mode
[ 4.088669] dwc_otg: using timer detectid change, ffffffc0596c8000
[ 4.094885] BLASTER Driver Init
[ 4.097855] secmon has 1 memory regions
[ 4.101560] secmon: share in base: 0xffffff8000234000, share out base: 0xffffff8000236000
[ 4.109664] secmon secmon: assigned reserved memory node linux,secmon ok
[ 4.116341] secmon: probe done
[ 4.119400] storage: storage in base: 0xffffff8001780000
[ 4.124578] storage: storage out base: 0xffffff8001800000
[ 4.129918] storage: storage block base: 0xffffff8001880000
[ 4.135444] storage: probe done!
[ 4.139167] aml_sd_emmc_probe: line 2898
[ 4.142520] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning which caused eMMC data CRC error
[ 4.152032] aml_sd_emmc_reg_init 621
[ 4.155341] pdata->caps 60007
[ 4.158210] pdata->caps2 0
[ 4.160883] get property: ocr_avail, value:0x00200080
[ 4.167185] get property: f_min, value:0x00061a80
[ 4.173481] get property: f_max, value:0x0510ff40
[ 4.179772] get property: max_req_size, value:0x00020000
[ 4.186104] get property: irq_in, value:0x00000003
[ 4.192371] get property: irq_out, value:0x00000005
[ 4.198661] get property: power_level, value:0x00000001
[ 4.204969] get property: gpio_cd, str:
[ 4.210220] get property: gpio_power, str:
[ 4.215496] get property: pinname, str:sd
[ 4.215537] dwc_otg: Indeed it is in host mode hprt0 = 00021501
[ 4.226786] get property: jtag_pin, str:
[ 4.232039] get property: card_type, value:0x00000005
[ 4.238342] get property: gpio_dat3, str:
[ 4.243605] get property: gpio_volsw, str:
[ 4.322178] [aml_is_card_insert] card IN

[ 4.373255] normal card in
[ 4.373325] [aml_sd_emmc_probe] aml_sd_emmc_probe() success!
[ 4.376126] aml_sd_emmc_probe: line 2898
[ 4.380354] aml_sd_emmc_reg_init 621
[ 4.383597] pdata->caps 80000d47
[ 4.386725] pdata->caps2 80a1
[ 4.389654] get property: ocr_avail, value:0x00200080
[ 4.392125] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 4.392396] dwc_otg: Indeed it is in host mode hprt0 = 00001101
[ 4.408204] [aml_is_card_insert] card IN

[ 4.408204] get property: f_min, value:0x00061a80
[ 4.421053] get property: f_max, value:0x05f5e100
[ 4.427349] get property: max_req_size, value:0x00020000
[ 4.433648] get property: pinname, str:emmc
[ 4.439246] get property: card_type, value:0x00000001
[ 4.445551] get property: gpio_dat3, str:
[ 4.450804] get property: hw_reset, str:
[ 4.512108] [aml_sd_emmc_probe] aml_sd_emmc_probe() success!
[ 4.512111] aml_emmc_hw_reset 1356
[ 4.515639] ion_dev has 1 memory regions
[ 4.531528] fb: osd_init_module
[ 4.531603] fb: viu vsync irq: 35
[ 4.532338] meson-fb has 1 memory regions
[ 4.537333] meson-fb meson-fb: assigned reserved memory node linux,meson-fb ok
[ 4.543476] tv_vout: tv_set_current_vmode[696]fps_target_mode=12
[ 4.549397] tv_vout: mode is 12,sync_duration_den=1,sync_duration_num=60
[ 4.556047] switch_vpu_mem_pd: vencp ON
[ 4.559834] tv_vout: TV mode 1080p60hz selected.
[ 4.564420] tv_vout: new mode =1080p60hz set ok
[ 4.565830] emmc: BKOPS_EN bit is not set
[ 4.572862] [aml_sd_voltage_switch] switch to 1.8V for a non-uhs device.

[ 4.572863] vout_serve: vinfo mode is: 1080p60hz
[ 4.586749] switch_vpu_mem_pd: viu_osd1 ON
[ 4.590796] switch_vpu_mem_pd: viu_osd2 ON
[ 4.594855] switch_vpu_mem_pd: viu_osd_scale ON
[ 4.594862] cal[0][0]=11 dly_tmp = 6, temp = 10
[ 4.594864] cal_result[0] = 10280
[ 4.607223] osd_rdma: osd_rdma_init: rmda_table p=0x5dc49000,op=0x5dc49000 , v=0xffffff800027b000
[ 4.608101] cal[1][0]=11 dly_tmp = 6, temp = 10
[ 4.608103] cal_result[1] = 10280
[ 4.611879] cal[2][0]=11 dly_tmp = 1, temp = 10
[ 4.611880] cal_result[2] = 10880
[ 4.625111] cal[3][0]=11 dly_tmp = 6, temp = 10
[ 4.625112] cal_result[3] = 10280
[ 4.638341] cal[4][0]=11 dly_tmp = 6, temp = 10
[ 4.638343] cal_result[4] = 10280
[ 4.642122] cal[5][0]=10 dly_tmp = 1, temp = 9
[ 4.642123] cal_result[5] = 9880
[ 4.654573] hdmitx: video: get current mode: 1080p60hz
[ 4.655076] hub 1-1:1.0: USB hub found
[ 4.655350] cal[6][0]=11 dly_tmp = 6, temp = 10
[ 4.655352] cal_result[6] = 10280
[ 4.655366] hub 1-1:1.0: 4 ports detected
[ 4.659130] cal[7][0]=10 dly_tmp = 1, temp = 9
[ 4.659132] cal_result[7] = 9880
[ 4.659133] max_cal_result =10880
[ 4.659141] emmc: clk 100000000 SDR mode tuning start
[ 4.659424] rx_tuning_result[0][1] = 10
[ 4.659657] rx_tuning_result[0][2] = 10
[ 4.659889] rx_tuning_result[0][3] = 10
[ 4.660123] rx_tuning_result[0][4] = 10
[ 4.660359] rx_tuning_result[0][5] = 10
[ 4.660593] rx_tuning_result[0][6] = 10
[ 4.660827] rx_tuning_result[0][7] = 10
[ 4.661056] rx_tuning_result[0][8] = 10
[ 4.661287] rx_tuning_result[0][9] = 10
[ 4.661290] best_win_start =1, best_win_size =9
[ 4.661293] sd_emmc_regs->gclock =0x100024a, sd_emmc_regs->gadjust =0x52000
[ 4.661296] emmc: gclock =0x100024a, gdelay=0x85855055
[ 4.661297] gadjust=0x52000
[ 4.661425] emmc: try set sd/emmc to DDR mode
[ 4.661429] emmc: try set sd/emmc to DDR mode
[ 4.665408] cal[0][0]=9 dly_tmp = 1, temp = 8
[ 4.665410] cal_result[0] = 8880
[ 4.669416] cal[1][0]=9 dly_tmp = 1, temp = 8
[ 4.669417] cal_result[1] = 8880
[ 4.675428] cal[2][0]=10 dly_tmp = 2, temp = 9
[ 4.675430] cal_result[2] = 9760
[ 4.691464] cal[3][0]=10 dly_tmp = 7, temp = 9
[ 4.691466] cal_result[3] = 9160
[ 4.695478] cal[4][0]=9 dly_tmp = 1, temp = 8
[ 4.695480] cal_result[4] = 8880
[ 4.703493] cal[5][0]=9 dly_tmp = 3, temp = 8
[ 4.703494] cal_result[5] = 8640
[ 4.719766] cal[6][0]=10 dly_tmp = 7, temp = 9
[ 4.719768] cal_result[6] = 9160
[ 4.727782] cal[7][0]=9 dly_tmp = 3, temp = 8
[ 4.727783] cal_result[7] = 8640
[ 4.727785] max_cal_result =9760
[ 4.727789] emmc: clk 100000000 DDR mode tuning start
[ 4.728825] rx_tuning_result[0][0] = 10
[ 4.729827] rx_tuning_result[0][1] = 10
[ 4.730825] rx_tuning_result[0][2] = 10
[ 4.731826] rx_tuning_result[0][3] = 10
[ 4.731941] best_win_start =0, best_win_size =4
[ 4.731943] sd_emmc_regs->gclock =0x1000245, sd_emmc_regs->gadjust =0x12000
[ 4.731947] emmc: gclock =0x1000245, gdelay=0x95975077
[ 4.731948] gadjust=0x12000
[ 4.732025] emmc: new HS400 MMC card at address 0001
[ 4.732381] emmc: clock 100000000, 8-bit-bus-width

[ 4.732381] mmcblk0: emmc:0001 AJNB4R 14.5 GiB
[ 4.732921] mmcblk0: p1
[ 4.874078] hdmitx: video: get current mode: 1080p60hz
[ 4.879133] hdmitx: system: [set_disp_mode_auto] ALREADY init VIC = 16
[ 4.885641] hdmitx: system: change to DVI mode
[ 4.890000] fb: osd_probe vinfo:ffffffc001d1e4d0
[ 4.894575] fb: Frame buffer memory assigned at
[ 4.898881] fb: phy: 0x78000000, vir:0xffffff8003c00000, size=98304K
[ 4.905703] fb: osd_set_res_bootargs : mode 12
[ 4.910094] fb: fb def : 1920 1080 1920 2160 32
[ 4.914585] fb: init fbdev bpp is:32
[ 4.918114] fb: ---------------clear fb0 memory
[ 4.950948] fb: osd[0] canvas.idx =0x40
[ 4.950949] fb: osd[0] canvas.addr=0x78000000
[ 4.950951] fb: osd[0] canvas.width=7680
[ 4.950952] fb: osd[0] canvas.height=2160
[ 4.962423] usb 1-1.2: new high-speed USB device number 3 using dwc_otg
[ 4.985636] Console: switching to colour frame buffer device 240x67
[ 5.032426] fb: Frame buffer memory assigned at
[ 5.032515] fb: phy: 0x7e000000, vir:0xffffff8001a00000, size=1024K
[ 5.049021] fb: osd probe OK
[ 5.049188] vout_serve: vout_init_module
[ 5.050273] vout_serve: meson_vout_probe
[ 5.054233] vout_serve: create vout attribute OK
[ 5.058806] ge2d: ge2d_init_module
[ 5.062079] ge2d: ge2d_dev major:241
[ 5.065936] ge2d: ge2d clock is 400 MHZ
[ 5.069448] ge2d: ge2d: pdev=ffffffc05b629400, irq=182, rstc=0xffffffc05970b100, clk=ffffffc05b540c00
[ 5.078615] sd: clk 83333333 SDR mode tuning start
[ 5.078630] ge2d: mapped phy: 0xd0160000
[ 5.078635] ge2d: ge2d start monitor
[ 5.078821] codec:Amlogic A/V streaming port init
[ 5.079449] codec:get gate demux control ok ffffffc059711900
[ 5.079452] codec:get gate parser_top control ok ffffffc059711a00
[ 5.079456] codec:get gate vpu_intr control ok ffffffc059711b00
[ 5.079461] codec:get gate vdec control ok ffffffc059711c00
[ 5.079637] codec:[tsync_pcr_init]init success.
[ 5.079672] codec:regist mpeg12 codec profile
[ 5.079703] codec:regist mpeg4 codec profile
[ 5.079704] codec:amvdec_vc1 module init
[ 5.079732] codec:regist vc1 codec profile
[ 5.079734] codec:amvdec_h264 module init
[ 5.079782] codec:regist h264 codec profile
[ 5.079783] codec:amvdec_h264mvc module init
[ 5.079812] codec:regist hmvc codec profile
[ 5.079814] codec:amvdec_h264_4k2k module init
[ 5.079845] codec:regist h264_4k2k codec profile
[ 5.079846] codec:amvdec_h265 module init
[ 5.079877] codec:regist hevc codec profile
[ 5.079906] codec:regist mjpeg codec profile
[ 5.079907] codec:amvdec_real module init
[ 5.079939] codec:regist real codec profile
[ 5.079941] codec:amvdec_avs module init
[ 5.079970] codec:regist avs codec profile
[ 5.080009] amvenc_avc_probe -- reserved memory config fail.
[ 5.080011] amvenc_avc - cma memory pool size: 40 MB
[ 5.080030] encode_wq_init.
[ 5.080037] encode start monitor.
[ 5.080048] ge2d: ge2d workqueue monitor start
[ 5.080190] jpegenc module init
[ 5.080230] jpegenc probe start.
[ 5.080233] jpegenc has 1 memory regions
[ 5.080267] jpegenc jpegenc: assigned reserved memory node linux,jpegenc_cma ok
[ 5.080269] jpegenc - cma memory pool size: 36 MB
[ 5.080278] jpegenc memory config sucess, buff size is 0x2400000, level: 8M
[ 5.080279] jpegenc_wq_init.
[ 5.080344] jpegenc probe end.
[ 5.080408] codec:picdec_driver_probe called.
[ 5.080410] picdec has 1 memory regions
[ 5.080417] picdec picdec: assigned reserved memory node linux,picdec ok
[ 5.080419] codec:picdec_driver_probe done.
[ 5.080420] codec:reserved memory config fail , use CMA .
[ 5.082270] encode workqueue monitor start.
[ 5.083984] codec:cma memory is 64c00000 , size is 3000000
[ 5.084254] codec:0 addr is 64c00000################
[ 5.084262] codec:1 addr is 64efd000################
[ 5.084409] switch_vpu_mem_pd: vpu_arb ON
[ 5.084668] codec:create_ge2d_work_queue video task ok
[ 5.084937] codec:register clk_set_setting cpu[31]
[ 5.085273] di_module_init ok.
[ 5.085282] di_module_init: major 236
[ 5.085445] di_probe
[ 5.085540] deinterlace has 1 memory regions
[ 5.085573] di reveser memory 0x76200000, size 30MB.
[ 5.085583] deinterlace deinterlace: assigned reserved memory node linux,di ok
[ 5.085739] rdma_register, rdma_table_addr ffffff8000481000 rdma_table_addr_phy 5dc4e000 reg_buf ffffffc059790000
[ 5.085742] rdma_register success, handle 1 table_size 8192
[ 5.085743] di_probe allocate rdma channel 1.
[ 5.085746] DI hw version 2.
[ 5.085756] 0x000000c3:Y=c3,U=0,V=0
[ 5.085758] 0x000000c4:Y=c4,U=0,V=0
[ 5.085759] 0x000000c5:Y=c5,U=0,V=0
[ 5.085761] 0x000000c6:Y=c6,U=0,V=0
[ 5.085763] 0x000000c7:Y=c7,U=0,V=0
[ 5.085764] 0x000000c8:Y=c8,U=0,V=0
[ 5.085766] 0x000000c9:Y=c9,U=0,V=0
[ 5.085769] 0x000000ca:Y=ca,U=0,V=0
[ 5.085770] 0x000000cb:Y=cb,U=0,V=0
[ 5.085772] 0x000000cc:Y=cc,U=0,V=0
[ 5.085775] 0x000000cd:Y=cd,U=0,V=0
[ 5.085777] 0x000000ce:Y=ce,U=0,V=0
[ 5.085778] 0x000000cf:Y=cf,U=0,V=0
[ 5.085922] di_probe here.
[ 5.085937] switch_vpu_mem_pd: di_pre OFF
[ 5.086123] efusekeynum: 4
[ 5.086132] efusekeyname: mac offset: 0 size: 6
[ 5.086137] efusekeyname: mac_bt offset: 6 size: 6
[ 5.086143] efusekeyname: mac_wifi offset: 12 size: 6
[ 5.086149] efusekeyname: usid offset: 18 size: 16
[ 5.086242] efuse efuse: probe OK!
[ 5.086365] 6aml_unifykeys_init done!
[ 5.086366] ppmgr module init func called
[ 5.086401] ppmgr_driver_probe called
[ 5.086403] ppmgr has 1 memory regions
[ 5.086413] init ppmgr memsource 74200000->761fffff
[ 5.086536] ppmgr_probe done
[ 5.086734] ionvideo-000: V4L2 device registered as video13
[ 5.086741] [dsp]register dsp to char divece(257)
[ 5.086989] amaudio: driver amaudio succuess!
[ 5.086994] amlvideo_init called
[ 5.086995] amlvideo_create_instance called
[ 5.086997] v4l2_dev.name=:amlvideo-000
[ 5.087056] amlvideo-000: V4L2 device registered as video10
[ 5.087059]

VECM init

[ 5.087301] saradc c1108680.saradc: initialized by BL30
[ 5.087305] saradc c1108680.saradc: calibration start:
[ 5.087353] saradc c1108680.saradc: nominal=0, value=1
[ 5.087400] saradc c1108680.saradc: nominal=256, value=250
[ 5.087444] saradc c1108680.saradc: nominal=512, value=507
[ 5.087489] saradc c1108680.saradc: nominal=768, value=763
[ 5.087534] saradc c1108680.saradc: nominal=1023, value=1018
[ 5.087537] saradc c1108680.saradc: calibration end: coef=4088
[ 5.087577] remote: Driver init
[ 5.087745] gpio_key- gpio_key_probe
[ 5.087759] gpio-key c8100000.gpio_keypad: gpio_key: find key_name=0 fail
[ 5.087770] gpio-key: probe of c8100000.gpio_keypad failed with error -22
[ 5.087981] aml-thermal aml-sensor@0: min state:500000 400 1 2
[ 5.088176] aml-thermal aml-sensor@0: not found gpucore node
[ 5.088184] aml-thermal aml-sensor@0: gpu coef:437, pp:3
[ 5.093233] aml-thermal aml-sensor@0: cdev1 set upper to 3
[ 5.093236] aml-thermal aml-sensor@0: cdev2 set upper to 3
[ 5.093240] aml-thermal aml-sensor@0: cdev0 set upper to 3
[ 5.096140] input: cec_input as /devices/virtual/input/input0
[ 5.096362] cectx c810023c.aocec: aml_cec_probe(): can't find hdmirx
[ 5.099633] 6--------------------------------------------------------
[ 5.099635] 6odroid_sysfs_init(321) : Sleep Enable !!
[ 5.099636] 6--------------------------------------------------------
[ 5.099769] input: vt-input as /devices/virtual/input/input1
[ 5.099831] 6Virtual-Key input driver registered!!
[ 5.100266] adbattery: android dummy battery driver loaded
[ 5.100633] enter aml_soc_platform_pcm2bt_probe
[ 5.100873] divider=16,frac=33920000,SDMval=4523
[ 5.100984] enter aml_pcm_dai_probe
[ 5.101014] [aml-spdif-dai]enter aml_dai_spdif_init
[ 5.101060] aml_spdif_probe
[ 5.101157] enter spdif_dit_probe
[ 5.101785] odroid_hdmi_snd odroid_hdmi: dit-hifi <-> I2S mapping ok
[ 5.102502] GACT probability on
[ 5.102512] Mirror/redirect action on
[ 5.102513] u32 classifier
[ 5.102514] Performance counters on
[ 5.102516] input device check on
[ 5.102516] Actions configured
[ 5.102619] TCP: cubic registered
[ 5.102929] NET: Registered protocol family 10
[ 5.103592] mip6: Mobile IPv6
[ 5.103597] NET: Registered protocol family 17
[ 5.103616] NET: Registered protocol family 15
[ 5.103654] Bridge firewalling registered
[ 5.103731] Bluetooth: RFCOMM TTY layer initialized
[ 5.103739] Bluetooth: RFCOMM socket layer initialized
[ 5.103754] Bluetooth: RFCOMM ver 1.11
[ 5.103759] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 5.103761] Bluetooth: BNEP filters: protocol multicast
[ 5.103766] Bluetooth: BNEP socket layer initialized
[ 5.103768] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 5.103773] Bluetooth: HIDP socket layer initialized
[ 5.103825] NET: Registered protocol family 35
[ 5.103874] Key type dns_resolver registered
[ 5.104444] Registering SWP/SWPB emulation handler
[ 5.104736] registered taskstats version 1
[ 5.105289] bio: create slab <bio-1> at 1
[ 5.105723] Btrfs loaded
[ 5.105822] regulator-dummy: disabling
[ 5.106165] Mali DRM initialize, driver name: mali_drm, version 2.1
[ 5.106341] [drm] Initialized mali_drm 2.1.1 20140306 on minor 0
[ 5.106355] Mali DRM initialize, driver name: mali_drm, version 2.1
[ 5.106450] [drm] Initialized mali_drm 2.1.1 20140306 on minor 1
[ 5.106540] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 5.107481] 6enter meson_pm_probe!
[ 5.107565] meson_pm_probe done
[ 5.107797] ALSA device list:
[ 5.107798] #0: ODROID-HDMI
[ 5.538488] random: nonblocking pool is initialized
[ 5.832247] Freeing unused kernel memory: 584K (ffffffc001c14000 - ffffffc001ca6000)
[ 5.845737] rx_tuning_result[0][0] = 10
[ 5.855720] rx_tuning_result[0][1] = 10
[ 5.865639] rx_tuning_result[0][2] = 10
[ 5.875505] rx_tuning_result[0][3] = 10
[ 5.885112] rx_tuning_result[0][4] = 10
[ 5.895108] rx_tuning_result[0][5] = 10
[ 5.905103] rx_tuning_result[0][6] = 10
[ 5.915048] rx_tuning_result[0][7] = 10
[ 5.924941] rx_tuning_result[0][8] = 10
[ 5.931941] rx_tuning_result[0][9] = 10
[ 5.939669] rx_tuning_result[0][11] = 10
[ 5.942666] best_win_start =11, best_win_size =11
[ 5.945612] sd_emmc_regs->gclock =0x100024c, sd_emmc_regs->gadjust =0x42000
[ 5.952523] sd: gclock =0x100024c, gdelay=0x0
[ 5.956751] gadjust=0x42000
[ 5.959708] sd: new ultra high speed SDR104 SDHC card at address 0001
[ 5.965991] sd: clock 83333333, 4-bit-bus-width

[ 5.972064] mmcblk1: sd:0001 MS 14.5 GiB
[ 5.980030] mmcblk1: unknown partition table
[ 6.223625] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.375698] systemd[1]: System time before build time, advancing clock.
[ 6.397907] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 6.417701] systemd[1]: systemd 237 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.441070] systemd[1]: Detected architecture arm64.
[ 6.460489] systemd[1]: Set hostname to <Odroid-C2>.
[ 6.474697] systemd[1]: syscall 279
[ 6.478571] Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
[ 6.482915] CPU: 2 PID: 1 Comm: systemd Not tainted 3.14.79-28-ARCH #1
[ 6.489332] task: ffffffc05b46a000 ti: ffffffc05b46c000 task.ti: ffffffc05b46c000
[ 6.496759] PC is at 0x7f8e081564
[ 6.500696] LR is at 0x7f8e3db5a8
[ 6.504690] pc : [<0000007f8e081564>] lr : [<0000007f8e3db5a8>] pstate: 20000000
[ 6.510634] sp : 0000007ffaf33a60
[ 6.514615] x29: 0000007ffaf33a60 x28: 0000007f8e56cad8
[ 6.522936] x27: 00000000ffffffff x26: 00000000055d4a80
[ 6.528167] x25: 0000005569649000 x24: 00000055696490c8
[ 6.533435] x23: 0000007f8e573000 x22: 000000556964cd90
[ 6.538647] x21: 0000000000000000 x20: 00000055695d99e5
[ 6.543871] x19: 0000007ffaf33b80 x18: 0000007f8e10b980
[ 6.549092] x17: 000000556964a010 x16: 0000000000000007
[ 6.554324] x15: 0000000000000000 x14: 000000000000001b
[ 6.559537] x13: 006c6f72746e6f63 x12: 2e6d65747379732f
[ 6.564782] x11: 0000000000000000 x10: 000000000000aaa0
[ 6.570051] x9 : 000000000000003f x8 : 0000000000000117
[ 6.575312] x7 : 0000000000000100 x6 : 0000000000000100
[ 6.580561] x5 : 00000055695d9a00 x4 : 0000000000000039
[ 6.585802] x3 : 0000000040100401 x2 : 0000007f8e081540
[ 6.590999] x1 : 0000000000000001 x0 : 00000055695d99e5

[ 6.601284] (sd-executor)[150]: syscall 279
[ 6.605066] Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
[ 6.609584] CPU: 3 PID: 150 Comm: (sd-executor) Not tainted 3.14.79-28-ARCH #1
[ 6.616759] task: ffffffc059324c80 ti: ffffffc058d88000 task.ti: ffffffc058d88000
[ 6.624177] PC is at 0x7f8e081564
[ 6.627953] LR is at 0x7f8e3db5a8
[ 6.631737] pc : [<0000007f8e081564>] lr : [<0000007f8e3db5a8>] pstate: 20000000
[ 6.638080] sp : 0000007ffaf33a60
[ 6.642009] x29: 0000007ffaf33a60 x28: 0000007f8e56cad8
[ 6.650264] x27: 0000000000000008 x26: 000000556964c100
[ 6.655551] x25: 0000000000000000 x24: 000000556964eb70
[ 6.660762] x23: 000000556964eaf0 x22: 0000007f8e571000
[ 6.666026] x21: 0000000000000000 x20: 000000556964eb1f
[ 6.671252] x19: 0000007ffaf33b80 x18: 0000007f8e10b980
[ 6.676552] x17: 000000000000000b x16: 0000000000000007
[ 6.681781] x15: 0000000000000038 x14: 0000000000000036
[ 6.686997] x13: 00686372612d3031 x12: 2f73726f74617265
[ 6.692222] x11: 0000000000000000 x10: 0000aaaaaaa82000
[ 6.697468] x9 : 0000000000003fff x8 : 0000000000000117
[ 6.702709] x7 : 1000000000000001 x6 : 1000000000000001
[ 6.707911] x5 : 000000556964eb20 x4 : 0000000000000005
[ 6.713162] x3 : 0000000040100401 x2 : 0000007f8e081540
[ 6.718397] x1 : 0000000000000001 x0 : 000000556964eb1f

[ 6.749051] switch_vpu_mem_pd: viu_vd1 OFF
[ 6.752734] switch_vpu_mem_pd: afbc_dec OFF
[ 6.756296] switch_vpu_mem_pd: di_post OFF
[ 6.759770] switch_vpu_mem_pd: viu_vd2 OFF
[ 6.827020] systemd[1]: File /usr/lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 6.842540] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 6.917077] systemd[1]: Reached target Remote File Systems.
[ 6.924870] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 6.934375] systemd[1]: Reached target Swap.
[ 6.942324] systemd[1]: Created slice System Slice.
[ 6.950153] systemd[1]: Created slice system-getty.slice.
[ 6.957906] systemd[1]: Listening on LVM2 poll daemon socket.
[ 6.965518] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 6.973537] systemd[1]: Listening on udev Kernel Socket.
[ 6.981381] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 6.993204] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 7.002349] systemd[1]: Listening on Network Service Netlink Socket.
[ 7.015011] systemd[1]: Listening on Process Core Dump Socket.
[ 7.023991] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 7.034200] systemd[1]: Listening on Journal Socket.
[ 7.045663] systemd[1]: Starting Load Kernel Modules...
[ 7.056986] systemd[1]: Mounting POSIX Message Queue File System...
[ 7.066810] aml_i2c version: 20140813
[ 7.073655] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 7.085928] rtc-pcf8563 1-0051: chip found, driver version 0.4.3
[ 7.086454] systemd[1]: Mounting Huge Pages File System...
[ 7.098098] rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
[ 7.098126] aml-i2c c1108500.i2c: add adapter aml_i2c_adap1(ffffffc0592bf8e0)
[ 7.115591] sx865x 2-0049: sx865x_probe()
[ 7.115738] systemd[1]: Mounting Kernel Debug File System...
[ 7.126860] sx865x 2-0049: swap_xy (1)
[ 7.126863] sx865x 2-0049: invert_x (0)
[ 7.126865] sx865x 2-0049: invert_y (1)
[ 7.126868] sx865x 2-0049: gpio pendown (218)
[ 7.126870] sx865x 2-0049: gpio reset (224)
[ 7.126872] sx865x 2-0049: gpio irq (96)
[ 7.126962] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 7.126965] i2c i2c-2: token 1, master_no(2) 300K addr 0x49
[ 7.127036] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 7.127039] i2c i2c-2: token 1, master_no(2) 300K addr 0x49
[ 7.127110] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 7.127113] i2c i2c-2: token 1, master_no(2) 300K addr 0x49
[ 7.127181] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 7.127184] i2c i2c-2: token 1, master_no(2) 300K addr 0x49
[ 7.127255] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 7.127258] i2c i2c-2: token 1, master_no(2) 300K addr 0x49
[ 7.127331] i2c i2c-2: [aml_i2c_xfer] error ret = -5 (-EIO)
[ 7.127334] i2c i2c-2: token 1, master_no(2) 300K addr 0x49
[ 7.127351] sx865x: probe of 2-0049 failed with error -5
[ 7.127365] aml-i2c c11087c0.i2c: add adapter aml_i2c_adap2(ffffffc058d468e0)
[ 7.170201] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[ 7.174883] usbcore: registered new interface driver r8188eu
[ 7.251415] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 7.261253] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 7.272309] systemd[1]: Reached target Local Encrypted Volumes.
[ 7.281678] systemd[1]: Reached target Paths.
[ 7.290919] systemd[1]: Listening on Journal Socket (/dev/log).
[ 7.301907] systemd[1]: Starting Journal Service...
[ 7.311657] systemd[1]: Listening on udev Control Socket.
[ 7.322779] systemd[1]: Starting udev Coldplug all Devices...
[ 7.332547] systemd[1]: Created slice User and Session Slice.
[ 7.341704] systemd[1]: Reached target Slices.
[ 7.352661] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 7.367305] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[ 7.383760] systemd[1]: Mounting Temporary Directory (/tmp)...
[ 7.397756] systemd[1]: Started Journal Service.
[ 7.564712] systemd-journald[177]: Received request to flush runtime journal from PID 1
[ 7.574922] systemd-journald[177]: File /var/log/journal/76acb5417df24bbfb0527376a38a4245/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 7.892634] gpiomem-meson c8834000.gpiomem: Initialised: Registers at 0xc8834000
[ 7.915522] Driver for 1-wire Dallas network protocol.
[ 8.013850] A link change request failed with some changes committed already. Interface eth0 may have been left with an inconsistent configuration, please check.
[ 8.014771] ionvideo open
[ 8.212116] ionvideo_stop_generating!!!!
[ 8.216590] ionvideo release
[ 8.532956] vout_serve: vmode set to 1080p60hz

[ 8.532968] vout_serve: don't set the same mode as current.
[ 8.586580] vout_serve: vmode set to 1080p60hz

[ 8.595168] vout_serve: don't set the same mode as current.
[ 8.601577] fb: osd0 free scale DISABLE
[ 12.002352] libphy: stmmac-0:00 - Link is Up - 1000/Full
[ 28.104205] systemd[268]: syscall 279
[ 28.104299] Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
[ 28.108345] CPU: 3 PID: 268 Comm: systemd Tainted: G C 3.14.79-28-ARCH #1
[ 28.116007] task: ffffffc05a354000 ti: ffffffc05a260000 task.ti: ffffffc05a260000
[ 28.123417] PC is at 0x7fa61ad564
[ 28.126627] LR is at 0x7fa65075a8
[ 28.129904] pc : [<0000007fa61ad564>] lr : [<0000007fa65075a8>] pstate: 20000000
[ 28.137254] sp : 0000007ff98be8c0
[ 28.140513] x29: 0000007ff98be8c0 x28: 0000007fa6698ad8
[ 28.145774] x27: 00000000ffffffff x26: 00000000055d4a80
[ 28.151035] x25: 0000005566d20000 x24: 0000005566d200f0
[ 28.156296] x23: 0000007fa669f000 x22: 0000005566d21b70
[ 28.161557] x21: 0000000000000000 x20: 0000005566cb091d
[ 28.166819] x19: 0000007ff98be9e0 x18: 0000007fa6237980
[ 28.172080] x17: 0000005566d21010 x16: 0000000000000007
[ 28.177341] x15: 0000000000000000 x14: 0000000000000025
[ 28.182603] x13: 006c6f72746e6f63 x12: 2e6d65747379732f
[ 28.187863] x11: 0000000000000000 x10: aaaa000000000000
[ 28.193125] x9 : 0003ffffffffffff x8 : 0000000000000117
[ 28.198386] x7 : 0100010100000000 x6 : 0100010100000000
[ 28.203648] x5 : 0000005566cb0920 x4 : 0000000000000009
[ 28.208908] x3 : 0000000040100401 x2 : 0000007fa61ad540
[ 28.214170] x1 : 0000000000000001 x0 : 0000005566cb091d

[ 28.222473] (sd-executor)[270]: syscall 279
[ 28.225041] Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f)
[ 28.231091] CPU: 2 PID: 270 Comm: (sd-executor) Tainted: G C 3.14.79-28-ARCH #1
[ 28.239214] task: ffffffc05a35cc80 ti: ffffffc05a23c000 task.ti: ffffffc05a23c000
[ 28.246631] PC is at 0x7fa61ad564
[ 28.249878] LR is at 0x7fa65075a8
[ 28.253165] pc : [<0000007fa61ad564>] lr : [<0000007fa65075a8>] pstate: 20000000
[ 28.260486] sp : 0000007ff98be8c0
[ 28.263779] x29: 0000007ff98be8c0 x28: 0000007fa6698ad8
[ 28.269025] x27: 0000000000000008 x26: 0000005566d24a80
[ 28.274286] x25: 0000000000000000 x24: 0000005566d23fe0
[ 28.279547] x23: 0000005566d24730 x22: 0000007fa669d000
[ 28.284808] x21: 0000000000000000 x20: 0000005566d2475d
[ 28.290070] x19: 0000007ff98be9e0 x18: 0000007fa6237980
[ 28.295331] x17: fffffffffffffffb x16: 0000000000000007
[ 28.300592] x15: 0000000000000070 x14: 000000000000004f
[ 28.305854] x13: 6d6e6f7269766e65 x12: 2d646d6574737973
[ 28.311115] x11: 0000000000000000 x10: 8000000000000000
[ 28.316376] x9 : ffffffffffffffff x8 : 0000000000000117
[ 28.321637] x7 : 0100000000000001 x6 : 0100000000000001
[ 28.326899] x5 : 0000005566d24760 x4 : 0000000000000009
[ 28.332169] x3 : 0000000040100401 x2 : 0000007fa61ad540
[ 28.337421] x1 : 0000000000000001 x0 : 0000005566d2475d

[ 28.383544] systemd-journald[177]: File /var/log/journal/76acb5417df24bbfb0527376a38a4245/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 263.758465] usb 1-1.2: USB disconnect, device number 3
[ 268.089364] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 2050.799977] cfg80211: Calling CRDA to update world regulatory domain
[root@Odroid-C2 ~]#')
Strykar
 
Posts: 6
Joined: Tue Feb 20, 2018 11:24 am

Re: Odroid C2 Unable to get USB wifi (r8188eu) working

Postby andre » Wed Feb 21, 2018 11:09 pm

It seems, the driver does load, but it does not attach the USB device. Is this the correct driver for your module?
Do a $this->bbcode_second_pass_code('', 'lsusb -t') to see if there is a driver attached to it.
Also, check the $this->bbcode_second_pass_code('', 'rfkill') state

A search for the USB ID gave me this https://wikidevi.com/wiki/TP-LINK_TL-WN722N_v2 this page contains a link to a driver and a link to patches.
andre
 
Posts: 68
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven

Re: Odroid C2 Unable to get USB wifi (r8188eu) working

Postby Strykar » Thu Feb 22, 2018 3:06 am

Thanks, its USB ID and wikidevi is how I deduced what driver to use, the V1's were Atheros not Realtek. rfkill produces no output with any option.
$this->bbcode_second_pass_code('', '[root@Odroid-C2 ~]# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 2: Dev 5, If 0, Class=Vendor Specific Class, Driver=usbfs, 480M
|__ Port 2: Dev 5, If 1, Class=Vendor Specific Class, Driver=, 480M
|__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M
[root@Odroid-C2 ~]# rfkill list wifi
[root@Odroid-C2 ~]#')
Strykar
 
Posts: 6
Joined: Tue Feb 20, 2018 11:24 am

Re: Odroid C2 Unable to get USB wifi (r8188eu) working

Postby andre » Thu Mar 01, 2018 10:23 pm

$this->bbcode_second_pass_code('', '
[root@Odroid-C2 ~]# lsusb -v

Bus 001 Device 004: ID 2357:010c
')

$this->bbcode_second_pass_code('', '
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
...
|__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M
')

From this we see, there is no kernel driver attached to this device. So, this seems the correct driver is not installed on the system. Do the drivers with patched from the wikidev page do anything?

Furthermore, this comment https://github.com/pimusicbox/pimusicbo ... -299731191 suggests the VID/PID must be patched in the driver.
andre
 
Posts: 68
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 16 guests