Hey Guys,
I'm running Ubuntu (latest image) on Beaglebone with 3.2.0-psp1. The
symlink for:
lrwxrwxrwx 1 root root 23 2012-02-03 09:37 build -> /build/buildd/
linux-3.2 is broken.
Where should this symlink actually point to?
Any pointers would be much appreciated!
Cheers,
Marcus
It's pointing to the kernel source, when it was built with "make
deb-pkg" in the ubuntu chroot on a panda...
You can either, install the linux-headers:
http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/ (assuming oneiric,
as you didn't specify)
and then fix the symlink.. (there's a patch posted to fix that problem
with the builddeb script for 3.4)
or:
download the 3.2 kernel source, apply this patch/defconfig and have
the build symlink point to it..
http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/patch-3.2-psp1.diff.gz
http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/defconfig
Regards,
btw, the builddeb patch seems to work, was testing it on my
beagleboard/panda kernel...
before:
voodoo@panda-a3-1gb:/lib/modules/3.2.7-x5$ ls -lh
total 1.4M
drwxr-xr-x 9 root root 4.0K Feb 26 14:55 kernel
-rw-r--r-- 1 root root 316K Feb 26 14:55 modules.alias
<snip>
-rw-r--r-- 1 root root 169K Feb 26 14:55 modules.symbols.bin
after install kernel-headers:
voodoo@panda-a3-1gb:/lib/modules/3.2.7-x5$ ls -lh
total 1.4M
lrwxrwxrwx 1 root root 31 Feb 26 03:43 build ->
/usr/src/linux-headers-3.2.7-x5
drwxr-xr-x 9 root root 4.0K Feb 26 14:55 kernel
-rw-r--r-- 1 root root 316K Feb 26 14:55 modules.alias
<snip>
-rw-r--r-- 1 root root 169K Feb 26 14:55 modules.symbols.bin
For the bone, 3.2-psp3 will have the fix, should be out with a new
image by the end of the week....
https://github.com/RobertCNelson/linux-dev/commit/8543bee2b73c43b30de6c68a5ccf8aa1b0b20266
Regards,
Hi Robert,
Thank you for your email!
Yes I'm on Oneiric. (I'm just a simple web programmer
)
I had actually installed the Linux headers from
http://rcn-ee.net/deb/oneiric-armel/v3.2.0-psp1/ (per your suggestion
to a guy who was trying to compile some wifi drivers).
The crux of my question is where should /lib/modules/3.2.0-psp1/build
point to (i.e. what is the correct path to the build file).
Thank you for all your help so far.
Cheers,
Marcus
voodoo@bone-a3-256mb:~$ sudo rm -f /lib/modules/3.2.0-psp1/build
voodoo@bone-a3-256mb:~$ sudo ln -s /usr/src/linux-headers-3.2.0-psp1/
/lib/modules/3.2.0-psp1/build
Should take care of it.. 
btw, what wifi module are you guys looking for? Is the source already
in the tree, am i missing the config or, someother silcon
manufacture's driver?
Regards,