Wifi problem
#11
(11-28-2018, 05:51 AM)Nether494 Wrote: I have a error again

Code:
root@rock64:/usr/src/rtl8811au# make
make ARCH=arm64 -j4 CROSS_COMPILE=/home/android_sdk/Rockchip/Rk3188/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- -C /home/android_sdk/Rockchip/Rk3188/kernel M=/usr/src/rtl8811au  modules
make[1]: *** /home/android_sdk/Rockchip/Rk3188/kernel: No such file or directory.  Stop.
Makefile:1554: recipe for target 'modules' failed
make: *** [modules] Error 2


This is my makefile -> https://pastebin.com/X4YSEChB

Best regards

Are you trying to build this on something other than a rock64/rockpro64?
  Reply
#12
(11-28-2018, 06:26 AM)evilbunny Wrote:
(11-28-2018, 05:51 AM)Nether494 Wrote: I have a error again

Code:
root@rock64:/usr/src/rtl8811au# make
make ARCH=arm64 -j4 CROSS_COMPILE=/home/android_sdk/Rockchip/Rk3188/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- -C /home/android_sdk/Rockchip/Rk3188/kernel M=/usr/src/rtl8811au  modules
make[1]: *** /home/android_sdk/Rockchip/Rk3188/kernel: No such file or directory.  Stop.
Makefile:1554: recipe for target 'modules' failed
make: *** [modules] Error 2


This is my makefile -> https://pastebin.com/X4YSEChB

Best regards

Are you trying to build this on something other than a rock64/rockpro64?

No, I have a rock64 4GB with this release on my eMMC 16 go -> stretch-openmediavault-rock64-0.7.11-1075-arm64.img.xz

Is there something that is not clear? Do you think I have to use this release? ->stretch-openmediavault-rock64-0.7.11-1075-armhf.img.xz

Best regards

===================

EDIT

Same problem with this release -> stretch-openmediavault-rock64-0.7.11-1075-armhf.img.xz

Code:
sudo lshw


To prove that I have a rock64

Code:
root@rock64:/# sudo lshw
rock64
   description: ARMv8 Processor rev 4 (v8l)
   product: Pine64 Rock64
   serial: e4f5xxxxxxxxx
   width: 32 bits
   capabilities: smp cp15_barrier setend swp
 *-core
      description: Motherboard
      physical id: 0
    *-cpu:0
         description: CPU
         product: cpu
         physical id: 0
         bus info: cpu@0
         size: 1296MHz
         capacity: 1296MHz
         capabilities: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32 cpufreq
    *-cpu:1
         description: CPU
         product: cpu
         physical id: 1
         bus info: cpu@1
         size: 1296MHz
         capacity: 1296MHz
         capabilities: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32 cpufreq
    *-cpu:2
         description: CPU
         product: cpu
         physical id: 2
         bus info: cpu@2
         size: 1296MHz
         capacity: 1296MHz
         capabilities: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32 cpufreq
    *-cpu:3
         description: CPU
         product: cpu
         physical id: 3
         bus info: cpu@3
         size: 1296MHz
         capacity: 1296MHz
         capabilities: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32 cpufreq
    *-memory
         description: System memory
         physical id: 4
         size: 3988MiB
 *-usbhost:0
      product: xHCI Host Controller
      vendor: Linux 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 xhci-hcd
      physical id: 2
      bus info: usb@5
      logical name: usb5
      version: 4.04
      capabilities: usb-3.00
      configuration: driver=hub slots=1 speed=5000Mbit/s
 *-usbhost:1
      product: xHCI Host Controller
      vendor: Linux 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 xhci-hcd
      physical id: 3
      bus info: usb@4
      logical name: usb4
      version: 4.04
      capabilities: usb-2.00
      configuration: driver=hub slots=1 speed=480Mbit/s
 *-usbhost:2
      product: Generic Platform OHCI controller
      vendor: Linux 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 ohci_hcd
      physical id: 4
      bus info: usb@3
      logical name: usb3
      version: 4.04
      capabilities: usb-1.10
      configuration: driver=hub slots=1 speed=12Mbit/s
 *-usbhost:3
      product: EHCI Host Controller
      vendor: Linux 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 ehci_hcd
      physical id: 5
      bus info: usb@2
      logical name: usb2
      version: 4.04
      capabilities: usb-2.00
      configuration: driver=hub slots=1 speed=480Mbit/s
    *-usb UNCLAIMED
         description: Generic USB device
         product: 802.11ac WLAN Adapter
         vendor: Realtek
         physical id: 1
         bus info: usb@2:1
         version: 2.00
         serial: 00e04c000001
         capabilities: usb-2.10
         configuration: maxpower=500mA speed=480Mbit/s
 *-usbhost:4
      product: DWC OTG Controller
      vendor: Linux 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 dwc2_hsotg
      physical id: 1
      bus info: usb@1
      logical name: usb1
      version: 4.04
      capabilities: usb-2.00
      configuration: driver=hub slots=1 speed=480Mbit/s
 *-network
      description: Ethernet interface
      physical id: 6
      logical name: eth0
      serial: c2:5a:xx:xx:xx:xx
      size: 100Mbit/s
      capacity: 1Gbit/s
      capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=March_2013 duplex=full ip=192.168.0.21 link=yes multicast=yes port=MII speed=100Mbit/s
  Reply
#13
(11-27-2018, 08:36 AM)Nether494 Wrote: My wifi dongle -> https://www.aliexpress.com/item/Rocketek...15976.html
This is a RTL8811AU
Code:
Bus 002 Device 002: ID 0bda:a811 Realtek Semiconductor Corp.
Ok. Let's try again.
  • Realtek drivers are chaotic. Only few people has time to make it working.
  • Do not use https://github.com/sloretz/rtl8811au -> not for 4.x kernel (for example STATION_INFO_SIGNAL is missing in kernel sources...)
  • Let's try with https://github.com/zebulon2/rtl8812au/tree/v5.1.5
    Code:
    $ sudo bash
    # git clone --depth 1 https://github.com/zebulon2/rtl8812au.git
    # cd rtl8812au
    # ### pre-check (0bda:a811)
    # grep A811 ./os_dep/linux/usb_intf.c
        {USB_DEVICE(USB_VENDER_ID_REALTEK, 0xA811) , .driver_info = RTL8821},/* Default ID */
        {USB_DEVICE(0x7392, 0xA811), .driver_info = RTL8821}, /* Edimax - Edimax */
        {USB_DEVICE(0x0BDA, 0xA811),.driver_info = RTL8821}, /* Comfast - CF-915AC */
    # ### section "#ifdef CONFIG_RTL8821A" so check enabled RTL8821A
    # grep "CONFIG_RTL8821A = y" Makefile
    CONFIG_RTL8821A = y
    # ### Makefile is set for "CONFIG_PLATFORM_I386_PC = y", it is probably ok for generic linux
    # ### compile for Rock64, last stable 64bit ayufan image
    # uname -a
    Linux rock64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
    # make -j4 ARCH=arm64 USER_EXTRA_CFLAGS="-Wno-switch-unreachable"
    ...
    # make install
    ...
    # ### check module load (I do not have your HW)
    # modprobe 8812au
    # modinfo 8812au
    filename:       /lib/modules/4.4.132-1075-rockchip-ayufan-ga83beded8524/kernel/drivers/net/wireless/8812au.ko
    version:        v5.1.5_19247.20160830
    author:         Realtek Semiconductor Corp.
    description:    Realtek Wireless Lan Driver
    license:        GPL
    srcversion:     E7ABE344F6E3D275044CA78
    alias:          usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
    ...
    depends:        
    vermagic:       4.4.132-1075-rockchip-ayufan-ga83beded8524 SMP mod_unload aarch64
    parm:           rtw_ips_mode:The default IPS mode (int)
    ...
    # modinfo 8812au | grep v0BDApA811
    alias:          usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*
    # ### so, supported by kernel module

Buy me a Beer.
I left this community in Aug 2019 due to PINE64 refusal to produce/deliver ROCK64-1G version 3 after more than one year of changing statuses to "planning", "evaluating", "releasing", "availability", "estimated availability" and finally "no schedule" Angry. ROCK64 is dead platform without any advantage. Buy Raspberry PI 4 !
Away
  Reply
#14
(11-28-2018, 09:48 AM)mcerveny Wrote:
(11-27-2018, 08:36 AM)Nether494 Wrote: My wifi dongle -> https://www.aliexpress.com/item/Rocketek...15976.html
This is a RTL8811AU
Code:
Bus 002 Device 002: ID 0bda:a811 Realtek Semiconductor Corp.
Ok. Let's try again.
  • Realtek drivers are chaotic. Only few people has time to make it working.
  • Do not use https://github.com/sloretz/rtl8811au -> not for 4.x kernel (for example STATION_INFO_SIGNAL is missing in kernel sources...)
  • Let's try with https://github.com/zebulon2/rtl8812au/tree/v5.1.5
    $ sudo bash# git clone --depth 1 https://github.com/zebulon2/rtl8812au.git# cd rtl8812au# ### pre-check (0bda:a811)# grep A811 ./os_dep/linux/usb_intf.c {USB_DEVICE(USB_VENDER_ID_REALTEK, 0xA811) , .driver_info = RTL8821},/* Default ID */ {USB_DEVICE(0x7392, 0xA811), .driver_info = RTL8821}, /* Edimax - Edimax */ {USB_DEVICE(0x0BDA, 0xA811),.driver_info = RTL8821}, /* Comfast - CF-915AC */# ### section "#ifdef CONFIG_RTL8821A" so check enabled RTL8821A# grep "CONFIG_RTL8821A = y" MakefileCONFIG_RTL8821A = y# ### Makefile is set for "CONFIG_PLATFORM_I386_PC = y", it is probably ok for generic linux# ### compile for Rock64, last stable 64bit ayufan image# uname -aLinux rock64 4.4.132-1075-rockchip-ayufan-ga83beded8524 #1 SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux# make -j4 ARCH=arm64 USER_EXTRA_CFLAGS="-Wno-switch-unreachable" ...# make install...# ### check module load (I do not have your HW)# modprobe 8812au# modinfo 8812aufilename:       /lib/modules/4.4.132-1075-rockchip-ayufan-ga83beded8524/kernel/drivers/net/wireless/8812au.koversion:        v5.1.5_19247.20160830author:         Realtek Semiconductor Corp.description:    Realtek Wireless Lan Driverlicense:        GPLsrcversion:     E7ABE344F6E3D275044CA78alias:          usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*...depends:        vermagic:       4.4.132-1075-rockchip-ayufan-ga83beded8524 SMP mod_unload aarch64parm:           rtw_ips_mode:The default IPS mode (int)...# modinfo 8812au | grep v0BDApA811alias:          usb:v0BDApA811d*dc*dsc*dp*ic*isc*ip*in*# ### so, supported by kernel module


Hi,

Thank you so much ! The key seems to work, I just need to find how to configure it

Best regards

=========================

EDIT

All is OK, it works perfectly thank you very much
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem with debian emmc boot G4zCDzWb 10 2,039 11-01-2024, 04:32 PM
Last Post: bits
  Rock64 Debian 11 (Bullseye) install problem jbize 15 11,735 10-12-2023, 05:14 PM
Last Post: tpaul
  External hard drive problem k8Va 17 25,254 03-09-2021, 02:31 PM
Last Post: calinb
  Arch Linux Arm - external RTC problem max 1 3,366 08-17-2020, 10:35 AM
Last Post: max
  Read-only problem mikedhoore 5 7,756 07-14-2020, 11:41 AM
Last Post: zein
Question bluetooth rock64 problem deta 3 5,778 05-06-2020, 11:29 PM
Last Post: deta
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 4,727 01-20-2020, 12:25 PM
Last Post: kf5zmi
  Ayufan Debian Stretch Openmediavault 4 5G Wifi Not Connecting Poincare 0 2,513 03-26-2019, 07:28 PM
Last Post: Poincare
  ROCK64 Kernel compilation problem cao 0 2,732 01-21-2019, 01:21 AM
Last Post: cao
  Can't connect to wifi on a Rock64 SuperSaiyanCaleb 2 4,745 12-18-2018, 11:51 PM
Last Post: SuperSaiyanCaleb

Forum Jump:


Users browsing this thread: 1 Guest(s)