Forum Discussion
Altera_Forum
Honored Contributor
12 years agoUSB OTG port Cyclone 5 Altera Linux - mouse doesn't power on
Hi, I am working the Cyclone 5 development board. I am trying to use the prebuilt binaries for the altera linux 3.7 to work with the USB otg port. I have followed the tutorial below and I am ab...
Altera_Forum
Honored Contributor
12 years agoOk, so I was trying this a little more. I am still thinking the problem is that the .config is not being generated with everything. I was trying to get 3.12 working and running into similar issues. Still not sure what is the "right" way to get the right .config for each release. But, here is pretty much what I did today and I was able to the usb working.
//How to compile kernel
cd ~
mkdir linux-socfpga-3.12
git clone http://git.rocketboards.org/linux-socfpga.git
cd linux-socfpga
rm .config
git checkout -b socfpga-3.12 origin/socfpga-3.12
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...
make ARCH=arm menuconfig
make ARCH=arm
Then you can grab the device file and the zImage arch/arm/boot/dts/socfpga_cyclone5.dtb arch/arm/boot/zImage .