On Wed, Feb 19, 2020 at 02:14:31PM +0100, Wolfgang Denk wrote: > Dear Heiko, > > In message <7d480cee-88aa-f4e3-7e3d-8740bbdcc...@denx.de> you wrote: > > > > > How the feed back line is organized? I mean how host system will know that > > > a) we done flash correctly? > > > b) the booted image is bad or good? > > > > For both questions the answer is, that you need to write a testcase > > which answer this question. > > > > For a) you flash the image in some way through U-Boot commands. You > > start this commands from a tbot testcase written in python and parse > > the output and/or return code of the command and than decide ... > > > > Same for b) reboot the board, check if new version is installed > > by parsing the U-Boot bootlog, than start U-Boot commands to find > > out, if current installed version is good or bad. > > Maybe it would be nice for people who don't know tbot if you could > link to some examples for such testcases? I think this should even > be covered in the tbot docs?
The tbot docs should cover things like running test/py and specifying testcases so you don't have to write things like "is the board alive?" from scratch :) -- Tom
signature.asc
Description: PGP signature