
On Tue, Jul 16, 2013 at 05:35:21PM +0200, Lukasz Majewski wrote:
Dear All,
Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good moment to unify and structure the form of dfu_alt_info environment variable.
[snip]
NAME | Type | Device | Dev_num | Dev_part | FS | start | size |
[snip]
u-boot | raw | nand | 0 | "-" | "-" | 0x100 | 0x100 | uImage | file | nand | 0 | 3 | ubi | "-" | "-" |
We also need to cover:
uImage | raw | nand | 0 | "kernel" | "-" | "-" | "-" |
Since partitions provide start/size. And I'm not totally sure we're providing enough information for 'destination resides in this part of UBI container'. It could be "/boot/uImage in rootfs in ubi0" or "raw to kernel0 in ubi0".