Hi, I follow this istruction:
https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/A20/A20-build-3.4.103-release-2/A20_Olimex_kernel_3.4.103%2B_Jessie_rel_2_with_camera_support_building_description_rel_6.txt (https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/A20/A20-build-3.4.103-release-2/A20_Olimex_kernel_3.4.103%2B_Jessie_rel_2_with_camera_support_building_description_rel_6.txt)
The uboot , compile withn no error! It's ok.
The kernel , I have error:
root@ubuntu:/home/michele/Desktop/a20-olimex/linux-sunxi# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
In file included from include/linux/compiler.h:48:0,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
Maybe using a more recent gcc etc than the txt?
John
Cross compilation build tools, most popular A10/A20 Olimex boards are officially supported:
https://github.com/igorpecovnik/lib
It does almost everything for your. Contain all necessary patches, downloads compilers, creates patch out of your changes, ...
Preparation
- x86/x64 machine running any OS; 4G ram, SSD, quad core (recommended),
- VirtualBox or similar virtualization software (highly recommended), alternatively - Docker, systemd-nspawn or other containerization software,
- compilation environment is highly recommended to be Ubuntu Trusty 14.04 or Ubuntu Xenial 16.04 (other releases are not officially supported),
- installed basic system, OpenSSH and Samba (optional),
- superuser rights (configured sudo or root shell).