[U-Boot] [U-Boot,11/45] rtc: Allow use of RTC in SPL and TPL

Bin Meng bmeng.cn at gmail.com
Sat Oct 13 02:46:32 UTC 2018


Hi Heinrich,

On Fri, Oct 12, 2018 at 3:56 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 10/11/2018 09:21 PM, Heinrich Schuchardt wrote:
> >
> > On 10/01/2018 08:22 PM, Simon Glass wrote:
> >> Add Kconfig options so that the RTC can be used in SPL and TPL. This is
> >> helpful for accessing the contents of CMOS RAM, for example.
> >>
> >> Signed-off-by: Simon Glass <sjg at chromium.org>
> >> Signed-off-by: Simon Glass <sjg at chromium.org>
> >> ---
> >
> > Hello Simon,
> >
> > with this patch x86_64 does not boot anymore:
> > $ qemu-system-x86_64 -bios u-boot.rom -nographic --enable-kvm --cpu host
> > ### ERROR ### Please RESET the board ###
> >
> > I am currently testing Bin's patch series:
> > https://patchwork.ozlabs.org/project/uboot/list/?series=70127
> > [U-Boot,1/4] x86: Specify -march=core2 to build 64-bit U-Boot proper
> >
>
> As a workaround for qemu-x86_defconfig I have sent a patch changing that
> single configuration file. But your patch may have broken more boards.
>

Thanks for checking.

> https://lists.denx.de/pipermail/u-boot/2018-October/344137.html
> x86: qemu: enable CONFIG_SPL_DM_RTC

Simon, can you take a look at this? Whether I should take Heinrich's
patch directly, or you will re-work the original RTC patch?

Regards,
Bin


More information about the U-Boot mailing list