Dear Khalid Tourabi, In message <50c5c063.2020...@planar.com> you wrote: > > I'm newbie and I want to use scripts to test the board peripherals (I2C, > SPI, LAN, PCIe, USB, ...) using u-boot. > My problem is how to compare the reading with the expected value? > the reading is in an environment variable? If so which one? > I searched the forums and docs without success.
Have a look at the setexpr command... 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 Ein weiser Herrscher kann in einem großen Land mehr Gutes bewirken als in einem kleinen - ein dummer Herrscher aber auch viel mehr Un- fug. Da weise Herrscher seltener sind als dumme, war ich schon immer gegen große Reiche skeptisch. - Herbert Rosendorfer _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot