Those of us that want to build a kernel are referred to http://olimex.wordpress.com/2013/06/19/building-linux-for-a10s-from-scratch/ where there is what looks like an excellent tutorial.
I have been following the script without success. To be fair everything seems to work and I have all of the sources but I just cannot install the toolchain. There are dependency errors that seem to be impossible to resolve. Without gcc-4.6-arm-linux-gnueabi I cannot proceed.
I am a little suspicious that the notes work on the writer's system because a number of steps had already been done previously eg installing emdebian-archive-keyring.
I am using a clean copy of Debian 7 (Wheezy) running under VirtualBox. I did wonder if I should try Debian 6 (squeeze) instead but haven't had time to try it yet.
Has anyone actually created a new kernel using those notes on a clean system? I still have hair but I am pulling it out on this one. ???
David Goadby
Hello David,
I've not tried this yet, but I think the gcc4.6 needs the testing/unstable repos? See this as cut'n'pasted from the http://www.emdebian.org/crosstools.html page:
"There is availability for gcc-4.4 or above versions (gcc-4.5, gcc-4.6, ...) cross toolchains from emdebian.org
deb http://www.emdebian.org/debian/ testing main
deb http://www.emdebian.org/debian/ unstable main"
Regards,
Kevin
Hi David ,
try this :
sed -i '\/http:\/\/www.emdebian.org\/debian/d' /etc/apt/sources.list
echo "deb http://www.emdebian.org/debian wheezy main" >> /etc/apt/sources.list
apt-get install emdebian-archive-keyring
apt-get update
apt-get install gcc-4.6-arm-linux-gnueabi
Regards,
Dimitar