113
113
each element in *dfu_alt_info * being
114
114
115
115
* <name> raw <offset> <size> [mmcpart <num>] raw access to mmc device
116
- * <name> part <dev> <part_id> [mmcpart <num >] raw access to partition
117
- * <name> fat <dev> <part_id> [mmcpart <num>] file in FAT partition
118
- * <name> ext4 <dev> <part_id> [mmcpart <num>] file in EXT4 partition
116
+ * <name> part <dev> <part_id> [offset <byte >] raw access to partition
117
+ * <name> fat <dev> <part_id> file in FAT partition
118
+ * <name> ext4 <dev> <part_id> file in EXT4 partition
119
119
* <name> skip 0 0 ignore flashed data
120
120
* <name> script 0 0 execute commands in shell
121
121
@@ -169,14 +169,20 @@ nand
169
169
170
170
each element in *dfu_alt_info * being either of
171
171
172
- * <name> raw <offset> <size> raw access to mmc device
173
- * <name> part <dev > <part_id> raw acces to partition
174
- * <name> partubi <dev > <part_id> raw acces to ubi partition
172
+ * <name> raw <offset> <size> raw access to nand device
173
+ * <name> part <dev_id > <part_id> raw access to partition
174
+ * <name> partubi <dev_id > <part_id> raw access to ubi partition
175
175
176
176
with
177
177
178
- partid
179
- is the MTD partition index
178
+ offset
179
+ is the offset in the nand device (hexadecimal without "0x")
180
+ size
181
+ is the size of the access area (hexadecimal without "0x")
182
+ dev_id
183
+ is the NAND device index (decimal only)
184
+ part_id
185
+ is the NAND partition index (decimal only)
180
186
181
187
ram
182
188
raw access to ram::
190
196
191
197
<name> ram <offset> <size> raw access to ram
192
198
199
+ with
200
+
201
+ offset
202
+ is the offset in the ram device (hexadecimal without "0x")
203
+ size
204
+ is the size of the access area (hexadecimal without "0x")
205
+
193
206
sf
194
207
serial flash : NOR::
195
208
198
211
each element in *dfu_alt_info * being either of:
199
212
200
213
* <name> raw <offset> <size> raw access to sf device
201
- * <name> part <dev > <part_id> raw acces to partition
202
- * <name> partubi <dev > <part_id> raw acces to ubi partition
214
+ * <name> part <dev_id > <part_id> raw acces to partition
215
+ * <name> partubi <dev_id > <part_id> raw acces to ubi partition
203
216
204
217
with
205
218
206
- partid
207
- is the MTD partition index
219
+ offset
220
+ is the offset in the sf device (hexadecimal without "0x")
221
+ size
222
+ is the size of the access area (hexadecimal without "0x")
223
+ dev_id
224
+ is the sf device index (the device is "nor<dev_id>") (deximal only)
225
+ part_id
226
+ is the MTD partition index (decimal only)
208
227
209
228
mtd
210
229
all MTD device: NAND, SPI-NOR, SPI-NAND,...::
@@ -219,14 +238,18 @@ mtd
219
238
220
239
each element in *dfu_alt_info * being either of:
221
240
222
- * <name> raw <offset> <size> forraw access to mtd device
223
- * <name> part <dev> < part_id> for raw acces to partition
224
- * <name> partubi <dev> < part_id> for raw acces to ubi partition
241
+ * <name> raw <offset> <size> for raw access to mtd device
242
+ * <name> part <part_id> for raw access to partition
243
+ * <name> partubi <part_id> for raw access to ubi partition
225
244
226
245
with
227
246
228
- partid
229
- is the MTD partition index
247
+ offset
248
+ is the offset in the mtd device (hexadecimal without "0x")
249
+ size
250
+ is the size of the access area (hexadecimal without "0x")
251
+ part_id
252
+ is the MTD partition index (decimal only)
230
253
231
254
virt
232
255
virtual flash back end for DFU
0 commit comments