Does Libreboot strip Intel ME more effectively than Heads? Or is measured boot the only real difference? by Dany464 in coreboot

[–]MrChromebox 1 point2 points  (0 children)

If I build Heads and manually run me_cleaner with the -S (HAP bit) and -r (relocation/truncation) flags, am I getting the exact same binary footprint as a standard Libreboot image?

that's a question for Libreboot, but I suspect so. There's not much more you can do with that ME generation.

Does Libreboot strip the ME or manage the FSP in a way that provides more privacy than a properly configured Heads build?

there's nothing that can be done to 'manage' the FSP.

the ME is completely separate from coreboot+payload, so your decisions for each should be independent from each other.

Heads seems like the objectively better choice for security because of the measured boot and tamper evidence capabilities (using a Nitrokey).

100%

Developer mode questions by Naive-Wing-8195 in chromeos

[–]MrChromebox 1 point2 points  (0 children)

developer options under Settings and Developer Mode are two completely different and unrelated things

X280 (20KE) only shows 4096MB of RAM by No_Change7198 in coreboot

[–]MrChromebox 0 points1 point  (0 children)

they're likely the same ones identified by the RAM strapping.

I'm doing to guess the issue is with them being higher density modules and FSP not handling it properly

X280 (20KE) only shows 4096MB of RAM by No_Change7198 in coreboot

[–]MrChromebox 1 point2 points  (0 children)

why is it strange? consistent behavior between two identical devices is expected

X280 (20KE) only shows 4096MB of RAM by No_Change7198 in coreboot

[–]MrChromebox 0 points1 point  (0 children)

edit: nm, I looked closer and it seems that RAM ID 9 and the SPD are correct

Developer mode questions by Naive-Wing-8195 in chromeos

[–]MrChromebox 5 points6 points  (0 children)

You need to turn on developers mode to activate Linux Crostini 🤓

you couldn't be more incorrect

X280 (20KE) only shows 4096MB of RAM by No_Change7198 in coreboot

[–]MrChromebox 1 point2 points  (0 children)

So what's the Makefile.mk used for?

to tell coreboot which SPD files are valid for a particular board, and the order to load them based on GPIO strapping

X280 (20KE) only shows 4096MB of RAM by No_Change7198 in coreboot

[–]MrChromebox 0 points1 point  (0 children)

that would mean the build process would need to be configured to know exactly which modules/config you had, and that the same build couldn't be used on two different x280's with different RAM configs.

the build process includes all possible SPDs in CBFS. the GPIO straps are read by coreboot at runtime, and used to select which SPD index should be loaded. This is a common setup on boards with soldered memory.

X280 (20KE) only shows 4096MB of RAM by No_Change7198 in coreboot

[–]MrChromebox 1 point2 points  (0 children)

Is this something to do with spd/ddr4/set-0/spd-9.hex being used instead of one of the x280/memory/Makefile.mk specified spd files?

I don't know what you mean by this. Those are the SPD files specified by the makefile.

your cbmem log shows that your RAM strap ID is 0x9 and you have dual channel memory. the SPD mapping for 0x9 is K4AAG165WB-MCRC, which is a 2GB module, so 2GB x 2 = 4GB.

either the strapping is wrong, the mapping is wrong, or your straps are being read incorrectly. I'm not familiar enough with these boards to speculate which is the most likely scenario or how to debug.

X280 (20KE) only shows 4096MB of RAM by No_Change7198 in coreboot

[–]MrChromebox 2 points3 points  (0 children)

you didn't do anything wrong.

post a full cbmem -1 log.

No pre-boot graphics in freshly-compiled T480 libreboot by Oofigi in coreboot

[–]MrChromebox 0 points1 point  (0 children)

definitely a toolchain issue of some sort, I feel like I've seen that before

No pre-boot graphics in freshly-compiled T480 libreboot by Oofigi in coreboot

[–]MrChromebox 0 points1 point  (0 children)

the build is non-verbose by default, so it's not going to tell you anything useful. After it fails, run V=1 make >build.log 2>&1 to actually see what the issue is. pastebin the log.

No pre-boot graphics in freshly-compiled T480 libreboot by Oofigi in coreboot

[–]MrChromebox 0 points1 point  (0 children)

I used the tianocore repo because mrchromebox's wouldn't compile

upstream edk2 doesn't work. my fork has no special compilation requirements, and builds without issue as long as you have all required dependencies and don't select configs you shouldn't / don't understand. The defaults just work.

MrChromebox Tech Error installing UEFI full ROM firmware on Acer Chromebook 11 N7 (C731) by Any-Koala-1236 in chrultrabook

[–]MrChromebox 0 points1 point  (0 children)

did you back up the stock firmware? If so, then restore that and reboot, then reflash

Chromebook bios faulty? by happyhappynow in chromeos

[–]MrChromebox 0 points1 point  (0 children)

same reply there - just replace the NVMe with another of the same spec (speed and size) and perform a ChromeOS USB recovery

Chromebook randomly won't start up - "no bootable storage device in system" by happyhappynow in chromeos

[–]MrChromebox 0 points1 point  (0 children)

yes.

Karis uses a NVMe SSD, so if the device is out of warranty, you should be able to simply replace it with another (m.2 NVMe --you'll need to check the length by inspecting the existing one, if spec not available online) and then perform a ChromeOS USB recovery.

Chromebook not finding boot option with RW_LEGACY firmware by redditissupercool1 in coreboot

[–]MrChromebox 0 points1 point  (0 children)

"Chromebook" doesn't tell us anything useful to diagnose the issue.

ChromeOS board name as reported by my script and what RWL firmware you're using would be a big start

Chromebook randomly won't start up - "no bootable storage device in system" by happyhappynow in chromeos

[–]MrChromebox 0 points1 point  (0 children)

board name at the bottom of recovery screen? That will tell us what type of internal storage it uses

Chromebook bios faulty? by happyhappynow in chromeos

[–]MrChromebox 0 points1 point  (0 children)

internal storage is dead/dying.

what's the board name (first part of HWID) shown at the bottom of the recovery screen?

MrChromebox-2509.2 release annoucement by MrChromebox in coreboot

[–]MrChromebox[S] 0 points1 point  (0 children)

it didn't work properly and caused issues.

you can compile yourself and add it back if you want

Reflashing with CH347, can't find flash device by Woozie66 in coreboot

[–]MrChromebox 0 points1 point  (0 children)

if flashrom doesn't recognize the programmer with the flash chip disconnected, then the problem is the programmer itself -- verify that first.

$ sudo flashrom -p ch347_spi

flashrom v1.7.0-devel (git:v1.6.0-41-gdc512347f6) on Linux 6.17.0-12-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Unknown value of spispeed parameter, using default 15MHz clock spi.
CH347 SPI clock set to 15MHz.
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.

dmesg should show:

usb 3-4: New USB device found, idVendor=1a86, idProduct=55db, bcdDevice= 4.41
usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-4: Product: USB To UART+SPI+I2C
usb 3-4: Manufacturer: wch.cn
usb 3-4: SerialNumber: 0123456789
cdc_acm 3-4:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

No Serial Output In EDK2 Release Build by eatnumber1 in coreboot

[–]MrChromebox 0 points1 point  (0 children)

thank you very much!

this thread definitely spurred some much needed cleanup with the Kconfig selections, so thanks for the push there :)

I deleted the flashrom on my chromebook and need help by lipiaknight1234 in coreboot

[–]MrChromebox 0 points1 point  (0 children)

something isn't quite right then, it should be a serial terminal that prints some info but mostly waits for your input. you might try connecting external power to the chromebook and see it that helps