U-Boot get stuck on IMX6DL based board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

U-Boot get stuck on IMX6DL based board

1,338 次查看
bazo00
Contributor I

I am trying to port U-Boot to custom board based on IMX6DL. U-Boot is working to some point. Console is started and memory seems to work fine(I can read and write to it). With MFG tool I am able to download U-Boot into RAM and run it. When I try bootm to run kernel U-Boot get stuck. It doesn't eve show "Starting kernel..." message, so control isn't passed to kernel at all. I am pasting below output of U-Boot and MFG tool configuration that I am using. Could you please give me some hint, what I am doing wrong?

<LIST name="eMMC" desc="Choose eMMC as media">
<CMD state="BootStrap" type="boot" body="BootStrap" file ="firmware/my-uboot.imx">Loading U-boot</CMD>

<CMD state="BootStrap" type="load" file="firmware/uImage" address="0x12000000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Loading Kernel.</CMD>

<CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>
</LIST>

This is configuration I am using to download u-boot and kernel to memory. After tool finishes, it jumps to u-boot and this is my ouput:

U-Boot 2017.01-rc3 (Feb 08 2017 - 16:42:06 +0100)

CPU: Freescale i.MX6DL rev1.2 at 792MHz
CPU: Automotive temperature grade (-40C to 125C) at 43C
Reset cause: POR
Board: GTC200
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0
MMC Device 1 not found
*** Warning - No MMC card found, using default environment

No panel detected: default to h$�4`(�S��
unsupported panel h$�4`(�S��
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Error: FEC address not set.

Hit any key to stop autoboot: 0

=> bootm $loadaddr
## Booting kernel from Legacy Image at 12000000 ...
Image Name: Linux-3.10.53
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6825880 Bytes = 6.5 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

标签 (2)
0 项奖励
回复
1 回复

1,069 次查看
igorpadykov
NXP Employee
NXP Employee

Hi

for Linux-3.10.53 recommended to use U-Boot version v2014.04

uboot-imx.git - Freescale i.MX u-boot Tree 

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

0 项奖励
回复