Page 4 of 4
Re: [HELP] ARM Cross Compilation Toolchain
Posted: Mon Jan 21, 2013 9:16 pm
by E3V3A
arris69 wrote: you can download original kernel sources and make a diff....but more recent kernel is not really useful as long samsung not release the driver sources...
So good news, it is now partially working! I'll throw all my work on the wiki!
I say "partially", because a few pieces doesn't compile due to (a) GCC4.7 throws errors for "inlining" (see above) where GCC <= 4.6 just ignored them. (b) The CodeSourcery GLIBC libraries are not really for our processor arch, so we got screwed there by Mentor Graphics Lite edition! This means that there are two files that trows ARM processor errors, when compiling for kernel image only. So given this horrible experience trying to get Code Sourcery shit working, I'm gonna personally slap the next person who asks for or attempts to compile kernels using their tools!
1. So about diffing. The kernel is "sold" as 2.6.35.11, but the sources are dumping out 2.6.35.13... However, I cannot find any sources higher than 2.6.35.9...
This is the extra versions. Do they matter much? Not sure what to do here.
2. What driver sources are you talking about, specifically?
Re: [HELP] ARM Cross Compilation Toolchain
Posted: Tue Jan 22, 2013 12:39 am
by arris69
E3V3A wrote:...
1. So about diffing. The kernel is "sold" as 2.6.35.11, but the sources are dumping out 2.6.35.13... However, I cannot find any sources higher than 2.6.35.9...
This is the extra versions. Do they matter much? Not sure what to do here.
maybe this one?
ftp://ftp.kernel.org/pub/linux/kernel/v ... r.gz[quote]
2. What driver sources are you talking about, specifically?[/quote]
samdrv.ko
Re: [HELP] ARM Cross Compilation Toolchain
Posted: Tue Jan 22, 2013 9:45 pm
by E3V3A
Thanks, I missed that one...
1. What does that driver do?
2. Is there any particular reason why Smasung keep working on the 2.6.35 kernel, when there's already 2.6.39?
According to README doc's the 2.6.xx should only contain bugfixes, so I would imagine that we'd have a more stable, compact and efficient kernel if we were using a later version? But what do I know...
Re: [HELP] ARM Cross Compilation Toolchain
Posted: Tue Aug 13, 2013 8:37 am
by juusso
Working cross-compilation toolchain for E series is available on SamyGO svn:
Code: Select all
svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-ECP/VDLinux-arm-v7a8v2r2
Re: [HELP] ARM Cross Compilation Toolchain
Posted: Thu Dec 26, 2013 8:31 pm
by dax
juuso wrote:Working cross-compilation toolchain for E series is available on SamyGO svn:
Code: Select all
svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-ECP/VDLinux-arm-v7a8v2r2
Is possible to use it also for f series?
Code: Select all
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 2691.07
processor : 1
BogoMIPS : 2691.07
processor : 2
BogoMIPS : 2691.07
processor : 3
BogoMIPS : 2691.07
Features : swp half fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 3
Hardware : Samsung SDP1202 evaluation board
Revision : 0000
Serial : 0000000000000000
Re: [HELP] ARM Cross Compilation Toolchain
Posted: Thu Dec 26, 2013 9:36 pm
by juusso
yes