Ok I got my new TMDSSK3358 EVMSK board and I'm trying to get up and going with development and I'm utterly failing. I've downloaded and installed LINUXEZSDK-AM335x SDK v07.00 and read through the quick start guides and the Sitara Linux Training "Hands on with the SDK" lab and so far I've been unable to get anything to work properly.
To start with the board did come up and run properly with the linux microSD card that was shipped with it.
Also if I run the SDK/bin/create_sdcard.sh script and have it load the pre-built images it mostly runs. I say mostly runs because the Matrix application runs and I can interact with it via the touch screen but the Ethernet ports will not work, they will not obtain an IP address via DHCP and even if I manually assign an IP address they will not communicate with any other IP address on the network. So I don't know what's wrong here.
I've also attempted to run the SDK/setup.sh script to setup for TFTP and NFS boot and failed.
The first problem I ran into appears to be the same issue described here http://e2e.ti.com/support/arm/sitara_arm/f/791/t/241286.aspx, i.e. apparently my Belkin N150 router is advertising it'self as a TFTP server, when it's not, and u-boot is taking it's word for it and overwriting the serverip variable that is set in uEnv.txt. To fix this I had to hand edit uEnv.txt to the following:
serverip=192.168.12.110
rootpath=/home/dev/ti-sdk-am335x-evm-07.00.00.00/targetNFS
bootfile=zImage-am335x-evm.bin
ip_method=dhcp
tftp_nfs_boot=run findfdt; setenv autoload no;dhcp; tftp ${loadaddr} 192.168.12.110:zImage-am335x-evm.bin; run findfdt; tftp ${fdtaddr} 192.168.12.110:${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}
uenvcmd=run tftp_nfs_boot
The next problem I ran into with NFS boot appeared to have to do with the u-boot.img and MLO files on the provided SD card not matching the kernel that the v07.00 SDK ships with. This was solved by running the SDK/bin/create-sdcard.sh script and having it re-partition and format the SD card and install the correct version of these files.
Finally the current problem I'm having with NFS boot is the kernel gets stuck during boot up trying to get a DHCP response. A couple of seconds after booting I see the following messages:
[ 3.806252] libphy: 4a101000.mdio:00 - Link is Up - 100/Full [ 3.845344] Sending DHCP requests ......[ 60.325733] PM: request_firmware failed timed out! [ 87.781228] IP-Config: Retrying forever (NFS root)... [ 87.786681] net eth0: initializing cpsw version 1.12 (0) [ 87.795398] net eth0: phy found : id is : 0x4dd074 [ 87.804892] 8021q: adding VLAN 0 to HW filter on device eth0 [ 87.811183] net eth1: initializing cpsw version 1.12 (0) [ 87.819902] net eth1: phy found : id is : 0x4dd074 [ 87.828465] 8021q: adding VLAN 0 to HW filter on device eth1 [ 89.796239] libphy: 4a101000.mdio:00 - Link is Up - 100/Full [ 89.825332] Sending DHCP requests ...... timed out! [ 165.901208] IP-Config: Retrying forever (NFS root)... [ 165.906659] net eth0: initializing cpsw version 1.12 (0) [ 165.915343] net eth0: phy found : id is : 0x4dd074 [ 165.924801] 8021q: adding VLAN 0 to HW filter on device eth0 [ 165.931088] net eth1: initializing cpsw version 1.12 (0) [ 165.939825] net eth1: phy found : id is : 0x4dd074 [ 165.948380] 8021q: adding VLAN 0 to HW filter on device eth1 [ 167.916229] libphy: 4a101000.mdio:00 - Link is Up - 100/Full [ 167.945332] Sending DHCP requests ...... timed out!
This sequence of messages just repeats itself over and over again, and it doesn't seem to matter which Ethernet port is plugged in or if I'm using my Belkin router or running a DHCP server on my development machine.
So what should I do?
Should I try dropping back to v06 or v05 of the SDK?
I should also say that I've tried to build the SDK and install that but I'm really confused here as to which files are biult and which files go where and which make targets do what, for instance:
For instance what does 'make install' do?
There is the targetNFS directory which I presume is for NFS boot what about non-NFS boot where do the final image files get placed?
Thanks in advance for any help that you can provide,
Matt S.