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 tftp timeouts

Hi,

I have a custom 8148 board, on which has KSZ9031RNX phy connected to phy address 0x3.

When I do tftp I get timeout errors,

dm8148#dhcp
phyid: 221622
link up on port 0, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
DHCP client bound to address 192.168.1.122
dm8148#tftp 0x80009000 uImage
phyid: 221622
link up on port 0, speed 1000, full duplex
Using cpsw device
TFTP from server 192.168.1.115; our IP address is 192.168.1.122
Filename 'uImage'.
Load address: 0x80009000
Loading: T T T T T T T T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #############################T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0                                                                           

On the evm it works fine, is there any fix or I should something to look at ?

I have observed that after transferring the same size the timeout starts again.

Thanks & Regards,

Mike

  • Mike,

    mike A said:
    dm8148#dhcp
    phyid: 221622
    link up on port 0, speed 1000, full duplex
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    DHCP client bound to address 192.168.1.122

    I see that the DHCP is working, but very slow. Below is what I have on my side:

    TI8148_EVM#dhcp
    link up on port 0, speed 100, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 172.20.0.110

    Are you using EZSDK PSP04.04.00.02? Can you try with other LAN cable? Do you have something (switch, router, hub) between your DM814x board and your desktop PC (host machine)?

    BR
    Pavel

  • Hi Pavel,

    Yes I am using the EZSDK PSP04.04.00.02. I tried other LAN cable it works fine, Inface it works on the EVM with same cable, I did try connecting to router and p2p but still I face the timeouts.

    Thanks & Regards,

    Mike

  • Mike,

    Please double check your TFTP, DHCP, IP settings described below:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/116332.aspx

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/66135.aspx

    http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot#Setting_up

    In DM814x TI EVM, RGMII mode is used. Are you using RGMII mode in your custom board?

    BR
    Pavel

  • Hi Pavel,

    Disabling the cache CONFIG_SYS_DCACHE_OFF in config fixed it now I dont get timeouts.

    Thanks & Regards,

    Mike