i.MX6 SDB board uImage not loading

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

i.MX6 SDB board uImage not loading

1,312件の閲覧回数
PramodKumar
Contributor IV

Dear All,

I am working i.MX 6Quad SABRE-SD board load the u-boot and uImage as given below

sudo dd if=u-boot-mx6q-sabresd.bin of=/dev/sdc bs=512 seek=2 skip=2 conv=fsync

sudo dd if=uImage of=/dev/sdc bs=512 seek=2048 conv=fsync

u-boot is working and uImage not loading

U-Boot 2009.08 (Jul 25 2013 - 03:59:03)

CPU: Freescale i.MX6 family TO1.2 at 792 MHz
Thermal sensor with ratio = 179
Temperature:   53 C, calibration data 0x56d4b77d
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz
axi clock   : 264000000Hz
emi_slow clock: 132000000Hz
ddr clock     : 528000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
nfc clock     : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board Board: 0x63012 [POR ]
Boot Device: SD
I2C:   ready
DRAM:   1 GB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
*** Warning - bad CRC or MMC, using default environment

In:    serial
Out:   serial
Err:   serial
i2c: I2C3 SDA is low, start i2c recovery...
I2C3 Recovery success
Found PFUZE100! deviceid=10,revid=11
Net:   got MAC address from IIM: 00:04:9f:02:6b:22
FEC0 [PRIME]
Hit any key to stop autoboot:  0
PHY indentify @ 0x1 = 0x004dd074
FEC: Link is Up 796d
Using FEC0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.103
Filename 'uImage'.
Load address: 0x10800000
Loading: T T T T T T T T

I have load the uImage in SD card but kernel not bootinh

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

541件の閲覧回数
AnsonHuang
NXP Employee
NXP Employee

Hi, Kumar

     Apparently, uboot is trying download image from TFTP server, you need to modify the uboot environment variables to make it boot from SD card, please check the uboot command 'pri', then check the 'bootcmd' setting. it should be set to boot from SD/MMC card.

0 件の賞賛

541件の閲覧回数
EgleTeam
Contributor V

Hi Pramod,

u-boot is trying to boot from the ETH port not the SD card.

Could you stop in -uboot (touch some key while the countdown or type CTRL+C after "loading TTTTT") and show us environment variables (type "printenv")?

0 件の賞賛

541件の閲覧回数
raymondwang
Senior Contributor I

I don't why FSL tftp loading can't be stopped. But which uboot config file you use?

U-boot will run "bootcmd=xxxx" if no user interrupted. Below is my android config file for bootcmd env:

#defineCONFIG_EXTRA_ENV_SETTINGS\
"netdev=eth0\0"\
"ethprime=FEC0\0"\
"bootargs=console=ttymxc0,115200 init=/init "\
"video=video=mxcfb0:dev=lcd,bpp=32 "\
"video=mxcfb1:off "\
"video=mxcfb2:off "\
"fbmem=10M fb0base=0x27b00000 vmalloc=400M "\
"androidboot.console=ttymxc0 "\
"androidboot.hardware=freescale\0"\
"fastboot_dev=mmc3\0"\
"bootcmd_EMMC=booti mmc3\0"\
"bootcmd_SD=mmc dev 2;"\
"mmc read ${loadaddr} 0x800 0x2800;"\
"mmc read ${rd_loadaddr} 0x3000 0x300;"\
"bootm ${loadaddr} ${rd_loadaddr}\0"\
"bootcmd=run bootcmd_EMMC\0"\
"splashimage=0x30000000\0"\
"splashpos=m,m\0"\
"lvds_num=0\0"

  As you can see bootcmd=run bootcmd_EMMC. You can remove bootcmd from this extra env setting then uboot

will stop automatically since it can not boot .

0 件の賞賛

541件の閲覧回数
raymondwang
Senior Contributor I

As I remembered ,FSL uboot only support boot.img format (android format).

And your log denotes your uImage loading with timeout,Check your config file.

0 件の賞賛