Wireless Test Kernels

From OLPC
Revision as of 10:56, 20 May 2008 by Carrano (talk | contribs) (Test kernel C3)
Jump to: navigation, search

This page contains special kernels developed for testing purposes only. They should not be distributed.

Test kernel A0 (obsolete)

Purpose: Debugging #6589

Added feature: The libertas driver waits firmware event "FIRMWARE READY" (for backward compatibility it will wait only for 200ms)

Download at: http://www.laptop.org/teamwiki/images/0/02/6589_mp_kern.tar.gz

Kernel based on: http://dev.laptop.org/git?p=olpc-2.6;a=snapshot;h=bb855af96a4caa7e6dc80dd9e81266c235961a02

Provided by: Ashish Shukla (Marvell)

Installation insctructions:

After extracting the tar ball to "/"

mv System.map /versions/boot/current/boot/System.map
mv /boot/bzImage /versions/boot/current/boot/vmlinuz
ln -sf /versions/boot/current/boot/vmlinuz /boot/vmlinuz
mkdir /tmp/X 
cd /tmp/X
zcat /versions/boot/current/boot/olpcrd.img | cpio -i
rm -rf lib/modules
cp -r /lib/modules lib/
find . -print | cpio -H newc -o | gzip -9 > /versions/boot/current/boot/olpcrd.img

Test Notes: Tested this kernel over Update.1-703 + firmware 22p9. Confirm no occurrences of #6589. --Carrano (04-16-08)


Test kernel A1(obsolete)

Purpose: Debugging #6818, mesh view with 22.p8/9 (must be used with test libertas driver v1 - see bellow)

Added feature: The libertas driver programs multicast MAC addresses on assiging IP address to mesh interface.

Download at: http://www.laptop.org/teamwiki/images/b/b2/Kernel_6818.tar.gz

Driver patch at: http://dev.laptop.org/attachment/ticket/6818/mesh_mcast.patch

Kernel based on: http://dev.laptop.org/git?p=olpc-2.6;a=snapshot;h=bb855af96a4caa7e6dc80dd9e81266c235961a02

Provided by: Ashish Shukla (Marvell)

Installation insctructions: Same as given for A0

Comments:

  • The concept behind this patch is borrowed from the existing Libertas driver code that populates multicast MAC addresses in the firmware once ethX interface is configured.
  • The driver in this kernel must be overwritten by the one provided bellow (Test Libertas Driver v1)
  • This kernel also includes the patch applied in Test Kernel A0.

Test Notes:

  • Tested this kernel over Update.1-703 + firmware 22p9. The mesh view problem seemed addressed but after ~30m (or less) the neighbour XOs disappear from the mesh view. --Carrano (04-17-08)


Test Libertas Driver v1 (obsolete)

Purpose: Debug #6818, mesh view and other multicast problems

Added feature: Improve libertas driver multicast list handler to allow independent assignment of multicast list for either of infra/ad-hoc (ethX) and mesh (mshX) interface.

Download at: http://www.laptop.org/teamwiki/images/3/35/Libertas_mc_fix.tar.gz

Driver patch at: https://dev.laptop.org/attachment/ticket/6818/mesh_mcast_v2.patch

Driver based on: Test kernel A1

Provided by: Ashish Shukla (Marvell)

Installation insctructions: Install A1 kernel on top of build 703, and copy kernel modules into respective locations.

Comments:

Test Notes:

  • Test this with firmware version 5.110.22.p10.


Test kernel C0 (obsolete)

Purpose: Debugging #6818, mesh view with 22.p8/9/10

Added feature: The libertas driver programs multicast MAC addresses on assiging IP address to mesh interface.

Download at: http://www.laptop.org/teamwiki/images/d/df/Kernel-2.6.22-20080426.1.olpc.1_carrano.i586.rpm

Driver patch at: http://dev.laptop.org/attachment/ticket/6818/mesh_mcast_v2.patch

Kernel based on: http://dev.laptop.org/git?p=olpc-2.6;a=snapshot;h=de2a86ff3b60edcfed8e3927f61bd6da69f03288

Provided by: Ricardo Carrano (with Patch from Marvell)

Installation insctructions: copy the rpm file to the XO, then:

rpm -ivh kernel*.rpm
cp -a /boot/* /versions/boot/current/boot/
reboot

Comments:

  • The concept behind this patch is borrowed from the existing Libertas driver code that populates multicast MAC addresses in the firmware once ethX interface is configured.
  • This kernel also enables fuse (to support my ntfs-3g external disk on the XO)
  • This kernel does not include the patch for #6589 found in test kernel A0
  • This kernel may be used instead of the combo A1 + V1 (above)

Test Notes: Please refer to http://dev.laptop.org/ticket/6818#comment:14


Test kernel C1

Purpose: Debugging #6818, mesh view with 22.p8/9/10.

Added feature: The libertas driver programs multicast MAC addresses on assiging IP address to mesh interface.

Download at: http://www.laptop.org/teamwiki/images/f/f7/Kernel-2.6.22-20080506.1.olpc.0_carrano.i586.rpm

Driver patch at: http://dev.laptop.org/attachment/ticket/6818/0001-Separate-multicast-configuration-for-mesh-and-wlan-i.patch

Kernel based on: http://dev.laptop.org/git?p=olpc-2.6;a=snapshot;h=de2a86ff3b60edcfed8e3927f61bd6da69f03288

Provided by: Ricardo Carrano (with patch from Javier Cardona, David Woodhouse and Marvell)

Installation insctructions: same as for test kernel C0.

Comments:

  • This kernel obsoletes CO, A1, A2 and V1.

Test Notes: Please refer to http://dev.laptop.org/ticket/6818#comment:17


Test kernel C2

Purpose: Allow testing firmware release 22.p14.

Added feature: Signature based filter for WOL and also the what was added in Test kernel C1.

Download at: http://www.laptop.org/teamwiki/images/5/5e/Kernel-2.6.22-20080515.1.olpc.0_carrano.i586.rpm

Driver patch at: http://dev.laptop.org/raw-attachment/ticket/6993/0002-Wol_Signature_Filter.patch (plus patch applied to test kernel C1)

Kernel based on: Test kernel C1

Provided by: Ricardo Carrano (with patches from Javier Cardona, David Woodhouse and Marvell)

Installation instructions: same as for test kernel C0.

Comments:

  • This kernel accumulates the patches applied to test kernel C1 (and so obsoletes CO, A1, A2 and V1). To test pre 22.p14 firmwares the best kernel is still C1. To test 22.p14 this kernel should be used instead.

Test Notes: Please refer to: http://dev.laptop.org/ticket/6993#comment:3


Test kernel C3

Purpose: Test the new driver implementation of the multicast filter.

Added feature: The libertas driver programs multicast MAC addresses.

Download at: http://laptop.org/teamwiki/images/e/ed/Kernel-2.6.22-20080520.1.olpc.0_carrano.i586.rpm

Driver patch at: (none)

Kernel based on: http://dev.laptop.org/git?p=olpc-2.6;a=commit;h=c16eba59c2183f9d4952eca4d720982cfbe8e031

Provided by: Ricardo Carrano

Installation instructions: same as for test kernel C0.

Comments:

  • This is the very kernel that you can find in the current olpc git tree (see 'Kernel based on'). The only reason it is here is because it is not yet available at http://dev.laptop.org/~dilinger/stable/

Test Notes:

  • Not tested yet

Test kernel C4

Purpose: Allow the programming of the active antennae while there is no official support upstream

Added feature: iwpriv commands to program the active antenna

Download at: http://laptop.org/teamwiki/images/b/b9/Kernel-2.6.22-20080520.1.olpc.1_carrano.i586.rpm

Driver patch at: http://lists.laptop.org/pipermail/devel/2008-May/014199.html

Kernel based on: http://dev.laptop.org/git?p=olpc-2.6;a=commit;h=c16eba59c2183f9d4952eca4d720982cfbe8e031

Provided by: Ricardo Carrano (with patch provided by Brian Cavagnolo and Shailendra Govardhan)

Installation instructions: same as for test kernel C0.

Comments:

  • Intructions on how to use it can be found here


Test Notes:

  • Not tested yet!