[coreboot] (depthcharge, vboot) Difficulties booting on Chromebook

Paul Kocialkowski contact at paulk.fr
Tue Jul 18 10:13:47 CEST 2017


On Tue, 2017-07-18 at 08:49 +0100, Linus Heckemann wrote:
> Hi Paul, thanks for your reply.
> 
> On 18/07/17 08:28, Paul Kocialkowski wrote:
> > Hi,
> > 
> > On Tue, 2017-07-18 at 07:24 +0100, Linus Heckemann wrote:
> > > I've been following the instructions for getting Debian running on
> > > an
> > > Asus C201 Chromebook[1]. This has been going well, mostly, except
> > > that
> > > when I try to actually boot it (power on and press Ctrl-U) I am
> > > greeted
> > > by a loud and low-pitched beep and not much else. Any ideas as to
> > > what
> > > I
> > > may be missing?
> > 
> > That probably means that your boot medium was not setup correctly.
> > Perhaps the Debian instructions are either incorrect or incomplete.
> 
> Do you know of any "known-to-work" instructions for setting up a
> non-chrome OS boot medium that I could compare my setup to or try
> using
> instead? Or a way to get more helpful information than a beep from
> depthcharge?

I have a cros-medium-setup script that does that:
https://git.code.paulk.fr/gitweb/?p=libettereboot.git;a=blob;f=projects/cros-scripts/install/cros-medium-setup;h=1865ae36de14aafc610a5e8a81e45e8fed0ee343;hb=HEAD

You could try to run the paritions action and then cat a known good
kernel image to the first partition. Alternatively, you can use my whole
build system:
http://git.code.paulk.fr/gitweb/?p=libettereboot.git;a=summary
to build a cros kernel and install it to the storage:
./libreboot download linux-cros
./libreboot cook linux-cros veyron
./libreboot cook cros-scripts
cd install/cros-scripts/
./cros-kernel-prepare pack ../linux-cros-veyron usb
./cros-medium-setup partitions /dev/sdfoo
./cros-medium-setup kernel /dev/sdfoo ../linux-cros-veyron usb

That will however take a while to complete. I'm not providing binary
releases at this point (or any official documentation, really).

Maybe reading these scripts can help you figure out what is going wrong
with your setup.

> > > Relevant stuff:
> > > 
> > > # crossystem | grep dev_boot
> > > dev_boot_usb           = 1   # Enable developer mode boot from
> > > USB/SD
> > > (writable)
> > > dev_boot_legacy        = 0   # Enable developer mode boot Legacy
> > > OSes
> > > (writable)
> > > dev_boot_signed_only   = 0   # Enable developer mode boot only
> > > from
> > > official kernels (writable)
> > > 
> > > I've uploaded an image of the SD card resulting from the
> > > instructions
> > > (208M, 2G uncompressed) at [2].
> > > 
> > > Best regards
> > > Linus
> > > 
> > > 
> > > [1]: https://wiki.debian.org/InstallingDebianOn/Asus/C201
> > > [2]: https://sphalerite.org/chromebook-debian-boot-sd.img.gz
> 
> 
-- 
Paul Kocialkowski,

developer of free digital technology and hardware support

Website: https://www.paulk.fr/
Coding blog: https://code.paulk.fr/
Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/



More information about the coreboot mailing list