h3-tve icon indicating copy to clipboard operation
h3-tve copied to clipboard

Some parts of the patch no longer work

Open JORGETECH opened this issue 6 years ago • 6 comments
trafficstars

I tried to apply this patch to a recent version of the kernel (4.19) using the armbian compile script and it no longer applies all the changes and thus the patch fails. It seems like there have been some changes in some of the files since linux 4.14 (specially in the file /drivers/gpu/drm/sun4i/sun4i_tcon.c), I would try to fix it myself but I do not have the time and I got stuck in some part due to not having experience in writing kernel patches.

JORGETECH avatar Feb 18 '19 21:02 JORGETECH

I don't have this board anymore, or the time to work on it, unfortunately. I leave this repo up so that it may be of assistance should anyone else want to see what was required to get it working at the point i stopped playing with it. If anyone does fix it and wants to merge patches, i will happily accept them however.

stevenj avatar Sep 24 '21 09:09 stevenj

I have 2 orangepi zero, and I am interested in making composite out work :)

Would linux 5.xx or 6.xx have any chances of enabling the TV out? Even if we go line-by-line finding the correct places to change?

robertojguerra avatar Feb 19 '23 21:02 robertojguerra

I know this is 4 years late… but I am trying to use Steve’s image in my orange Pi zero … should I add something in the armbianEnv text or should I run tasksel or something like that?

robertojguerra avatar Feb 20 '23 00:02 robertojguerra

No idea, I don't even know where my opi zero is anymore :) You might have better luck looking to see if the linux-sunxi devs have more uptodate patches. https://linux-sunxi.org/Main_Page

stevenj avatar Feb 20 '23 05:02 stevenj

I just made TV output work with your image:

  • Run armbian-config, click "System", "Hardware", activate "tve"
  • Navigate back to "System", click "Bootenv", in the "overlay" line, after "usbhost2", add "tve" (this might be redundant to the step above)
  • Exit, run "tasksel", select "Debian Desktop" and "XFCE"
  • Reboot, then in 2 minutes I see the XFCE login screen :) It works :), but there is vertical overscan... I know other people have managed to fix this, so I am in the correct path

In the Linux 6.1 armbian image, there is no "tve" option in hardware. I haven't seen whats available in the Linux 5.15 official armbian image.

robertojguerra avatar Feb 20 '23 12:02 robertojguerra

This comment in armbian.com points to another kernel patch that works on linux 5.10 https://forum.armbian.com/topic/6582-orange-pi-zero-h2h3-tv-out-on-mainline-working/#comment-117822 https://github.com/jernejsk/linux-1/commit/ad153ef6ee5be33531187f97d5fa0c07455dc795?diff=split

robertojguerra avatar Feb 21 '23 02:02 robertojguerra