FirefoxOS/RPiB2: Difference between revisions

Jump to navigation Jump to search
Update doc for installing
(This is being useless now we have boot.img produced)
(Update doc for installing)
Line 171: Line 171:
  data (Partition 4) = Size [Rest of free space] = format as ext4
  data (Partition 4) = Size [Rest of free space] = format as ext4


=== Flashing system to SD card ===
=== Installing on the SD card ===


1. Flash the image'''out/target/product/rpi2b/system.img''' to '''system (Partition 2)''' with '''dd''' command
For a first time installation, you will have to flash all partitions. Images have been produced in the '''out/target/product/rpi2b''' directory and you should flash:
# boot.img to Partition 1
# system.img to Partition 2
# cache.img to Partition 3
# userdata.img to Partition 4


dd if=system.img of=/dev/disk# bs=1m
Please proceed with the '''dd''' command (and replace '''file''' with the proper file name):


2. Be sure of check that everything is copied successfully on the partition. For this port we create a ''userdebug'' build, so, everything is inside system image.
dd if=file of=/dev/XpY bs=1m
 
Be sure of check that everything is copied successfully on the partition. For this port we create a ''userdebug'' build, so, everything is inside system image. Usually, '''X''' will be the name of your device and '''pY''' should be replaced by the partition number. For example, a SD card reader might expose this as: '''/dev/mmcblk0p1''' for boot partition (Partition 1).
 
Remember to NOT flash cache and/or userdata images if you are just '''updating''' your system, except if you are sure or instructed to do so. Doing this will result in your data being erased.


== Debugging ==
== Debugging ==
Confirmed users
11

edits

Navigation menu