(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 )