Re: [tboot-devel] tboot 1.9.12 build failure if CFLAGS is set in environment

2020-06-01 Thread Timo Lindfors
On Mon, 1 Jun 2020, Timo Lindfors wrote: tboot prints "TBOOT: this routine only prints out multiboot 2" and never enters the else block where the printk()s are... This gave me a hint: Using multiboot2/module2 seems to work with cold boot. This might not mean anything of course if the issue i

Re: [tboot-devel] tboot 1.9.12 build failure if CFLAGS is set in environment

2020-06-01 Thread Timo Lindfors
On Fri, 29 May 2020, Lukasz Hawrylko wrote: I will setup my environment to test legacy boot and I will check if the same problem occurs. If it is possible, please try EFI boot on your PC. I set a Thinkpad T430s (BIOS version 2.69) to UEFI-only mode without CSM and installed a fresh Debian 10.

Re: [tboot-devel] tboot 1.9.12 build failure if CFLAGS is set in environment

2020-06-01 Thread Timo Lindfors
Hi, On Mon, 1 Jun 2020, Lukasz Hawrylko wrote: On warm boot this prints just TBOOT: start=0x0x10008 tag_type=17 start->type=3031684 start->size=-2147418113 TBOOT: start=0x0x80020008 tag_type=17 start->type=0 start->size=0 That looks like memory corruption... Does it work when you remove all

Re: [tboot-devel] tboot 1.9.12 build failure if CFLAGS is set in environment

2020-06-01 Thread Lukasz Hawrylko
On Mon, 2020-06-01 at 01:27 +0300, Timo Lindfors wrote: > On Mon, 1 Jun 2020, Timo Lindfors wrote: > > printk(TBOOT_INFO"start=%p tag_type=%d start->type=%d start->size=%d\n", > > start, > > tag_type, > > start->type, > > start->size); > > On warm boot this prints just > >