[PATCH 3/3] cmd: adtimg: Refactor usage style
Patrick DELAUNAY
patrick.delaunay at st.com
Fri Jul 3 18:40:28 CEST 2020
Hi Eugeniu,
> From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Eugeniu Rosca
> Sent: samedi 11 janvier 2020 00:30
>
> Hi Tom,
>
> On Fri, Jan 10, 2020 at 04:50:52PM -0500, Tom Rini wrote:
> > On Tue, Dec 24, 2019 at 05:51:08PM +0100, Eugeniu Rosca wrote:
> > > Signed-off-by: Eugeniu Rosca <erosca at de.adit-jv.com>
> > > Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>
> >
> > Applied to u-boot/master, thanks!
>
> Thanks for merging!
For the planned update of the command adtimg:
> [6] Soon-to-be-provided "by id|rev" add-on functionality adtimg get dt
> --id=<id> --rev=<rev> [avar [svar [ivar]]]
> - Get DT address/size/index by id|rev fields
Do you have plan to upstream this code or it is available in downstream ?
Because stm32mp1 platform needs this feature
We code in downstream [1] based on v2020.01 almost the same command
but based on the old usage = [2]
dtimg getindex <addr> <board_id> <board_rev> [varname]
- get index of FDT in the image, by board identifier and revision
<addr>: image address in RAM, in hex
<board_id>: board identifier
<board_rev>: board revision (0 if not used)
[varname]: name of variable where to store index of FDT
So if you have nothing ready, I can update my code with your proposed parameters.
[1] https://github.com/STMicroelectronics/u-boot/blob/v2020.01-stm32mp/cmd/dtimg.c
[2] https://github.com/STMicroelectronics/u-boot/commit/21b57a166e73a8457d4caea6a1d37f1f3fda3d45
> --
> Best Regards,
> Eugeniu
Best Regards
Patrick
More information about the U-Boot
mailing list