nkaminski / amd-gseriessoc-wdt Goto Github PK
View Code? Open in Web Editor NEWWatchdog timer drivers for AMD G series SoC's
License: GNU General Public License v2.0
Watchdog timer drivers for AMD G series SoC's
License: GNU General Public License v2.0
Hi there,
I plan to use a hardware watchdog kicked from my application.
Device: PC Engines: APU1d see: http://www.pcengines.ch/apu1d.htm
OS: Ubuntu 12.04
Kernel: 3.2.0-23-generic
So the processor is a "AMD G series T40E" one, which i was trying to use with your code.
I changed the Makefile to compile on Ubuntu, compiled and loaded the module. But i don't get a /dev/watchdog device.
Makefile changed the path to the linux-headers:
KERNEL_SRC := "/lib/modules/$(shell uname -r)/build/"
There may be a additional problem with the code
Running make:
make CONFIG_DEBUG_SECTION_MISMATCH=y
Output:
WARNING: /root/amd-gseriessoc-wdt-master/amd_wdt.o(.text+0x22b): Section mismatch in reference from the function amd_wdt_setupdevice() to the variable .devinit.rodata:amd_wdt_pci_tbl
The function amd_wdt_setupdevice() references
the variable __devinitconst amd_wdt_pci_tbl.
This is often because amd_wdt_setupdevice lacks a __devinitconst
annotation or the annotation of amd_wdt_pci_tbl is wrong.
Can you help me with this?
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.