Kernel Config Blues


chris_c

Member
Joined
Jun 25, 2010
Messages
393
Age
55
I'm looking to make the pl2303 usb serial module - having compiled kernels before I thought it should be fairly straight forward...
I've set up a working cross compile environment and set up the cross environment vars etc...
as per... http://pandorawiki.org/Kernel_build_instructions

here's what happens...

Code:
chris@chris-desktop:/media/data/platforms/pandora/kernel$ make omap3_pandora_defconfig
#
# configuration written to .config
#
chris@chris-desktop:/media/data/platforms/pandora/kernel$ make menuconfig
scripts/kconfig/mconf arch/arm/Kconfig
#
# configuration written to .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

chris@chris-desktop:/media/data/platforms/pandora/kernel$ make modules
scripts/kconfig/conf -s arch/arm/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel .config file)
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make: *** [modules] Error 1
chris@chris-desktop:/media/data/platforms/pandora/kernel$ make uImage
scripts/kconfig/conf -s arch/arm/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel .config file)
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
chris@chris-desktop:/media/data/platforms/pandora/kernel$ ls -l .config
-rw-r--r-- 1 chris chris 38441 2010-10-27 14:38 .config

odd!
 
The one that was asking in the threat was crosscompiling too. You need the kernelsource from git and the old config.gz.
 
mcobit said:
The one that was asking in the threat was crosscompiling too. You need the kernelsource from git and the old config.gz.
which "old" config.gz ?
 
Last edited by a moderator:
chris@chris-desktop:/usr/src/linux$ head -n5 .config
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.27-omap1
# Sat May 1 23:43:38 2010
#

got the one that was in the git
http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blob;f=arch/arm/configs/omap3_pandora_defconfig;h=7f48a25336e10384ba71290b6a7d6b6fe59ec5d9;hb=HEAD

with the same effect???

also tried the config from the actual pandoras /proc/config.gz again with same effect!
 
Then maybe ask JurnD directly how he did it since my attempt was not crosscompiling. But he said he got it running under Archlinux.

Sorry that I can't help you more.

Edit: Did you get the whole kernelsources from git or only the config?

Edit2: Ah, and maybe JurnD could compile the modules you need for you. My dev-setup is broken, else I would try it.
 
Last edited by a moderator:
Back
Top