From: Wolfgang Denk Date: Thu, 31 Oct 2013 21:32:08 +0100 Subject: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution In-Reply-To: <20131031182541.3a3020c6@amdc308.digital.local> References: <20130716173521.3dd7ec9e@amdc308.digital.local> <20131031182541.3a3020c6@amdc308.digital.local> Message-ID: <20131031203208.F3B5C3803F1@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Lukasz, In message <20131031182541.3a3020c6@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: > > |---+-------------+-------------+---------+----------------------| > | | : | , | | 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