[U-Boot] [PATCH] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition

Fabio Estevam festevam at gmail.com
Fri Mar 22 17:39:50 UTC 2019


Hi Otavio,

On Fri, Mar 22, 2019 at 9:28 AM Otavio Salvador <otavio at ossystems.com.br> wrote:

>  2. Flashing U-Boot into the eMMC
>
> -Run the DFU agent so we can flash the new images using dfu-util tool:
> +The  default  U-Boot   environment  expects  the  use   of  eMMC  user
> +partition. To ensure we are using  the proper eMMC partition for boot,
> +please run:
> +
> +=> mmc partconf 0 0 0 0
> +
> +Next, un the DFU agent so we can flash the new images using dfu-util

Typo: it should be "run" instead of "un"

I tested the instructions and it did not work for me. After I ran
these steps I still got the old U-Boot on the eMMC.

The procedure that worked here is:

=> dfu 0 mmc 0
Flash SPL
=> dfu 0 mmc 0
Flash U-Boot proper

=> mmc partconf 0 0 0 0
=> saveenv


More information about the U-Boot mailing list