afulnx icon indicating copy to clipboard operation
afulnx copied to clipboard

can't open file "Documentation/Kconfig"

Open ThomasCr opened this issue 5 years ago • 5 comments

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

ThomasCr avatar Oct 25 '20 15:10 ThomasCr

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

Zibri avatar Oct 25 '20 15:10 Zibri

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

bigrck64 avatar Nov 16 '20 14:11 bigrck64

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 :)

bigrck64 avatar Dec 02 '21 14:12 bigrck64

@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?

some-git-user avatar May 17 '23 22:05 some-git-user

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 !

bigrck64 avatar May 19 '23 09:05 bigrck64