Re: [leaf-wisp] Modifying Distribution and Customization Help

Vladimir Ivaschenko <[email protected]> Wed, 01 Sep 2004 20:06:13 +0300
Newsgroups gmane.linux.leaf.wisp-dist
Message-ID <[email protected]>
Herbert Rubens wrote:

> Thanks for getting back to me. Following your directions, I was able to
> build the most recent HostAP drivers against the kernel source from the
> distribution. I copied the new drivers up to the box and saved the
> configuration. I haven't built them into a new .bin image yet. (not sure
> exactly what I need to do). I've also managed to compile my own module
> against the kernel source and copied that up along with the init script,
> and it works perfectly. Also, I noticed when I was poking around in the
> /lib/modules directory, that there is a prism54.o file in there. I
> haven't had a chance to test it yet, but I was wondering if people have

It is there because some people wanted to play with it. What is 
missing is the hotplug functionality as there is no way I can check. 
However nobody volunteered to finish the work, although it shouldn't 
be very difficult.

> been successful in running it? I've gotten the prism 54 driver
> operational under a 2.6 kernel, but I've never tried it on a 2.4 and
> never with the Wisp-dist. Anyway, if anyone has had success please let
> me know. I'm definitely going to try it after a board with card bus
> slots arrives.
> 
> Thanks for all of the help.
> 
> -Herb
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Vladimir Ivaschenko
> Sent: Monday, August 30, 2004 12:32 PM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [leaf-wisp] Modifying Distribution and Customization Help
> 
> Herbert Rubens wrote:
> 
>>Hi, I'm a new Wisp-Dist user, but so far I've been extremely
> 
> impressed.
> 
>>I've installed the distribution on a few embedded devices and had them
>>up and running in no time. The developers have done an excellent job.
> 
> In
> 
>>addition, I have been able to follow the instructions on installing
> 
> TLA
> 
>>and building the image myself. This was also straight forward and
> 
> worked
> 
> Thanks for good words.
> 
> 
>>well. I'd now like to be able to modify the distribution by removing
>>specific packages, upgrading certain components to newer versions, and
>>also building in some of my own kernel modules so that they are
> 
> included
> 
>>in my custom distribution. I was wondering if there is any
> 
> documentation
> 
>>that is available that might help me in doing this.
> 
> 
> Not really.
> 
> 
>>More specifically:
>>
>>1) I'd like to upgrade the kernel to either a newer version of 2.4 or
>>better yet to the current stable 2.6 kernel. This would enable me to
>>build the Prism54 drivers into the kernel in order to support 802.11G
>>cards with the distribution.  
>>
>>2) I'd also like to upgrade the host AP drivers that come with the
>>distribution. The current host AP drivers I believe are not the most
>>recent stable releases. I'm sure the current ones work fine, but some
> 
> of
> 
>>the specific things I need to do require functionality that is only in
>>the newer version of the driver.
> 
> 
> These are interesting changes and all of the them can be done, but the 
> process is not documented. Your best bet is to follow existing build 
> scripts as examples, although kernel is definitely not the easiest 
> point to start.
> 
> The way kernel build process works now is that it downloads the kernel 
> source, then downloads a tar with various third-party sources and 
> patches and merges them together using a script which is inside the 
> tar file. That's not a clean approach, but keeping entire kernel tree 
> in tla would slow down working with it too much.
> 
> 
>>3) I'd also like to stick one of my own kernel modules in the
>>distribution and add a /etc/init.d script to load and configure my
>>module when the system boots.
> 
> 
> That's easy. init script can be added to 
> build/bin/root/prebuilt-lrp/etc/init.d.
> 
> 
>>If anyone has a link to any documentation that would help me to be
> 
> able
> 
>>to accomplish this, it would be greatly appreciated. In addition, if
>>anyone has any tips on how to go about doing these things, they would
>>also be appreciated.
> 
> 
> Feel free to ask questions to the list, I'll do my best to answer. :)
> 


-- 
Best Regards,
Vladimir Ivashchenko
ThunderWorx - www.thunderworx.com
Senior Systems Designer/Engineer



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click