Confirmed users
11
edits
Gerard-majax (talk | contribs) (This is being useless now we have boot.img produced) |
Gerard-majax (talk | contribs) (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 | ||
=== | === Installing on the SD card === | ||
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 | |||
Please proceed with the '''dd''' command (and replace '''file''' with the proper file name): | |||
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 == | ||