Giter Site home page Giter Site logo

Comments (7)

pavel-demin avatar pavel-demin commented on August 23, 2024

I'd follow the instructions from fbtft/README:

cd drivers/video/fbdev
git clone https://github.com/notro/fbtft.git
Add to drivers/video/fbdev/Kconfig: source "drivers/video/fbdev/fbtft/Kconfig"
Add to drivers/video/fbdev/Makefile: obj-y += fbtft/

from red-pitaya-notes.

 avatar commented on August 23, 2024

Hello Pavel - I am assuming that I need to make some updates to the Device Tree (since it is for the Raspberry Pi). Is this thinking correct?

from red-pitaya-notes.

pavel-demin avatar pavel-demin commented on August 23, 2024

Sorry, but I have no idea how to make this driver working with Red Pitaya. Why not read the driver documentation or ask the authors of the driver?

from red-pitaya-notes.

pavel-demin avatar pavel-demin commented on August 23, 2024

I've just realized that your question was already answered on the Red Pitaya forum:
http://forum.redpitaya.com/viewtopic.php?t=1409&p=5580#p5580

I don't think that I can add anything to this answer.

from red-pitaya-notes.

 avatar commented on August 23, 2024

There may be other Raspberry Pi device drivers I would want to move over, so understanding the Device Tree mappings and then rebuilding the kernel were things I was poking at.

I think I have a working plan of how to migrate this driver from a Raspberry Pi to the Red Pitaya. Since I used the build environment from your tree, I wanted to make sure I was on the right track. I will update this thread if all goes well.

from red-pitaya-notes.

pavel-demin avatar pavel-demin commented on August 23, 2024

I had a quick look at the fbtft documentation and found a solution based on the devicetree overlays:
https://github.com/notro/fbtft/wiki/FBTFT-RPI-overlays

Some more information about devicetree overlays can be found at the following link:
https://www.raspberrypi.org/documentation/configuration/device-tree.md

I also found the fbtft driver in drivers/staging/fbtft.

I enabled devicetree overlays and all the fbtft components with commit f0742db.

from red-pitaya-notes.

 avatar commented on August 23, 2024

Thanks Pavel, I am reading this and the Xilinx SPI documentation: http://www.wiki.xilinx.com/Linux+SPI+Driver

from red-pitaya-notes.

Related Issues (20)

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.