From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 18 Jul 2013 18:33:25 -0400 Subject: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution In-Reply-To: <20130718221752.1d8ae58d@jawa> References: <20130716173521.3dd7ec9e@amdc308.digital.local> <20130718163933.GC18359@bill-the-cat> <20130718221752.1d8ae58d@jawa> Message-ID: <51E86D35.7040603@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/18/2013 04:17 PM, Lukasz Majewski wrote: > On Thu, 18 Jul 2013 13:30:55 -0400 Michael Cashwell > wrote: > >> On Jul 18, 2013, at 12:39 PM, Tom Rini wrote: >> >>> uImage | raw | nand | 0 | "kernel" | "-" | "-" >>> | "-" | >>> >>> Since partitions provide start/size. >> >> I've got some WIP that pulls the alt info from a GPT partition >> map on mmc. > > Extraction the part of dfu_alt_info from GPT or $partitions env > variable (as defined at e.g. Trats) is also a good idea. > > The best solution would be to produce alt settings information as a > mix of GPT layout information (extraction of part num, start > offset, size... any more?) [*] and some predefined dfu_alt_info env > variable. In this way we can reuse already available code (since > GPT layout is already in place for most of targets). > > But what about mtd parts (Nand/ UBI)? It shall be also doable to > extract information [*] from it. Am I correct? Right, we support that today even in DFU. - -- Tom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJR6G00AAoJENk4IS6UOR1WA9cQAKRC0fOrdoVcQyrqeAzf+ahC y18UHlFsmS+0fVzJzc0z3m7RiUYNCFEsNMm2JFedss7xgpP7GCwMDLRcLhy4CkEW m5hjISL/C3pJKoAbCocKcUe4TD53Vmukr+sBPwKUR2N62iRcVYCO0Ved8P/4QXUz g+Ylc8F6C6pPXxTEi8cn8oigmZzckJqn02AjfhY474uQZvKNezM1eA6uBOAbCugM RJYjM+AxjOeL4dNYJTQEcmLAqcQPF0KW9yxfbMYi79h09qVJTqZIyvIHVIX4XfUp E64yh21LhuhEyKxUnMcZbvcn5RQ2CvROY2a121D+hFWCxrnLeumIA49Hz8ilVYBt 1P6qzNotUbciOr9M33pedFOziYua/0Y6Wy4f5sMqYOaCy+qhO9KnaiJe0SkOUYah XNMZ5tVMOAhCwDhmnmLSDWfZZMl9LBzibzIsw7qPzb/ZYtwA7CEa9WSSwZVw7Zsj jj0+/j4uis4a4UOwj1E7ui3CgiRLu7ck5vBBTJ1VJlRvdCvBknio2aJ3/ZcJaXjc U76Aly890n4EfwlclwRpeXVGg2eObsherz6gOuWqmVmjBYuiwQAKiT7X4VnqtWmM V6yB6VmOKO5Am9GmpaWplep8l1vJgkmWd++3kwR75NgZIgmizwIpRxG56hd+oav8 0MH2gBeO6rZo/WdnJwJS =IYIY -----END PGP SIGNATURE-----