[U-Boot] [U-Boot,v4,15/21] spmi: Add sandbox test driver

Stephen Warren swarren at wwwdotorg.org
Mon Apr 4 19:09:21 CEST 2016


On 04/04/2016 10:19 AM, Mateusz Kulikowski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi,
>
> On 04.04.2016 17:49, Stephen Warren wrote:
>> On 04/01/2016 08:04 PM, Tom Rini wrote:
>>> On Thu, Mar 31, 2016 at 11:12:28PM +0200, Mateusz Kulikowski wrote:
>>>
>>>> This patch adds emulated spmi bus controller with part of
>>>> pm8916 pmic on it to sandbox and tests validating SPMI uclass.
>>>>
>>>> Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
>>>> Reviewed-by: Simon Glass <sjg at chromium.org>
>>>
>>> Applied to u-boot/master, thanks!
>>>
>>> ... 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.


More information about the U-Boot mailing list