
On Wed, 11 Oct 2017 14:41:38 -0400 Tom Rini trini@konsulko.com wrote:
On Wed, Oct 11, 2017 at 01:09:04PM -0300, Fabio Estevam wrote:
On Wed, Oct 11, 2017 at 1:06 PM, Jagan Teki jagannadh.teki@gmail.com wrote:
I've observed here, u-boot is unable to relocate. So when I build U-Boot with removing u-boot,dm-spl from dts it works fine, but idea here I need to use SPL_OF_CONTROL and it is not related to DM_MMC I suppose.
Ok, a different bug then.
I was wondering if we could have some automated boot tests in U-Boot mainline?
Something like https://kernelci.org/ for U-Boot?
The problem(s) there are related to lack of hardware support for testing firmware in a CI type environment. For example, I do test/py/test.py on real hardware before every push cycle. The problem for iMX in this case at least is that I haven't seen (nor had a chance to come up with) the scripting to update u-boot from within u-boot, to catch the kind of failures that we don't see when doing the USB recovery boot method. I can test sabrelite via u-boot.imx (and in theory I could test my hummingboard with SPL, but my quick pass at enabling USB gadget support there didn't seem to work).
If possible you can update SPL and u-boot.img via TFTP....
I would very much welcome more labs running tests however. There's already a few, but I guess the gap we see right here and now is that there's none for iMX.
There is some ongoing work to provide such facility..... for imx6 boards. I will keep you informed.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de