PINE64
[EXPERIMENTAL] Linux on the LCD screen - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Pine A64 Hardware, Accessories and POT (https://forum.pine64.org/forumdisplay.php?fid=32)
+---- Forum: LCD and Touch Panel (https://forum.pine64.org/forumdisplay.php?fid=37)
+---- Thread: [EXPERIMENTAL] Linux on the LCD screen (/showthread.php?tid=2247)

Pages: 1 2 3


[EXPERIMENTAL] Linux on the LCD screen - Terra854 - 09-20-2016

Coming soon on Linux...

[Image: 20160920_143949.jpg]

Currently, it only lasted for 5 to 6 seconds before my Pine powers down (i guess it is due to not enough power) , which means i can't test it out to see if it's truly working or not.


RE: [EXPERIMENTAL] Linux on the LCD screen - tkaiser - 09-20-2016

(09-20-2016, 01:00 AM)Terra854 Wrote: Coming soon on Linux... 

Are you kidding?! There's nothing that could 'come' since it's there from the beginning. It's just defining that you want to use an LCD instead of HDMI (or configuring how you want to combine two displays to be used at the same time) and it's done the usual way we're doing this on every other Allwinner SoC with BSP kernel since years: http://forum.pine64.org/showthread.php?tid=1183&pid=20149#pid20149

There's nothing 'experimental', the BSP kernel was able to use the LCD from the beginning, it's just different settings. And it's still done the same way as we know it from older Allwinner SoCs and BSP.

The only problem this community here had or still has is it that some people were so blinded by 'the Mali' hype that they didn't realize that if you want to use an LCD you have to switch settings to use the LCD. No 3D acceleration needed for using a display! Read through the above thread to get the sad details.


RE: [EXPERIMENTAL] Linux on the LCD screen - Terra854 - 09-20-2016

(09-20-2016, 01:06 AM)tkaiser Wrote:
(09-20-2016, 01:00 AM)Terra854 Wrote: Coming soon on Linux... 

Are you kidding?! There's nothing that could 'come' since it's there from the beginning. It's just defining that you want to use an LCD instead of HDMI (or configuring how you want to combine two displays to be used at the same time) and it's done the usual way we're doing this on every other Allwinner SoC with BSP kernel since years: http://forum.pine64.org/showthread.php?tid=1183&pid=20149#pid20149

There's nothing 'experimental', the BSP kernel was able to use the LCD from the beginning, it's just different settings. And it's still done the same way as we know it from older Allwinner SoCs and BSP.

The only problem this community here had or still has is it that some people were so blinded by 'the Mali' hype that they didn't realize that if you want to use an LCD you have to switch settings to use the LCD. No 3D acceleration needed for using a display! Read through the above thread to get the sad details.


Yes, I am aware that support is already included since the beginning, it is just a matter of getting it to work correctly with the correct settings in the dts.

So far, it does not work properly yet as it blank screens after a few seconds (that's why i put "EXPERIMENTAL" to say that it's not ready for normal users because we either haven't discovered the correct settings for it or it's due to other factors, not because I am experimenting with support for the LCD screen).


RE: [EXPERIMENTAL] Linux on the LCD screen - tkaiser - 09-20-2016

(09-20-2016, 02:25 AM)Terra854 Wrote: Yes, I am aware that support is already included since the beginning, it is just a matter of getting it to work correctly with the correct settings in the dts.

So far, it does not work properly yet as it blank screens after a few seconds

Thanks for the clarification. In case you power your whole setup through Micro USB then... well, then...

That's why I call the Pine64 (and every other device out there relying on Micro USB for DC-IN) a supporter's nightmare. You never know what happened if something's reported as broken. It might just be the usual undervoltage situation responsible for the many problems people are experiencing with their boards. 

The LCD backlight might add significantly to consumption -- who knows what happens then if powering is insufficient...


RE: [EXPERIMENTAL] Linux on the LCD screen - cyphergenetics - 09-25-2016

(09-20-2016, 01:06 AM)tkaiser Wrote:
(09-20-2016, 01:00 AM)Terra854 Wrote: Coming soon on Linux... 

Are you kidding?! There's nothing that could 'come' since it's there from the beginning. It's just defining that you want to use an LCD instead of HDMI (or configuring how you want to combine two displays to be used at the same time) and it's done the usual way we're doing this on every other Allwinner SoC with BSP kernel since years: http://forum.pine64.org/showthread.php?tid=1183&pid=20149#pid20149

There's nothing 'experimental', the BSP kernel was able to use the LCD from the beginning, it's just different settings. And it's still done the same way as we know it from older Allwinner SoCs and BSP.

The only problem this community here had or still has is it that some people were so blinded by 'the Mali' hype that they didn't realize that if you want to use an LCD you have to switch settings to use the LCD. No 3D acceleration needed for using a display! Read through the above thread to get the sad details.

Bleh.. I've tried 

wget -O /boot/dtb/allwinner/sun50i-a64-lcd-pine64-plus.dtb https://raw.githubusercontent.com/ayufan-pine64/device-pine64-common/19545248d729d0ddf056d3bed85eeee4a238ffd5/bootloader/pine64/sun50i-a64-lcd-pine64-plus.dtb
sed -i '1isetenv fdtfile sun50i-a64-lcd-pine64-plus.dtb' /boot/boot.cmd
mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
reboot

Step by step please since you make it sound so easy and it's already there. =P All i'm getting at is tons of segmentation errors on xenial-pine64-bspkernel if trying to install Mate Desktop or apt-get upgrade -y .. And, an armbian that can't even detect Ethernet to ssh to. Atleast dood is trying to do something there no thanks to everyone here..


RE: [EXPERIMENTAL] Linux on the LCD screen - atomicmoose - 12-15-2016

Well, less is more. It's easier than I thought.

Again, this is only on debian base. I recommend you update the kernel first to 3.10.104-1-pine64 with the update scripts:

Code:
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh)

Reboot.
Login as root and

Code:
wget -O /boot/pine64/sun50i-a64-lcd-pine64-plus.dtb https://raw.githubusercontent.com/ayufan-pine64/device-pine64-common/19545248d729d0ddf056d3bed85eeee4a238ffd5/bootloader/pine64/sun50i-a64-lcd-pine64-plus.dtb

echo "fdt_filename_prefix=pine64/sun50i-a64-lcd-" >> /boot/uEnv.txt

systemctl disable sunxi-disp-tool

Reboot


RE: [EXPERIMENTAL] Linux on the LCD screen - atomicmoose - 12-16-2016

I have detailed installing the touch driver on my github:
https://github.com/atomicmooseca/pine64-gt9xxf_ts


RE: [EXPERIMENTAL] Linux on the LCD screen - Terra854 - 12-17-2016

(12-16-2016, 11:47 PM)atomicmoose Wrote: I have detailed installing the touch driver on my github:
https://github.com/atomicmooseca/pine64-gt9xxf_ts

Cool! Will test it out now and if it works, I will include the driver in my images.


RE: [EXPERIMENTAL] Linux on the LCD screen - Gammelplay97 - 12-17-2016

I came here from the locked "LCD Support on Linux" thread and have a question: The linked Images by pfeerick are all (x)ubuntu, and the tutorial by atomicmoose is for Debian... How can i get the Touchscreen working with me? and the script is not working for me either... Sad I installed the Image with Armbian 5.24 and Linux Kernel 3.10.104. Can you help me, I'm not that into Linux, my only experience are some raspberry pi Experiments and a bit Desktop x64 fun Big Grin


RE: [EXPERIMENTAL] Linux on the LCD screen - psychedup - 12-21-2016

(12-16-2016, 11:47 PM)atomicmoose Wrote: I have detailed installing the touch driver on my github:
https://github.com/atomicmooseca/pine64-gt9xxf_ts

This was helpful. I was able to compile and install the module on Gentoo Linux. The touch screen works but only the right half of the screen. Can you share what .dtb or .dts file you're using?