[[TOC]] ''NOTE'': Thanks to GPSfan for helping identify some issues we have in our patches. = The following notes apply to the new Zipit Wireless Messenger 2 = In compliance with the GPL, we are pleased to provide our modifications to the Linux ARM Kernel, blob bootloader, and WPA supplicant driver. Additionally, if you would like a CD-R of our modifications you may send a written request to: || '''Zipit Wireless, Inc '''|| || 200 N. Main St.[[BR]]Suite 300[[BR]]Greenville, SC 29601|| || Attention: Customer Care - GNU/Linux Source Code Request.|| You will be charged a $25 fee for reproduction, shipping and handling costs, as allowed by the GPL. Make sure that you include a bank certified check for $25.00. Otherwise, you can download the code for free from below: == Zipit Wireless Messenger 2 (Z2) Release == === GPL Base Products === * Kernel Base Source: (home page: [http://www.kernel.org/pub/linux/kernel/v2.6/ kernel.org]) * '''2.6.21.1''' ''Download below'' * blob: (home page: [http://sourceforge.net/projects/blob/ blob, a StrongARM boot loader]) * '''2.0.5-pre2''' ''Download below'' * !BusyBox: (homepage: [http://www.busybox.net/ BusyBox: The Swiss Army Knife of Embedded Linux]) * '''1.5.1''' ''Download below'' * wpa_supplicant: (home page: [http://hostap.epitest.fi/wpa_supplicant/ Linux WPA/WPA2/IEEE 802.1X Supplicant]) * '''0.8.5''' ''Download below'' === Zipit Wireless Patches === The following patches are provided in compliance with the GPL agreement: * Kernel patches: [source:trunk/linux-2.6.21.1_to_zipit2-1.0.patch] * blob patches: [source:trunk/blob-2.0.5-pre2_to_zipit2-1.0.patch] (note that this includes changes from blob CVS up to 2003.09.05.07.00.00) * blob xscale patch: [source:trunk/blob-xscale_to_zipit2-1.0.patch] * !BusyBox patches: [source:trunk/busybox-1.5.1_to_zipit2-1.0.patch] * wpa_supplicant patches: [source:trunk/wpa_supplicant-0.5.8_to_zipit2-1.0.patch] === Wireless Patches === At this time, the source code for the Marvell wireless drivers is not provided as GPL code, and cannot be posted on this site. If you acquire a license for this code, please contact us a '''linux'''at'''zipitwireless.com''' to discuss individual releases. The base drivers were developed as an SPI device from the drivers. Here is '''a''' driver that Marvell posts, but not the one we were provided: [http://www.marvell.com/drivers/driverDisplay.do?dId=178&pId=38 Marvell SD-8686 WLAN device driver]. We are in active negotiations to provide something to the community. === Audio Register Setup === To configure the audio, the following register setups need to be send via I^2^C to the audio codec. The address of the codec is '''cucAddress''' and the register setup is contained in '''sRegMap'''. Please use the attached code as an example of the method: {{{ const unsigned char cucAddress = 0x36; const sRegMap sInitRegs[] = { { 0x0F, 0x0000 }, // Reset { 0x07, 0x0001 }, // Left justified NOT I2S { 0x02, 0x0000 }, // LOUT1 Mute { 0x03, 0x0100 }, // ROUT1 Mute { 0x28, 0x0000 }, // LOUT2 Mute { 0x29, 0x0100 }, // ROUT2 Mute { 0x15, 0x0000 }, // Mute the ADC's { 0x16, 0x0100 }, // Mute the ADC's { 0x19, 0x00C2 }, // Turn on power { 0x1A, 0x01F8 }, // More Power { 0x18, 0x0010 }, // Invert ROUT2 { 0x22, 0x0150 }, // Left DAC to Left Mixer { 0x25, 0x0150 }, // Right DAC to Right Mixer { 0x05, 0x0000 }, // Unmute DAC { 0x00, 0x0000 } }; Initialize() { int i = 0; while(sInitRegs[i].ucReg) { WriteRegister(sInitRegs[i].ucReg, sInitRegs[i].usData); i++;; } } WriteRegister(unsigned char ucReg, unsigned short usData) { bool bRet = true; unsigned char ucBuffer[2]; ucBuffer[0] = (ucReg << 1) | ((usData >> 8) & 0x01); ucBuffer[1] = (unsigned char) usData; bRet = pI2CBus->SendData(cucAddress, ucBuffer, 2); return bRet; } }}} == Subversion Access == The subversion repositories are available for anonymous access at: * !http://linux.zipitwireless.com/svn/z2kernel To check out: * svn co !http://linux.zipitwireless.com/svn/z2kernel Write access is granted to registered members == Slimer kernel patch == The patch should have exact same functionality like the original one. It just removes commented out lines and debug prints. Patch is below.