Linux Support
#25
(09-20-2016, 07:25 AM)apple4ever Wrote: Is there a detailed step by step to getting the LCD working on Ubuntu? That would be really helpful.

I can't provide one since currently I don't even have a Pine64+ around ('lost' mine when we started to nail the 'GbE issue' down). Only as advice: Look at the commits from Sep 11th: https://github.com/ayufan-pine64/device-...its/master

Basically it's just getting the compiled DT, putting it next to the other .dtb files (depends on the OS image in question) and then adjust uEnvt.txt (or boot.cmd with Armbian) to load the correct one when the board boots.

So given we would talk about Armbian it should suffice to do this (as root of course):
Code:
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

This will store ayufan's .dtb in the right location, then patch the bootscript to use this afterwards. This won't work with the other OS images (and I really don't care about any of those except longsleep's!) and of course no guarantee whatsoever.

With Armbian and a board with working Ethernet not that much can go wrong since all you need to recover from any of the steps above is to SSH into your board, remove line 1 from /boot/boot.cmd, do the mkimage call again and reboot.

I'm curious whether the moderator who answered you also will start again censoring/deleting posts as he did a few weeks ago... IMO it's a shame that he's still enable to censor other posts!

EDIT: All of the above just gives you the framebuffer on the LCD instead of (or in parallel to) HDMI. But for the more advanced modes you would have to check the links above (especially linux-sunxi wiki). Don't expect that touch functionality works out of the box. And please don't ask me, I'm personally not interested in 'Desktop Linux' at all or connecting Pine64 to any display.

All the hot 'desktop' stuff now happens driven by some talented community members here: https://github.com/ayufan-pine64/linux-p...its/master

So in case some talented Linux devs interested in 'Desktop Linux experience' are also here, that's the place to look at (and to 'port back' now that same kernel sources can be used -- Jon Smirl poked me a few weeks ago to look into that direction and I totally lost track, even forgot to answer him Sad    )
  Reply


Messages In This Thread
Linux Support - by UnixOutlaw - 05-26-2016, 11:45 PM
RE: Linux Support - by nagmier - 05-31-2016, 01:58 PM
RE: Linux Support - by Krinilssen - 06-09-2016, 10:09 AM
RE: Linux Support - by melissagirl - 06-14-2016, 11:34 AM
RE: Linux Support - by tllim - 06-14-2016, 11:39 AM
RE: Linux Support - by nagmier - 06-14-2016, 04:20 PM
RE: Linux Support - by tllim - 06-14-2016, 08:31 PM
RE: Linux Support - by melissagirl - 06-15-2016, 11:06 AM
RE: Linux Support - by tllim - 06-15-2016, 11:21 AM
RE: Linux Support - by Krinilssen - 06-16-2016, 08:29 AM
RE: Linux Support - by tllim - 06-16-2016, 12:15 PM
RE: Linux Support - by UnixOutlaw - 07-30-2016, 07:07 AM
RE: Linux Support - by m_bear - 07-05-2016, 12:50 AM
RE: Linux Support - by vintagewaffle - 07-11-2016, 12:56 PM
RE: Linux Support - by tllim - 07-12-2016, 07:10 PM
RE: Linux Support - by apple4ever - 07-23-2016, 08:41 AM
RE: Linux Support - by lenny.raposo-pine64.pro - 07-30-2016, 03:50 PM
RE: Linux Support - by UnixOutlaw - 07-30-2016, 10:03 PM
RE: Linux Support - by UnixOutlaw - 09-05-2016, 03:36 AM
RE: Linux Support - by apple4ever - 09-05-2016, 08:39 AM
RE: Linux Support - by tkaiser - 09-19-2016, 12:39 AM
RE: Linux Support - by tkaiser - 09-20-2016, 01:55 AM
RE: Linux Support - by apple4ever - 09-20-2016, 07:25 AM
RE: Linux Support - by MarkHaysHarris777 - 09-20-2016, 07:31 AM
RE: Linux Support - by tkaiser - 09-20-2016, 07:56 AM
RE: Linux Support - by apple4ever - 03-18-2017, 07:25 PM
RE: Linux Support - by tkaiser - 09-20-2016, 09:33 AM
RE: Linux Support - by vintagewaffle - 10-26-2016, 11:55 AM
RE: Linux Support - by HayseedGeek - 10-26-2016, 06:09 PM
RE: Linux Support - by pfeerick - 10-26-2016, 07:03 PM
RE: Linux Support - by HayseedGeek - 10-26-2016, 08:34 PM
RE: Linux Support - by vintagewaffle - 10-27-2016, 02:01 PM
RE: Linux Support - by UnixOutlaw - 10-26-2016, 06:21 PM
RE: Linux Support - by vintagewaffle - 10-31-2016, 10:31 AM
RE: Linux Support - by Ghelorn - 11-01-2016, 03:48 AM
RE: Linux Support - by modsbyus - 11-01-2016, 07:40 PM
RE: Linux Support - by MarkHaysHarris777 - 10-31-2016, 10:53 AM
RE: Linux Support - by vintagewaffle - 10-31-2016, 12:30 PM
RE: Linux Support - by MarkHaysHarris777 - 10-31-2016, 03:54 PM
RE: Linux Support - by Ghelorn - 11-01-2016, 07:45 PM
RE: Linux Support - by modsbyus - 11-01-2016, 07:48 PM
RE: Linux Support - by Ghelorn - 11-01-2016, 07:53 PM
RE: Linux Support - by modsbyus - 11-01-2016, 08:27 PM
RE: Linux Support - by vintagewaffle - 11-02-2016, 07:08 AM
RE: Linux Support - by Ghelorn - 11-02-2016, 07:12 AM
RE: Linux Support - by modsbyus - 11-02-2016, 11:53 AM
RE: Linux Support - by vintagewaffle - 11-02-2016, 11:26 AM
RE: Linux Support - by vintagewaffle - 11-02-2016, 09:39 PM
RE: Linux Support - by modsbyus - 11-02-2016, 10:14 PM
RE: Linux Support - by vintagewaffle - 11-03-2016, 06:47 AM
RE: Linux Support - by Ghelorn - 11-03-2016, 04:45 AM
RE: Linux Support - by Ghelorn - 11-03-2016, 04:38 PM
RE: Linux Support - by modsbyus - 11-04-2016, 02:40 PM
RE: Linux Support - by vintagewaffle - 11-07-2016, 01:37 PM
RE: Linux Support - by Ghelorn - 11-09-2016, 04:41 PM
RE: Linux Support - by psychedup - 11-12-2016, 12:29 AM
RE: Linux Support - by Ghelorn - 11-12-2016, 01:04 AM
RE: Linux Support - by psychedup - 11-12-2016, 01:09 AM
RE: Linux Support - by Jessica Spongekipper - 11-30-2016, 03:46 AM
RE: Linux Support - by Terra854 - 11-30-2016, 07:15 AM
RE: Linux Support - by Jessica Spongekipper - 12-01-2016, 09:24 AM
RE: Linux Support - by pfeerick - 12-01-2016, 09:15 PM
RE: Linux Support - by Jessica Spongekipper - 12-02-2016, 02:47 AM
RE: Linux Support - by pfeerick - 12-02-2016, 04:32 AM
RE: Linux Support - by Jessica Spongekipper - 12-02-2016, 06:55 AM
RE: Linux Support - by modsbyus - 12-01-2016, 10:04 AM
RE: Linux Support - by Jessica Spongekipper - 12-01-2016, 12:43 PM
RE: Linux Support - by Ghelorn - 12-02-2016, 06:03 AM
RE: Linux Support - by pfeerick - 12-02-2016, 05:56 PM
RE: Linux Support - by Jessica Spongekipper - 12-05-2016, 08:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information LCD Support on Linux pfeerick 8 19,291 02-08-2021, 03:30 PM
Last Post: HBeserra
  [EXPERIMENTAL] Linux on the LCD screen Terra854 24 35,517 07-21-2017, 07:41 AM
Last Post: apple4ever
  Touch screen support shariq_2001 14 20,021 12-07-2016, 07:47 AM
Last Post: Luke
Photo Playbox LCD on Linux MackPI 10 16,178 10-19-2016, 07:49 AM
Last Post: Zoidiano0
  Received a bad LCD, can't get support. bryanlyon 3 4,955 09-27-2016, 03:55 AM
Last Post: Luke
  Touchscreen support? NoahJ 12 15,738 07-09-2016, 12:01 PM
Last Post: yodermk
  LVDS support Flood_of_SYNs 2 6,522 12-22-2015, 05:08 PM
Last Post: balornt

Forum Jump:


Users browsing this thread: 10 Guest(s)