From: AKASHI Takahiro <takahiro.akashi@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [BUG] simple-bus and rsa-sw with DM_FLAG_PRE_RELOC
Date: Wed, 15 May 2019 16:12:32 +0900 [thread overview]
Message-ID: <20190515071231.GU11160@linaro.org> (raw)
In-Reply-To: <CAEUhbmU-p_d8yWivG9=evEoA+uGLpSDwcc9ur4O+1zzqO_Cqfw@mail.gmail.com>
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@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@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
next prev parent reply other threads:[~2019-05-15 7:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-15 5:55 [U-Boot] [BUG] simple-bus and rsa-sw with DM_FLAG_PRE_RELOC AKASHI Takahiro
2019-05-15 6:45 ` Bin Meng
2019-05-15 7:12 ` AKASHI Takahiro [this message]
2019-05-15 7:39 ` Bin Meng
2019-05-15 8:14 ` Auer, Lukas
2019-05-15 8:25 ` takahiro.akashi at linaro.org
2019-05-15 9:05 ` Auer, Lukas
2019-05-15 8:29 ` Bin Meng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190515071231.GU11160@linaro.org \
--to=takahiro.akashi@linaro.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox