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.

DM8148 EVM Emac boot

Hi,

I am exploring DM8148 evm board. I have tried all the boot mode and all are working well except EMAC boot.

EVM is not able to boot from Ethernet. I have followed http://processors.wiki.ti.com/index.php/TI81XX_PSP_EMAC_Boot guide. But I didn't get enough information to make it working.

Can anyone give me any other user manual for EMAC boot or any useful information ?

Thanks in advanced,

Shabbir Limdiwala

  • Hello,

    Yes, this is the guide. Make sure that every step is followed.

    In order to troubleshoot your EMAC boot: check do you have ping and also verify your tftp and nfs server from another host PC to exclude that the problem is there.

    BR

    Vladimir

  • Hello Vladimir,

    I have followed all steps mentioned in EMAC Boot user guide.

    Now, DHCP and TFTP server is running on my machine.Here I have few questions regarding the same,

    1. I have connected Ethernet cable to J14 Ethernet port of the EVM board and then I set switch setting to 10b [8:0]  RGMII mode. is this correct ?

    2. Is ROM code is going to get ip address from my machine's dhcp server ?

    3.. will EMAC boot work when i connect my EVM board to my machine (which has dhcp server running) through Ethernet cable mentioned at question 1 ?

    Please help me to clear my doubts.

    Thanks in advance,

    Shabbir Limdiwala

  • Hello,

    1. Not sure about this one. It is not explained in the guide.

    2. Yes.

    3. How do you connect the EVM to the Host PC? If you not using a switch you should connect via crossover Ethernet cable.

    Check this guide also. You need host PC tool like that one in order to provide the BOOTP.

    http://processors.wiki.ti.com/index.php?title=DM816x_AM389x_EMAC_Boot

    Please, check do you have ping and also verify your dhcp, tftp and nfs server from another host PC to exclude that the problem is there. Thank you.

    BR

    Vladimir

  • Hi Vladimir,

    1. I am sorry by mistake I have mentioned wrong switch setting. It's BTM [9:1] 100000111 (i.e [9:8] 10b for ROM Phy Mode selection).

    3. Yes I am using crossover Ethernet cable only. Here TFTP and DHCP server is running on my windows XP machine. I have back to back crossover connection between XP machine and my EVM board. I have verified both the server from the u-boot console of my EVM board by firing dhcp command and it's working correctly. It is able to collect IP address from the DHCP server. So I am sure there is no issue with the machine running DHCP and TFTP server.

    The guide you mentioned here is for DM816x. I need for DM814x.  But its ok. It doesn't make much difference. I have same tool on winXP machine running both the server.

    Is there something missing ? I am still not able to boot through the above switch setting.

    Shabbir

  • Hi Shabbir,

    According to the u-boot document placed in <EZSDK_HOME>/board-support/docs/ your SW1 for EMAC boot has to be:

    BTM 0:          0

    BTM 1:          0

    BTM 2:          1

    BTM 3:          0

    BTM 4:          0

    Did you validate your dhcp, tftp and nfs servers from another host PC?

    BR

    Vladimir

  • Hi Vladimir,

    According http://processors.wiki.ti.com/index.php/TI81XX_PSP_EMAC_Boot I have tried with all switch settings including your above mentioned switch setting. But It's still not happening.

    Yes I have verified DHCP and TFTP server from Ubuntu12.04 machine and it's working. I don't need NFS right now. 

    One more thing I want to tell you is, I have read in some other post that EMAC boot will not work at 1 Gbps link. It is working on 100Mbps.  So I have connected my host PC and EVM board to 100Mbps switch with same switch setting as above but still I don't see any dhcp request on the network which I can observe through wireshark.

    Thanks,

    Shabbir

  • It is difficult to say what is wrong on your side. But I guess you can perform the following experiment to exclude some possibilities.

    Load u-boot (e.g. from the SD card). Are you able now to obtain IP from the DHCP? Do you have ping? Can you perform tftp? If these are not OK, we have to search the problem in the board's networking.

    BR

    Vladimir

  • Hi Vladimir,

    "SOLVED". Now I am able to boot from Ethernet.

    The real issue was with a switch setting. According http://processors.wiki.ti.com/index.php/TI81XX_PSP_EMAC_Boot there is a bit mistake in mentioning switch setting.

    It says SW1---> BTM[4:0] 00100 or 00111 and ROM Phy Mode selection SW9---> BTM[9:8]. But instead of SW9 it should be SW13.

    Here SW9 is single button reset switch. So I thought it should be SW1 only. As I am not really good at reading schematics so my colleague find this and told me that BTM[9:6] is mapped with SW13. And that's it now I am able to boot from Ethernet.

    Here in this case, one can't really boot from Ethernet without reading schematic.

    Anyways, Thanks Vladimir for your time and full support.

    Thanks,

    Shabbir Limdiwala

  • Shabbir,

    This is very good. Thank you very much for the feedback.

    BR

    Vladimir