On Tue, 2023-01-31 at 09:44 +0100, Jan Kiszka wrote:
> On 31.01.23 09:27, Felix Moessbauer wrote:
> > By adding the machine type name, the generated efi binary for
> > riscv64 is suffixed with the corresponding efi machine name.
> > 
> 
> And did you successfully test both the bootloader as well as the UKI
> stub on that arch?

I successfully tested the stub on an u-boot 2022.04. The image was
assembled via a patched version of the cip-core EBG wic plugin.
The used hardware was a StarFive VisionFive2 board. Just the watchdog
had to be disabled as the JH7110 watchdog is not yet supported in EBG.

I did not test the UKI yet, but would assume that this works as well.
Testers welcome.

Felix

> 
> Jan
> 
> > Signed-off-by: Felix Moessbauer <[email protected]>
> > ---
> >  configure.ac | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index d8f9d3a..90d70b0 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -87,6 +87,7 @@ SET_ARCH(X86_64, x86_64*)
> >  SET_ARCH(IA64, ia64*)
> >  SET_ARCH(AARCH64, aarch64*)
> >  SET_ARCH(ARM, arm*)
> > +SET_ARCH(RISCV64, riscv64*)
> >  
> >  ARCH=$(echo $host | sed "s/\(-\).*$//")
> >  
> > @@ -103,6 +104,9 @@ AM_COND_IF(ARCH_AARCH64, [
> >  AM_COND_IF(ARCH_ARM, [
> >            MACHINE_TYPE_NAME=arm])
> >  
> > +AM_COND_IF(ARCH_RISCV64, [
> > +          MACHINE_TYPE_NAME=riscv64])
> > +
> >  AC_SUBST([ARCH])
> >  AC_SUBST([MACHINE_TYPE_NAME])
> >  AM_CONDITIONAL([ARCH_IS_X86], [test "$ARCH" = "ia32" -o "$ARCH" =
> > "x86_64"])
> 

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/879279d708d340e3c5d5cd39649009798dce24db.camel%40siemens.com.

Reply via email to