Jump to content

ROCKPI 4(A/B/C) Touchscreen Support


SydeLink

Recommended Posts

Good day, I'm looking for help adding touchscreen support to the ROCKPI 4 Legacy Kernel and correct screen configuration settings. Im new to SBC development so I'm still learning the build system. 

I have taken the time to track down, what I believe, are the commits to add basic support for the "Raspberry Pi 7" Touchscreen" to the kernel. I believe their will be changes needed to rootfs so that the display manager recognizes it and sets it up properly.


ARMBIAN_BUILD_BRANCH: Legacy Kernel --> https://github.com/ayufan-rock64/linux-kernel/tree/release-4.4.202

RADXA_BUILD_BRANCH: Kernel --> https://github.com/radxa/kernel/releases/tag/4.4.154-110-rockchip

MY_BUILD_BRANCH: Armbian Legacy Kernel --> https://github.com/SydeLink/linux-kernel/commits/sL-armbian-radxa

 

These are the commits I've cherry picked from Radxa's Kernel
97f1fae7dcaea5712ae69d239016251090242bcd //Overlay
a9e01ea73ca3a5e3e25d78cb3725ced3f3c3c8ca //Driver
29beb4f7264afcc6bb60672e06e1f8b727903eb4 //Driver
de225d96bb00b0b187f930df3c077fd172b9255f //Driver

 

It builds successfully. I've installed to device. It now boots to black screen. I believe its now picking up the screen but no longer knows what to output to. I remember seeing some commits to add fallback to x11 for this issue but cant remember where.

 

I'm pausing at this point for the evening. Hope this helps others :D
 

Link to comment
Share on other sites

Good day, I'm looking for help adding touchscreen support to the ROCKPI 4 Legacy Kernel and correct screen configuration settings. Im new to SBC development so I'm still learning the build system. 
I have taken the time to track down, what I believe, are the commits to add basic support for the "Raspberry Pi 7" Touchscreen" to the kernel. I believe their will be changes needed to rootfs so that the display manager recognizes it and sets it up properly.

ARMBIAN_BUILD_BRANCH: Legacy Kernel --> https://github.com/ayufan-rock64/linux-kernel/tree/release-4.4.202
RADXA_BUILD_BRANCH: Kernel --> https://github.com/radxa/kernel/releases/tag/4.4.154-110-rockchip
MY_BUILD_BRANCH: Armbian Legacy Kernel --> https://github.com/SydeLink/linux-kernel/commits/sL-armbian-radxa
 
These are the commits I've cherry picked from Radxa's Kernel
97f1fae7dcaea5712ae69d239016251090242bcd //Overlay
a9e01ea73ca3a5e3e25d78cb3725ced3f3c3c8ca //Driver
29beb4f7264afcc6bb60672e06e1f8b727903eb4 //Driver
de225d96bb00b0b187f930df3c077fd172b9255f //Driver
 
It builds successfully. I've installed to device. It now boots to black screen. I believe its now picking up the screen but no longer knows what to output to. I remember seeing some commits to add fallback to x11 for this issue but cant remember where.
 
I'm pausing at this point for the evening. Hope this helps others :D
 
IIRC, we have working RPi touchscreen for the Tinkerboard. You can search the commits for it, and see if you are missing anything

Enviado desde mi moto g(6) plus mediante Tapatalk

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