motionEyeOS (PINE A64(+)) 20170611 [Jun 16] | Ubuntu Images (Pinebook) 0.5.5-65 [Jun 15] | Ubuntu Minimal (PINE A64(+)) 0.5.5-65 [Jun 15] | Q4OS (Pinebook) 1805 [Jun 12] | Android 6.0.1 (Pinebook) 20170605 [Jun 5] | Win10 IoT (PINE A64(+)) 10.0.15063.0_20170602 [Jun 5] | FalconGate (PINE A64(+)) 20170430 [May 31] | Q4OS (PINE A64(+)) 1804 [May 30] | Armbian - Ubuntu (SOPINE) 5.27 [May 22]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


LCD touchscreen
#1
Is it possible to use the LCD touchscreen with the SOPINE board using Linux? The reason why I ask, is that I was looking at a recent thread:
https://forum.pine64.org/showthread.php?tid=1183&page=7
Jessica Spongekipper posted
Code:
/boot/uEnv.txt looking like:    

   console=ttyS0,115200n8
   selinux=permissive
   optargs=enforcing=0 cma=384M no_console_suspend
   kernel_filename=kernel
   initrd_filename=ramdisk.img
   hardware=sun50iw1p1

   # Uncomment to enable LCD screen
   fdt_filename_prefix=pine64/sun50i-a64-lcd-
When i opened the same file running the version of Ubuntu for the SOPINE, this is what I saw:
Code:
console=tty0 console=ttyS0,115200n8 no_console_suspend
kernel_filename=pine64/Image
initrd_filename=initrd.img
ethaddr=ba:88:8e:64:aa:78 fsck.repair=yes
pine64_model=pine64-so
The line to enable the LCD was not there. Is it located in another file?
Reply
#2
I think the official Ubuntu image for the SOPine does not yet have LCD support since that needs additions to the devicetree file like for the regular Pine boards. That being said, some people use the Armbian SOPine images from their build system and that has LCD support like the regular Armbian image. You can also add the devicetree entries yourself to the regular SOPine dts file.
Come have a chat in the Pine A64 IRC channel >>
Reply
#3
I've been using the LCD with the SoPine using the Armbian Xenial 5.27 default (3.10.105) desktop build. This should also work with the 5.25 pre-packaged build available for download 

the configuration for boot and touchscreen kernel modules is in this post:
https://forum.pine64.org/showthread.php?tid=2896

One other thing I found useful was to add @all to the line in /etc/init.d/nodm
│# Should-Start:   console-screen kbd hal bluetooth @all
this causes X to basically load last, as it waits for "all" other things to load, and avoid the reboot cycle of annoyance at startup that can happen if everything is drawing boot-strength power at once. Despite the line starting with '#', it's not a comment.
Reply
#4
I tried using Armbian 5.25 as maya.b suggested, however the HDMI monitor and LDC touch screen remained blank when either one was used. The power LED on the baseboard and the LED on the Sopine board came on. I have not worked with device trees, but would like to work on it. A reference online called Device Trees For Dummies looks like it will help:
https://events.linuxfoundation.org/sites...ummies.pdf

I tried searching for the device tree source code for the Sopine, but could not find it.
Reply
#5
If you are using Armbian, usually adding some config options is enough to enable LCD and touch support...

Code:
Also starting with 5.24 Pine64's own LCD with touchscreen support can simply be activated in /boot/armbianEnv.txt by setting pine64_lcd=on and adding gt9xxf_ts to /etc/modules followed by a reboot.
Come have a chat in the Pine A64 IRC channel >>
Reply
#6
(04-04-2017, 02:34 PM)xalius Wrote: If you are using Armbian, usually adding some config options is enough to enable LCD and touch support...

Code:
Also starting with 5.24 Pine64's own LCD with touchscreen support can simply be activated in /boot/armbianEnv.txt by setting pine64_lcd=on and adding gt9xxf_ts to /etc/modules followed by a reboot.

I downloaded Armbian 5.25 again for the Pine64 and wrote it to a uSD card using Etcher, and there was no video signal to my HDMI monitor after powering up the board. I looked at the notes on the Armbian download page for the Pine64 and the last note said "SoPine A64 requires different u-boot and Device Tree and for now is supported only as a build script target and nightly CLI images". It looks like there needs to be a separate version for the Sopine A64 which is not available now.
Reply
#7
They do not have SOPine images for download right now, on my SOPine I use the one you get out of the build system, it takes about 20 minutes to build an image if you follow the process...
Come have a chat in the Pine A64 IRC channel >>
Reply
#8
I decided to wait for Armbian 5.27 to be officially released, and thanks to pfeerick manged to install Ubuntu Mate. So I now have the LCD screen working. Thanks for your help Smile 
Now on to getting Bluetooth to work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)