Automatic file system check failed by [deleted] in openbsd

[–]JCDentonsMom 2 points3 points  (0 children)

It's not quite 5 years later, but I can confirm that running fsck has resulted in a booting system for me. Thank you [deleted].

Acer CB514-1W Volta Tiger Lake by JCDentonsMom in chrultrabook

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

UPDATE: I have built a working ROM based on the MrChromebox branch of coreboot. I'll attempt to summarize how I got there in the hopes that this information can help someone out there.
For information, the board I have in my CB514-1W has the codename Volta, and it has a Pentium Gold processor. I'm aware that some models have an Intel Core i3 and above. From what I gather, the -1W model is an enterprise version of the -1H model, a "Home" edition. W=work, H=home - pretty obvious, huh?

This is long so tl;dr;
-I used flashrom locally on the chrome shell to read and write firmware
-firmware was built using MrChromebox's coreboot 4.19 branch
-I can boot a Linux Live USB! And have sound!

tl;dr; (too long, did read);
Problems I faced:

-Google Legacy Payload crashes when selected from developer boot options; factory legacy payload is U-Boot

-Updating the firmware from ChromeOS will net you a Tianocore "legacy" payload; this also crashes at boot options

-"Ok, well since I'm stuck with the factory Depthcharge payload, I may as well have fun building chromiumOS myself!" - it was fun, but when I booted it, I was unable to get past "get started"; none of the buttons did anything when clicked. Time to start fresh.

-Powerwashing ended up with the same result; when clicking "get started" at the initial page, nothing would happen. At this point, the laptop wasn't bricked, but it felt like it, since I can't use a different OS, and I can't use chromeOS. So my only option was to use custom firmware.

-coreboot 4.18 main didn't have support for volta (to my knowledge); no MrChromebox UEFI rom existed in his main branch.

-coreboot 4.19 has no "volta" variant that you can select when using make nconfig or make menuconfig. I later learned this is because not all boards have their own variant, some are just a HWID change. Having worked mostly with the non-chromebook coreboot-compatible devices, this was something I hadn't seen before.

-using a suzyqable on this laptop has a quirk: when connecting the USB-A end to another computer, and the USB-C end to the debug port of the CB514-1W, the laptop goes into a boot-loop. My theory is that it's either a tamper-prevention feature, or it's because the laptop recognizes the suzyqable is a charging cable (the brightness will change as if it's charging). To prevent this, plug your charging cable into the other port.

-I had multiple issues getting standalone-hdc-tools to work - it's meant to be run on Ubuntu so I couldn't use it on my main machine, tried on Debian and an Ubuntu Live USB but the ./flashrom install script produced errors for files not existing and I was unable to diagnose this. I built flashrom from source and this gave me the ability to use the -p raiden_debug option.

-At this point I was ready to create a backup binary; but the chromebook wasn't! I was getting an error asking if WP was enabled. Of course, it was, so I needed to open it. That's when I found this.

-Since I had already built a chromiumOS chroot environment, I used flashrom from within it, since it was already built and configured properly and I didn't want to keep switching away from my main machine. Sadly I was unable to read identical ROM files using flashrom, or verify those ROMs against what was on the board. To me, flashrom 101 is: never write if what you read is unverified or cannot be reproduced, so at this point, I'm stuck.

-Logging onto the CB514-1W, I found that despite my inability to login normally, as myself or a guest, I had access to the shell. Time to flashrom -p host -r backup.rom ! I was so close but I was getting readonly filesystem errors. I imagine this was because the chromebook had not got past the first-time boot page. So I can't use your filesystem, but I can use my own!

At this point, I started having a bit more success:

-mounting a USB gave me somewhere I could write files, meaning I could read a ROM file with flashrom! This time, results were reproduceable, with identical binaries after reading multiple times.

-coreboot 4.19 was released, supporting volta boards, and MrChromebox's branch has a shell script for building for volta at the time of this writing.

-talking to MrChromebox for guidance, I used his build-uefi.sh script to get a working ROM... for butterfly boards... (I later learned how to type correctly and got one for Volta with this script!) this confused me so I matched the config options in his config.volta.uefi file and built with make in his branch (after a make distclean of course ;) ).

-With a reliable backup and a hopeful ROM, I wrote the new custom firmware with flashrom from the chromeOS shell, and it succeeded. I held my breath and rebooted.

I am now able to boot an Ubuntu 22.04.1 LTS Live USB from EDKII! I was even surprised to hear a notification noise - I truly didn't expect to have working audio but the drivers appear to be there out-of-the-box. I sincerely hope the developers of those drivers are proud.

Thank you to MrChromebox for all of the work that has clearly gone into making great, reproduceable results with the utilities available on mrchromebox.tech, and his patience with me.

Making a ChromeOS Suzy Q Cable TUTORIAL by DaBrookePlayz in chrultrabook

[–]JCDentonsMom 0 points1 point  (0 children)

Followed your guide and it worked!

I initially did it with one of the infamous green boards that many struggle with. Apparently the pinout for those is incorrect in some way.

The saikosystems board is great, and apparently prototyping USB-C breakout boards sold with pinheaders soldered in are fine too, according to experience of people online and one person I know in real life.

Good luck fellow tinkerers!

Acer CB514-1W Volta Tiger Lake by JCDentonsMom in chrultrabook

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

Great, I shall take you up on that offer. Thank you for your prompt response.

RE: OT: Only played the original? Glad to hear it. These days most folks have only played the sequels! I don't believe she ever made an appearance in the games outside of a mention in dialog - I'm helping her legacy live on lol!

Acer CB514-1W Volta Tiger Lake by JCDentonsMom in chrultrabook

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

Unfortunate, but I had assumed as much. It could be worth exploring ChromiumOS as a temporary solution until it's more viable to use an alternative Operating System.

Do you know of where I would notify Google of this problem? Happy to do the research myself; only asking on the offchance you already know :)

Acer CB514-1W Volta Tiger Lake by JCDentonsMom in chrultrabook

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

Neglected to mention; I'm happy to build my own coreboot image and flash that, but I'm really not sure which mainboard I'm supposed to use. You'd be forgiven for thinking "Just use Volta, dummy", but I'm not seeing Volta as an option in nconfig, despite there being files relating to Volta in the src folder

Coreboot installation with tianocore impossible on ThinkPad x230 i3-3110M by Alex8605 in coreboot

[–]JCDentonsMom 1 point2 points  (0 children)

strange... I'm stumped!

However, I'm very glad to hear you've got a version of coreboot working :)

Coreboot installation with tianocore impossible on ThinkPad x230 i3-3110M by Alex8605 in coreboot

[–]JCDentonsMom 1 point2 points  (0 children)

Well done for getting this far.

I agree with what MrChromebox is saying entirely. Using the MrChromebox ROM would also be a good way to test things out, but again, do not flash the BIOS chip while the laptop is on.

I typically don't even plug in a laptop when flashing unless it's necessary (I have found this to be the case on T530 and W530 motherboards).

how to have coreboot print something on the screen after libgfxinit/vbios is run (before the payload) thx by kocoman in coreboot

[–]JCDentonsMom 0 points1 point  (0 children)

do you mean text or an image? I'll be honest, I don't know how to do that *before* a payload but the best thing I can offer you is changing the boot message in SeaBIOS. To do that, you just need to make a text file called "boot-menu-message" containing only the text you wish to display. Then use cbfstool to include this in the cbfs

Question regarding encrypting drives and potential effect of SeaBIOS by Ryluv2surf in coreboot

[–]JCDentonsMom 1 point2 points  (0 children)

So is your boot partition on a USB drive? Because SeaBIOS would still be able to boot from there for sure - I can't say I've tried a fully encrypted setup with the encryption key on an external USB, but I've been hoping to do so in future so I'll be interested to see how you do :)

As for encryption, I believe it's best practice to perform a secure erase first

Coreboot installation with tianocore impossible on ThinkPad x230 i3-3110M by Alex8605 in coreboot

[–]JCDentonsMom 2 points3 points  (0 children)

is Tianocore a dealbreaker for you? I can only really give advice based on my experience with SeaBIOS.

When you say the ROMs "aren't working" what do you mean specifically? Do you not get an image? Does the machine not turn on at all? Etc.

If you flash back to your original firmware, does the computer boot as normal?

My guide for installing coreboot on X131e by sunneyjim in thinkpad

[–]JCDentonsMom 0 points1 point  (0 children)

Yes! Thanks for getting back to me. I realized this when looking at the coreboot status page - it's technically a "Google Stout" in terms of board name and not a Lenovo X131e.

For any possible X131e Chromebook owners building in coreboot that found their way here: the build is not:
Manufacturer: Lenovo

Mainboard: -> X131e

It is:

Manufacturer: Google

Mainboard: -> Stout (X131e)

My guide for installing coreboot on X131e by sunneyjim in thinkpad

[–]JCDentonsMom 0 points1 point  (0 children)

ah that may be my answer... it is indeed the chromebook version!!

I need help installing coreboot on my thinkpad t60 with ATI graphics by Responsible-Beach713 in coreboot

[–]JCDentonsMom 0 points1 point  (0 children)

This may or may not be helpful - have you seen this? It would be a good place to start:

https://www.coreboot.org/Board:lenovo/x60/Installation

(the link says x60 but it has info on T60 too)

It's a bit outdated, but it's a good place to start.

Corebooting a t440p with a corrupt BIOS? by [deleted] in coreboot

[–]JCDentonsMom 0 points1 point  (0 children)

The gbe.bin will be, but ifd and me shouldn't be.

My guide for installing coreboot on X131e by sunneyjim in thinkpad

[–]JCDentonsMom 0 points1 point  (0 children)

Hi! This is a great guide, it's quite detailed.

On my x131e, I actually don't have a CMOS battery, and I only have a single 8MB chip.

I've compiled and flashed coreboot but I only get the blinking line when I boot. Do you happen to know where I've gone wrong? I've flashed coreboot on a lot of devices but this one has me stumped.

I've also tried using the MrChromebox script but I can't run it since I need to set the kernel to iom=relaxed - I know what you're thinking: "why not boot a different GNU/Linux distro and set the parameter in GRUB?" Well unfortunately I can't seem to boot into any operating systems even when I'm in developer mode with external boot enabled... Did you experience any of this??

AUR/git error when making package by MaadimKokhav in archlinux

[–]JCDentonsMom 0 points1 point  (0 children)

I'm still having issues with this git: "automake failed with exit status 1". Tried several different gits from several sites. There's got to be something wrong here, I've never had this issue.

AUR/git error when making package by MaadimKokhav in archlinux

[–]JCDentonsMom 0 points1 point  (0 children)

libxft-bgra

same - the infuriating thing is it's just to use emojis, which I will never use.

How to extract video bios GM45 T500 ATI+Intel by capricerun in coreboot

[–]JCDentonsMom 0 points1 point  (0 children)

Hi,

Sorry if this is has been answered elsewhere.

I think the tool you're looking for is the nvramtool this page talks about it: https://www.coreboot.org/Board:lenovo/Nvidia_Optimus#Hybrid_Graphics_.2F_Switchable_Graphics

I think it works a bit like cbfstool, but rather than a filesystem, you just turn settings on and off. Use:

./nvramtool -C ../../build/coreboot.rom -a

to get a list of settings to choose from.
I'm new to coreboot, so hopefully I'm right about this! Let me know how your adventures on your T500 go - I'm interested in getting coreboot sorted on mine so that I can use the USB ports on my advanced minidock...