Comments (1)
To insert a driver in a kernel it has to be compiled with the same toolchain (kernel version) used to compile the kernel. Otherwise the tag of the kernel when you do "uname -r" and the tag inside the driver will missmatch and the OS wont allow the driver to be inserted.
That is why in order to use that driver you need to compile the OS, generate an SD card based in that OS, compile the driver using some tools generated during OS compilation and finally insert the driver in the OS. Some of the tools generated by the OS are a cross-compiler that is used to compile the driver and "ROOTDIR", which is like a copy of the kernel files in the board, and that are used by the compiler to find the different kernel functions used inside the driver (its like the libraries when you compile a C program that uses third party libraries).
This driver was specifically designed to move data between FPGA and CPU and this implied the allocation of contiguous physical memory and this cannot be done from user space. Please, tell me from where to where you want to move data and the size of each transfer and I may suggest you a better way to move data without the need of OS compilation.
Regarding Amgstrom, most of metalayers are missing from the internet, so trying to recompile Amgstrom 2016 like the giude explains will be impossible. We suffered this this year. If you want to have a Custom Linux for these types of boards Poky Linux is the best. We can help you building it throgh our comany (https://logicmelt.com/)
from cyclonevsoc-examples.
Related Issues (8)
- assigning a 32-bit value to an 8-bit value
- Compile error while making DMA_PL330_LKM HOT 1
- Two questions on your DMA FPGA hardware HOT 2
- De1 SoC GHRD
- Minor defect in ghrd_top.v HOT 3
- What the difference from Altera-SoCFPGA-HardwareLib-DMA-CV-GNU ? HOT 1
- Simple Makefile to Build a minimal Baremetal Application HOT 4
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 cyclonevsoc-examples.