[SeaBIOS] SeaBIOS recognising USB 3.0 on boot works - partly

2015-11-29 Thread edward wandasiewicz
Running SeaBIOS on a Chromebook Pixel 2015, by default, does not recognise a plugged in USB 3.0 device attached to a USB 3.0 port or Type C port. As of 28 Nov, I ran ./flash_chromebook_rom.sh from https://johnlewis.ie/custom-chromebook-firmware/rom-download/ to get Johns most current SeaBIOS

[SeaBIOS] [PATCH 2/3] tpm: Check length parameter of the array

2015-11-29 Thread Stefan Berger
From: Stefan Berger Check the length parameter that indicates the length of the array for whether it has a minimum value of 0x200. Signed-off-by: Stefan Berger --- src/tcgbios.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [SeaBIOS] [PATCH 3/3] tpm: Add a menu for TPM configuration

2015-11-29 Thread Peter Stuge
Stefan Berger wrote: > +++ b/src/tcgbios.c > +static u32 > +read_stclear_flags(char *buf, int buf_len) > +{ .. > +if (rc || returnCode) > +goto err_exit; .. > +err_exit: > +dprintf(DEBUG_tcg, "TCGBIOS: TPM malfunctioning (line %d).\n", __LINE__); I can't help but think that it

Re: [SeaBIOS] [PATCH 3/3] tpm: Add a menu for TPM configuration

2015-11-29 Thread Peter Stuge
Sorry, should have sent all in one email. Stefan Berger wrote: > +if (enable) > +dprintf(DEBUG_tcg, "Return code from TPM_PhysicalEnable = 0x%08x\n", > +*returnCode); > +else > +dprintf(DEBUG_tcg, "Return code from TPM_PhysicalDisable = 0x%08x\n", > +