Hi All
I have a Logic PD AM1808 Experiment kit and the I have successfully rebuilt the u-boot and the ubl. kernel image and file system is on sdcard. The default settings of u-boot is to load the kernel from the sdcard. I wanted to learn how to modify this as later I will be working on a custom board with no sdcard.
I am getting help from this wiki:
http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot
I have successfully set up the tftpd-hpa server (atleast I think I did) using the wiki:
http://processors.wiki.ti.com/index.php/Setting_Up_a_TFTP_Server
Right now I am trying to load the kernel and file system directly to the SDRAM from tftp server
this is what I did after setting up the tftpd-hpa server
contents of my /etc/default/tftpd-hpa file are
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
RUN_DAEMON="yes"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
copied the uImage to /tftpboot (same which i placed in the sdcard)
copied the file system to /tftpboot (same which i placed in the sdcard)
name is "tisdk-rootfs-am180x-evm.tar.gz" and i did not extract it
next i used dhcp to set the ipaddr
U-Boot > dhcp
BOOTP broadcast 1
DHCP client bound to address 192.168.1.40
next i chkd my serveripaddress usin /sbin/ifconfig command and this is what i got
then i set the serverip from this result
U-Boot > setenv serverip 192.168.248.129
note: I am using vmware on windows 7 and its ip address is different from my windows
then I Set the name of the image to be downloaded:
U-Boot > setenv bootfile uImage
i set the ethaddr to 11:22:33:44:55:66
then i set bootargs using the command given in the guide (please tell me If i need to change things)
U-Boot> setenv bootargs mem=32M console=ttyS2,115200n8 root=/dev/ram0 rw initrd=0xc1180000,4M ip=dhcp eth=${ethaddr}
then the final command. only change i made in this was to give name to the <ram disk file name>
U-Boot> setenv bootcmd 'tftp 0xc0700000 uImage; tftp 0xc1180000 tisdk-rootfs-am180x-evm.tar.gz; bootm 0xc0700000'
then i used the command "saveenv"
Saving Environment to SPI Flash...
SF: Detected M25P64 with page size 256, total 8 MiB
Erasing SPI flash...Writing to SPI flash...done
after that I rebooted the device
and this is what is happening:
T ## Warning: gatewayip needed but not set
and the same thing repeats itself forever and ever
please help me out
i also should mention that i am new at all this so I might be making some stupid mistakes