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.

XEVMK2EX: U-boot ethernet ERROR

Part Number: XEVMK2EX

Hi folks,

I got my XEVMK2EX board and after I connected it I accessed it via serial and got the u-boot prompt. All good until here. Then, I configure some of the parameters that I need:

setenv ipaddr 192.168.0.3
setenv netmask 255.255.255.0
setenv serverip 192.168.0.2
setenv gatewayip 192.168.0.1
saveenv

Then, when I type "dhcp" or "tftp", I get these errors:

*** ERROR: `eth1addr' not set

*** ERROR: `eth2addr' not set

*** ERROR: `eth3addr' not set
....

The fact is that I do have the ethernet MAC address and the Ethernet device name setup:

K2E EVM # print ethact
ethact=K2E_EMAC2

K2E EVM # print ethaddr
ethaddr=18:85:bf:00:b4:99

So, I am puzzled here. Can anybody help? How can I set u-boot to work with the XEVMK2EX board?

Thanks!



  • Hi Victor,

    I followed the procedure described here:
    processors.wiki.ti.com/.../Program_EVM_UG

    And had no problem with the tftp of my ubi filesystem.

    Note that you will need to configure the dhcp server on your host machine in order to correctly assign an IP to your K2E EVM.

    Best Regards,
    Yordan
  • Hi Jordan,

    Thanks for your reply. I follow the procedure you descrived, and got the kernel to load, but I got this error:

    VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
    Please append a correct "root=" boot option; here are the available partitions:
    1f00 1024 mtdblock0 (driver?)
    1f01 512 mtdblock1 (driver?)
    1f02 522752 mtdblock2 (driver?)
    1f03 512 mtdblock3 (driver?)
    1f04 15872 mtdblock4 (driver?)
    VFS: Unable to mount root fs on unknown-block(0,0)
    User configuration error - no valid root filesystem found
    Kernel panic - not syncing: Invalid configuration from end user prevents continuing

    My bootargs are the following:

    setenv bootargs console=ttyS0,115200n8 rootwait=1

    Do you have any ideas? Do I have to set the root filesystem in bootargs or else I get panic?

    Thanks!
    Victor.

  • Hi Victor,

    Can you please stop at u-boot, execute printenv & share the output. It should look something like: https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/env

    Just FYI, I don't have an XEVMK2EX at my disposal. I use the EVMK2HK, running SDK03.02.00.05 (kernel 4.4.32 & u-boot 2016.05). 

    Best Regards, 
    Yordan