Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

PI4 Buster unrecognized command line option ‘-mgeneral-regs-only’ #38

Open
username7291 opened this issue Jan 26, 2020 · 1 comment

Comments

@username7291
Copy link

This dont compile out of the box with Raspbian Buster.
unrecognized command line option ‘-mgeneral-regs-only’
Aircrack 8812au driver(pretty same stuff but dont work with CU device) manual say do this on PI4:
$ sed -i 's/^dkms build/ARCH=arm dkms build/' dkms-install.sh
$ sed -i 's/^MAKE="/MAKE="ARCH=arm\ /' dkms.conf
But still need "make ARCH=arm" to build the driver.

Monitor Mode is broken in this driver (iw says unsupported, iwconfig wlan0 mode monitor freeze the whole PI).

Dont testet if it work in managed mode.

@rogerlucas-veea
Copy link

I encountered the same problem... the issue is with CONFIG_PLATFORM_ARM_RPI3 selecting arm64.

If you're running your Raspberry Pi 3 in 32-bit mode rather than 64-bit mode, you need to configure:

CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y
CONFIG_PLATFORM_ARM_RPI3 = n

I've tested this on my Raspberry Pi 3 model B v1.2 and the driver compiles and runs as expected.

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

No branches or pull requests

2 participants