[U-Boot] [U-Boot, v4, 1/1] avb: add support for named persistent values
Simon Glass
sjg at chromium.org
Tue Feb 12 15:31:17 UTC 2019
Hi Igor,
On Tue, 12 Feb 2019 at 14:54, Igor Opaniuk <igor.opaniuk at linaro.org> wrote:
>
> Hi Tom, Simon,
>
> So I did a little investigation and found out that, the issue in that
> hcreate_r() invocation in the tee sandbox driver fails because the
> hashtable was allocated before.
> Debugging showed that the sandbox tee driver is probed twice every
> time (although remove() is never called, it's behaves like there are
> two "tee" nodes in DT), and still haven't found the root cause (I
> think Simon can help with the hint where to look).
> I was assuming that those returned udevice pointers are kept in some
> global state but seem that they are de-allocated at some point.
> Have you ever faced the same behavior?
Not really. If the driver is probed before relocation then it may be
probed again after relocation. You should be able to tell that by
check gd->flags.
Regards,
Simon
More information about the U-Boot
mailing list