Changes

Jump to: navigation, search

Hacking b2g on Raspberry Pi

6 bytes added, 11:34, 23 October 2014
updated image
== Flash an existing build ==
First [https://www.dropbox.com/s/wgqurptgcebuls4pxwufdj0etwlx4d/ffos-rpi-0102.img.tar.bz2?dl=0 download the build]. Next extract it as follows
tar jxvf ffos-rpi-*.img.tar.bz2
That will produce a file called <code>ffos-rpi-*.img</code>. Now insert your SD card into a card reader/writer. Your OS should add your SD card as a device called something like <code>/dev/mmcblk0</code>, <code>/dev/sdc</code>, or <code>/dev/disk2</code>. Let's call that device <code>$disk</code> below.
<font size="5" color="red">WARNING WARNING WARNING</font>: the remaining steps with <font size="5">COMPLETELY AND PERMANENTLY ERASE YOUR SD CARD</font>. Be extra-triple-careful that you found the right device for your SD card.
Finally, run
sudo dd bs=4M if=ffos-rpi-*.img of=$device
Note: this disk image is pre-partitioned for a 4GB disk. If you have a larger SD card and want to allocate the remaining space for your SDCARD partition, then resize that partition in a tool like <code>gparted</code>.
Confirm
699
edits

Navigation menu