OK3568 4.19.206 Modifying the EMMC Partition Size

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Revision History

Date

Version

Revision History

04/08/2022

V1.0

Initial Version

Modifying the EMMC Partition Size

Edit the /OK3568-linux-source/device/rockchip/ok3568/parameter-buildroot-fit.txt file.

FIRMWARE_VER: 1.0

MACHINE_MODEL: RK3568

MACHINE_ID: 007

MANUFACTURER: RK3568

MAGIC: 0x5041524B

ATAG: 0x00200800

MACHINE: 0xffffffff

CHECK_MASK: 0x80

PWR_HLD: 0,0,A,0,1

TYPE: GPT

CMDLINE:

mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(misc),0x00010000@0x00008000(boot),0x00010000@0x00018000(recovery),0x00010000@0x00028000(backup),0x00c00000@0x00038000(rootfs),0x00040000@0x00c38000(oem),-@0x00c78000(userdata:grow)

uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9

The rootfs partition is the root partition, where the value before “@” indicates the partition size, and the value after “@” indicates the starting address. Note: The starting address of the userdata partition is the starting address of rootfs plus the size of the rootfs partition.

Each block corresponds to 512 bytes.

Example for uboot:

0x00002000 *512byte = 8192 * 512byte = 4,194,304byte

4,194,304÷1024 = 4096KB

4096÷1024=4MB

Thus, the size allocated for uboot is 4 MB.