Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-18 Thread Simon Hardy
The 2020/03/17 13:15, Stefan Berger wrote: >  I trying to add (v)TPM support for the ieee1275/powerpc64 platform to grub. > The issue I have been running into is that the verifier runs out of memory. > At that point it has loaded the (~ 32MB) Linux kernel and now the verifier > is invoked to load t

Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-18 Thread Simon Hardy
> > I was wondering whether it would not be possible to load the raw file > > into memory, pass it to the firmware for hashing (and logging) via the > > verifier, and if we do not trust that the firmware treated the file data > > as a read-only array, load the file again into the same array right >

[PATCH] Fix GRUB i386-pc build with Ubuntu gcc

2020-03-24 Thread Simon Hardy
0 with gcc 8.3.1 20190507 (Red Hat 8.3.1-4) The issue can be fixed by removing the section using objcopy as shown in this patch: Signed-off-by: Simon Hardy --- gentpl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentpl.py b/gentpl.py index 387588c05..c86550d4f 100644 --- a