Giter Site home page Giter Site logo

Buildroot failed because of fbtft about fbtft HOT 9 CLOSED

OmidID avatar OmidID commented on July 18, 2024
Buildroot failed because of fbtft

from fbtft.

Comments (9)

notro avatar notro commented on July 18, 2024 1

fbtft doesn't use struct timespec in 5.17, it uses ktime_t so I don't know how you can get the same compile error: https://elixir.bootlin.com/linux/v5.17/source/drivers/staging/fbtft/fbtft.h#L228

from fbtft.

notro avatar notro commented on July 18, 2024

Are you enabling this option on a >=4.0 kernel?

config BR2_LINUX_KERNEL_EXT_FBTFT
	bool "FB TFT drivers"
	select BR2_PACKAGE_FBTFT
	help
	  Linux Framebuffer drivers for small TFT LCD display modules,
	  e.g. Adafruit PiTFT displays for Raspberry Pi (this extra
	  package is only needed for linux kernels until v3.19, since
	  v4.0 the drivers are included in the staging area).

If so that's your problem.

from fbtft.

OmidID avatar OmidID commented on July 18, 2024

Hello @notro . thanks for the answer.
Yes, that is enabled
image

from fbtft.

notro avatar notro commented on July 18, 2024

Unless you use an old kernel you need to disable that.

from fbtft.

OmidID avatar OmidID commented on July 18, 2024

I using 5.17 . Actually, I tried both, disabled and enabled. the result will be the same :(
Is there any flag or something that I must set to the gcc?
Currently, I using gcc 11.

from fbtft.

OmidID avatar OmidID commented on July 18, 2024

YOU RIGHT!!!
I confused. How did I end up with this problem! :D
Maybe something is wrong with the Buildroot.
Do you have any idea what can check?

from fbtft.

notro avatar notro commented on July 18, 2024

If you disable the config option but doesn't clean the builddir, the driver stays around and you keep getting the error. The buildroot dependency system doesn't detect things like this.

from fbtft.

OmidID avatar OmidID commented on July 18, 2024

I did clean before each make run. each time I waited for 1-2 hours.

from fbtft.

github-actions avatar github-actions commented on July 18, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

from fbtft.

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.