Hi @Manuel_Salas,
Thank you for your response !
I followed your instruction using the .dtb file of the manufacturer and it compiled without problem so that's already really great !
Once I did all of the steps (2.1.2 How to build and load Kernel in Yocto Project and 3.1.2 How to build and load U-Boot in Yocto Project), I was kind of lost cause I couldn't deploy my image with only this. So I searched and found out that I might have to do bitbake imx-boot to get the necessary files in order to deploy my image, so that's what I did. (I wanted to make sure that this already worked before compiling the actual full image (imx-image-full).
To make sure that if there was a problem it was my image and not the board, I started like I do every time by deploying the manufacturer image's. At first I had a problem with the _rootfs.sdcard file but it was my fault, I didn't do the right line command… Once that one worked, I tried with mine.
After multiple attempt, I did this :
PS C:\Users\myusername\Desktop\M8M051\partage\imx8mqevk-m8m051\imx8mqevk-m8m051> .\uuu.exe -v SDP: boot -f imx-boot-imx8mqevk-m8m051-emmc.bin-flash_evk
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035
Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
Wait for Known USB Device Appear...
>Start Cmd:SDP: boot -f imx-boot-imx8mqevk-m8m051-emmc.bin-flash_evk
New USB Device Attached at 1:11
6400%1:11>Okay
Okay
This is the first time I am seing something green with the word okay so I guess this is good news ? However, when I tried this : .\uuu.exe SDP: boot -f imx-boot-imx8mqevk-m8m051-emmc.bin-flash_evk
I got this only if I turned the board ON/OFF…
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035
Success 0 Failure 0
1/ 0 [ ]
1:11 1/ 0 [=================100%=================]
Okay
And when I tried to do a basic uuu file, it goes directly to 100% and get stuck :
PS C:\Users\myusername\Desktop\M8M051\partage\imx8mqevk-m8m051\imx8mqevk-m8m051> .\uuu.exe flash.uuu
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035
Success 0 Failure 0
1:11 1/ 1 [=================100%=================] SDP: boot -f imx-boot-imx8mqevk-m8m051-emmc.bin-flash_evk
As I don't have the appropriate USB serial UART, I don't have more informations… but I decided to keep going and started to compile the full image (imx-image-full) ! I'll keep you updated once that's done and whether it worked or not ! In the meantime, if you have any advice for the image deployment, I am happy to hear them ! (The manufacturer seems to use a flash.bin file but I'm not sure how he got it ??)
my flash.uuu :
uuu_version 1.2.39
SDP: boot -f imx-boot-imx8mqevk-m8m051-emmc.bin-flash_evk
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 0
FB: ucmd mmc dev 0
FB: flash -raw2sparse all Image-imx8mqevk-m8m051.bin
FB: done
One again, thank you so much for your help !
Have a nice day !