[PATCH]: cmd: part: add part block command

Tom Rini
2020-06-05T18:01:02Z

On Tue, Jun 02, 2020 at 12:23:52PM -0700, razvan becheriu wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> hm...
>
> It seems that the changes never reached upstream:
>
> git://github.com/01org/edison-u-boot.git branch edison-v2014.04
>
> this branch was implementing 'part info' sub-command which was useful to
> retrieve partition info.

Ah, I thought it might be something like this, thanks for digging in to
it.

> the new repo:
>
> git://github.com/edison-fw/u-boot.git branch acpi-v2020.04 does implement
> 'part number' but does not implement neither 'info' or 'block'.
>
> I do not insist for you to take this patch, but I think it is useful (it is
> the simplest version which supports all needed functionality).
>
> If you think the same, let me know. I can change name of the sub-command or
> implement this in a different way, if needed.

I think for now I just want to defer on this. We just aren't at the
point where we can't solve this by knowing ahead of time what the
blocksize is. I'm sure it will be a problem at some point, but the
other part of the problem is figuring out how to add this functionality
in an opt-in way that still looks clean when written. If you have some
ideas on that however, I'd be happy to review. Thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200605/11f1a986/attachment.sig>