Op vrijdag 15 november 2013 15:26:09 UTC+1 schreef RobertCNelson:
>
> > I wish I could edit my posts to change them for additions. 
> > I'm trying to build a driver, and probably need linux-headers since I 
> > already have build-essentials installed and I find that the installed 
> kernel 
> > 3.12.0 is not from the standard repos. The message I'm getting is that 
> > \lib\modules\3.12.0-armv7-x8/build is not found. Assuming you have it at 
> the 
> > github, how do I install it ? 
>
> wget 
> https://raw.github.com/gkaindl/beaglebone-ubuntu-scripts/master/bb-get-rcn-kernel-source.sh
>  
> chmod +x ./bb-get-rcn-kernel-source.sh 
> ./bb-get-rcn-kernel-source.sh 
>

Thank you. After putting sudo in front of the last command, I'm getting 
errors though:

getting official kernel source from 
https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.0.tar.bz2...
--2013-11-15 15:37:17--  
https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.0.tar.bz2
Resolving www.kernel.org (www.kernel.org)... 198.145.20.140, 149.20.4.69
Connecting to www.kernel.org (www.kernel.org)|198.145.20.140|:443... 
connected.
HTTP request sent, awaiting response... 404 Not Found
2013-11-15 15:37:20 ERROR 404: Not Found.

unpacking official kernel source...
tar (child): /tmp/tmp.mlXIqFA0RM/linux-3.12.0.tar.bz2: Cannot open: No such 
file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
applying patch patch-3.12-armv7-x8.diff.gz to linux-3.12.0...
patch: **** Can't change to directory /tmp/tmp.mlXIqFA0RM/linux-3.12.0 : No 
such file or directory
moving kernel source to /usr/src/linux-3.12.0-armv7-x8...
mv: cannot stat ‘/tmp/tmp.mlXIqFA0RM/linux-3.12.0’: No such file or 
directory
mv: cannot move 
‘/tmp/tmp.mlXIqFA0RM/kheaders/usr/src/linux-headers-3.12.0-armv7-x8/Module.symvers’
 
to ‘/usr/src/linux-3.12.0-armv7-x8/Module.symvers’: No such file or 
directory
mv: cannot move 
‘/tmp/tmp.mlXIqFA0RM/kheaders/usr/src/linux-headers-3.12.0-armv7-x8/.config’ 
to ‘/usr/src/linux-3.12.0-armv7-x8/.config’: No such file or directory
preparing kernel source at /usr/src/linux-3.12.0-armv7-x8...
./bb-get-rcn-kernel-source.sh: 177: cd: can't cd to 
/usr/src/linux-3.12.0-armv7-x8
make: *** No rule to make target `oldconfig'.  Stop.
make: *** No rule to make target `prepare'.  Stop.
make: *** No rule to make target `scripts'.  Stop.
done: kernel sources for 3.12.0-armv7-x8 are now installed.
you should be able to compile kernel modules.

Considering the error messages and the last 2 lines, did something really 
go wrong or not ?


>
> > Also, does this kernel happen to be build with omap3-defconfig ? 
>
> No.. 
> Full config is from either: 
>
> zcat /proc/config.gz 
> or: 
>
> https://github.com/RobertCNelson/armv7-multiplatform/blob/v3.12.x/patches/defconfig
>  
>

Ok, thank you

Regards,

hvn

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to