[U-Boot] U-boot : compare read and expect value

2012-12-10 Thread Khalid Tourabi
Hi, 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.

Re: [U-Boot] U-boot : compare read and expect value

2012-12-10 Thread Wolfgang Denk
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

Re: [U-Boot] U-boot : compare read and expect value

2012-12-10 Thread Wolfgang Denk
Dear Khalid Tourabi, please don't top post / full quote, and keep the mailing list on Cc: In message 50c5f2d6.5060...@planar.com you wrote: Thanks for your answer. setexpr command allows set the result operation in an environment variable. But I want to set the result

Re: [U-Boot] U-boot : compare read and expect value

2012-12-10 Thread Khalid Tourabi
Dear Wolfgang Denk Dear Khalid Tourabi, please don't top post / full quote, and keep the mailing list on Cc: Ok sorry thanks. In message50c5f2d6.5060...@planar.com you wrote: Thanks for your answer. setexpr command allows set the result operation in an environment