Did you install the kernel headers?
It's not installed by default to save space..
http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/linux-headers-3.2.0-psp1_1.0oneiric_armel.deb
Although, you'll probally still have to symlink it back to the build
dir.. mainline 'make deb-pkg' isn't perfect for generating
linux-headers..
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
ARCH=arm... not 'armv7l'...
Sorry, that's yet, another annoying thing that happens for only ARM
devices with "linux-headers"..
Since it needs something from the mach dir, your going to just have to
use the full source..
Download v3.2, apply patch and copy defconfig from:
http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/
ahh patch...
download: http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/patch-3.2-psp1.diff.gz
download: http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/defconfig
cd /mainline/kernel/v3.2/source/
apply patch to kernel source: zcat
/dir/downloaded/patch-3.2-psp1.diff.gz | patch -p1
copy defconfig: cp /dir/downloaded/defconfig .config
Tweak build symlink to new kernel source folder..
Yeap, the full "v3.2" kernel source, mentioned previously...
you can get it via:
wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.tar.bz2
Hint: Read ^^^ =;) (that's why you had to copy the defconfig to that
dir as .config, your basicly going to be rebuilding the whole
kernel..)
> WARNING: Symbol version dump /usr/src/linux-headers-3.2.0-psp1/
> linux-3.2/Module.symvers
> is missing; modules will have no dependencies and
> modversions.
>
> Building modules, stage 2.
> /usr/src/linux-headers-3.2.0-psp1/linux-3.2/scripts/Makefile.modpost:
> 42: include/config/auto.conf: No such file or directory
This file is created when you fix the error above
> make[2]: *** No rule to make target `include/config/auto.conf'. Stop.
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-psp1/
> linux-3.2'
> make: *** [modules] Error 2
>
>
> Any problem with symlink?
>
> So much confusion just to make the system ready to build a simple
> driver :/
Nah, you've just never done it before. .;)
Some of the confusion would be gone, if the upsteam "rtlwifi" driver
in the "3.2-psp1" worked across all devices.. I have one of these
small wifi modules that works fine with no modification to the current
demo image.. While another refuses to work.. Of course the both work
fine on an x86 machine.. For now, i'd really recommend you use any
other chipset, i've had very good luck with arl9170 based devices on
the bone..