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!
已解决! 转到解答。
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'
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'