Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] FBTFT extension does not work out of the box
@ 2023-06-23 18:22 Hasan Karaman
  2023-06-24  7:30 ` Peter Seiderer
  0 siblings, 1 reply; 2+ messages in thread
From: Hasan Karaman @ 2023-06-23 18:22 UTC (permalink / raw)
  To: buildroot

What I do is:

make orangepi_zero_defconfig

make menuconfig

Kernel > Linux Kernel Extensions > FB TFT Drivers

https://github.com/notro/fbtft cannot be compiled with mainline kernel. 
So I use my modified version of fbtft driver:

https://github.com/grizzlei/fbtft

And when I replace 
buildoot/output/build/linux-6.1.14/drivers/video/fbdev/fbtft with my 
code, this time i get compilation errors caused by CONFIG_FB_DEFERRED_IO 
macro not being defined. Does FBTFT support depend on other features?

-- 
Hasan Karaman
Embedded Linux, C&C++ developer
Survey & Geomatics Engineer
hk@hasankaraman.dev
https://hasankaraman.dev

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Buildroot] FBTFT extension does not work out of the box
  2023-06-23 18:22 [Buildroot] FBTFT extension does not work out of the box Hasan Karaman
@ 2023-06-24  7:30 ` Peter Seiderer
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Seiderer @ 2023-06-24  7:30 UTC (permalink / raw)
  To: Hasan Karaman; +Cc: buildroot

Hello Hasan,

On Fri, 23 Jun 2023 21:22:50 +0300, Hasan Karaman <hk@hasankaraman.dev> wrote:

> What I do is:
>
> make orangepi_zero_defconfig
>
> make menuconfig
>
> Kernel > Linux Kernel Extensions > FB TFT Drivers
>
> https://github.com/notro/fbtft cannot be compiled with mainline kernel.
> So I use my modified version of fbtft driver:
>
> https://github.com/grizzlei/fbtft
>
> And when I replace
> buildoot/output/build/linux-6.1.14/drivers/video/fbdev/fbtft with my
> code, this time i get compilation errors caused by CONFIG_FB_DEFERRED_IO
> macro not being defined. Does FBTFT support depend on other features?
>

Maybe do not use the out of tree version, use the kernel mainline one
(drivers/staging/fbtft) as stated here [1]:

	2015-01-19
	The FBTFT drivers are now in the Linux kernel staging tree:
	https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
	Development in this github repo has ceased.

Regards,
Peter

[1] https://github.com/notro/fbtft/commit/855b2908380e8ca996768bf94cb4d8573690bc30
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-24  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-23 18:22 [Buildroot] FBTFT extension does not work out of the box Hasan Karaman
2023-06-24  7:30 ` Peter Seiderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox