Hi.
I've tried to compile the kernel as described in another post .
For the community modified kernel:
https://github.com/gemian/gemini-linux-kernel-3.18
How to build:
https://github.com/gemian/gemini-keyboard-a...rnelCompilation
How to flash (from device):
https://github.com/gemian/gemini-keyboard-a...date-the-kernel
But I've tried inside gemini.
Unfortunately, it is not possible inside gemini.
Only outside,from an external pc with linux ( with success )
I think it was because aarch64-linux-gnu gcc will not run on arm64 plattaform.
Is there a way to compile inside gemini ?
I need linux headers to compile video4linux.
Maybe the camera will work with video4linux.
Maybe there is kernel with files to compile directly inside the gemini ( Makefile and a full tree of files ).
Thank you all
Yes you can. I've updated instructions for how to build on gemini :-)
https://github.com/gemian/gemini-keyboard-a...rnelCompilation
You can see it here (I have to borrow my wife's facebook account to engage with the Facebook community!
https://m.facebook.com/groups/1774620199505...842036069430767
Wall was already in the KBUILD_CFLAGS
Changed only kernel-3.18 to kernel_3.18 to,preserve my previous kernel modules already compiled as described before.
Unfortunately following your instructions no success . see below:
LD drivers/mmc/built-in.o
CC fs/compat_ioctl.o
/home/gemini/kernel_3.18/Makefile:939: recipe for target 'drivers' failed
make[1]: *** [drivers] Error 2
CC fs/binfmt_script.o
CC net/ipv4/sysctl_net_ipv4.o
CC fs/binfmt_elf.o
CC net/ipv4/sysfs_net_ipv4.o
CC net/ipv4/proc.o
CC fs/compat_binfmt_elf.o
CC fs/mbcache.o
CC net/ipv4/fib_rules.o
CC net/ipv4/ipmr.o
CC fs/posix_acl.o
CC net/ipv4/ipip.o
CC net/ipv4/syncookies.o
CC net/ipv4/ah4.o
CC net/ipv4/esp4.o
CC net/ipv4/ipcomp.o
CC net/ipv4/xfrm4_tunnel.o
CC net/ipv4/xfrm4_mode_beet.o
CC fs/coredump.o
CC net/ipv4/tunnel4.o
CC net/ipv4/xfrm4_mode_transport.o
CC net/ipv4/xfrm4_mode_tunnel.o
CC fs/drop_caches.o
CC net/ipv4/ipconfig.o
CC fs/fhandle.o
CC fs/dcookies.o
CC net/ipv4/netfilter.o
CC net/ipv4/inet_diag.o
CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o
CC net/ipv4/netfilter/nf_conntrack_proto_icmp.o
CC net/ipv4/netfilter/nf_nat_l3proto_ipv4.o
LD fs/built-in.o
CC net/ipv4/netfilter/nf_nat_proto_icmp.o
CC net/ipv4/netfilter/nf_defrag_ipv4.o
CC net/ipv4/tcp_diag.o
CC net/ipv4/udp_diag.o
CC net/ipv4/tcp_cubic.o
CC net/ipv4/netfilter/nf_log_ipv4.o
CC net/ipv4/xfrm4_policy.o
CC net/ipv4/xfrm4_state.o
CC net/ipv4/netfilter/nf_reject_ipv4.o
CC net/ipv4/xfrm4_input.o
CC net/ipv4/netfilter/nf_nat_pptp.o
CC net/ipv4/netfilter/nf_nat_masquerade_ipv4.o
CC net/ipv4/xfrm4_output.o
CC net/ipv4/netfilter/nf_nat_proto_gre.o
CC net/ipv4/xfrm4_protocol.o
CC net/ipv4/netfilter/ip_tables.o
CC net/ipv4/netfilter/iptable_filter.o
CC net/ipv4/netfilter/iptable_mangle.o
CC net/ipv4/netfilter/iptable_nat.o
CC net/ipv4/netfilter/iptable_raw.o
CC net/ipv4/netfilter/ipt_MASQUERADE.o
CC net/ipv4/netfilter/ipt_REJECT.o
CC net/ipv4/netfilter/arp_tables.o
LD net/ipv4/netfilter/nf_conntrack_ipv4.o
LD net/ipv4/netfilter/nf_nat_ipv4.o
LD net/ipv4/netfilter/built-in.o
LD net/ipv4/built-in.o
/home/gemini/kernel_3.18/Makefile:939: recipe for target 'net' failed
make[1]: *** [net] Error 2
make[1]: Leaving directory '/home/gemini/KERNEL_OUT'
Makefile:145: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/gemini/kernel_3.18'
gemini@localhost:~$