From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 01 Nov 2013 00:11:55 +0100 Subject: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution In-Reply-To: <20131031222010.082d453f@jawa> References: <20130716173521.3dd7ec9e@amdc308.digital.local> <20131031182541.3a3020c6@amdc308.digital.local> <20131031203208.F3B5C3803F1@gemini.denx.de> <20131031222010.082d453f@jawa> Message-ID: <20131031231155.C503D3803F1@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 <20131031222010.082d453f@jawa> you wrote: > > > 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. > > I think, that I could do better with this table. > > What I have meant, is that the "raw" extra parameters are the same in > both cases. The interpretation of start and size (if they are LBA or > "normal" addresses) depends on the . I think they should _not_ be interpreted differently. I would expect that "start" is an offset in bytes from the beginning of the device, for all of the cases. Similar, "size" would be the number of bytes, for all cases - bot bytes here and sectors there. 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 In the bathtub of history the truth is harder to hold than the soap, and much more difficult to find ... - Terry Pratchett, _Sourcery_