Cross Compile Kernel - Raspberry Pi Forums


hello,

i've been trying past few hours cross compile rpi kernel on arch linux distro.

i'm following guide: http://elinux.org/rpi_kernel_compilation

have folder in home directory called "linux". inside folder named tools , rpi-3.6.y, these contain compilation tools , rpi kernel source, respectively.

when reach "firstly, ensure build directory clean" step , run make mrproper following error:

scripts/makefile.clean:17: /home/aquacell/linux/rpi-3.6.y/arch/x86/crypto/makefile: no such file or directory
make[2]: *** no rule make target '/home/aquacell/linux/rpi-3.6.y/arch/x86/crypto/makefile'. stop.
scripts/makefile.clean:94: recipe target 'arch/x86/crypto' failed
make[1]: *** [arch/x86/crypto] error 2
makefile:1039: recipe target '_clean_arch/x86' failed
make: *** [_clean_arch/x86] error 2

decided skip , move onto actual cross-compilation , error:

$ make arch=arm cross_compile=${ccprefix} oldconfig

/bin/sh: /home/aquacell/linux/rpi-3.6.y/scripts/kconfig/lxdialog/check-lxdialog.sh: no such file or directory
/bin/sh: /home/aquacell/linux/rpi-3.6.y/scripts/kconfig/lxdialog/check-lxdialog.sh: no such file or directory
/bin/sh: /home/aquacell/linux/rpi-3.6.y/scripts/kconfig/lxdialog/check-lxdialog.sh: no such file or directory
/bin/sh: /home/aquacell/linux/rpi-3.6.y/scripts/kconfig/lxdialog/check-lxdialog.sh: no such file or directory
scripts/kconfig/conf --oldconfig kconfig
arch/arm/kconfig:945: can't open file "arch/arm/mach-mvebu/kconfig"
/home/aquacell/linux/rpi-3.6.y/scripts/kconfig/makefile:33: recipe target 'oldconfig' failed
make[1]: *** [oldconfig] error 1
makefile:503: recipe target 'oldconfig' failed
make: *** [oldconfig] error 2

can provide insight might doing wrong?



raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62