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.

Unable to boot U-boot over Ethernet(GMII)

Other Parts Discussed in Thread: TEST2

Hi,

Actually I am working with the DM816x EVM to figure out how to do the initial board bring-up for our custom board. I have configured MBOOT[4:0] pins to 00111 so Ethernet(GMII) is the first boot mode. I removed the SD card. An Ethernet cable is connected between the EVM and my PC. The PC runs VirtualBox with Ubuntu 10.04. When powering the board, it does not boot, however I can see DHCP requests and DHCP ACK transactions using Wireshark.

In the last two weeks I have read a lot of wiki pages and posts, tried so many things but still could not find the root cause of my problem. Can somobody tells me which setup is required to boot U-boot from Ethernet or at least where to find more info?

Kind regards,

Julie

  • Julie

    Can you check whether server is populating the boot file name in the DHCP offer response.

    If it is not populating please verify the DHCP server configuration to specify the u-boot.bin also copy the u-boot.bin to TFTP folder path.

    Also look for TFTP request from TI816x EVM

    with regards

    Mugunthan V N

  • Thank you Mugunthan for your reply.

    Here is the config in /etc/dhcp3/dhcpd.conf:

    subnet 192.168.0.0 netmask 255.255.255.0 {
      range dynamic-bootp 192.168.0.101 192.168.0.200;
      allow unknown-clients;
      if exists host-name {
        ddns-hostname = option host-name;
      } else {
        ddns-hostname = binary-to-ascii(10, 8, "-", leased-address);
      }
    # bootp options
    #  ddns-hostname test2;
      filename "u-boot.bin";
      next-server 192.168.0.100;
    }

    Here is the content of /tftpboot:

    user@user-desktop:~$ ls -las /tftpboot/
    total 4900
       4 drwxrwxrwx  2 nobody root    4096 2012-05-10 09:25 .
       4 drwxr-xr-x 23 root   root    4096 2012-03-21 10:56 ..
     176 -rwxrwxrwx  1 user   user  179936 2012-02-07 14:13 u-boot.bin
    2344 -rw-r--r--  1 user   user 2398376 2012-02-24 16:24 uImage
    2372 -rw-r--r--  1 root   root 2428376 2012-02-07 16:14 uImage-dm816x-evm.bin

    And here is the DHCP ACK transaction captured by Wireshark where Boot file name is set to u-boot.bin:

    0000   02 01 06 00 b8 3e a3 e6 00 00 00 00 00 00 00 00  .....>..........
    0010   c0 a8 00 6a c0 a8 00 64 00 00 00 00 00 0a cd 1f  ...j...d........
    0020   01 a3 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    0030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    0060   00 00 00 00 00 00 00 00 00 00 00 00 75 2d 62 6f  ............u-bo
    0070   6f 74 2e 62 69 6e 00 00 00 00 00 00 00 00 00 00  ot.bin..........
    0080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00e0   00 00 00 00 00 00 00 00 00 00 00 00 63 82 53 63  ............c.Sc
    00f0   35 01 05 36 04 c0 a8 00 64 33 04 00 00 02 58 01  5..6....d3....X.
    0100   04 ff ff ff 00 0f 0b 65 78 61 6d 70 6c 65 2e 6f  .......example.o
    0110   72 67 ff 00 00 00 00 00 00 00 00 00 00 00 00 00  rg..............
    0120   00 00 00 00 00 00 00 00 00 00 00 00              ............

    Are these config OK? What else should I look at?

    Thanks for your help,

    Julie