Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi Richard,
One thing you should look at is what the .config file ends up being after you change to kernel 3.11 or whatever. I am still having trouble getting some of the new versions to compile and load correctly and this seems to be a stumbling block for me. Anyhow, I attached the zImage I am using with kernel 3.11, as well as the device table that was generated and the .config the I used to compile the kernel. Hopefully you find this helpful. Take a look at the .config file, maybe make a comparison and see if there is anything I added. Does anybody know what commands you should be using to get the right .config file generated? Would the following work correctly or is there something else?
//How to compile kernel
cd ~
mkdir linux-socfpga-3.11
git clone http://git.rocketboards.org/linux-socfpga.git
cd linux-socfpga
rm .config
git checkout -b socfpga-3.11 origin/socfpga-3.11
export CROSS_COMPILE=/opt/altera-linux/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-
// generate the .config file... not sure about this
make ARCH=arm menuconfig
make ARCH=arm
or should I be using?
make ARCH=arm socfpga_defconfig
John