Re: [U-Boot] access u-boot environment variables from kernel space
Dear Manukumar, In message <1359096605.2559.15.camel@Manukumar> you wrote: > > I have to implement the jtag and execute XSVF file through diagnostic > command from u-boot. > the layout of our board as below: What exactly has this to do with above thread and with the "access u-boot environment variables from kernel space" subject? And why exactly did you put all these people on Cc: ??? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The White Rabbit put on his spectacles. "Where shall I begin, please your Majesty ?" he asked. "Begin at the beginning,", the King said, very gravely, "and go on till you come to the end: then stop."-- Lewis Carroll ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] access u-boot environment variables from kernel space
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 = 0x0fff 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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] access u-boot environment variables from kernel space
On 12/04/2012 07:24:51 AM, Yegor Yefremov wrote: > On Tue, Dec 4, 2012 at 1:04 PM, Manukumar > wrote: > > Dear All, > > > > How to access u-boot environment variables from kernel space or user > > space in P1012 processor. Have you looked at fw_printenv? I get output like this from it: root:~> fw_printenv bootargs=root=/dev/mtdblock0 rw console=ttyBF0,115200 bootcmd=run flashboot bootdelay=2 Email me direct if you want my notes on setting it up. Steve -- Steve Strobel Link Communications, Inc. 1035 Cerise Rd Billings, MT 59101-7378 (406) 245-5002 ext 102 (406) 245-4889 (fax) WWW: http://www.link-comm.com MailTo:steve.stro...@link-comm.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] access u-boot environment variables from kernel space
On 12/04/2012 07:24:51 AM, Yegor Yefremov wrote: On Tue, Dec 4, 2012 at 1:04 PM, Manukumar wrote: > Dear All, > > How to access u-boot environment variables from kernel space or user > space in P1012 processor. > > The variables required to be accessed from uboot environment section > are: > > eth1addr You can get the MAC address from related registers of your Ethernet controller, provided they where set by u-boot. This is way the network driver goes. No, you get that from the device tree. You cannot rely on U-Boot to have initialized the network hardware, or on the network hardware to not have been reset since then. -Scott ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] access u-boot environment variables from kernel space
On Tue, Dec 4, 2012 at 1:04 PM, Manukumar wrote: > Dear All, > > How to access u-boot environment variables from kernel space or user > space in P1012 processor. > > The variables required to be accessed from uboot environment section > are: > > eth1addr You can get the MAC address from related registers of your Ethernet controller, provided they where set by u-boot. This is way the network driver goes. Yegor ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] access u-boot environment variables from kernel space
Dear All, How to access u-boot environment variables from kernel space or user space in P1012 processor. The variables required to be accessed from uboot environment section are: eth1addr serverip Note: Kernel version = 2.6.35 Regards Manukumar ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot