uuu-tool does not recognize commands

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

uuu-tool does not recognize commands

ソリューションへジャンプ
6,471件の閲覧回数
robotszoft
Contributor II

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

1 解決策
6,043件の閲覧回数
ron2020
Contributor II

Hi,

Is fastboot running?

Are you using mainline? It doesn't support ucmd and acmd.

元の投稿で解決策を見る

9 返答(返信)
6,044件の閲覧回数
ron2020
Contributor II

Hi,

Is fastboot running?

Are you using mainline? It doesn't support ucmd and acmd.

6,044件の閲覧回数
robotszoft
Contributor II

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

0 件の賞賛
返信
6,044件の閲覧回数
info43
Contributor I

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:

U-Boot - Patchwork 

Thanks

CC

0 件の賞賛
返信
6,043件の閲覧回数
robotszoft
Contributor II

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

0 件の賞賛
返信
6,043件の閲覧回数
ron2020
Contributor II

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.

6,044件の閲覧回数
info43
Contributor I

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

0 件の賞賛
返信
6,043件の閲覧回数
ron2020
Contributor II

Hi Catrinel, patch is attached. Check if it will help.

6,043件の閲覧回数
robotszoft
Contributor II

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

0 件の賞賛
返信
6,043件の閲覧回数
robotszoft
Contributor II

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

0 件の賞賛
返信