[U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition
Fabio Estevam
festevam at gmail.com
Fri Mar 22 18:01:28 UTC 2019
On Fri, Mar 22, 2019 at 2:53 PM Otavio Salvador <otavio at ossystems.com.br> wrote:
>
> The default U-Boot environment expects the use of eMMC user
> partition. To ensure we are using the proper eMMC partition for boot
> we need to run the `mmc partconf` command.
>
> This patch updates the README instructions to avoid users to follow
> misleading instructions.
>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>
> Changes in v2:
> - fix typo
No, please re-read my last response. I think you misunderstood.
If I follow the steps indicated in this patch the eMMC flashing does not work.
I tried it and U-Boot did not update.
Here is the correct procedure that works for me:
=> dfu 0 mmc 0
Flash SPL
=> dfu 0 mmc 0
Flash U-Boot proper
=> mmc partconf 0 0 0 0
=> saveenv
So you need to fix the README in two points:
1. The command "=> dfu 0 mmc 0" must be issued twice: one for the SPL
and one for u-boot-dtb.img - This error was there prior to your change
2. The '=> mmc partconf 0 0 0 0' command needs to be issued after the
last dfu command, not before like you did in this patch.
More information about the U-Boot
mailing list