[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libreboot-dev] set vram on gm45 to 352M
From: |
Denis 'GNUtoo' Carikli |
Subject: |
Re: [Libreboot-dev] set vram on gm45 to 352M |
Date: |
Tue, 31 May 2016 23:34:22 +0200 |
Hi,
Here I'll assume that the CMOS code works well or get fixed if it
doesn't.
On Thu, 19 May 2016 16:50:16 +0200
Arthur Heymans <address@hidden> wrote:
> there are 2 good options to fix this:
> - make the flash script reset cmos
* If the user is flashing libreboot but is running the proprietary boot
fimrware(BIOS or UEFI) the CMOS should be detected as corrupt in the
romstage. That can be used to set proper defaults in that case, like
in src/ec/lenovo/h8, where we have:
> if (get_option(&val, "wlan") != CB_SUCCESS)
> val = 1;
> h8_wlan_enable(val);
* If the user is flashing libreboot while running coreboot or
libreboot, you could do some checks after flashing:
For instance you could compare the layout of the image you flashed
with the one currently in use, to determine if the new options need to
be set to good default.
I'm not sure what state is the CMOS in such case. Would it be
considered corrupt? If so it would reset coreboot/libreboot's
defaults.
> - make coreboot always load cmos.defaults (a .config option)
Probably not a good idea.
> and one ugly way:
> hardcoding this.
Instead, try to see if the CMOS handling works fine when the flash is
corrupt.
Denis.
pgp6fB10aJn4w.pgp
Description: OpenPGP digital signature