Linux Support
#38
(10-31-2016, 10:31 AM)vintagewaffle Wrote: Ok, sorry for the long delay, I couldn't get the patches to work correctly with the dtb's for some reason so I ended up forking the entire project.

If you follow the armbian build instructions but clone my repo instead of the official one:
apt-get -y install git
git clone https://github.com/mbergstrand/lib --depth 1
cp lib/compile.sh .
./compile.sh

Select the following:
- Full OS image for writing to SD card
- pine64
- default kernel
- xenial
- Image with desktop environment

_Should_ give you an image with working LCD with touch out of the box.
As of today it's up to date with armbian and longsleeps kernel and I will try and keep it so, but I can't give any guarantees.

Note, I haven't tested this build without the LCD and I haven't tested multi-head with the HDMI at the same time.

When I tried to compile I get errors. I hope you can help me sort it out. Here they are
In file included from include/linux/compiler.h:40:0,
 from include/linux/byteorder/little_endian.h:12,
 from /home/gary/sources/u-boot-pine64/master/u-boot-pine64/arch/arm/include/asm/byteorder.h:29,
 from include/compiler.h:112,
 from include/image.h:19,
 from /home/gary/sources/u-boot-pine64/master/u-boot-pine64/include/common.h:94:
 include/linux/compiler-gcc.h:95:30: fatal error: linux/compiler-gcc6.h: No such file or directory
 #include gcc_header(__GNUC__)
                                                                                          
 compilation terminated.
 GEN     include/autoconf.mk
 In file included from include/linux/compiler.h:40:0,
 from include/linux/byteorder/little_endian.h:12,
 from /home/gary/sources                                                                                       
 from include/compiler.h:112,
 from include/image.h:19,
 from /home/gary/sources/u-boot-pine64/master/u-boot-pine64/include/common.h:94:
 include/linux/compiler-gcc.h:95:30: fatal error: linux/compiler-gcc6.h: No such file or directory               #include gcc_header(__GNUC__)
                                                                                          
compilation terminated.
 HOSTCC  scripts/basic/fixdep                                         │  
 CC      lib/asm-offsets.s                                         
 In file included from include/linux/compiler.h:40:0,
 CHK     include/generated                
from /home/gary/sources/u-boot-pine64/master/u-boot-pine64/arch/arm/include/asm/byteorder.h:29,
from include/compiler.h:112,
from include/image.h:19,
from include/common.h:94,
from lib/asm-offsets.c:15:
include/linux/compiler-gcc.h:95:30: fatal error: linux/compiler-gcc6.h: No such file or directory
Makefile:1122: recipe for target 'prepare0' failed                     │  
make[1]: Leaving directory '/home/gary/sources/u-boot-pine64/master/u- │  
Makefile:25: recipe for target 'u_boot_pine64' failed                  │  
]: *** [prepare0] Error 2                                              ^
make: *** [u_boot_pine64] Error 2              compilation terminated.
make[2]: *** [lib/asm-offsets.s] Error 1
[ error ] ERROR in function compile_uboot [ common.sh:110 ]
[ error ] U-boot file not found [ u-boot-with-dtb.bin ]
[ o.k. ] Process terminated
  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,285 02-08-2021, 03:30 PM
Last Post: HBeserra
  [EXPERIMENTAL] Linux on the LCD screen Terra854 24 35,482 07-21-2017, 07:41 AM
Last Post: apple4ever
  Touch screen support shariq_2001 14 20,010 12-07-2016, 07:47 AM
Last Post: Luke
Photo Playbox LCD on Linux MackPI 10 16,172 10-19-2016, 07:49 AM
Last Post: Zoidiano0
  Received a bad LCD, can't get support. bryanlyon 3 4,954 09-27-2016, 03:55 AM
Last Post: Luke
  Touchscreen support? NoahJ 12 15,720 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: 1 Guest(s)