TFTP-NFS mounting

13 views
Skip to first unread message

jennifer Dsilva

unread,
Nov 17, 2020, 1:32:31 AM11/17/20
to BeagleBoard

Hi Sir,

Wrong Image Format for bootm command ERROR: can't get kernel image!

This is my uEnv.txt:

console=ttyO0,115200n8

ipaddr=192.168.27.2

serverip=192.168.27.1

absolutepath=/var/lib/tftpboot/

rootpath=/srv/nfs/bbb,nfsvers=3,tcp ip=dhcp,nolock,wsize=1024,rsize=1024 rootwait rootdelay=5

loadtftp=echo Booting from network ...;tftpboot 0x82000000 uImage; tftpboot 0x88000000 am335x-boneblack.dtb

netargs=setenv bootargs console=${console} root=/dev/nfs rw rootfstype=nfs ip=${ipaddr} nfsroot=${serverip}:${rootpath}

uenvcmd=setenv autoload no; setenv ipaddr 192.168.27.2; setenv serverip 192.168.27.1; run loadtftp; run netargs; bootm 0x82000000 - 0x88000000

After loading the uImage and dtb file and then booting the image using bootm command it is giving the error Wrong Image Format for bootm command

When i try to do it manually using bootm command on the uboot prompt it loads but when in the uEnv.txt it shows this error.

Kindly need help

Regards,

Jennifer

Reply all
Reply to author
Forward
0 new messages