Jump to content

nanoPC-T4: trying to enable eDP LCD display


ethDreamer

Recommended Posts

@Erica 

It depends on linux-headers-xxx-xxx, like below:

root@MusicPI:~# dpkg -l |grep linux-headers
ii  linux-headers-edge-media             23.02.2                                   arm64        Linux kernel headers for 6.2.0-media on arm64 edge
Link to comment
Share on other sites

@iamdrq 

Thank you. 

 

I have 6.1.30 and have not found those headers.  Nor for 23.05.

 

I accidently upgraded to 6.2 and my panel stopped working. I reapplied everything there and it still did not work. so I installed a fresh jammy to get back to 6.1.30 To try to get my panel back.

 

Im in limbo now. No panel, 6.1.30, no linux headers to be found. Upgrading to 6.2 broke it. 

Im now looking for headers to manually install.  Or maybe just fix it for 6.2.

Do you have any ideas? 

Thank you. 

 

Link to comment
Share on other sites

@Erica

now apt system media edge is 6.2.0,current is 6.1.11,maybe you can try:

If you decide use 6.2:

apt install linux-headers-edge-media

If you decide use 6.1:

apt install linux-headers-current-media

armbian build system has some adjustments,so I am not sure it compatible your system and I am not know how find the deb.

Link to comment
Share on other sites

@iamdrq

Current installs the headers for 6.1.11.

Which doesn't work. 

 

Is it that 6.2 should work?  

I tried it and couldn't get the panel display back.  

 

I can just upgrade to get 6.2 but I tried that for two days. So I reinstalled the current version from downloads. I'm travelling and don't have access to my old sdcards. 

 

Currently I have a TV to connect to. Tomorrow I will not. 

Link to comment
Share on other sites

@iamdrq 

It's ok.  Is it that it should work with 6.2? 

I can pursue that if that is the case. 

 

I may need to buy a small hdmi display in the meantime. 

 

Your readme says 6.1.x only.

That is partly why I downgraded, but now

I am left with no Linux headers for this kernel. 

Link to comment
Share on other sites

@iamdrq

I think I will upgrade to 6.2.  Everything works better there even if my panel doesn't. It's not going to work on 6.1.30 anyway without Linux headers. 

 

I should have stayed at 6.2. This was a lot of work. 

 

I will post my progress. I may need some help later when you have time to look. 

 

 

 

Link to comment
Share on other sites

So I was able to change back to 6.1.11.

This has resulted in many problems. 

 

I still don't know how I got to 6.2 in the first 

Place, I think it was through apt. 

 

Exiting xfce or xmonad results in a blank screen.  The console somehow gets managed by xmonad. It is weird. And annoying. 

 

Dbus doesn't seem to work, but I cant tell why. 

 

It is still running, but no video. 

 

I don't have a DM, I just log in and start what I want. 

 

This not very usable.  

 

I am switching to 6.2 and trying again. 

That was the most stable of all. 

But no panel. If the system works well

That is an improvement. 

Link to comment
Share on other sites

There is no difference with 6.2. Whatever I broke is the same. 

 

Ive created the same full system on sdcard by installing all installed packages on the borked system.  I have gotten most everything working that I need except the panel.  

 

This with 6.1.30-media.   The current nanopc t4 jammy. 

 

I retrieved the Linux headers with armbian-config. At which point I discovered that

My sdcard is now at 6.2.0! 

 

So like it or not, that's what I have, 

And it works, but no panel. 

 

Ill make another one and test the panel code with that. 

 

 

 

Link to comment
Share on other sites

So the solution that @iamdrq and I have no longer works. 

 

I've tried armbian 22 with kernel 5.19,

The device driver does not compile because of missing structure elements. 

 

I tried 6.1.30 and 6.11 kernels with 

Armbian 23.5.

The device driver builds. 

All result in a hung startup.

 

With the 6.0.0, 6.0.19 and 6.2 kernels it is impossible as the infrastructure does not exist to build the device driver. Or I have not figured out how to get it. Linux headers is not enough.  I have been installing them with armbian config. 

 

Originally it worked with kernel 6.0. I am unsure of the terminal version, so I tried 0 and 19.

6.0.0 uses Linux-headers-edge-media and 6.0.19 uses current-media. Neither have a build directory in modules. Making it impossible to build the panel driver. 

 

I am travelling and do not have access to my sdcard collection or my archived downloads so I cannot pursue this line of investigation further.  I did of course forget to bring my backup. So this computer is a bit of an anchor which requires an external monitor. 

 

If anyone knows how to get the modules build directory for kernels 6.x.x that would at least allow me to try them. Only the 6.1

Kernels seem to have that with the Linux headers and they hang on boot with the dtb overlay and device driver for the ts1050. 

 

Thank you for any insight. 

 

Link to comment
Share on other sites

Ok, I've been through a lot kernels and had various problems. None them worked for various reasons. 

 

Im now at 6.2.0-rc8 and for whatever reason I can build the modules now, and our solution works out of the box. 

 

Make install in my

armbian-boot-edp-overlay repository,

then make install in @iamdrq's

panel-edp-friendlyelec repo.

Reboot.

The ts1050 edp panel should work. 

Link to comment
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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines