blob: 7e83f7a590989846fc2cb41c15f79a29860af603 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# FWU Metadata Configuration File
#
# Format: <device> <offset> <metadata_size> <erase_size>
#
# This file describes where the FWU metadata is stored. You can specify
# up to two entries for redundant metadata copies.
#
# Device: MTD device (/dev/mtdX), block device (/dev/mmcblkX), or file path
# Offset: Byte offset from start of device (hex with 0x prefix)
# Metadata Size: Size of metadata structure in bytes (hex with 0x prefix)
# Erase Size: Sector/erase block size (hex with 0x prefix, defaults to
# metadata_size, required only for MTD device)
#
# Examples:
#
# MTD devices (NOR/NAND flash):
# /dev/mtd0 0x0 0x1000 0x1000
# /dev/mtd1 0x0 0x1000 0x1000
#
# Block device (eMMC/SD):
# /dev/mmcblk0 0x100000 0x78
# /dev/mmcblk0 0x101000 0x78
#
# or:
# /dev/disk/by-partlabel/metadata1 0 0x78
# /dev/disk/by-partlabel/metadata2 0 0x78
#
# Regular file:
# /boot/fwu-mdata.bin 0x0 0x78
#
# Default configuration (update for your platform):
/dev/mtd0 0x0 0x78 0x1000
/dev/mtd1 0x0 0x78 0x1000
|