AnsweredAssumed Answered

Error: can't get kernel image

Question asked by Yusuf Altıparmak on Nov 5, 2019
Latest reply on Nov 5, 2019 by vinothkumar s

Hello nxp community, I accidently tried to write NAND flash u-boot.bin file to Nor flash alternate bank area which is 0xEBF40000 in my T1042D4RDB-64b board.

Then I rewrote NOR flash u-boot.bin to 0xEBF4000. U-boot is working but kernel image is not loading. I tried to rewrite kernel uImage but it did not work.

 

Prompt message is::

 

WARNING: adjusting available memory to 30000000                                                                    
Wrong Image Format for bootm command                                                                               
ERROR: can't get kernel image!

 

printenv prompt message is::

 

baudrate=115200
bdev=sda3
bootargs=root=/dev/nfs rw nfsroot=192.168.10.50:/home/hwlab/Desktop/nfshare ip=192.168.10.99:192.168.10.50:192.1680
bootcmd=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;bootm e8020000 e9300000 e880000
bootdelay=3
bootfile=uImage
c=ffe

consoledev=ttyS0
eth1addr=00:04:9F:05:B7:7F
eth2addr=00:04:9F:05:B7:80
eth3addr=00:04:9F:05:B7:81
eth4addr=00:04:9F:05:B7:82
eth5addr=00:04:9f:8e:7b:b4
ethact=FM1@DTSEC1
ethaddr=00:04:9F:05:B7:7E
ethprime=e1000#0
fdtaddr=2000000
fdtfile=uImage-t1042d4rdb.dtb
fileaddr=2000000
filesize=9a83
fman_ucode=eff00000
gatewayip=192.168.10.4
hvboot=setenv bootargs console=$consoledev,$baudrate config-addr=0xfe8900000;bootm 0xfe8700000 - 0xfe8800000
hwconfig=fsl_ddr:bank_intlv=cs0_cs1
ipaddr=192.168.10.99

loadaddr=1000000                                                                                                   
netdev=FM1@DTSEC4                                                                                                  
netmask=255.255.255.0                                                                                              
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hosr
nohvboot=tftp 1000000 $dir/$bootfile;tftp 5000000 $dir/$ramdiskfile;tftp 2000000 $dir/$fdtfile;setenv bootargs roo;
othbootargs=ramdisk_size=1000000                                                                                   
ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfiler
ramdiskaddr=5000000                                                                                                
ramdiskfile=fsl-image-core-t1042d4rdb.ext2.gz.u-boot                                                               
rootpath=/opt/nfsroot                                                                                              
serverip=192.168.10.50                                                                                             
tftpflash=tftpboot $loadaddr $uboot && protect off $ubootaddr +$filesize && erase $ubootaddr +$filesize && cp.b $le
uImage_addr=0xEE020000                                                                                             
uboot=u-boot.bin                                                                                                   
ubootaddr=0xeff40000 

 

Any idea ?

Outcomes