This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x network boot with TFTP issue

Hi All,

I working on my VAR-SOM-AM33 board that based on AM335x.

My host PC OS id Ubuntu 14.04 LTS.

I am trying to boot over Network with TFTP.

I made all the things that in the tutorials, wikis and all the bugs connected to it and i cant find solution.

I think the problem is that the Ethernet interface is not communicating.

I tryed with DHCP and with static IP also and it's didn’t work.

for example, i entered the commands blow:

U-boot# set bootargs 'console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.147.110:/export/rootfs,nolock rw ip=dhcp vram=5M'
U-boot# set bootcmd 'run netboot'
U-boot# set bootfile zImage-VAR-SOM-AM33-TESTING
U-boot# set fdtfile 'var-som-am33.dtb'
U-boot# set netargs 'setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp vram=50M'
U-boot#set rootpath '/home/oren/yocto_varsomam33/rootfs'
U-boot#set serverip '192.168.147.110'
U-boot#saveenv

U-boot# boot

 

and i get the results:

Booting from network ...
link up on port 0, speed 100, full duplex
link up on port 1, speed 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
.....

 

i tried also to ping like this:

U-boot# ping 192.168.147.136                                                    

link up on port 0, speed 100, full duplex                                      

link up on port 1, speed 100, full duplex                                      

*** ERROR: `ipaddr' not set                                                    

ping failed; host 192.168.147.136 is not alive                                  

U-Boot# setenv ipaddr 192.168.147.136                                          

U-Boot# ping 192.168.147.136                                                    

link up on port 0, speed 100, full duplex                                      

link up on port 1, speed 100, full duplex                                      

Using cpsw device                                                              

ping failed; host 192.168.147.136 is not alive      

 

It seems that nothing is going out or in from the Ethernet interface.

The DHCP server is working fine when i am on the board terminal, the board get an address from the server and i can ping the board from my host.

The problem with the ETH is only when i am on U-Boot terminal.
I am on this problem for 2 days without finding any answers.

Please Help.

Thanks a lot,

Oren