[PATCH v1 1/2] verdin-am62: add u-boot update wrappers

Nishanth Menon nm at ti.com
Thu Aug 24 14:10:57 CEST 2023


On 13:19-20230824, Francesco Dolcini wrote:
> On Thu, Aug 24, 2023 at 10:08:49AM +0200, Emanuele Ghidoli wrote:
> > From: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>
> > 
> > Add update_tiboot3, update_tispl and update_uboot wrappers to update
> > R5 SPL, A53 SPL and A53 U-boot respectively.
> > 
> > Usage example:
> > > tftpboot ${loadaddr} tiboot3-am62x-gp-verdin.bin
> > > run update_tiboot3
> > 
> > > tftpboot ${loadaddr} tispl.bin
> > > run update_tispl
> > 
> > > tftpboot ${loadaddr} u-boot.img
> > > run update_uboot
> > 
> > Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli at toradex.com>
> 
> Acked-by: Francesco Dolcini <francesco.dolcini at toradex.com>

Should you update documentation to indicate the usage?

Currently the documentation says:
Flash to eMMC
-------------

.. code-block:: bash

    => mmc dev 0 1
    => fatload mmc 1 ${loadaddr} tiboot3.bin
    => mmc write ${loadaddr} 0x0 0x400
    => fatload mmc 1 ${loadaddr} tispl.bin
    => mmc write ${loadaddr} 0x400 0x1000
    => fatload mmc 1 ${loadaddr} u-boot.img
    => mmc write ${loadaddr} 0x1400 0x2000



-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


More information about the U-Boot mailing list