Hacking b2g on Raspberry Pi: Difference between revisions

updated image
(updated patch)
(updated image)
Line 14: Line 14:
== Flash an existing build ==
== Flash an existing build ==


First [https://www.dropbox.com/s/wgqurptgcebuls4/ffos-rpi-01.img.tar.bz2?dl=0 download the build].  Next extract it as follows
First [https://www.dropbox.com/s/pxwufdj0etwlx4d/ffos-rpi-02.img.tar.bz2?dl=0 download the build].  Next extract it as follows


  tar jxvf ffos-rpi.img.tar.bz2
  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.
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.
<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.
Line 24: Line 24:
Finally, run
Finally, run


  sudo dd bs=4M if=ffos-rpi.img of=$device
  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>.
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>.
Confirmed users
699

edits