Comments (5)
This is the full log when I compiled.
[code]
sudo make ARCH=arm64 -C "/usr/src/linux-headers-5.9.0-arm-64" M="/home/dale/linux_openvfd/driver" make: Entering directory '/usr/src/linux-headers-5.9.0-arm-64'
AR /home/dale/linux_openvfd/driver/built-in.a
CC [M] /home/dale/linux_openvfd/driver/protocols/i2c_sw.o
CC [M] /home/dale/linux_openvfd/driver/protocols/i2c_hw.o
CC [M] /home/dale/linux_openvfd/driver/protocols/spi_sw.o
CC [M] /home/dale/linux_openvfd/driver/controllers/dummy.o
CC [M] /home/dale/linux_openvfd/driver/controllers/seg7_ctrl.o
CC [M] /home/dale/linux_openvfd/driver/controllers/fd628.o
CC [M] /home/dale/linux_openvfd/driver/controllers/fd650.o
CC [M] /home/dale/linux_openvfd/driver/controllers/hd44780.o
CC [M] /home/dale/linux_openvfd/driver/controllers/gfx_mono_ctrl.o
CC [M] /home/dale/linux_openvfd/driver/controllers/ssd1306.o
CC [M] /home/dale/linux_openvfd/driver/controllers/pcd8544.o
CC [M] /home/dale/linux_openvfd/driver/controllers/il3829.o
CC [M] /home/dale/linux_openvfd/driver/openvfd_drv.o
/home/dale/linux_openvfd/driver/openvfd_drv.c:43:7: warning: "CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND" is not defined, evaluates to 0 [-Wundef]
#elif CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LD [M] /home/dale/linux_openvfd/driver/openvfd.o
MODPOST /home/dale/linux_openvfd/driver/Module.symvers
ERROR: modpost: "__stack_chk_guard" [/home/dale/linux_openvfd/driver/openvfd.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:111: /home/dale/linux_openvfd/driver/Module.symvers] Error 1
make[1]: *** Deleting file '/home/dale/linux_openvfd/driver/Module.symvers'
make: *** [Makefile:1697: modules] Error 2
make: Leaving directory '/usr/src/linux-headers-5.9.0-arm-64'
[/code]
from linux_openvfd.
CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
is specific to Amlogic linux kernel, and should not cause any problems, at least as far as I know.
Regarding the error you see, maybe this will shed a bit more light on the problem. I think it's due to your env configuration.
openzfs/zfs#10985 (comment)
from linux_openvfd.
HI, thanks for your advice. I've switched into focal and after that I could re compile the driver. But when I tried to load module with insmod, I got below error, which I didn't know where it came from.
`Message from syslogd@localhost at Jul 18 01:27:28 ...
kernel:[ 57.778976] Internal error: Oops: 96000004 [#1] PREEMPT SMP
Message from syslogd@localhost at Jul 18 01:27:28 ...
kernel:[ 58.028944] Code: 39016420 f9401a60 f9404fe1 f9400000 (f9406021)
Segmentation fault`
I could see it seemed to be loaded by lsmod but I have no idea whether it is okay. I tried OpenVFDService & and no luck.
And other question, when it comes to armbian, can I put vfd.conf file in the directory /storage/.config/ as we do for coreelec?
Thanks.
from linux_openvfd.
Do you have a full call stack output to see where exactly the segfault happened?
from linux_openvfd.
I'm sorry, I'm programming noob. Could you please guide me so that I can provide you what you want to see? Thanks
Edit: I was able to install by manually input depmod -a.
But I could not trigger LED to show time. Maybe something is wrong with dtb and configuration vfd.conf file.
arm-64:~$ ./OpenVFDService &
[1] 2105
arm-64:~$ Open device failed.
: No such file or directory
As I asked before, can I put vfd.conf file in the directory /storage/.config/ as we do for coreelec?
Thanks.
Edit2: I was able to turn on the display.
I create guide if anyone needs it.
https://github.com/bk3a12/openvfd_enable_for_tx3_mini
from linux_openvfd.
Related Issues (20)
- Display something other then the time? HOT 4
- No display with HK1 Box On Armbian HOT 9
- OpenVFD: Failed to verify VFD config file, attempt using device tree HOT 25
- How to enter a port number greater than 255? HOT 9
- No LED indication on tanix tx6 android box HOT 6
- Kernel module name collision HOT 1
- Patch of_get_named_gpio_flags on latest kernels HOT 2
- License HOT 1
- OLED stays off when device comes out of suspend HOT 1
- Upstream into the kernel HOT 3
- What is the required file ? HOT 1
- RK3566 - "periphs-banks" chip not found (multiple banks issue, new $ARCH?) HOT 2
- Cannot paste vfd.conf into storage/config folder
- Missing gpiochip_find() when compiling on newer kernels HOT 9
- OpenVFD: Failed to verify VFD configuration file, attempt using device tree as fallback. HOT 3
- Q: How to compile? HOT 20
- Auto switch to wrong controller HOT 8
- Problems configuring X96 Air Q1000 VFD display HOT 43
- vfd.conf - correct pin numbers and Display Type setting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux_openvfd.