Giter Site home page Giter Site logo

Comments (1)

robertofem avatar robertofem commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.