[U-Boot] [BUG] simple-bus and rsa-sw with DM_FLAG_PRE_RELOC
AKASHI Takahiro
takahiro.akashi at linaro.org
Wed May 15 07:12:32 UTC 2019
On Wed, May 15, 2019 at 02:45:19PM +0800, Bin Meng wrote:
> On Wed, May 15, 2019 at 1:55 PM AKASHI Takahiro
> <takahiro.akashi at linaro.org> wrote:
> >
> > As of v2019.07-rc1,
> > u-boot does fail to boot without any messages on qemu-arm64 when
> > configured with qemu_arm64_defconfig plus CONFIG_RSA/RSA_SOFTWARE_EXP.
> > (Note that RSA_SOFTWARE_EXP also declares itself with DM_FLAG_PRE_RELOC.)
> >
> > By bisecting between v2019.04 and v2019.07, I found that the following
> > commit triggered this regression:
> >
> > commit 3a7c45f6a772
> > Author: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> > Date: Wed Apr 10 14:46:07 2019 +0200
> >
> > simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver
> >
> > What's wrong with this?
>
> I just tested it and it boots for me.
>
> $ make qemu_arm64_defconfig
> $ make menuconfig
> adding CONFIG_RSA via "Library routines" -> "Security support" -> "Use
> RSA Library"
> $ make
>
> $ qemu-system-aarch64 -machine virt -cpu cortex-a57 -bios u-boot.bin -nographic
Thank you.
I have used locally-built qemu, so I will check the configuration of
my build.
-Takahiro Akashi
>
> U-Boot 2019.07-rc1-00506-g90176e3 (May 15 2019 - 14:43:21 +0800)
>
> DRAM: 128 MiB
> Flash: 128 MiB
> *** Warning - bad CRC, using default environment
>
> In: pl011 at 9000000
> Out: pl011 at 9000000
> Err: pl011 at 9000000
> Net: No ethernet found.
> Hit any key to stop autoboot: 0
> =>
>
> Regards,
> Bin
More information about the U-Boot
mailing list