From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manukumar Date: Fri, 25 Jan 2013 12:20:05 +0530 Subject: [U-Boot] access u-boot environment variables from kernel space In-Reply-To: <1354638414.16710.1@snotra> References: <1349371267.15830.4@snotra> <1354622692.2569.82.camel@Manukumar> <1354638414.16710.1@snotra> Message-ID: <1359096605.2559.15.camel@Manukumar> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear All, I have to implement the jtag and execute XSVF file through diagnostic command from u-boot. the layout of our board as below: __________ |_Processor| -> FPGA -> CPLD---- ^ | |__________________________| I can able to get Device ID of both FPGA and CPLD but iam not able to execute XSVF file. when i debuged the code i found that it is expecting data from TDO line. but this is not happening. My question is: when i can able to get device id why can i execute the XSVF file NOTE: The state is moving As below xsvfDoXREPEAT xsvfDoXENDXR xsvfDoXENDXR xsvfDoXSTATE xsvfDoXSTATE xsvfDoXRUNTEST xsvfDoXSIR xsvfDoXSDRSIZE xsvfDoXSDRSIZE xsvfDoXTDOMASK xsvfDoXSDRTDO TAP State = DRUPDATE TAP State = RUNTEST/IDLE TDO Expected = 0xf4004093 TDO Captured = TDO Mask = 0x0fffffff xsvfDoXSDRTDO iErrorCode ERROR: TDO mismatch ERROR at or near XSVF command #10.See line #10 in the XSVF ASCII file. Upgarde the Image and RESTART !!! Regards Manukumar