Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wifi-Driver rtl8812

Featured Replies

I try to install the package rtl8812au-dkms and it fails with:

 

 

  CC [M]  /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/efuse/rtw_efuse.o
  CC [M]  /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.o
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c:2183:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 2183 |         _rtw_memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN);
      |                     ~~~~~~~^~~~~~~~~~
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c:807:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  807 | void _rtw_memcpy(void* dst, const void* src, u32 sz)
      |                  ~~~~~~^~~
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c: In function ‘rtw_random32’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.c:2310:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
 2310 |         return prandom_u32();
      |                ^~~~~~~~~~~
      |                prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1992: /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-rc5-rk3568-odroid'


Same issue, if I try to compile the driver manually:

 

  CC [M]  /home/astrodroid/rtl8812au/core/efuse/rtw_efuse.o
  CC [M]  /home/astrodroid/rtl8812au/os_dep/osdep_service.o
/home/astrodroid/rtl8812au/os_dep/osdep_service.c: In function ‘rtw_random32’:
/home/astrodroid/rtl8812au/os_dep/osdep_service.c:2591:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
 2591 |         return prandom_u32();
      |                ^~~~~~~~~~~
      |                prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:250: /home/astrodroid/rtl8812au/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1992: /home/astrodroid/rtl8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-rc5-rk3568-odroid'


Which package I missed to be installed, that this function may be available. With the original Odroid M1 Ubuntu LTS 22.04 and Linux 5.19 this package could be installed.

 

Thx

 

7 hours ago, nikodemus said:

With the original Odroid M1 Ubuntu LTS 22.04 and Linux 5.19 this package could be installed.

 

You need to adjust sources that will be compatible with kernel 6.0.y If you know what needs to be done, then it looks like this: https://github.com/aircrack-ng/rtl8812au/pull/1008/files some of ours https://github.com/armbian/build/tree/master/patch/misc Can be few hours of work ... 

The U-boot from hardkernel does not boot from USB when in skip_spiboot mode.

An SD-card with the hardkernel image boots fine with the wifi adapter attached, even with  skip_spiboot.

 

Therefore tripping over the cd-device during boot is a very specific Armbian problem.

The problem probably starts with the pre-release bootstrap, after the initial boot phase and before switching to nvme partition.

 

A wifi adapter which identifies itself as a cd-device is a problem in itself, of course.

With a working spiboot for the M1, it should be managable though.

24 minutes ago, specs said:

is a very specific Armbian problem


Common to all modern kernel based Linux distributions that does not chain load with propriety kernel? Armbian is a build system that assembles and provide ready to run Debian like / based OS for single board computers. 

 

24 minutes ago, specs said:

With a working spiboot for the M1, it should be managable though.


Yes of course, but open source boot loader is not done yet, dunno what is the status ATM, while we decide to not provide Armbian images with proprietary vendor (Petit)boot / kernel.

 

I don't know if there is a solution. Only a workaround - that you use some other WiFi dongle.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.