Acer Chromebook 13 CB-311

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Acer Chromebook 13 CB-311

Postby dfly » Thu Feb 05, 2015 1:27 am

Good evening fellow arm archers,

I'd like to put Arch on my Acer Chromebook therefore I followed two guides:

https://github.com/lgeek/gnu-linux-on-a ... omebook-13

and

http://wiki.baserock.org/guides/baseroc ... e-cb5-311/

I have everything installed except chromeos-devkeys (the Arch package won't install and the needed files seems to already be there)

I compiled everything without any hassle and only few minor warnings BUT the I can not get the system to work.
This is freaking me out right now because I spend way to much time which I don't have and still nothing.

Maybe an experienced user can help me out so I can get this to work finally.

I am using an Arch 64 bit system with Arch's cross compiling toolchain.

Using an Samsung Chromebook image has more success (my screen blacks out and the chromebook freezes)
The compiled version just beeps and does not boot a bit.

Please help me

Thanks
dfly
 
Posts: 10
Joined: Thu Feb 05, 2015 1:17 am

Re: Acer Chromebook 13 CB-311

Postby WarheadsSE » Thu Feb 05, 2015 8:52 pm

The compiled version of what?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Acer Chromebook 13 CB-311

Postby dfly » Thu Feb 05, 2015 9:19 pm

The compiled version of the kernel which ought to run according to the guides.

The kernel is from the chromeos third party kernel repo from google. (Version 3.10)

:)
dfly
 
Posts: 10
Joined: Thu Feb 05, 2015 1:17 am

Re: Acer Chromebook 13 CB-311

Postby WarheadsSE » Thu Feb 05, 2015 9:33 pm

You did do the signing, right?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Acer Chromebook 13 CB-311

Postby dfly » Thu Feb 05, 2015 10:09 pm

I used this command to sign the kernel:

vbutil_kernel --pack /mnt/rootfs/boot/vmlinuz.signed \
--keyblock /usr/share/vboot/devkeys/kernel.keyblock \
--version 1 \
--signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk \
--config /mnt/rootfs/boot/kernel.flags \
--vmlinuz /mnt/rootfs/boot/vmlinuz \
--arch arm

but I don't really know if the keys installed with vboot-kernel-utils do provide the correct keys.

The linux geek guide states to install the chromeos-deykeys, but the aur package seems to be broken and I could not find any alternative.
dfly
 
Posts: 10
Joined: Thu Feb 05, 2015 1:17 am

Re: Acer Chromebook 13 CB-311

Postby WarheadsSE » Thu Feb 05, 2015 10:31 pm

There is a copy on the original device, under dev mode.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Acer Chromebook 13 CB-311

Postby dfly » Thu Feb 05, 2015 11:24 pm

Thanks.

I copied the devkeys from my chromebook, redid

mkimage -D "-I dts -O dtb -p 1024" -f its_script.its /mnt/rootfs/boot/vmlinuz

signed the kernel and wrote it to the boot partition.

BUT unfortunately instead of booting my chromebook just blacks the screen accesses the sd for a split second beeps and returns to the initial chrome screen
dfly
 
Posts: 10
Joined: Thu Feb 05, 2015 1:17 am

Re: Acer Chromebook 13 CB-311

Postby feuera » Wed Mar 18, 2015 10:41 pm

When I was struggling at a similar stage as you are. The missing piece also mentioned in your links was:

# Mark Kernel partition as good and set priority
sudo cgpt add -i 6 -P 5 -T 1 /dev/mmcblk0
sudo reboot

-S 1 to store config
-T 1 for temporary change

regards, Andi
feuera
 
Posts: 3
Joined: Wed Mar 18, 2015 10:34 pm

Re: Acer Chromebook 13 CB-311

Postby dfly » Fri Mar 20, 2015 1:23 pm

Thanks for the info.

This I have tried multiple times. With his kernel, with my kernel.

Result: His kernel boots. Mine does not.

Also I tried various toolchains.

Which one did you use?
dfly
 
Posts: 10
Joined: Thu Feb 05, 2015 1:17 am

Re: Acer Chromebook 13 CB-311

Postby feuera » Mon Mar 23, 2015 7:44 am

First I downloaded the one from linaro arm-linux-gnueabihf and compiled the kernel under my intel archlinux.
I then compiled on my CB5 using chrubuntu with its gcc from ubuntu.
I am able to boot both.

my cmdline is as follows - I am booting from sdcard.
console=tty1 debug verbose root=/dev/mmcblk1p2 rootfstype=ext4 rootwait rw

I tried nvidia driver pack 21.3 (l4t). I was able to start X but that did keep crashing several times.
Switching back to 19.3 solved that issue and right now I am running cinnamon with native nvidia drivers.

Applying the driver pack with the enclosed scripts did mess up my /lib directory. In arch nowadays this is just a symlink to /usr/lib. Copying the contents of /lib to /usr/lib and recreating the symlink makes the system run again.

Trying another sdCard / USB Stick might as well solve your issue.

regards,
Andi
feuera
 
Posts: 3
Joined: Wed Mar 18, 2015 10:34 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 3 guests