write u-boot on mmc via uuu

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

write u-boot on mmc via uuu

4,134件の閲覧回数
fcastagnotto
Contributor II

Hi there, I'm trying to write the u-boot on the emmc of a som based on iMX6DL using UUU, but it doesn't work.

It seems that the UUU tool only download the u-boot into the ram and jump, returning me the console on the debug serial, but does not write directly the u-boot.imx passed, into the emmc.
I read into the UUU manual that is possible to write directly the u-boot using the command

 

./uuu -b emmc u-boot.imx

 

but I only get the download of the u-boot into the ram and the jump, but not the write.

Can anyone tell me if I done wrong?

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

4,080件の閲覧回数
fcastagnotto
Contributor II

  

0 件の賞賛
返信

4,049件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

may be recommended to try uboot/linux from source.codeaurora.org/external/imx/linux-imx repository :

https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2020.04_5.4.70_2.3.0
https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.70_2.3.0

Documentation:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

DCD is described in sect.3.2.1 Changing the DCD table for i.MX DDR initialization   i.MX Porting Guide

 

Best regards
igor

0 件の賞賛
返信

4,128件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Francesco

 

had board passed ddr test and necessary dcd header changes were properly implemented in uboot sources.

Also it makes sense to check uuu min. revisiion, it is described in Release Notes for each BSP on link

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 件の賞賛
返信

4,079件の閲覧回数
fcastagnotto
Contributor II

Hi Igor,

thank you for the reply.
I don't know if the ddr tests were done and I don't find the dcd header in the source code of the uboot, but the SOM normally works, it correctly starts the uboot and the OS, the only my problem is using the uuu: do you think that this problem can be solved implementing the dcd header changes?
I tried to follow the link that you indicated and I downloaded another version of uuu (the last indicated for my iMX6DL) but I get the same idle condition: the uuu start, download the u-boot into the ram and it boots it, but the following commands are not executed and the uuu not returns.

I'm trying to pass this file as argument of uuu:

 

SDP: boot -f u-boot.imx                                                 
SDPU: delay 1000                    
SDPU: write -f u-boot.imx           
SDPU: jump                          
FB: ucmd setenv fastboot_dev mmc    
FB: flash bootloader u-boot.imx     
FB: done                            

 

 but only the first command is executed

0 件の賞賛
返信