Hello,
I am trying boot the am355x-evm board using TFTP & NFS but i am not able to get the proper processor or might i am missing something in that processor so please help me out of the issue. and The below processor I am following please find that.
NETWORK BOOTING
===============================================================================================================================================
TFTP
-----------------------------------------------------------------------------------------------------------------------------------------------
step1)sudo apt-get install tftpd
step2)create a folder called tftp
step3)Make a file in /etc/xinit.d/tftp
copy the below contents
----------------------------------------------------------------------------------------------------------------------------------------------
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /home/chethan/tftp (This is my zImage file where i created path)
# disable = yes
per_source = 11
cps = 100 2
}
----------------------------------------------------------------------------------------------------------------------------------------------
NOTE:- change the path of server_args to the tftp folder created above
step4)copy the uImage in the tftp folder created.
step5)sudo service xinetd restart
==============================================================================================================================================
NFS
----------------------------------------------------------------------------------------------------------------------------------------------
step1)sudo apt-get install nfs-kernel-server
step2)create a folder as rootfs
step3)copy your rootfs in this rootfs folder
step4)Go to /etc/exports
step5)copy the content below
----------------------------------------------------------------------------------------------------------------------------------------------
/home/chethan/rootfs 192.168.0.50/255.255.255.0(rw,no_root_squash,no_all_squash,sync,no_subtree_check)
my path
----------------------------------------------------------------------------------------------------------------------------------------------
NOTE:-change the path /home/dell.... to your rootfs and change the ip to your board ip
step6)sudo service nfs-kernel-server restart
===============================================================================================================================================
copy MLO and u-boot.img in the first partition of your sd-card, stop in uboot and run the below commands in your development board
setenv ipaddr 192.168.0.50 (MY am335x-evm Board IP address)
setenv serverip 192.168.0.22 (MY PC/LAPTOP IP address)
tftpboot 0x80007FC0 zImage (AFTER THIS I AM GETTING ERROR MESSAGE LIKE THIS IN THE BELOW )
setenv bootargs console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=192.168.0.22:/home/chethan/rootfs ip=192.168.0.22:::::eth0
bootm 0x80007FC0
setenv bootargs 'console=ttyO0,115200n8 noinitrd rw root=/dev/nfs nfsroot=192.168.0.22:/home/chethan/tftp,nolock ip=dhcp
====================================================================================================
ERROE MESSAGE
U-Boot 2016.05-g340c262b4b (Dec 28 2017 - 20:06:10 +0530)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
Watchdog enabled
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
** Unable to read "uboot.env" from mmc0:1 **
Using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: Could not get PHY for ethernet@4a100000: addr 0
eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in SROM is de:ad:be:ef:00:01
Address in environment is 04:a3:16:f9:77:03
, eth1: usb_ether
Press SPACE to abort autoboot in 2 seconds
=> setenv ipaddr 192.168.0.50
=> setenv serverip 192.168.0.22
=> tftpboot 0x80007FC0 uImage
Using ethernet@4a100000 device
TFTP from server 192.168.0.22; our IP address is 192.168.0.50
Filename 'uImage'.
Load address: 0x80007fc0
Loading: *
Abort
=> setenv ipaddr 192.168.0.50
=> setenv serverip 192.168.0.22
=> tftpboot 0x80007FC0 zImage
Using ethernet@4a100000 device
TFTP from server 192.168.0.22; our IP address is 192.168.0.50
Filename 'zImage'.
Load address: 0x80007fc0
Loading: *
ARP Retry count exceeded; starting again
=>