Hi,
I am using Linux 4.4.62 kernel and u-boot-2017.05-rc2 source code.
I am trying to do TFTP boot with nfs mounting.My U-boot commands executing
the TFTP boot logs properly.But when i am trying to boot from uEnv.txt
below i am getting this logs..
ubuntu@ubuntu-MS-7A15:~$ sudo minicom
[sudo] password for ubuntu:
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB0, 09:19:44
Press CTRL-A Z for help on special keys
U-Boot SPL 2017.05-rc2 (Aug 30 2019 - 11:30:01)
Trying to boot from MMC1
*** Warning - bad CRC, using default environment
reading u-boot.img
reading u-boot.img
U-Boot 2017.05-rc2 (Aug 30 2019 - 11:30:01 +0530)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
473 bytes read in 4 ms (115.2 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
" (type: i)lags type check failure for "ipaddr" <= "192.168.7.3
" into hash tableinsert "ipaddr=192.168.7.3
" (type: i)lags type check failure for "serverip" <= "192.168.7.4
" into hash tableinsert "serverip=192.168.7.4
Running uenvcmd ...
Booting from network ...
link up on port 0, speed 100, full duplex
*** ERROR: `serverip' not set
link up on port 0, speed 100, full duplex
*** ERROR: `serverip' not set
Wrong Image Format for bootm command
ERROR: can't get kernel image!
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** File not found /boot/zImage **
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
** Invalid partition 2 **
## Error: "bootcmd_nand0" not defined
starting USB...
USB0: Port not available.
link up on port 0, speed 100, full duplex
BOOTP broadcast 1
data abort
pc : [<9ff8742e>] lr : [<00001c40>]
reloc pc : [<8083542e>] lr : [<e08afc40>]
sp : 9df318e0 ip : 00000000 fp : 9ffece48
r10: 9ffec990 r9 : 9df31ed8 r8 : 0000000e
r7 : 9ffeecd4 r6 : 9ffeecdc r5 : 00000000 r4 : 9ffece8e
r3 : 00060101 r2 : 00000008 r1 : 9ffece4e r0 : 0000000e
Flags: nzCv IRQs off FIQs on Mode SVC_32
Resetting CPU ...
resetting ...
Kindly help.
Thank you.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/16f6c8f9-5e4c-45b6-b384-659158ccfc27%40googlegroups.com.
console=ttyO0,115200n8
ipaddr=192.168.7.3
serverip=192.168.7.4
absolutepath=/var/lib/tftpboot/
rootpath=/srv/nfs/bbb,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
nfsroot=${serverip}:${rootpath}
uenvcmd=setenv autoload no; run loadtftp; run netargs; bootm ${loadaddr} -
${fdtaddr}