
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi,
On 04.04.2016 19:09, Stephen Warren wrote:
On 04/04/2016 10:19 AM, Mateusz Kulikowski wrote:
[...]
... but note that the tests fail currently, please fix :)
Yup, my automated build/test systems all started failing due to this. You can easily reproduce this by running:
Working on it. Weird thing is - it works on sandbox.dtb, and segfaults on test.dtb even if entries are exactly the same :0
I wonder if there's some kind of memory corruption going on; IIRC I checked out the committed version of this patch in u-boot/master's history, and 3 tests failed, but by the time you reach the current u-boot/master, only 2 tests fail, and I don't think there were any more spmi-related commits between the two. That would indicate some kind of outside interference, which would also be consistent with your unusual findings.
Yeah.. we all love off-by-one don't we? ;)
Patch already posted - please check it if you want to.
Regards, Mateusz