Skip to content

Driver for RTL8812EU in Hi3536DV100_LITE and _FPV not working #1777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wildblue opened this issue Mar 29, 2025 · 1 comment
Open

Driver for RTL8812EU in Hi3536DV100_LITE and _FPV not working #1777

wildblue opened this issue Mar 29, 2025 · 1 comment

Comments

@wildblue
Copy link

root@openipc-hi3536dv100:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:3F:00:00:55
inet addr:192.168.1.222 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20b:3fff:fe00:55/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1227 (1.1 KiB) TX bytes:5050 (4.9 KiB)
Interrupt:20

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:4736 (4.6 KiB) TX bytes:4736 (4.6 KiB)

root@openipc-hi3536dv100:# w
w watchdog which wpa_cli
wait wc who wpa_passphrase
watch wget whoami wpa_supplicant
root@openipc-hi3536dv100:
# w
w watchdog which wpa_cli
wait wc who wpa_passphrase
watch wget whoami wpa_supplicant
root@openipc-hi3536dv100:# dmesg
Booting Linux on physical CPU 0x0
Linux version 4.9.37 (runner@fv-az787-578) (buildroot-gcc-13.3.0) #1 Fri Mar 285
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Hisilicon HI3536DV100 DEMO Board
Memory policy: Data cache writeback
Hit pending asynchronous external abort (FSR=0x00000c06) during first unmask, t.
On node 0 totalpages: 40960
free_area_init_node: node 0, pgdat c04d6430, node_mem_map c9eb7000
Normal zone: 320 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 40960 pages, LIFO batch:7
CPU: All CPU(s) started in SVC mode.
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 40640
Kernel command line: mem=160M console=ttyAMA0,115200 panic=20 root=/dev/mtdbloc)
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 157088K/163840K available (3631K kernel code, 170K rwdata, 936K rodata,)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xca800000 - 0xff800000 ( 848 MB)
lowmem : 0xc0000000 - 0xca000000 ( 160 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc03941a0 (3633 kB)
.init : 0xc0480000 - 0xc04ac000 ( 176 kB)
.data : 0xc04ac000 - 0xc04d6aa0 ( 171 kB)
.bss : 0xc04d8000 - 0xc050e840 ( 219 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:16 nr_irqs:16 16
clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6s
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
Console: colour dummy device 80x30
Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x80008200 - 0x80008234
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191s
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
12080000.uart: ttyAMA0 at MMIO 0x12080000 (irq = 18, base_baud = 0) is a PL011 2
console [ttyAMA0] enabled
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
clocksource: Switched to clocksource arm,sp804
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=30 max_order=16 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs: yaffs Installing.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pinctrl-single 120f0000.pinmux: 234 pins at pa fe1f0000 size 936
pl061_gpio 12150000.gpio_chip: PL061 GPIO chip @0x12150000 registered
pl061_gpio 12160000.gpio_chip: PL061 GPIO chip @0x12160000 registered
pl061_gpio 12170000.gpio_chip: PL061 GPIO chip @0x12170000 registered
pl061_gpio 12180000.gpio_chip: PL061 GPIO chip @0x12180000 registered
pl061_gpio 12190000.gpio_chip: PL061 GPIO chip @0x12190000 registered
pl061_gpio 121a0000.gpio_chip: PL061 GPIO chip @0x121a0000 registered
brd: module loaded
loop: module loaded
ahci 10030000.sata: controller can't support eSATA, turning off CAP_SXS
ahci 10030000.sata: SSS flag set, parallel bus scan disabled
ahci 10030000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform moe
ahci 10030000.sata: flags: ncq sntf stag pm led clo only pmp fbs slum part ccc
scsi host0: ahci
ata1: SATA max UDMA/133 mmio [mem 0x10030000-0x10030fff] port 0x100 irq 19
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: w25q128 (16384 Kbytes)
5 cmdlinepart partitions found on MTD device hi_sfc
5 cmdlinepart partitions found on MTD device hi_sfc
Creating 5 MTD partitions on "hi_sfc":
0x000000000000-0x000000040000 : "boot"
0x000000040000-0x000000050000 : "env"
0x000000050000-0x000000350000 : "kernel"
0x000000350000-0x000000d50000 : "rootfs"
0x000000d50000-0x000001000000 : "rootfs_data"
SPI Nand ID Table Version 2.4
Cannot found a valid SPI Nand Device
hisi_spi_nand_probe(173): Error: driver probe, result: -19
FEPHY:addr=1, la_am=0xd, ldo_am=0x3, r_tuning=0x1c
libphy: hisi_femac_mii_bus: probed
libphy: Fixed MDIO Bus: probed
ata1: SATA link down (SStatus 0 SControl 300)
Generic PHY 10011100.mdio:01: attached PHY driver [Generic PHY] (mii_bus:phy_ad)
phy_id=0x20669901, phy_mode=mii
hisi-femac 10010000.ethernet: using random MAC address 5a:8b:00:6e:2c:12
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform 11010000.ehci: EHCI Host Controller
ehci-platform 11010000.ehci: new USB bus registered, assigned bus number 1
ehci-platform 11010000.ehci: irq 21, io mem 0x11010000
ehci-platform 11010000.ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform: OHCI generic platform driver
ohci-platform 11000000.ohci: Generic Platform OHCI controller
ohci-platform 11000000.ohci: new USB bus registered, assigned bus number 2
ohci-platform 11000000.ohci: irq 22, io mem 0x11000000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usb-storage
hibvt_rtc 120b0000.rtc: rtc core: registered 120b0000.rtc as rtc0
hibvt_rtc 120b0000.rtc: RTC driver for hibvt enabled
i2c /dev entries driver
hibvt-i2c 120c0000.i2c: hibvt-i2c0@100000hz registered
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
hisi-dmac 11020000.hidma-controller: hidmac probe!
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Key type dns_resolver registered
usb 1-2: new high-speed USB device number 2 using ehci-platform
hibvt_rtc 120b0000.rtc: setting system clock to 1970-01-03 16:57:16 UTC (233836)
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
devtmpfs: mounted
Freeing unused kernel memory: 176K (c0480000 - c04ac000)
This architecture does not have kernel memory protection.
random: fast init done
hisi-femac 10010000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/x
NET: Registered protocol family 10
root@openipc-hi3536dv100:
#

@tonyich
Copy link

tonyich commented Apr 16, 2025

Hello. check your firmware version.

openipc-hi3536dv100:~# cat /etc/*-release
NAME=Buildroot
VERSION=-gf5f55ce
ID=buildroot
VERSION_ID=2024.02.10
PRETTY_NAME="Buildroot 2024.02.10"
OPENIPC_VERSION=2.5.04.13
GITHUB_VERSION="master+7ed8284, 2025-04-13"
BUILD_OPTION=fpv
TIME_STAMP=1744519843

openipc-hi3536dv100:~# lsmod|grep 88
88XXau               1239200  0
cfg80211              216584  1 88XXau

openipc-hi3536dv100:~# dmesg|grep rtl
usbcore: registered new interface driver rtl88xxau


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants