[U-Boot] [BUG] sandbox_defconfig cannot be run anymore after 4a5b5e1a466d76f "sandbox: Update some drivers to work in SPL/TPL"

On Debian Buster with gcc 8.2.0
commit d814ff34a1ffb1e60059c964ad692c5c8fc8564b
$ make mrproper $ make sandbox_defconfig $ ./u-boot -D Error binding driver 'sandbox_tpm': -12 Error binding driver 'serial_sandbox': -12 Some drivers failed to bind initcall sequence 000055af34e45860 failed at call 000055af34cf5749 (err=-12) ### ERROR ### Please RESET the board ##
Git bisect points to
commit 4a5b5e1a466d76fc1c9e6fc8a6ee1337acdcadd0 Author: Simon Glass sjg@chromium.org Date: Tue Nov 6 15:21:27 2018 -0700
sandbox: Update some drivers to work in SPL/TPL
At present sandbox drivers are mostly not used before relocation. Some of these are needed by Chromium OS verified boot, since it uses sandbox TPL, so update them accordingly.
Signed-off-by: Simon Glass sjg@chromium.org
Best regards
Heinrich

On Debian Buster with gcc 8.2.0
$ git checkout d814ff34a1ffb1e60059c964ad692c5c8fc8564b $ make mrproper $ make sandbox_defconfig $ ./u-boot -D Error binding driver 'sandbox_tpm': -12 Error binding driver 'serial_sandbox': -12 Some drivers failed to bind initcall sequence 000055af34e45860 failed at call 000055af34cf5749 (err=-12) ### ERROR ### Please RESET the board ##
Git bisect points to
commit 4a5b5e1a466d76fc1c9e6fc8a6ee1337acdcadd0 Author: Simon Glass sjg@chromium.org Date: Tue Nov 6 15:21:27 2018 -0700
sandbox: Update some drivers to work in SPL/TPL
At present sandbox drivers are mostly not used before relocation. Some of these are needed by Chromium OS verified boot, since it uses sandbox TPL, so update them accordingly.
Signed-off-by: Simon Glass sjg@chromium.org
Best regards
Heinrich

Hi Heinrich,
On Sat, 1 Dec 2018 at 16:03, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
On Debian Buster with gcc 8.2.0
$ git checkout d814ff34a1ffb1e60059c964ad692c5c8fc8564b $ make mrproper $ make sandbox_defconfig $ ./u-boot -D Error binding driver 'sandbox_tpm': -12 Error binding driver 'serial_sandbox': -12 Some drivers failed to bind initcall sequence 000055af34e45860 failed at call 000055af34cf5749 (err=-12) ### ERROR ### Please RESET the board ##
Git bisect points to
commit 4a5b5e1a466d76fc1c9e6fc8a6ee1337acdcadd0 Author: Simon Glass sjg@chromium.org Date: Tue Nov 6 15:21:27 2018 -0700
sandbox: Update some drivers to work in SPL/TPL At present sandbox drivers are mostly not used before relocation.
Some of these are needed by Chromium OS verified boot, since it uses sandbox TPL, so update them accordingly.
Signed-off-by: Simon Glass <sjg@chromium.org>
This worked OK from my tree and in travis-ci, but I suspect there was another addition in a different pull question, and the combination has broken it. See here for a fix:
http://patchwork.ozlabs.org/patch/1006832/
Regards, Simon
participants (3)
-
Heinrich Schuchardt
-
Heinrich Schuchardt
-
Simon Glass