![theobroma systems RK3399-Q7 User Manual Download Page 32](http://html.mh-extra.com/html/theobroma-systems/rk3399-q7/rk3399-q7_user-manual_1101597032.webp)
Offset
Contents
Files
0
Partition table
32kiB
U-Boot SPL “spl.img”
spl.img
240kiB
U-Boot environment
256kiB
U-Boot + ATF + Cortex-M0 firmware
u-boot.itb
2MiB
Partition 1 (ext4 - Linux root fs)
boot.scr, Image, rk3399-puma.dtb, defaultEnv.txt and rootfs
To setup a SD card for booting you first need to create partitions. Partitions can be created using fdisk (assuming the SD
card is mapped to /dev/sd‘‘X‘‘ , where
X
should be replaced with your corresponding device-letter) and has no partitions
(this can be checked using the
p
command):
sudo fdisk
/
dev
/
sdX
>
p
This should show an empty partition table, for example:
Disk
/
dev
/
sdX:
3980
MB,
3980394496
bytes
123
heads,
62
sectors
/
track,
1019
cylinders, total
7774208
sectors
Units
=
sectors of
1
*
512
=
512
bytes
Sector size (logical
/
physical):
512
bytes
/
512
bytes
I
/
O size (minimum
/
optimal):
512
bytes
/
512
bytes
Disk identifier:
0xdbbd45c7
Device Boot
Start
End
Blocks
Id System
If there are partitions on the sdcard, they can be deleted with
d
.
The required partition can be created with the command
n
, then accepting the defaults, accept for the first sector use 4096:
> n
Partition type:
p
primary (0 primary, 0 extended, 4 free)
e
extended
Select (default p): <ENTER>
Partition number (1-4, default 1): <ENTER>
First sector (2048-7774207, default 2048): 4096
Last sector, +sectors or +size{K,M,G} (...): <ENTER>
> w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
This will create a primary partition at offset 2MiB.
Release v0.2-3-g574c114
Page
28
Summary of Contents for RK3399-Q7
Page 2: ......