What does U-Boot's "Unknown command 'boot i'" mean???

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

What does U-Boot's "Unknown command 'boot i'" mean???

Jump to solution
8,879 Views
sangjinhong
Contributor III

I uploaded L3.0.35_4.1.0_130816_images_MX6/u-boot-mx6q-sabresd.bin,

L3.0.35_4.1.0_130816_images_MX6/uImage

and L3.0.35_4.1.0_130816_images_MX6/rootfs.ext2.gz

to i.MX 6Dual/6Quad SABRE-SD board.

However U-Boot halted and The error message is "Unknown command 'boot i'"

I don't know why!!!

Please, help me!!!

Labels (2)
0 Kudos
1 Solution
4,614 Views
sangjinhong
Contributor III

I resolved the problem.

I changed u-boot parameter using

i.MX 6Dual/6Quad SABRE-SD Linux User's Guide / 9.2 Running the Image from MMC/SD



U-Boot > setenv loadaddr 0x10800000

U-Boot > setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'

U-Boot > setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/

mmcblk1p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,

1920x1080M@60,if=RGB24'

U-Boot > setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 2;mmc

read ${loadaddr} 0x800 0x2000;bootm'

U-Boot > setenv bootcmd 'run bootcmd_mmc'

U-Boot > saveenv

U-Boot > run bootcmd


View solution in original post

0 Kudos
12 Replies
4,614 Views
AnsonHuang
NXP Employee
NXP Employee

Can you paste your uboot command line setting? Just use "pri" command to get them.

0 Kudos
4,614 Views
sangjinhong
Contributor III

I captured the message of boot sequence and printenv.

Thanks.

===================================

U-Boot 2009.08 (Jan 08 2014 - 14:18:26)

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Thermal sensor with ratio = 187

Temperature:   32 C, calibration data 0x5a25077d

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:af:9a

FEC0 [PRIME]

Hit any key to stop autoboot:  3     2     1     0

Unknown command 'booti' - try 'help'

MX6Q SABRESD U-Boot > printenv

bootdelay=3

baudrate=115200

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=0x11000000

netdev=eth0

ethprime=FEC0

fastboot_dev=mmc3

splashimage=0x30000000

splashpos=m,m

lvds_num=1

ethact=FEC0

bootcmd=booti mmc2

stdin=serial

stdout=serial

stderr=serial

Environment size: 301/8188 bytes

MX6Q SABRESD U-Boot >

0 Kudos
4,614 Views
AnsonHuang
NXP Employee
NXP Employee

“bootcmd=booti mmc2”


This is wrong, uboot try to run bootcmd, it is "booti mmc2", there is no booti command. Try "destroyenv" and reset to use default setting.

4,614 Views
sangjinhong
Contributor III

Thanks.

But Why is there booti???

0 Kudos
4,614 Views
sangjinhong
Contributor III

I have a different error, and the error message is the following:

The following is the message of error and printenv cmd.

===============================================

U-Boot 2009.08 (Aug 16 2013 - 12:04:20)

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Thermal sensor with ratio = 187

Temperature:   35 C, calibration data 0x5a25077d

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:af:9a

FEC0 [PRIME]

Hit any key to stop autoboot:  3     2     1     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 > printenv

bootdelay=3

baudrate=115200

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=(0x1300000)

netdev=eth0

ethprime=FEC0

uboot=u-boot.bin

kernel=uImage

nfsroot=/opt/eldk/arm

bootargs_base=setenv bootargs console=ttymxc0,115200

bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm

bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp root=/dev/mmcblk0p1 rootwait

bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2000; bootm

ethact=FEC0

bootcmd=run bootcmd_mmc

stdin=serial

stdout=serial

stderr=serial

bootargs=console=ttymxc0,115200 ip=dhcp root=/dev/mmcblk0p1 rootwait

Environment size: 773/8188 bytes

MX6Q SABRESD U-Boot >

0 Kudos
4,614 Views
sangjinhong
Contributor III

I don't know why there is error like the following!!!

MMC read: dev # 3, block # 2048, count 8192 ... 8192 blocks read: OK

Wrong Image Format for bootm command

ERROR: can't get kernel image!

I'm now following "i.MX 6Dual/6Quad SABRE-SD Linux User's Guide"

and I used the L3.0.35_4.1.0_130816_images_MX6.tar.


I don't understand why I had this problem !!!

0 Kudos
4,614 Views
sangjinhong
Contributor III

I made SD card like the following sequence:

======================================================

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

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

$ sudo fdisk /dev/sdb

u<enter>

d<enter>

n<enter>

p<enter>

1<enter>

16384<enter>

w<enter>

$ sudo mkfs.ext3 /dev/sdb1

$ mkdir /home/user/mountpoint

$ sudo mount /dev/sdb1 /home/user/mountpoint

$ gunzip rootfs.ext2.gz

$ sudo mount -o loop -t ext2 rootfs.ext2 /home/user/rootfs

$ cd /home/user/rootfs

$ sudo cp -a * /home/user/mountpoint

$ sudo umount /home/user/mountpoint

0 Kudos
4,614 Views
sangjinhong
Contributor III

"i.MX 6Dual/6Quad SABRE-SD Linux User's Guide" document assumed that SD/MMC card is 4 GB,

but I used 8GB SD Card.


Is that problem???

0 Kudos
4,615 Views
sangjinhong
Contributor III

I resolved the problem.

I changed u-boot parameter using

i.MX 6Dual/6Quad SABRE-SD Linux User's Guide / 9.2 Running the Image from MMC/SD



U-Boot > setenv loadaddr 0x10800000

U-Boot > setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'

U-Boot > setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/

mmcblk1p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,

1920x1080M@60,if=RGB24'

U-Boot > setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 2;mmc

read ${loadaddr} 0x800 0x2000;bootm'

U-Boot > setenv bootcmd 'run bootcmd_mmc'

U-Boot > saveenv

U-Boot > run bootcmd


0 Kudos
4,614 Views
AnsonHuang
NXP Employee
NXP Employee

Do you have a kernel uImage in your MMC?!

The error message means there is no valid image.

Best Regards.

Anson huang 黄勇才

Freescale Semiconductor Shanghai

上海浦东新区亮景路192号A座2楼

201203

Tel:021-28937058

0 Kudos
4,614 Views
sangjinhong
Contributor III

I followed the "i.MX 6Dual/6Quad SABRE-SD Linux User's Guide" document.

Check the following my answer.

0 Kudos
4,614 Views
AnsonHuang
NXP Employee
NXP Employee

I don't know, not sure who change it, the default setting should be not booti....

0 Kudos