Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock3/partitions"

(Created page with "{{rock3_header}} {{Languages|rock3/install/microSD}} ROCK 3 > Install > Install on microSD ====Step1: Requir...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{rock3_header}}
 
{{rock3_header}}
 +
{{Languages|rock3/partitions}}
  
{{Languages|rock3/install/microSD}}
+
    [[rock3 | ROCK 3]] > [[rock3/partitions | Partitions]]
  
    [[rock3 | ROCK 3]] > [[rock3/install | Install]] > [[rock3/install/microSD | Install on microSD]]
+
The official ROCK 3 image uses GPT partition table for Linux.
  
====Step1: Requirements ====
+
=== Official Linux image partitions ===
 +
 
 +
{| class="wikitable"
 +
! Part Number || Offset || Name ||  Description
 +
|-
 +
|(raw) || 32KB  || loader1 || First stage loader
 +
|-
 +
|(raw) || 8MB  || loader2 || U-boot image
 +
|-
 +
| 1 || 16MB || boot ||Kernel partition, bootable
 +
|-
 +
| 2 || 528MB ||rootfs || Rootfs
 +
|}
 +
 
 +
Offset when writing using '''dd'''
 +
 
 +
dd if=idbloader.img  of=/dev/sdx seek=64
 +
dd if=u-boot.itb      of=/dev/sdx seek=16384
 +
dd if=boot.img        of=/dev/sdx seek=32768
 +
dd if=rootfs.img      of=/dev/sdx seek=1081344

Latest revision as of 06:41, 24 August 2021

    ROCK 3 >  Partitions

The official ROCK 3 image uses GPT partition table for Linux.

Official Linux image partitions

Part Number Offset Name Description
(raw) 32KB loader1 First stage loader
(raw) 8MB loader2 U-boot image
1 16MB boot Kernel partition, bootable
2 528MB rootfs Rootfs

Offset when writing using dd

dd if=idbloader.img   of=/dev/sdx seek=64
dd if=u-boot.itb      of=/dev/sdx seek=16384 
dd if=boot.img        of=/dev/sdx seek=32768 
dd if=rootfs.img      of=/dev/sdx seek=1081344