Hello Everybody,
Could anybody help me solving the next problem?
I would like to flash only the u-boot-dtb.imx into the emmc card.
The u-boot does not recognize the ucmd and acmd commands, it always return with "command UCmd not recognized" or "command ACmd not recognized" error messages.
In the script the command is the next:
FB: ucmd setenv fastboot_dev mmc
It is from the basic emmc_burn_loader.lst.
What would be wrong?
iMX6D processor.
u-boot2020.01.
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.154-23-g7d53585
Thank you in advance!
Best regards,
Jozsi
解決済! 解決策の投稿を見る。
Hi,
Is fastboot running?
Are you using mainline? It doesn't support ucmd and acmd.
Thank you, Ronnel!
It is really doesn't support ucmd commands, so I have defined and implemented some new own commands. My first ucmd command have accepted by u-boot already. :smileyhappy:
Best regards,
Jozsi
Hi Jozsi
Can you share please, the link to your ucmd command patches, accepted by the u-boot maintainer ?
I couldn't find any of yours at:
Thanks
CC
Dear Catrinel,
Sorry, but it is not an official patch, it was a trial only. I wanted to catch the passed ucmd commands and continue the process, instead the error and break. This was a debug process, related an another problem.
You have to handle the ucmd command in a new function, I can show you how did I it, maybe here (copying the part of the source code), or by email.
Can I write my email address here?
Best regards,
Jozsi
Great!
I thought this supports ucmd and acmd, but upon checking it looks it doesn't. I also use mainline and added support to ucmd.
Hi Ronnel
Is it possible to share your mainline u-boot with the added ucmd support ?
Patches or a repository link would great :-)
Thanks
CC
Thank you Ronnel!
It is totally same what I did.
I sent this little trick to Catrinel already, and I am gratitude, because you confirmed my deed.
Thank you,
Jozsi
Hello Ronnel,
Yes, the fastboot is running. Some commands (for example getvar, boot, dcd, jump and some similar) are recognized,even the flash command too, but it have any variable problem. I need ucmd and acmd commands, so if you could show me any non mainline u-boot, I would be very grateful. This u-boot compiled by me, but I got the source from my friend. What are non mainline u-boots know ucmd and acmd commands?
Thank you in advance!
Best regards:
Jozsi