Skip to content
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

can't open file "Documentation/Kconfig" #2

Open
ThomasCr opened this issue Oct 25, 2020 · 5 comments
Open

can't open file "Documentation/Kconfig" #2

ThomasCr opened this issue Oct 25, 2020 · 5 comments

Comments

@ThomasCr
Copy link

build fails on kernels newer 5.4.7 (same as there)

root@nd1:~/flash/afulnx64# ./afulnx_64 /MAKEDRV KERNEL=/lib/modules/$(uname -r)/build
 - Program initializing .. 
 - Make AFULNX driver .... Kconfig:36: can't open file "Documentation/Kconfig"
make[3]: *** [scripts/kconfig/Makefile:73: syncconfig] Fehler 1
make[2]: *** [Makefile:594: syncconfig] Fehler 2
make[1]: *** [Makefile:700: include/config/auto.conf.cmd] Fehler 2
make: *** [Makefile:8: default] Fehler 2
fail
10 - Error: Unable to load driver.

root@nd1:~/flash/afulnx64# uname -r
5.4.60-1-pve
@Zibri
Copy link
Owner

Zibri commented Oct 25, 2020

I didnìt make afulnx program.. I just fixed for it to work on my system.
If you find a solution I will post it on the main page

@bigrck64
Copy link

I got the exact same problem, did you find any solution @ThomasCr ?

@bigrck64
Copy link

bigrck64 commented Dec 2, 2021

I find a solution :)

1- Download the kernel driver from here https://github.com/vchauhan1/afulnx64
2- Edit Makefile and replace SUBDIRS= with M=
3- Type "make" to generate a working amifldrv_mod.o with your kernel
4- Move amifldrv_mod.o in the same folder of afulnx_64

It works :)

@some-git-user
Copy link

@bigrck64 could you please help me out? The repository you posted in your solution is not available anymore. Do you still have the binary's?

@bigrck64
Copy link

bigrck64 commented May 19, 2023

Hello, no problem here is a copy :)
http://rck.free.fr/afulnx/afulnx64-vchauhan1.tar.gz

I can make this driver to compile and work with the following kernel version:

'<= 5.4.203'
'= 5.11.22'

But I did't find a way to have afulnx64 working with kernels :

'>= 5.13.14'
... 5.15*
... 5.19*
... 6.1*
'<= 6.2.11'

I got the ERROR (46 - Error: Problem getting flash information.) when afulnx is trying to dump the bios.
So, if someone find a way to make this driver work with recent kernel, I'm interested !

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

4 participants