Need some guidance - driver porting from old kernel


s3b0
 Share

0

Recommended Posts

Hi there.

Is there someone who can guide me with linux driver porting?

I have old LCD panel for my bananapi like described here: https://forum.banana-pi.org/t/lcd-module-dsi-rgb-with-touch-and-s070swv20hg-dc16-lcd-panel-mainline-kernel/11172  but i can not make it work with linux. Old bananian has this driver and it is working. I would like to try to port it to mainline :) but i don't know how to start. 

I'm skilled user of linux, for few past years i've been using gentoo so i know what is kernel and how to tweak or compile it. I know C on decent level so i think i could made it but i have no clue how to track working driver down and how to port it from 3.4 kernel(this is kernel from bananian image). I manage to add it to u-boot, but all my tries to add it to panel-simple.c driver was unsuccessful. 

 

This is back-plate of my panel: https://ibb.co/1zcFpQL

Link to post
Share on other sites

Donate and support the project!

16 minutes ago, s3b0 said:

this is kernel from bananian image

 

This is a kernel where initial support for Allwinner A20 was developed by chip vendor (Allwinner) and was maintained by sunxi group, Armbian, Bananian  ... before Nico started with Bananian.

 

16 minutes ago, s3b0 said:

I manage to add it to u-boot, but all my tries to add it to panel-simple.c driver was unsuccessful. 


I am pretty sure your LCD will get to live by following this manual:

 

16 minutes ago, s3b0 said:

I'm skilled user of linux


In case you have some time, we are low with people that knows something and have interest to maintain things around the project. We can't hire so, we can only plead for help:
https://www.armbian.com/newsflash/armbian-needs-your-help/

 

22 minutes ago, s3b0 said:

i've been using gentoo

 

Many people and other distributions are directly using our kernel, because it works (much) better than kernel from raw material (www.kernel.org) only. In ARM world, this difference can be large due to many special functions those little boards have ...

 

Welcome!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

0