[Voyage-linux] Linux header for 0.6.5?
Antti Turunen
(spam-protected)
Wed Mar 31 22:45:34 HKT 2010
Thanks Benny,
this is very good information.
I took an old 1M USB flash and plugged it to Alix as a swap memory. Then
I did mkswap and swapon, and the stick showed nicely as swap. After that
the make command to the linux source passed smoothly.
Anttu
On 31.03.2010 13:51, benny.tops at skynet.be wrote:
> Hi Anttu,
>
> You need to copy a file named sierra.ko. There's another kernel module
> called sierra_net.ko, but unless you're planning to do exotic stuff
> (such as MUX, ...), you won't need it.
>
> Building the driver from source is quite easy, but there are some
> caveats. Below you find my notes regarding the build process of the
> Sierra driver. If you don't manage to follow these, I can send you the
> driver I've built as an attachment (only for kernel 2.6.30). Then you
> can insmod it on your platform.
>
> The instructions:
> - Download source code of driver:
> http://sierrawireless.custhelp.com/app/answers/detail/a_id/500
> - Go to the folder containing the driver source code, unzip it: tar
> --xvf v.x.y.z_Kernel2.x.y.zip (x, y en z = f(kernel version))
> - Compile and install the new driver: make; make install
> - Verify if the driver is correctly installed using modinfo
>
> Remarks:
> - You need the packages build-essential and linux-headers-2.6.<your
> kernel version>-voyage
> - In the makefile of the Sierra driver, change the kernel header path:
> BUILDDIR := /usr/src/linux-headers-<your kernel version>-voyage
> - You also need to change 2.6.<your kernel version>-voyage to
> 2.6.<your kernel version>-486-voyage in the following files:
> o /usr/src/linux-headers-2.6.<your kernel
> version>-voyage/include/config/kernel.release
> o /usr/src/linux-headers-2.6.<your kernel
> version>-voyage/include/linux/utsrelease.h
>
> Hope this helps and kind regards,
>
> Benny
>
>
> Van: Antti Turunen <antti.turunen at siptune.fi>
> Datum: 31 maart 2010 07:34:58 GMT+02:00
> Aan: voyage-linux <voyage-linux at voyage.hk>
> Onderwerp: Antw.: [Voyage-linux] Linux header for 0.6.5?
>
> Thank you,
>
> what I actually would need is only to get a newer version of Sierra
> Wireless USB modem driver in. Currently there is 1.3.x in Voyage and
> all the newer Sierra modems require 1.7.x.
>
> Is there then a simpler way for just getting make work for the driver
> installation? If I do it on another machine, what is stuff I need to copy?
>
> (Sorry for me being so newbie with this.)
>
> Anttu
>
>
>
> On 31.03.2010 04:13, Kim-man 'Punky' TSE wrote:
>
> Hi Anttu,
>
> I don't recommend to build kernel on a slow, limited memory ALIX. If
> you still want to do so, you will need some swap space. Probably, you
> won't want a swap file on the flash memory, perhaps you need extra USB
> harddisk for swap.
>
> Another way would be using the SDK, and install it on VMWare,
> VirtualBox, etc. Then you transfer your kernel and other compiled
> stuff to your board.
> http://linux.voyage.hk/develop
>
> The last, but may not work, is to change the kernel compression to
> gzip to see it would use less memory than lzma.
>
> Regards,
> Punky
>
> On 3/30/2010 10:31 PM, Antti Turunen wrote:
> Obviously not. But this wonderful new awareness still does not help me
> forward. :)
>
> Is there a way to free some memory?
>
>
> Anttu
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20100331/69367431/attachment.html>
More information about the Voyage-linux
mailing list