Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]
(2017-03-23, 08:41)Burnfire Wrote: I don't want to go back to stock, but even if I did I would simply remove the screw again before flashing. But no, I was asking whether the new custom coreboot image actually needs write access to the flash during normal boot/runtime (excluding manually changing boot settings and configuration), and whether denying this privilege would cause problems. I would prefer to have the firmware read-only for security reasons.
the long answer is that the firmware needs write access to the coreboot filesystem (CBFS) on the first boot at least, in order to write the RAM training data (MRC cache). If our firmware supported saving settings on NVRAM it would need access to that as well, but it doesn't. Additionally, the write-protect screw only tells the SPI flash chip to enforce the software-defined address range. When flashing the Full ROM firmware that range is cleared, so for the WP screw to have any effect, you would need to re-define the range to protect (manually calculating the address for the MRC cache to exclude it) before reinstalling the screw. Without doing so, the WP screw is essentially useless.

Quote:Wait, so the E-Z setup script will now install the UEFI firmware by default? If so, I can easily use the script to update the firmware to UEFI without meddling with experimental images. I had the sensation that the script still used SeaBIOS, and the UEFI image was only in experimental stage.
yes and yes. UEFI has been the default for a few months now. The Legacy/SeaBIOS firmware ceased development back in Nov 2016 and I don't intend to resume it.

Quote:Forgive me, but I'm being a bit lax about the terms. I have no idea what ChromeOS does during its "verified boot" stage, but I was wondering whether I can achieve boot verification using a custom/updated firmware image, not the stock coreboot. Since Tianocore is UEFI, does that mean that the image supports Secure Boot or some other type of boot verification?
you can, but not with the firmware I provide. The UEFI firmware doesn't yet support secure boot, though you might be able to do something using grub.

Quote:Do you have any plans to push these changes to mainline?
I've pushed a large portion of them upstream already - in fact, the reason all (most) these devices are supported is because I ported them. The remaining patches that haven't yet been upstreamed are due to either being Windows/UEFI specific, a bit hacky, or due to lack of time.

Quote:Thanks, I'll have to play a bit with the settings to get my setup right. I recon I can even use a custom bootloader i.e. rEFInd instead of grub.

you could, but it's not necessary. All you need to do is copy the grub EFI stub to the location the firmware is expecting (/EFI/BOOT/BOOTX64.efi) as per the wiki note. rEFInd works well for multi-OS configs but adds an unnecessary delay for single-OS setups IMO.
Reply


Messages In This Thread
Chromebox and Qwerty Air Mouse - by rahjer - 2014-08-13, 04:51
Wake from suspend K400 - by dontknowhow - 2014-08-20, 16:05
DisplayPort - by Charles R - 2014-08-29, 21:33
HP Chromebox 4Gb - by P3ws - 2014-09-20, 08:51
BIOS update fails - by gkingsmill - 2014-10-17, 12:05
Great Expierience - by pmpartners - 2014-12-06, 16:00
3D support (auto swtich) - by zaldwaik - 2014-12-23, 07:27
High Idle CPU - by ToBeFrank - 2015-02-28, 03:29
HELP!!! - by code_19 - 2015-03-22, 04:49
R3.15 - 2015/03/19] - by nickr - 2015-03-25, 20:55
Skipping Frames - by busta.rhymes - 2015-07-29, 15:40
External disks not sleeping... - by sixburgh - 2015-10-14, 22:02
ChromeBOX2 success in dualboot - by fishypops - 2015-11-08, 19:05
Confirm Bricked Chromebox - by Bogustime - 2016-03-20, 19:24
(LibreELEC Bluetooth not working - by jerndl - 2017-01-06, 18:20
RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - by Matt Devo - 2017-03-23, 08:59
New Audio Problem - by Pajoe - 2019-01-19, 01:20
RE: New Audio Problem - by Matt Devo - 2019-01-19, 11:13
Powering on with TV turned off - by robca - 2021-07-18, 21:20
RE: Powering on with TV turned off - by robca - 2021-07-21, 19:10
Logout Mark Read Team Forum Stats Members Help
ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]37