ALARM on Samsung ARM Chromebook

Install Arch Linux ARM on other devices.

Re: ALARM on Samsung ARM Chromebook

Postby snija » Sat Mar 09, 2013 5:57 am

Perhaps you need to build your own kernel with new option like root=mmcblk0p3.
$this->bbcode_second_pass_quote('dutra', 'I') followed the steps from here http://craigerrington.com/blog/installi ... hromebook/

Then, I followed similar steps and zcat the tarball from the SD card into mmcblk0. When I try to boot into my system without a sd card, it boots but searches for the rootfs in mmcblk1p3 (sd card), and stops there. It only works if I also insert my sd card.

How can I change the rootfs variable and set it to mmcblk0p3?
snija
 
Posts: 13
Joined: Sat Mar 09, 2013 5:47 am

Re: ALARM on Samsung ARM Chromebook

Postby snija » Sat Mar 09, 2013 6:01 am

There's alignment requirement for the rootfs, does anyone knows the details?
I've a 32GB SD card, each time after i tried to change the partition size, it would not boot anyway.
snija
 
Posts: 13
Joined: Sat Mar 09, 2013 5:47 am

Re: ALARM on Samsung ARM Chromebook

Postby dutra » Sat Mar 09, 2013 7:50 am

$this->bbcode_second_pass_quote('snija', 'P')erhaps you need to build your own kernel with new option like root=mmcblk0p3.
$this->bbcode_second_pass_quote('dutra', 'I') followed the steps from here http://craigerrington.com/blog/installi ... hromebook/

Then, I followed similar steps and zcat the tarball from the SD card into mmcblk0. When I try to boot into my system without a sd card, it boots but searches for the rootfs in mmcblk1p3 (sd card), and stops there. It only works if I also insert my sd card.

How can I change the rootfs variable and set it to mmcblk0p3?


I see. Could you (or anyone else) please indicate me any material on building my own kernel for the Chromebook? All guides I have seen around are similar to the one I posted. It seems that relghuar was able to do exactly what I am looking for and he posted his partitions in a few replies ago, but he didn't explain how he built his kernel.
dutra
 
Posts: 15
Joined: Sat Dec 03, 2011 3:01 am
Top

Re: ALARM on Samsung ARM Chromebook

Postby snija » Sat Mar 09, 2013 10:24 am

Check this, please.
http://blogs.arm.com/software-enablement/848-running-linux-on-the-series-3-chromebook/
$this->bbcode_second_pass_quote('dutra', '')$this->bbcode_second_pass_quote('snija', 'P')erhaps you need to build your own kernel with new option like root=mmcblk0p3.
$this->bbcode_second_pass_quote('dutra', 'I') followed the steps from here http://craigerrington.com/blog/installi ... hromebook/

Then, I followed similar steps and zcat the tarball from the SD card into mmcblk0. When I try to boot into my system without a sd card, it boots but searches for the rootfs in mmcblk1p3 (sd card), and stops there. It only works if I also insert my sd card.

How can I change the rootfs variable and set it to mmcblk0p3?


I see. Could you (or anyone else) please indicate me any material on building my own kernel for the Chromebook? All guides I have seen around are similar to the one I posted. It seems that relghuar was able to do exactly what I am looking for and he posted his partitions in a few replies ago, but he didn't explain how he built his kernel.
snija
 
Posts: 13
Joined: Sat Mar 09, 2013 5:47 am
Top

Re: ALARM on Samsung ARM Chromebook

Postby tkjacobsen » Sat Mar 09, 2013 1:51 pm

$this->bbcode_second_pass_quote('snija', 'T')here's alignment requirement for the rootfs, does anyone knows the details?
I've a 32GB SD card, each time after i tried to change the partition size, it would not boot anyway.


As I posted in this blog: http://craigerrington.com/blog/installi ... hromebook/ you have to mark the partitions as clean after resizing to be able to boot:

20. The last step is to mark the kernel partitions as known to be god so that the firmware will attempt to use them when you boot up. This marks both partitions as successful, and gives the first partition a priority of 10 and the second a priority of 5. Technically both creating a label and marking as successful aren’t needed but it is good practice.
cgpt add -i 1 -S 1 -T 5 -P 10 -l KERN-A /dev/mmcblk1
cgpt add -i 2 -S 1 -T 5 -P 5 -l KERN-B /dev/mmcblk1

http://blogs.arm.com/software-enablemen ... hromebook/
tkjacobsen
 
Posts: 1
Joined: Mon Jan 21, 2013 8:05 pm
Top

Re: ALARM on Samsung ARM Chromebook

Postby snija » Sun Mar 10, 2013 6:04 am

Great & thanks a lot.
If i try to install it to emmc, should i do the similar things with cgpt?
$this->bbcode_second_pass_quote('tkjacobsen', '')$this->bbcode_second_pass_quote('snija', 'T')here's alignment requirement for the rootfs, does anyone knows the details?
I've a 32GB SD card, each time after i tried to change the partition size, it would not boot anyway.


As I posted in this blog: http://craigerrington.com/blog/installi ... hromebook/ you have to mark the partitions as clean after resizing to be able to boot:

20. The last step is to mark the kernel partitions as known to be god so that the firmware will attempt to use them when you boot up. This marks both partitions as successful, and gives the first partition a priority of 10 and the second a priority of 5. Technically both creating a label and marking as successful aren’t needed but it is good practice.
cgpt add -i 1 -S 1 -T 5 -P 10 -l KERN-A /dev/mmcblk1
cgpt add -i 2 -S 1 -T 5 -P 5 -l KERN-B /dev/mmcblk1

http://blogs.arm.com/software-enablemen ... hromebook/
snija
 
Posts: 13
Joined: Sat Mar 09, 2013 5:47 am
Top

Re: ALARM on Samsung ARM Chromebook

Postby stronnag » Sun Mar 10, 2013 8:44 am

$this->bbcode_second_pass_quote('snija', 'G')reat & thanks a lot.
If i try to install it to emmc, should i do the similar things with cgpt?

If you're going to install to emmc, then consider installing nv-boot and the Arch linux-chromebook kernel --- it will make life easier in the future. You may wish to do this first on the SD card, then once you're confident with that, move to the emmc. Following relghuar's seminal post of 2013-02-13 will help immensely in this endeavour.
stronnag
 
Posts: 44
Joined: Sat Sep 22, 2012 6:51 am
Top

Re: ALARM on Samsung ARM Chromebook

Postby jkirby » Sun Mar 10, 2013 6:34 pm

Is it possible that there is no NFS compiled in to the kernel?
jkirby
 
Posts: 12
Joined: Sat Feb 09, 2013 1:57 am

Re: ALARM on Samsung ARM Chromebook

Postby dutra » Sun Mar 10, 2013 7:19 pm

Thank you and snija for the help.I followed your instructions into my SD card and it is working great. However, a few questions: Can I use cgpt in my Archlinux machine instead of the chromebookOS? I am going to follow the instructions again from my sd card into the emmc, and I was wondering about how to run cgpt from the archlinux build.

$this->bbcode_second_pass_quote('tkjacobsen', '')$this->bbcode_second_pass_quote('snija', 'T')here's alignment requirement for the rootfs, does anyone knows the details?
I've a 32GB SD card, each time after i tried to change the partition size, it would not boot anyway.


As I posted in this blog: http://craigerrington.com/blog/installi ... hromebook/ you have to mark the partitions as clean after resizing to be able to boot:

20. The last step is to mark the kernel partitions as known to be god so that the firmware will attempt to use them when you boot up. This marks both partitions as successful, and gives the first partition a priority of 10 and the second a priority of 5. Technically both creating a label and marking as successful aren’t needed but it is good practice.
cgpt add -i 1 -S 1 -T 5 -P 10 -l KERN-A /dev/mmcblk1
cgpt add -i 2 -S 1 -T 5 -P 5 -l KERN-B /dev/mmcblk1

http://blogs.arm.com/software-enablemen ... hromebook/
dutra
 
Posts: 15
Joined: Sat Dec 03, 2011 3:01 am
Top

Re: ALARM on Samsung ARM Chromebook

Postby stronnag » Sun Mar 10, 2013 7:40 pm

$this->bbcode_second_pass_quote('dutra', 'C')an I use cgpt in my Archlinux machine instead of the chromebookOS? I am going to follow the instructions again from my sd card into the emmc, and I was wondering about how to run cgpt from the archlinux build.

Copy the cgpt binary from the chromeos partition to /usr/bin/ in arch. It's a static executable, there are no external dependencies, so it "just works".
stronnag
 
Posts: 44
Joined: Sat Sep 22, 2012 6:51 am
Top

PreviousNext

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 7 guests

cron