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

Wolfgang Denk wd at denx.de
Thu Oct 31 21:32:08 CET 2013


Dear Lukasz,

In message <20131031182541.3a3020c6 at amdc308.digital.local> you wrote:
> 
> As a follow up from u-boot's mini-summit at ELCE 2013, I would like to
> once again share the new format of dfu_alt_info env variable (for those
> who couldn't attend).
> 
> dfu_alt_info_cleanup:
> 
>     |---+-------------+-------------+---------+----------------------|
>     |   | <dev_name>: | <alt_name>, | <type>  | extra params         |
>     |---+-------------+-------------+---------+----------------------|
>     | 1 | mmc0:       | rootfs,     | part;   | -                    |
>     | 2 | mmc0:       | uImage,     | file,   | part, dir;           |
>     | 3 | nand0:      | u-boot.bin, | raw,    | start, size;         |
>     | 4 | mmc0:       | u-boot.bin, | raw,    | start_lba, size_lba; |
>     | 5 | ram0:       | uImage,     | ram,    | start, size;         |
>     | 6 | ubi0:       | kernel0,    | raw;    | -                    |
>     |---+-------------+-------------+---------+----------------------|
>     | 7 | cmd:        | cmd,        | cmd;    | -                    |

Why can we not have a common format for all media supporting the "raw"
type?  I mean, why can we not also use "start, size" for mmc?  It
should be trivial to convert into a LBA number.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Life sucks, but it's better than the alternative."
- Peter da Silva


More information about the U-Boot mailing list