[U-Boot] [PATCH v2] pico-imx6ul, pico-imx7d: Explain how to use eMMC user partition
Marek Vasut
marex at denx.de
Fri Mar 22 21:06:42 UTC 2019
On 3/22/19 7:42 PM, Otavio Salvador wrote:
> On Fri, Mar 22, 2019 at 3:17 PM Fabio Estevam <festevam at gmail.com> wrote:
>> On Fri, Mar 22, 2019 at 3:09 PM Otavio Salvador
>> <otavio.salvador at ossystems.com.br> wrote:
>>>> 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.
>>>
>>> Read above.
>>>
>>> I wonder why it works here and fails for you. Are you booting from USB
>>> or eMMC when running the DFU? What version are you using?
>>
>> The mmc partconf order does make a difference here though.
>>
>> I could only flash it when I ran it after the dfu command.
>
> This is a mystery to me; here we did update it several times without it failing.
>
> Please try:
>
> mmc partconf 0 0 0 0
> reset
>
> after boot just program it and see if it helps.
Maybe because mmc partconf does permanent configuration change to the
eMMC and selects some partitioning setup (I forgot which one, I'd have
to check), The keyword here is it is a non-volatile change, it survives
reset and power cycle.
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list