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.

AM335X-EVMSK with DHCP problem with SDK 7.0

Hi,

I'm working on the kit "am335x-evmsk" with the prebuilt-image of ti-sdk-am335x-evm-07.00.00.00.
Unfortunately I got a problem as following.

[ 7.496490] 8021q: adding VLAN 0 to HW filter on device eth0
udhcpc (v1.20.2) started
Sending discover...
[ 9.482688] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
Sending discover...
Sending discover...
No lease, failing
done.
INIT: Entering runlevel: 5

But the same H/W, if the S/W was changed to the prebuilt-image of ti-sdk-am335x-evm-05.07.00.00.

  • How is the CPSW configured? In dual EMAC mode?

  • Dear Quote,

    Thank your reply, I am sorry, I am a beginner. 

    I don't fully understand this system. How can I find data for you about the dual EMAC Mode ?

    I just use  the shell "create_sdcard.sh" with the selection the prebuilt-images to create a OS.

    All of dts files I have not changed. So I think everything is default.

    the CPSW configured I copy from am33xx-clocks.dtsi

    cpsw_125mhz_gclk: cpsw_125mhz_gclk {
    #clock-cells = <0>;
    compatible = "fixed-factor-clock";
    clocks = <&dpll_core_m5_ck>;
    clock-mult = <1>;
    clock-div = <2>;
    };

    cpsw_cpts_rft_clk: cpsw_cpts_rft_clk@44e00520 {
    #clock-cells = <0>;
    compatible = "mux-clock";
    clocks = <&dpll_core_m5_ck>, <&dpll_core_m4_ck>;
    reg = <0x44e00520 0x4>;
    bit-mask = <0x1>;
    };

    Please tell me anything you want.

  • How is your Starter Kit connected to the network?

  • Dear Quote,

    My H/W AM335X Starter Kit,with the SDK V5 prebuilt-images under the SD card,works fine on DHCP.

    The network connection is OK under the SDK V5. ( ti-sdk-evm-05.07.00.00),

    unning e2fsck is recommended
    [ 5.827575] EXT3-fs (mmcblk0p2): using internal journal
    ALSA: Restoring mixer settings...
    Configuring network interfaces... [ 6.464050] net eth0: CPSW phy found : id is : 0x4dd074
    udhcpc (v1.20.2) started
    Sending discover...
    [ 8.460632] PHY: 0:00 - Link is Up - 100/Full
    Sending discover...
    Sending select for 192.168.0.105...
    Lease of 192.168.0.105 obtained, lease time 86400
    /etc/udhcpc.d/50default: Adding DNS 192.168.0.1
    done.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Dropbear SSH server: dropbear.

    --------------------------------------------------------------------------------------------------------------------------------

    The problem is the H/W can't work with the SDK V7 prebuilt-images under the SD card on DHCP.

    The following comes from the console.

    [ 6.835644] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    ALSA: Restoring mixer settings...
    Configuring network interfaces... [ 7.652722] net eth0: initializing cpsw version 1.12 (0)
    [ 7.661526] net eth0: phy found : id is : 0x4dd074
    [ 7.673835] 8021q: adding VLAN 0 to HW filter on device eth0
    udhcpc (v1.20.2) started
    Sending discover...
    [ 9.656338] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
    Sending discover...
    Sending discover...
    No lease, failing
    done.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    UIM SYSFS Node Not Found

    Is the "VLAN 0" setting problem ?

  • Please check the title as folloing on this Forum.

    "EVMSK preimage ethernet can't work for SDK 7.0"

    The DHCP problem will be solved to pickup the patch mentioned at above.