finished compiling LTIB on Ubuntu 12.04. Copied bootloader, uImage and rootfs files in sdcard as per the LTIB document. When i power ON the EVB connecting via serial port getting below problem.
U-Boot 2009.08 (Jun 19 2013 - 15:09:12) | |
CPU: Freescale i.MX6 family TO1.2 at 792 MHz | |
Thermal sensor with ratio = 189 |
Temperature: 33 C, calibration data 0x5ac4de7d
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 | ||
Found PFUZE100! deviceid=10,revid=11 | ||
Net: got MAC address from IIM: 00:04:9f:02:6c:a6 | ||
FEC0 [PRIME] | ||
Hit any key to stop autoboot: 0 | ||
PHY indentify @ 0x1 = 0x004dd074 | ||
FEC: Link is down 7949 | ||
Using FEC0 device | ||
TFTP from server 192.168.1.101; our IP address is 192.168.1.103 | ||
Filename 'uImage'. | ||
Load address: 0x10800000 | ||
Loading: FEC: Link is down 7949 | ||
FEC: Link is down 7949 | ||
FEC: Link is down 7949 | ||
FEC: Link is down 7949 The above line is repeating continuously.... Did i do any mistake while compiling or copying it to SD card?? | ||
Solved! Go to Solution.
Hello,Vishvapathi
Please modify last sentence: bootcmd=run bootcmd_net .
Change it to "bootcmd=run bootcmd_mmc"
save and exit, and re-complie u-boot. continue to test !
Regards,
weidong
your log saying that it is looking for the kernel image through network so change the ip to none and set the environmental variable to sdcard.then this will work.refer their Linux_user guide.pdf.
Hi Guru,
I tried to Hit any key to stop auto-boot but not getting any response for any key press, its starting to display Link is down 7949 repeatedly.
When i insert the android SD card which came along it works fine. I dont think booting from SD is the problem, plz correct me if i am wrong...
hello,Vishvapathi,
Please use print command on u-boot command line to show u-boot environment , then paste them here. let us check them.
It seems that settings is configured as booting from tftp and NFS. If it is like this, we should adjust environment or set up tftp and nfs on linux host.
Regards,
Weidong
Hi Weidong,
I am not getting the Uboot command line. the console starts printing FEC: Linik is Down 7949 continuously. I tried to Hit any key to stop auto-boot but not getting any response for any key press, its starting to display Link is down 7949 repeatedly. When i insert the android SD card which came along it works fine
Hello,Vishvapathi,
Please check the header file for your board, it should be in u-boot/include/configs/, Mine is mx6solo_sabresd.h, I can't confirm your file's name. find it and open it, then search "CONFIG_EXTRA_SETTINGS", all default environments parameters are defined here, so paste them here. Let me see .
Then we modify default environment and continue to test !
Regards,
Weidong
Hi,
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"ethprime=FEC0\0" \
"uboot=u-boot.bin\0" \
"kernel=uImage\0" \
"nfsroot=/opt/eldk/arm\0" \
"bootargs_base=setenv bootargs console=ttymxc0,115200\0"\
"bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\
"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\
"bootcmd_net=run bootargs_base bootargs_nfs; " \
"tftpboot ${loadaddr} ${kernel}; bootm\0" \
"bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp " \
"root=/dev/mmcblk0p1 rootwait\0" \
"bootcmd_mmc=run bootargs_base bootargs_mmc; " \
"mmc dev 3; " \
"mmc read ${loadaddr} 0x800 0x2000; bootm\0" \
"bootcmd=run bootcmd_net\0" \
Hello,Vishvapathi
Please modify last sentence: bootcmd=run bootcmd_net .
Change it to "bootcmd=run bootcmd_mmc"
save and exit, and re-complie u-boot. continue to test !
Regards,
weidong
Hi,
Thanks for your help. But now i am getting kernal image error. I loaded the uImage as per the document.
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 | ||
Found PFUZE100! deviceid=10,revid=11 | ||
Net: got MAC address from IIM: 00:04:9f:02:6c:a6 | ||
FEC0 [PRIME] | ||
Hit any key to stop autoboot: 0 | ||
mmc3(part 0) is current device | ||
MMC read: dev # 3, block # 2048, count 8192 ... 8192 blocks read: OK | ||
Wrong Image Format for bootm command | ||
ERROR: can't get kernel image! |
MX6Q SABRESD U-Boot >
And i am not able to type anything on the command line...
still facing the kernel image problems after doing the env settings as per the document.
U-Boot 2009.08 (Jun 20 2013 - 15:29:29) | ||
CPU: Freescale i.MX6 family TO1.2 at 792 MHz | ||
Thermal sensor with ratio = 189 | ||
Temperature: 45 C, calibration data 0x5ac4de7d | ||
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 | ||
In: | serial | |
Out: serial | ||
Err: serial | ||
Found PFUZE100! deviceid=10,revid=11 | ||
Net: got MAC address from IIM: 00:04:9f:02:6c:a6 | ||
FEC0 [PRIME] | ||
Hit any key to stop autoboot: 0 | ||
mmc - MMC sub system | ||
Usage: | ||
mmc read addr blk# cnt | ||
mmc write addr blk# cnt | ||
mmc erase blk# cnt | ||
mmc rescan | ||
mmc part - lists available partition on current mmc device | ||
mmc dev [dev] [part] - show or set current mmc device [partition] | ||
mmc bootpart [dev] [part] - show or set boot partition | ||
mmc list - lists available devices | ||
MMC read: dev # 0, block # 2048, count 8192 ... Card did not respond to voltage!
MMC: block number 0x2800 exceeds max(0x0) | |
0 blocks read: ERROR | |
Wrong Image Format for bootm command | |
ERROR: can't get kernel image! | |
MX6Q SABRESD U-Boot > printenv | |
bootdelay=3 | |
baudrate=115200 | |
ipaddr=192.168.1.103 | |
serverip=192.168.1.101 | |
netmask=255.255.255.0 | |
rd_loadaddr=(0x1300000) | |
netdev=eth0 | |
ethprime=FEC0 | |
uboot=u-boot.bin | |
kernel=uImage | |
nfsroot=/opt/eldk/arm |
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverp
bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; boom
bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp root=/dev/mmcblk0p1 rootwait
ethact=FEC0 | |
bootfile=uImage | |
loadaddr=0x10800000 | |
bootargs_base=setenv bootargs console=ttymxc3,115200 |
bootcmd_mmc=run bootargs_base bootargs_mmc;mmc dev2;mmc read ${loadaddr} 0x800 m
bootcmd=run bootcmd_mmc | |
stdin=serial | |
stdout=serial | |
stderr=serial | |
bootargs=console=ttymxc3,115200 ip=dhcp root=/dev/mmcblk0p1 rootwait | |
Environment size: 785/8188 bytes
Hello,Vishvapathi,
It seems that u-boot didn't read linux kernel . please try to adjust environment:
u-boot > setenv bootargs_mmc 'run bootargs_base bootargs_mmc;mmc dev2;mmc read ${loadaddr} 0x800 0x2000;bootm'
u-boot > save
-----------------------------------------------
<note: please notice which eMMC port you are using mmc dev2 means uSDHC3 port. If errors still exist, you can modify dev number>
Regards,
Weidong
Hi Weidong,
If i modify dev no also getting same error.. below are the commands i issued to set env
setenv loadaddr 0x10800000
setenv bootargs_base 'setenv bootargs console=ttymxc3,115200'
setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw
setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev1;mmc read ${loadaddr} 0x800 0x2000;bootm'
setenv bootcmd 'run bootcmd_mmc'
saveenv
run bootcmd
for my mmcinfo command below is the response
mmcinfo
Card did not respond to voltage select!
Device: FSL_USDHC
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 0
Rd Block Len: 0
MMC version 0.0
Clock: 400000
High Capacity: No
Capacity: 0 Bytes
Bus Width: 1-bit
Current Partition for boot: Not bootable
i burned images to SD card as per the instruction in i.MX 6Dual/6Quad SABRE-AI Linux User's Guide
I am a newbie, plz correct me if i am wrong.
Thanks in advance
"bootcmd=run bootcmd_net\0" | \ |
the above line in code change _net replace with _mmc .
"bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp " | \ | "root=/dev/mmcblk0p1 rootwait\0" |
the above line change the ip=none.