uuu does not work with iMX8MP LPD4 EVK board

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

uuu does not work with iMX8MP LPD4 EVK board

242 Views
habib_farahani
Contributor III

I have just received this EVK and have built the project.

I have comfigured the dip switch to 0001 for serial download and have attached USB C cable to Port 1.

Downloaded uuu : uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

I do see the plugged USB :

$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Connected Known USB Devices
        Path     Chip    Pro     Vid     Pid     BcdVersion      Serial_no
        ====================================================================
        1:21     MX865   SDPS:   0x1FC9 0x0146   0x0002  

 

However when I try to download u-boot I get an error:

$ uuu -b sd u-boot.bin-sd 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Success 0    Failure 1                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                 
1:21-        1/ 1 [HID(W): LIBUSB_ERROR_IO (-1)          ] SDPS: boot -f u-boot.bin-sd   

 

I have used MACHINE=imx8mp-lpddr4-evk  to build the artifacts.

 

Please help.

 

Best.

Tags (3)
0 Kudos
Reply
5 Replies

71 Views
habib_farahani
Contributor III

Hi, downloading u-boot is the first step, but ultimately, when our board is ready, I'd like to use uuu to prgram the entire emmc image in.  Strangely enough, I do not have an imx-boot, but have imx-boot-tools folder.  Is that correct when I use the imx-image-core ?  

 

I will try manual bootloader as described the in the doc.

0 Kudos
Reply

47 Views
joanxie
NXP TechSupport
NXP TechSupport

firstly, the imx-boot isn't in the deploy/images folder as other images, you can find it under tmp/work folder, since you need download full images to the board, not only uboot, I suggest that you can find wic or zst image from folder "deploy/images", then use uuu tools to download it  to the board directly, which includes uboot, kernel and dtb already

0 Kudos
Reply

221 Views
joanxie
NXP TechSupport
NXP TechSupport

200 Views
habib_farahani
Contributor III

Thank you! The image above worked, partially.  When I ran  uuu uuu.auto-imx8mpevk  at least it tries to load the image:

 

 

 

 

# uuu uuu.auto-imx8mpevk 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Success 0    Failure 0                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                                                 
1:21-        1/ 1 [=================100%=================] SDPS: boot -f imx-boot-imx8mpevk-sd.bin-flash_evk 

 

 

 

 

 

In EVK console:

 

 

 

 

fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
switch to partitions #0, OK
mmc1 is current device
Detect USB boot. Will enter fastboot mode!
Net:   eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for                                mfgtools
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot:  0

## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...

 

 

 

 

 

I guess the biggest question is that why the artifacts that I generated based off ob fsl bsp 6.6 did not work?  I have used them to craete an sd and I could use with that sd.

These are the build commands I used:

 

 

 

 

DISTRO=fsl-imx-wayland  MACHINE=imx8mp-lpddr4-evk  source imx-setup-release.sh -b build8MPDDR4EVK
bitbake imx-image-core

 

 

 

 

 

Thanks for your help

0 Kudos
Reply

171 Views
joanxie
NXP TechSupport
NXP TechSupport

do you just want to download uboot image? did you try the uboot image from imx-boot folder? you also can refer to the "For i.MX 8M EVK, to build imx-boot image by using imx-mkimage, perform the following steps:" from enclosed document to build the standalone uboot image

0 Kudos
Reply