Net-wifi-microusd

'''NOTE: These patches are only required for revisions upto 1558. i.e. 1559 and later already incorporate these patches, so trying to apply them will fail.'''

This page contains instructions on how to modify buildroot to work with the net-wifi-usd expansion card for the verdex.

Patch Files
There are two patch files which need to be copied in.

Copy the two patch files into gumstix-buildroot/target/device/Gumstix/kernel-patches and edit the series file in that directory to add a line with netwifi.patch at the end of the file.

In the target/arm/u-boot/verdex directory, edit the series file, and remove the line (at the end) that says use-smc91C111-for-now.patch. This will allow u-boot to work (at least a little bit) with the network chip on the net-wifi-microusd card.

If you've already built buildroot, then you should do the following cd gumstix-buildroot/build_arm_nofpu rm -rf linux-2.6.21gum rm -rf u-boot-1.2.0

Now do: cd gumstix-buildroot rm .config make make

The first make above will set the buildroot config options. Choose 12 for verdex, and whatever speed is appropriate. The second make should build buildroot.

Then we need to tweak some kernel config options (to allow the ethernet to work under linux): cd build_arm_nofpu/linux-2.6.21gum make ARCH=arm menuconfig In Device Drivers --> Network Device Support --> Ethernet (10 or 100Mbit) --> Set SMC LAN911[5678] support to 'M'   Exit saving your changes. rm arch/arm/boot/compressed/vmlinux cd ../.. make

Changes to gumstix configuration files
On the gumstix, Uncomment the mmc_block and pxamci lines from /etc/modules, and change the smc91x line to read smc911x.

I didn't have to do this, but it's probably a good idea to change references of smc91x to smc911x in /etc/modprobe.conf.

To use WEP with the wifi module, change /etc/network/interfaces to read like (replace the XX's with your own hex key): auto mwlan0 iface mwlan0 inet dhcp pre-up /sbin/iwconfig $IFACE key XXXXXXXXXXXXXXXXXXXXXXXXXX key open essid "MySSID" txpower 100mW

You may also want to change the /etc/motd file to remond yourself that you've customized the image.

XM4-bt Notes
If you are using the NetMicroSD board with a motherboard that has a Bluetooth module on it you may need to insulate between the two to ensure the components on the netmicroSD board don't touch the metal outer casing of the Bluetooth module. Symptoms may include being able to transmit but not receive packets.