reboot and stuck in uboot on ls1028

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

reboot and stuck in uboot on ls1028

跳至解决方案
2,300 次查看
Eddy1
Contributor V

Hi:

When rebooting from the SD card, it is found that it will be stuck in the uboot stage (lsdk2012). Couls you give some suggestions?

Cannot autoload with TFTPGET
BOOTP broadcast 1
DHCP client bound to address 192.168.2.107 (4 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
Trying load from SD ...
switch to partitions #0, OK
mmc0 is current device
Device: FSL_SDHC
Manufacturer ID: 12
OEM: 3456
Name: SDBus Speed: 21666666
Mode: MMC legacy
Rd Block Len: 512
SD version 1.0
High Capacity: Yes
Capacity: 14.6 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 32768, count 81920 ... 0 blocks read: ERROR
## Loading kernel from FIT Image at a0000000 ...
Bad FIT kernel image format!
ERROR: can't get kernel image!

0 项奖励
回复
1 解答
2,288 次查看
gfine1
Contributor III

This is indicating the compiled kernel is not executable.

This may be caused by several reasons but the most common is the copy to the SD is incorrect or  the formatting of the SD is incorrect.

From previous experiences I think the SD has to be formatted as

1 GB - FAT or VFAT ( and this is where the kernel and it's companion dtb file are copied to)

2 GB - EXT2 (Root File System is copied here)

Also can you post your bootcmd?

Mine for a ls1043ardb looks like:

=> setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5 console=ttyS0,115200;mmcinfo;ext2load mmc 0:2 0xa0000000 /boot/Image;ext2load mmc 0:2 0xb0000000 /boot/fsl-ls1043a-rdb-sdk.dtb;booti 0xa0000000 - 0xb0000000'

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,280 次查看
bpe
NXP Employee
NXP Employee

NXP Technical Support is following you in the thread you created earlier. Please avoid posting duplicates

Best Regards,
Platon

 

 

0 项奖励
回复
2,289 次查看
gfine1
Contributor III

This is indicating the compiled kernel is not executable.

This may be caused by several reasons but the most common is the copy to the SD is incorrect or  the formatting of the SD is incorrect.

From previous experiences I think the SD has to be formatted as

1 GB - FAT or VFAT ( and this is where the kernel and it's companion dtb file are copied to)

2 GB - EXT2 (Root File System is copied here)

Also can you post your bootcmd?

Mine for a ls1043ardb looks like:

=> setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5 console=ttyS0,115200;mmcinfo;ext2load mmc 0:2 0xa0000000 /boot/Image;ext2load mmc 0:2 0xb0000000 /boot/fsl-ls1043a-rdb-sdk.dtb;booti 0xa0000000 - 0xb0000000'

0 项奖励
回复