zibri / afulnx Goto Github PK
View Code? Open in Web Editor NEWAMI BIOS Flash Utility work on Ubuntu 18
AMI BIOS Flash Utility work on Ubuntu 18
Hi,
fail to build on latest Ubuntu 18.04.5LTS. You fix?
root@lizhi:/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64# uname -ar/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64# ./afulnx_64 /MAKEDRV KERNEL=/lib/modules/4.15.0-124-generic/build
Linux lizhi 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@lizhi:
Brgds,
Tore
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
sudo ./afulnx_64 /MAKEDRV
I get an error: ./arch/x86/include/asm/uaccess.h:32:9: error: dereferencing pointer to incomplete type ‘struct task_struct’
Googling indicates that this is due to updates in the kernel:
https://lkml.org/lkml/2017/9/30/189
I grabbed the files out of the .temp folder while running AFULNX when it does the compile step, then modified the code to #include <linux/uaccess.h> as suggested on the kernel mailing list . However, I can't quite figure out how to pack that back into the AFULNX binary. Can you provide some tips on how to patch this back into the file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.