[U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

Tom Rini trini at ti.com
Thu Jul 18 18:39:33 CEST 2013


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".

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130718/4f91d63a/attachment.pgp>


More information about the U-Boot mailing list