UUU Custom IMX8MM Board

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

UUU Custom IMX8MM Board

1,750 Views
houssem_chaaban
Contributor II

Hello all,

This is another update for this issue,

After passing the calibration and stress test and generating ddr3_timing.c file,

I tried to rebuild the u-boot-imx with the new file, and its correctly built,

but when flashing the board with UUU I got a failure, and the log output of minicom is attached.

I found many other people facing this problem with imx6 and 7, and the answers are generally to modify the imx8mm_val.h file under u-boot-imx to set the settings of DDR there too.

Any help?

Thanks again.

0 Kudos
2 Replies

1,473 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

   According to UUU.pdf, there are Uboot config requirement  ( in order to talk with uuu).

https://github.com/NXPmicro/mfgtools/releases/download/uuu_1.3.102/UUU.pdf 

 

   Check, if Your U-boot configuration is correct. 

Have a great day,

Yuri

 

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored

 

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

0 Kudos

1,473 Views
houssem_chaaban
Contributor II

Hello Yuri,


Thank you for your reply. 


We changed the configuration as discribed in UUU.pdf and fastboot is now activated.
Note that we are using USB 1 .
Now we get this error 
-------------------------------------------------------------------------------------------------------------------------

U-Boot SPL 2018.03-4.14.98-2.2.0+g73af2fc (Dec 05 2019 - 09:25:13 +0000)
power_bd71837_init
DDRINFO: start DRAM init
DRAM PHY training for 1600MTS
check ddr_pmu_train_imem code
check ddr_pmu_train_imem code pass
check ddr_pmu_train_dmem code
check ddr_pmu_train_dmem code pass
Training PASS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 1422152 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x40435000


U-Boot 2018.03-4.14.98-2.2.0+g73af2fc (Dec 05 2019 - 09:25:13 +0000)

CPU: Freescale i.MX8MMQL rev1.0 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 39C
Reset cause: POR
Model: SOFIA
DRAM: 2 GiB
NAND: 0 MiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF 1355c5d
- U-Boot 2018.03-4.14.98-2.2.0+g73af2fc

switch to partitions #0, OK
mmc0(part 0) is current device
Detect USB boot. Will enter fastboot mode!
Net:
Error: ethernet@30be0000 address not set.
No ethernet found.
Fastboot: Normal
Boot from USB for mfgtools
Use default environment for mfgtools
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 fas;
Hit any key to stop autoboot: 0

## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
g_dnl_register: failed!, error: -19
u-boot=>

-------------------------------------------------------

Any help ? 

Thank you 
Houssem

0 Kudos