Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help a newby with DTS files #1

Closed
cesaregiannetti opened this issue Oct 26, 2020 · 2 comments
Closed

help a newby with DTS files #1

cesaregiannetti opened this issue Oct 26, 2020 · 2 comments

Comments

@cesaregiannetti
Copy link

This is my first experience with a kernel and my first Github issue, please excuse any misuse.
I'm struggling with this sentence from the README: "The custom kernel branch also includes a DTS file with support for 800x480 TFT resolution". I actually have a 800x480 display but I have no idea where to find such a DTS file... what do you mean by custom kernel branch? What am I missing? Could you please explain step-by-step what to do?

I have to say that the included 480 resolution works fine in the top-left corner of my display, with the rest behaving oddly, so +1 to you for having me (a complete kernel ignorant) compile and burn a working SD card for my Lichee pi nano.

@unframework
Copy link
Owner

Hi Cesare, thanks for trying out this repo, and I am happy to hear that it worked, even if partially!

My wording re: "custom kernel branch" is a bit confusing, yes. What I meant is that the kernel already includes a DTS file which supports the Lichee Pi with 800x480 TFT - a so-called "in-tree" DTS file. This is the file that was originally created by Lichee Pi folks/other contributors, actually - I switched away from using that file to my customized version.

To use it, one needs to tweak the config in several spots. I did not get around to fully documenting that change, but please see this commit for some hints: f3cf5f0. This was the code change that switched from original DTS file to my custom one: so in your case, you will want to "undo" the changes made in that commit. I.e. change the text in relevant files locally from green back to red. Then the usual make steps, etc.

I hope that makes sense, happy to clarify further!

@cesaregiannetti
Copy link
Author

Hi Nick, thank you very much for the fast answer, makes perfect sense, I reverted your mods and it worked flowlessly first try. Sorry for the late feedback, I got sick in the meanwhile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants