I want to use all the pins on Neo, for which the documentation says I need to compile the Linux kernel. When I try to setup the toolchain I get an error that I have broken packages, which I don't know how to resolve: I tried continuing anyway, but I get the following compilation errors, which may, or may not, be related to having a wrong gcc?
As you have a broken package, the compiler ( arm-linux-gnueabihf-gcc ) can't be found. You need to resolve installation of the package 'cc-5-arm-linux-gnueabihf' before continuing, it can be caused by of a multitude of reasons so 'googling' may be the first port of call.
I did some googling before I posted, however I'm noobish when it comes to debs. As long as apt-get says it is ok I can handle it. Resolving errors is another matter...
You try to clean up the unmet dependency issue by: sudo apt-get purge gcc-arm-linux-gnueabihf sudo apt-get autoclean sudo apt-get update sudo apt-get upgrade Then try to install the package again, however I can't guarantee it will work as the underlying cause can still be present because of an old or newer package being present.
I'm cross compiling using an Ubuntu 14.04 image running in a VM. I had tried installing the too chain earlier and gotten the same error as Maurice. I did the above, then $ sudo apt-get install gcc-arm-linux-gnueabihf $ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib $ sudo apt-get install build-essential chrpath socat libsdl1.2-dev xterm picocom ncurses-dev lzop So, it appeared that everything installed. I then started the kernel build according to the instructions. When I started the compile I got an error that gcc-arm-linux-gnueabihf was not installed, so I installed it again and restarted the compile: $ sudo apt-get install gcc-arm-linux-gnueabihf $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make zImage -j5 And the kernel compile completed. I have not copied the zImage file to an sdcard and tried to boot.
Whoaah, @Gary Huband, you are right. I had to perform exactly what you said, and it completed... Ehm, can you let me know if you have tried the zImage, and tell me how to do that....
The instructions for copying the zlmage are not working? http://www.udoo.org/docs-neo/Advanced_Topics/Compile_Linux_Kernel.html
@waltervl, don't know, I hoped that @Gary Huband would get the chestnuts from the fire... Anyway, what I want to do is use all pins on the M4, so probably all I need to do is compile the dtsi files and copy them onto the boot partition.