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.

AM3874 EMAC boot

Other Parts Discussed in Thread: AM3874

Hi,

My customer is developing AM3874 system now.

Our customer is trying to boot up by EMAC boot. But customer's system does not execute the boot process . The symptom is the following.

AM3874 sends BOOTP request to host PC.

Host PC replys BOOTP to AM3874.

AM3874 sends BOOTP request to host PC again, not FTP request.

I attahced boot log and AM3874 received data list. Please see them.

No.     Time           Source                Destination           Protocol Length Info
     19 182.526801000  0.0.0.0               255.255.255.255       BOOTP    406    Boot Request from 84:7e:40:27:c4:1a (TexasIns_27:c4:1a)

Frame 19: 406 bytes on wire (3248 bits), 406 bytes captured (3248 bits) on interface 0
Ethernet II, Src: TexasIns_27:c4:1a (84:7e:40:27:c4:1a), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Internet Protocol Version 4, Src: 0.0.0.0 (0.0.0.0), Dst: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
    Source port: bootpc (68)
    Destination port: bootps (67)
    Length: 372
    Checksum: 0x6c3f [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
Bootstrap Protocol
    Message type: Boot Request (1)
    Hardware type: Ethernet
    Hardware address length: 6
    Hops: 0
    Transaction ID: 0x00000001
    Seconds elapsed: 0
    Bootp flags: 0x0000 (Unicast)
        0... .... .... .... = Broadcast flag: Unicast
        .000 0000 0000 0000 = Reserved flags: 0x0000
    Client IP address: 0.0.0.0 (0.0.0.0)
    Your (client) IP address: 0.0.0.0 (0.0.0.0)
    Next server IP address: 0.0.0.0 (0.0.0.0)
    Relay agent IP address: 0.0.0.0 (0.0.0.0)
    Client MAC address: TexasIns_27:c4:1a (84:7e:40:27:c4:1a)
    Client hardware address padding: 00000000000000000000
    Server host name not given
    Boot file name not given
    Magic cookie: DHCP
    Option: (60) Vendor class identifier
        Length: 15
        Vendor class identifier: DM814x ROM v1.0
    Option: (61) Client identifier
        Length: 81
    Option: (255) End
        Option End: 255
    Padding

No.     Time           Source                Destination           Protocol Length Info
     20 182.593990000  190.0.33.142          255.255.255.255       BOOTP    406    Boot Reply

Frame 20: 406 bytes on wire (3248 bits), 406 bytes captured (3248 bits) on interface 0
Ethernet II, Src: Giga-Byt_3f:0f:c7 (00:1f:d0:3f:0f:c7), Dst: TexasIns_27:c4:1a (84:7e:40:27:c4:1a)
Internet Protocol Version 4, Src: 190.0.33.142 (190.0.33.142), Dst: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
    Source port: bootps (67)
    Destination port: bootpc (68)
    Length: 372
    Checksum: 0x6c3f [validation disabled]
        [Good Checksum: False]
        [Bad Checksum: False]
Bootstrap Protocol
    Message type: Boot Reply (2)
    Hardware type: Ethernet
    Hardware address length: 6
    Hops: 0
    Transaction ID: 0x00000001
    Seconds elapsed: 0
    Bootp flags: 0x0000 (Unicast)
        0... .... .... .... = Broadcast flag: Unicast
        .000 0000 0000 0000 = Reserved flags: 0x0000
    Client IP address: 0.0.0.0 (0.0.0.0)
    Your (client) IP address: 190.0.253.252 (190.0.253.252)
    Next server IP address: 190.0.33.142 (190.0.33.142)
    Relay agent IP address: 190.0.255.255 (190.0.255.255)
    Client MAC address: TexasIns_27:c4:1a (84:7e:40:27:c4:1a)
    Client hardware address padding: 00000000000000000000
    Server host name: 190.0.33.142
    Boot file name: boot.bin
    Magic cookie: DHCP
    Option: (1) Subnet Mask
        Length: 4
        Subnet Mask: 255.255.0.0 (255.255.0.0)
    Option: (255) End
        Option End: 255
    Padding

Descriptors
R;0x4a102000|00000000 4031eabc 000005ee 200005ee 
R;0x4a102010|00000000 4031e4aa 00000196 d0000196 

Transmit data
R;0x4031e4a0|                              ff ff ff ff ff ff |          ������
R;0x4031e4b0|84 7e 40 27 c4 14 08 00 45 00 01 88 01 00 00 00 |�~@'�...E..�E...
R;0x4031e4c0|40 11 78 66 00 00 00 00 ff ff ff ff 00 44 00 43 |@.xf....����.D.C
R;0x4031e4d0|01 74 6c 45 01 01 06 00 00 00 00 01 00 00 00 00 |.tlE............
R;0x4031e4e0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e4f0|84 7e 40 27 c4 14 00 00 00 00 00 00 00 00 00 00 |�~@'�...........
R;0x4031e500|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e510|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e520|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e530|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e540|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e550|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e560|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e570|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e580|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e590|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e5a0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e5b0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e5c0|63 82 53 63 3c 0f 44 4d 38 31 34 78 20 52 4f 4d |c�Sc<.DM814x ROM
R;0x4031e5d0|20 76 31 2e 30 3d 51 05 01 05 01 81 40 07 02 13 | v1.0=Q....�@...
R;0x4031e5e0|02 01 00 12 15 01 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e5f0|00 00 00 00 00 00 00 00 00 00 14 21 01 00 00 00 |...........!....
R;0x4031e600|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e610|00 00 00 00 00 00 00 00 00 00 00 00 00 15 09 01 |................
R;0x4031e620|d3 d3 cd 4b 00 00 00 00 ff 00 00 00 00 00 00 00 |���K....�.......
R;0x4031e630|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e640|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e650|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e660|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e670|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e680|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e690|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031e6a0|00 00 00 00 00 00 00 00 00 00                   |..........      

Receive data
R;0x4031eab0|                                    84 7e 40 27 |            �~@'
R;0x4031eac0|c4 14 18 03 73 50 bc d6 08 00 45 00 01 88 00 01 |�...sP��..E..�E.
R;0x4031ead0|00 00 ff 11 f8 b0 c0 a8 01 0b ff ff ff ff 00 43 |..�.����..����.C
R;0x4031eae0|00 44 01 74 6c 3f 02 01 06 00 00 00 00 01 00 00 |.D.tl?..........
R;0x4031eaf0|00 00 00 00 00 00 c0 a8 01 fc c0 a8 01 0b c0 a8 |......��.�E�..��
R;0x4031eb00|ff ff 84 7e 40 27 c4 14 00 00 00 00 00 00 00 00 |���~@'�.........
R;0x4031eb10|00 00 31 39 32 2e 31 36 38 2e 31 2e 31 31 00 00 |..192.168.1.11..
R;0x4031eb20|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eb30|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eb40|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eb50|00 00 62 6f 6f 74 2e 62 69 6e 00 00 00 00 00 00 |..boot.bin......
R;0x4031eb60|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eb70|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eb80|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eb90|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eba0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ebb0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ebc0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ebd0|00 00 63 82 53 63 01 04 ff ff 00 00 ff 78 20 52 |..c�Sc..��..�x R
R;0x4031ebe0|4f 4d 20 76 31 2e 30 3d 51 05 01 05 01 81 40 07 |OM v1.0=Q....�@.
R;0x4031ebf0|02 13 02 01 00 12 15 01 00 00 00 00 00 00 00 00 |................
R;0x4031ec00|00 00 00 00 00 00 00 00 00 00 00 00 14 21 01 00 |.............!..
R;0x4031ec10|00 00 01 04 ff ff 00 00 ff 00 00 00 00 00 00 00 |....��..�.......
R;0x4031ec20|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff |...............�
R;0x4031ec30|09 01 d3 d3 cd 4b 00 00 00 00 ff 00 00 00 00 00 |..���K....�.....
R;0x4031ec40|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ec50|00 00 dc 0b de 7e 00 00 00 00 00 00 00 00 00 00 |..�.�~..........
R;0x4031ec60|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ec70|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ec80|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ec90|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031eca0|00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................
R;0x4031ecb0|00 00 00 00 00 00 00 00 00 00 00 00             |............    

Customer confirmed that AM3874 receives BOOTP reply from host PC in EMACMEM.txt. But Boot process does not forward to the FTP request. AM3874 repeats BOOTP request to host PC. Why?

Please let me know the cause of this symptom.

Quick reply is very helpful.

Best regards,

Michi

  • Hi Michi,
     
    From AM3874 TRM, section 4.8.4.2 it seems that the BOOTP reply is not understood by the AM3874. Please tell your customer to check carefully if all the required data (per TRM section 4.8.4.2) is transmitted from the Host PC in the BOOTP response message. I'm sorry but I don't have the protocols here.
     
    Best Regards
    Biser
  • Dear Biser-san,

    THank you for your advise.

    I asked my customer regarding their reply message to AM3874. They say all messages that are needed  by AM3874 are transmitted from Host PC to AM3874.

    I attached the log file when the EMAC  booting. Please see the attachef file.

    No.     Time           Source                Destination           Protocol Length Info
         19 182.526801000  0.0.0.0               255.255.255.255       BOOTP    406    Boot Request from 84:7e:40:27:c4:1a (TexasIns_27:c4:1a)
    
    Frame 19: 406 bytes on wire (3248 bits), 406 bytes captured (3248 bits) on interface 0
    Ethernet II, Src: TexasIns_27:c4:1a (84:7e:40:27:c4:1a), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Internet Protocol Version 4, Src: 0.0.0.0 (0.0.0.0), Dst: 255.255.255.255 (255.255.255.255)
    User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
        Source port: bootpc (68)
        Destination port: bootps (67)
        Length: 372
        Checksum: 0x6c3f [validation disabled]
            [Good Checksum: False]
            [Bad Checksum: False]
    Bootstrap Protocol
        Message type: Boot Request (1)
        Hardware type: Ethernet
        Hardware address length: 6
        Hops: 0
        Transaction ID: 0x00000001
        Seconds elapsed: 0
        Bootp flags: 0x0000 (Unicast)
            0... .... .... .... = Broadcast flag: Unicast
            .000 0000 0000 0000 = Reserved flags: 0x0000
        Client IP address: 0.0.0.0 (0.0.0.0)
        Your (client) IP address: 0.0.0.0 (0.0.0.0)
        Next server IP address: 0.0.0.0 (0.0.0.0)
        Relay agent IP address: 0.0.0.0 (0.0.0.0)
        Client MAC address: TexasIns_27:c4:1a (84:7e:40:27:c4:1a)
        Client hardware address padding: 00000000000000000000
        Server host name not given
        Boot file name not given
        Magic cookie: DHCP
        Option: (60) Vendor class identifier
            Length: 15
            Vendor class identifier: DM814x ROM v1.0
        Option: (61) Client identifier
            Length: 81
        Option: (255) End
            Option End: 255
        Padding
    
    No.     Time           Source                Destination           Protocol Length Info
         20 182.593990000  190.0.33.142          255.255.255.255       BOOTP    406    Boot Reply
    
    Frame 20: 406 bytes on wire (3248 bits), 406 bytes captured (3248 bits) on interface 0
    Ethernet II, Src: Giga-Byt_3f:0f:c7 (00:1f:d0:3f:0f:c7), Dst: TexasIns_27:c4:1a (84:7e:40:27:c4:1a)
    Internet Protocol Version 4, Src: 190.0.33.142 (190.0.33.142), Dst: 255.255.255.255 (255.255.255.255)
    User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
        Source port: bootps (67)
        Destination port: bootpc (68)
        Length: 372
        Checksum: 0x6c3f [validation disabled]
            [Good Checksum: False]
            [Bad Checksum: False]
    Bootstrap Protocol
        Message type: Boot Reply (2)
        Hardware type: Ethernet
        Hardware address length: 6
        Hops: 0
        Transaction ID: 0x00000001
        Seconds elapsed: 0
        Bootp flags: 0x0000 (Unicast)
            0... .... .... .... = Broadcast flag: Unicast
            .000 0000 0000 0000 = Reserved flags: 0x0000
        Client IP address: 0.0.0.0 (0.0.0.0)
        Your (client) IP address: 190.0.253.252 (190.0.253.252)
        Next server IP address: 190.0.33.142 (190.0.33.142)
        Relay agent IP address: 190.0.255.255 (190.0.255.255)
        Client MAC address: TexasIns_27:c4:1a (84:7e:40:27:c4:1a)
        Client hardware address padding: 00000000000000000000
        Server host name: 190.0.33.142
        Boot file name: boot.bin
        Magic cookie: DHCP
        Option: (1) Subnet Mask
            Length: 4
            Subnet Mask: 255.255.0.0 (255.255.0.0)
        Option: (255) End
            Option End: 255
        Padding
    

    If you find something in log data, please let me know.

    Best  regards,

    Michi