hexdump0815 / linux-mainline-on-arm-chromebooks

running linux mainline on arm chromebooks - for example: samsung xe303c12 and xe503c12 (snow and peach), acer c100, c101 and c201 (veyron speedy, minnie etc. and gru bob and kevin), medion s2013 and s2015 (veyron jaq, mighty etc.), acer cb5 311 (nyan big), lenovo n23, acer r13 (oak elm and hana), lenovo duet (kukui krane) and most probably many many more over time ...
144 stars 10 forks source link

Medion S2015 Custom ROM / U Boot Loader #28

Open techorix opened 4 months ago

techorix commented 4 months ago

Hi hexdump0815,

we at Kiel-hilft.de are now proudly running three Chromebooks with your image thanks to your kind help :)

This is the only pic I have right now: SAVE_20240316_212821

In order to provide the best experience I was asked if we could somehow flash the firmware and allow for faster booting times somehow. As you have experience with this particular Chromebook yourself I wanted to ask if you managed to do that yourself and know of a piece of documentation that has a chance of working for this?

I read that Chromebox and U-Boot exist but have no idea if or how I could get them to run on the S2015.

Sorry to abuse the issue system for trivial questions.

hexdump0815 commented 4 months ago

i can confirm that it should work fine to run my image from emmc on the s2015 and it is absolutely fine to discuss the getting it to work here in this github issue (i edited out your email address from your post to avoid you to end up with spam due to it). i'm actually happy to see my images used in a context like you use them in.

please have a look at https://github.com/hexdump0815/imagebuilder/blob/main/doc/install-to-emmc-on-arm-chromebooks.md - i would recommend the rsync approach (later in that document) in your case. please watch out of the veyron specific lines in there and also please read the cgpt part of https://github.com/hexdump0815/imagebuilder/blob/main/doc/important-information.md - maybe just do those steps first before doing the steps of the install-to-emmc doc. in case something does not work as expected or not work at all, please describe the problem here in this github issue thread and i'm sure we will get things sorted out and the images working on your chromebooks. the only problem might be that my time is a bit limited right now, so it might take a day or a few until i respond, but i will for sure.

good luck and best wishes - hexdump

techorix commented 4 months ago

Hi, Thanks for the reply.

Just for clarification, it works on emmc already but the firmware on the S2015 displays the unchecked OS warning for a long time so boot time is a little terrible so I was asking about Chromebox and UBoot or other things that might improve the boot time. But maybe I misunderstand even what those are. I imagine some kind of different uefi/BIOS rom.

Booting from emmc already works. Its just about the boot delay now.

hexdump0815 commented 4 months ago

ah - ok for that you'll have to remove the write-protect screw and set the gbb flags as desribed here: https://github.com/hexdump0815/linux-mainline-on-arm-chromebooks - this will give you a 2 seconds wait only without a beep

techorix commented 4 months ago

I was able to remove the write protect screw and put some Tesafilm between the board and the case there. Will have to recover into ChromeOS again to set the GBB flags, right? All of the batteries are dead. I wonder if the flag for battery storage is set. Will keep u posted.

hexdump0815 commented 4 months ago

@techorix - there might be an easier way: https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/workaround-for-battery-discharge-in-dev-mode/ should work on veyron still maybe (one might need to use an older recovery image maybe as a base) - this way you can hand build a special recovery disk, which will set the gbb flags instead of doing the recovery :) ... another option might be to search a bit for sh1mmer - i think that also supports veyron and might allow you to set the gbb flags without having to restore chromeos maybe

update: no rma shim for veyron, so no sh1mmer for it