uuu-tool does not recognize commands

cancel
Showing results for 
Search instead for 
Did you mean: 

uuu-tool does not recognize commands

Jump to solution
1,103 Views
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 Solution
675 Views
ron2020
Contributor II

Hi,

Is fastboot running?

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

View solution in original post

9 Replies
676 Views
ron2020
Contributor II

Hi,

Is fastboot running?

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

View solution in original post

675 Views
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 Kudos
675 Views
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 Kudos
675 Views
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 Kudos
675 Views
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.

675 Views
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 Kudos
675 Views
ron2020
Contributor II

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

675 Views
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 Kudos
675 Views
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 Kudos