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.

AM4379: EMAC boot issue

Part Number: AM4379

I am using an AM4379 on an AM437x-IDK-EVM to boot over the network interface, ETH0. The configuration pins on the AM4379 have been modified (using the 0ohm resisters on the board.) for the following configuration.

The AM437x-IDK-EVM board is connected to a network interface with bootp server (Ubuntu host) that has dhcpd and tftp sever started. The dhcp conf file is shown below:

When the AM327X-IDK-EVM is powered on it makes a bootp request and the bootp server responds but the AM437x-IDK-EVM does request the u-boot-spl.bin file from the tftp server? 

I have the WireShark capture of the two packets highlighted above, but I do not seem be able to attach it to this message?

I have used this Ubuntu server to boot another AM437x-IDK-EVM and it worked as expected, this EVM however appears to be interfacing/booting from the server differently? 

Is there a field in the Boot Reply that I may be missing that is not allowing this device to boot? (for example another Next Server type field or a Tftp server field?)

Thanks in advance,

Rob

  • Hello Rob,

    I am wondering if you could please refer to our guide on the following TI page.

    Regards,

    Krunal

  • Krunal,

    Thanks for your response.  I have reviewed that page previously and have successfully setup my Ubuntu host to boot an AM437x-IDK-EVM configured for Netboot. However; that "working" AM437x-IDK-EVM was replaced with another AM437x-IDK-EVM that is not working.  All the data provided above in this issue is the bootp instance with the second AM437x-IDK-EVM.

    Regards,
    Rob

  • Hello Rob,

    Could you please share the pcap file of your packet transactions? I am not able to understand packet number 5 because the source name should be "TexasIns_xx" but I do not know who is "PcsCompu_xx". On a test setup, the packet looks like the following:
    "3 0.039959848 TexasIns_xx:yy:zz Broadcast ARP 64 Who has <PC_IP?? Tell <Board_IP>"

    Regards,
    Krunal

  • Krunal,


    Thanks for taking the time to consider my issue.  I have been out of the office and delayed responses.

    Attaching the PCAP appears to not be allowed? Can I send to you using another method?

    Regards,
    Rob

  • bootpcapture_AM43xx_IDK-EVM.pcapng.txt
    
    
    �M<+��������7Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (with SSE4.2)Linux 4.15.0-50-genericHDumpcap (Wireshark) 2.6.8 (Git v2.6.8 packaged as 2.6.8-1~ubuntu16.04.0)�Henp0s3		Linux 4.15.0-50-genericH��o�NsԖ�����������'E�@xf����DCty����'c�Sc<AM43xx ROM v1.2=Q��x�o��{�VV�}]B�'��UEH��	��	��2CD4�x��2��	�}]B�192.168.1.9u-boot-spl.binc�Sc����x|�o��u3\\������'��UEN=�@@x���	����Z�:��E� FHEPFCELEHFCEPFFFACACACACACACABN ||�o���,o\\������'��UEN=�@@x~��	������:��� FHEPFCELEHFCEPFFFACACACACACACABL |L�o���**������'��U'��U��	LL�o���P�**������'��U'��U��	L��o�d6���^��H�N&��E�ok�0��
    �����1l��cM-SEARCH * HTTP/1.1
    Host: 239.255.255.250:1900
    ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
    Man: "ssdp:discover"
    MX: 3
    
    �L�o��G$**������'��U'��U��	L��o����ѳ�^��H�N&��E�ol�/��
    �����1l��cM-SEARCH * HTTP/1.1
    Host: 239.255.255.250:1900
    ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
    Man: "ssdp:discover"
    MX: 3
    
    �L�o��mf�**������'��U'��U��	LL�o��˳**������'��U'��U��	LL�o���O**������'��U'��U��	L��o�)�h���^��H�N&��E�om�.��
    �����1l��cM-SEARCH * HTTP/1.1
    Host: 239.255.255.250:1900
    ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
    Man: "ssdp:discover"
    MX: 3
    
    �l��5J�Counters provided by dumpcap��q,��35J�
    l

    Here is the PCAP, I think I figured out how to upload it.

    Regards,
    Rob

  • Rob,

    Thanks. Looking at the PCAP file, the Boot Reply is being sent to a different MAC address than the one that sent the Boot Request. I assume the new board is doing the request and somehow the reply from your PC is being sent to the old board. I don't really understand this, but that is what I see and that would explain why the new board is not trying to proceed as it never sees the reply. 

    Have you tried restarting your DHCP/BOOTP server? Should be something like:

    sudo service isc-dhcp-server restart

    I hope this helps.

  • Thanks for the response.  

    It did not occur to me to look at that. But you are correct.  Somehow the server had a stick lease with a specific MAC attached to it.

    I had to erase the leases by removing the lease file using the following steps:

    > sudo service isc-dhcp-server stop

    > sudo rm /var/lib/dhcp/dhcpd.leases

    > sudo service isc-dhcp-server start

    Thanks for your help again,

    Regards,
    Rob