How to Flash *.wic.gz fromat binaries on IMX6 Solo using USB OTG

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Flash *.wic.gz fromat binaries on IMX6 Solo using USB OTG

4,778 Views
amit_priye
Contributor I

Hi,

I am currently working with Yocto project with warrior branch. I have generated the core-image-base and i am successfully able flash binaries using sdcard. But i want to flash binaries using USB . I have find tools like MFG tool and UUU tools . With these tool comes with pre-build binaries which is pick up by scripts. If i want to flash core-image-base (*.wic.gz fromat ) binaries generated me. As tools scripts doesn't contains steps to flash ".wic" fromat file flashing.

1. how can i Flash *.wic.gz fromat binaries on IMX6 Solo using USB OTG.

2. What modification do i need to do to flash binaries please suggest.

Thanks

Labels (1)
0 Kudos
10 Replies

4,183 Views
igorpadykov
NXP Employee
NXP Employee

Hi Amit

one can look at uuu script example uuu.auto-imx6solosabresd included in Demo Image

Linux Binary Demo Files - i.MX 6QuadPlus, i.MX 6Quad, i.MX 6DualLite, i.MX 6SoloX

also may be useful [yocto] How to extract files from wic.gz image? 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

4,183 Views
amit_priye
Contributor I

Hi igorpadykov

Thanks for  response. 

When I have tried with uuu script but uuu tool get stuck after SDP: boot -f u-boot-imx6solosabresd_sd.imx command.

Please find below console text :- 

C:\User\Desktop\L4.19.35_1.1.0_images_MX6QPDLSOLOX> .\uuu.exe C:\User\Desktop\L4.19.35_1.1.0_images_MX6QPDLSOLOX\uuu.auto-imx6solosabresd
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035
Success 0    Failure 0
1:2      1/ 1 [=================100%=================] SDP: boot -f u-boot-imx6solosabresd_sd.imx
After 2 hours it is still stuck state.
Thanks
0 Kudos

4,183 Views
igorpadykov
NXP Employee
NXP Employee

Hi Amit

 

what board used in the case, could you try with NXP Sabre SD reference board.

 

Best regards
igor

0 Kudos

4,183 Views
amit_priye
Contributor I

Hi igorpadykov,

Currently i am using wandboard imx6 solo and dual  .But i future we will be using customized board having imx6solo .

Thanks

0 Kudos

4,183 Views
igorpadykov
NXP Employee
NXP Employee

Hi Amit

 

wandboard is not supported by nxp, suggest to post issue on wandboard forums.

 

Best regards
igor

0 Kudos

4,183 Views
amit_priye
Contributor I

Hi igorpadykov,

I have posted the issue on wandboard forums .

As i am going to use customised board in future.

So it ok to flash the binaries uuu script example uuu.auto-imx6solosabresd included in my customised board.

Or i need to generate new build for my board. if yes ,please let know steps need to followed to generate the build.

Thanks

0 Kudos

4,183 Views
igorpadykov
NXP Employee
NXP Employee

Hi Amit

 

for customised board new image should be built, uuu script example 

can be modified as it uses board file names.

 

Best regards
igor

0 Kudos

4,183 Views
amit_priye
Contributor I

Hi igorpadykov,

Can you  provide us the procedure to make the new customize build .

Thanks

Amit

0 Kudos

4,183 Views
igorpadykov
NXP Employee
NXP Employee

please look at Porting Guide included in Linux 4.19.35_1.1.0 Documentation

Best regards
igor

0 Kudos

4,183 Views
amit_priye
Contributor I

Hi igorpadykov,

Now we have custom board with imx6 solo and no binaries are flashed on it.

Do i need to flash pre-build binaries or first need to build custom binaries and flash .

With the Porting Guide i am little bit confused .Can provide me a step by step procedure need to follow to flash image on custom board.

Thanks

Amit

0 Kudos