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.
Suite 300
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

Zipit Wireless Patches

The following patches are provided in compliance with the GPL agreement:

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 linuxatzipitwireless.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: 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 I2C 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.

Attachments