UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 23718

EDK 8.1i - The MAC address read from the onboard IIC EEPROM is corrupted in MontaVista Linux Pro 3.1 Kernel if the v1_02_a and later versions of the IIC driver are used

Description

The MAC address read from the onboard IIC EEPROM is corrupted in MontaVista Linux Pro 3.1 Kernel if the v1_02_a and later versions of the IIC driver are used.

Solution

Use one of the following solutions to solve this problem. 

 

Solution A 

 

Use the v1_01_d version of the IIC driver. The problem does not occur with this version of driver. 

 

Solution B 

 

Use v1_02_a and later versions of the driver and change the function calls to the following functions in the file \arch\ppc\boot\simple\embed_config.c of the MontaVista Linux Pro 3.1 distribution: 

 

Change: 

 

XIic_Send(XPAR_IIC_0_BASEADDR, 

XPAR_PERSISTENT_0_IIC_0_EEPROMADDR>>1, sdata, 2); 

 

To: 

 

XIic_Send(XPAR_IIC_0_BASEADDR, 

XPAR_PERSISTENT_0_IIC_0_EEPROMADDR>>1, sdata, 2, 0); 

 

 

Change: 

 

XIic_Recv(XPAR_IIC_0_BASEADDR, 

XPAR_PERSISTENT_0_IIC_0_EEPROMADDR>>1, 

sdata, sizeof(sdata)); 

 

To: 

 

XIic_Recv(XPAR_IIC_0_BASEADDR, 

XPAR_PERSISTENT_0_IIC_0_EEPROMADDR>>1, 

sdata, sizeof(sdata), 0);

AR# 23718
Date Created 09/04/2007
Last Updated 05/20/2014
Status Archive
Type General Article