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
ARM build support #5
Comments
Sure, thanks. I'll add a link to this issue. |
Can a example patchfile for this be written? |
@janat08 such a patch is really simple to make if you know basic git: diff --git i/rtl8188fu/Makefile w/rtl8188fu/Makefile
index 5300bf2..9ece77e 100644
--- i/rtl8188fu/Makefile
+++ w/rtl8188fu/Makefile
@@ -401,7 +401,7 @@ EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
-SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
+SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/armv6l/arm/)
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER := $(shell uname -r) |
ty, I use GUI so don't know this formatting to recognize that this is just a local commit. |
Useful commands for other people, updpkgsums, and also change sources field which lists other patches in pkgbuild. It doesn't work. Firstly the above example is missing commit code (its abbreviated with ...). Second I get this:
|
Cant you publish a fork instead? |
Hey, let me know if it works on your ARM device then I can make changes to the Makefile. |
I'm failing at installing it altogether. |
Oh I see... what exactly is going wrong? |
Says in the post above. I use the overwrite flag, or something like that
(it says previous install was detected).
…On Wed, Jun 10, 2020 at 12:09 AM Cornelius Edward ***@***.***> wrote:
Oh I see... what exactly is going wrong?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWP5AK2PNIYBWLSNNJOTOTRVZUFJANCNFSM4NDKPXKQ>
.
|
Well first remove the partially installed version. run After that, download the repo again and change the Makefile Replace this line: SUBARCH := $(shell uname -m | sed -e s/i.86/i386/) With this line: SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/armv6l/arm/) Then build and see if it works! |
I'm told building drivers is a bad idea. Can I get a link for what I'm suppose to do, if using aur patches isn't an option. |
Once again you could probably just publish a separate package for arm. |
sudo dkms remove rtl8188fu/1.0 --all |
Then I think you haven't installed the drivers previously. I don't think building drivers is bad. Most coders like to build their drivers, cause they like to take a look at the source code and don't just trust some pre-built binary. |
So I did make ARCH=aarch64, what's next? DKMS is installed. |
So I just reuploaded the package https://aur.archlinux.org/packages/8188fu-dkms-arm . It tries to install it with different version though: |
Since you're using arch take a look at this |
I'm using manjaro, and still saw my package in the AUR, should I upload it elsewhere? |
Did you provide that as an example for package making or something to install? |
To install! A user said that the 8188eu drivers also work on 8188fu. So you can try and see if it works for you. Also this driver should work. I have used it on my machine running Manjaro. |
The eu version didn't work. |
I reinstalled dkms, and the EU version won't find headers: While the fu version still gets the same error: |
This doesn't work out-of-the-box for ARM arch. On a raspberrry pi zero (armv6l) I had to change line 404 of Makefile from
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
to
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/armv6l/arm/)
FWIW I didn't submit a PR as this change isn't general enough and I've only tested on one hardware platform.
Hope this helps
The text was updated successfully, but these errors were encountered: