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.

How to Using EMAC Boot on linux system ?

Hi,

I want to kown how to use EMAC Boot on linux system(Ubuntu 10.4) to flash uboot on DM8168 EVM board.

Like that using tftp32d to boot  on windows system.

how to do that on ubuntu ?

thank you!

  • Xavier,

    What I understood from your post is that you need to setup TFTP server on your Linux machine. Just follow this link to setup TFTP server. http://icesquare.com/wordpress/how-to-setup-tftp-on-ubuntu/

    Once you have the TFTP server running, you can use it the same way as Linux. 

  • Hi, Renjith

    I Have areadly  setted up the TFTP server, but i do not  kown, how to tell dm8168 evm board to load u-boot.bin file throw the  net,

    On windws system using the tftp32d, i can set the boot file in it's configure params, to tell dm8168 load this u-boot.bin to boot,

    But in linux i do not how to do this ,i just set the share file folder, and it can not  load u-boot.bin auto.

    service tftp {   

    protocol = udp   

    port = 69   

    socket_type = dgram   

    wait = yes   

    user = nobody   

    server = /usr/sbin/in.tftpd   

    server_args = var/lib/tftpboot -s   

    disable = no

     }

    as dm8168 can boot from net ,i think this also can be done in ubuntu 10.4,

    how to let the evm board kown which file to load then?

     

     

  • Hi Xavier,

    Please read this user guides:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_EMAC_Boot

    http://processors.wiki.ti.com/index.php/DM816x_AM389x_EMAC_Boot

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_U-Boot#U-Boot_Network_configuration

    BR

    Pavel

  • Hi Pavel,

    Thank you for your relay!

    Actually i just want to kown that how to set the following feilds in linux(ubuntu 10.4),

    to make DM8168 EVM board ROM code able to work. 

    ROM code needs these fields in BOOTP reply to be able to work:

     • Client IP address • Tftp server IP (called "next-server")

    • Boot file name In addition, we need these additional optional fields if the TFTP server is in a different subnet:

     • subnet mask (option number 1)

     • router (option number 3) The DHCP server should be configured to correctly supply these parameters to all devices.

     

    in dhcp conf file ? or some where else to make ROM work on PC with Linux system thank you!

  • Hello, Xavier

    Please also refer to section 25.8.4 Ethernet Boot Procedure of the DM816x TRM.

    You should set these using the graphical interface of the desktop utility tool that supports the BOOTP protocol. This tool could vary, depending on your host system and your personal choice. If it is still not working, write again. Thank you.

    BR

    Vladimir

  • Hi,

    Vladimir, thank  you for your replay. I have done my job by configure DHCP server on linux.

  • hi vladmir,

    even i need to setup tftp on my linux system for emac boot. is there place where i can get detailed info regarding this.

    thanks & Regards,

    Vishwanath Patil

  • Vishwanath,

    Vishwanath Patil said:
    i need to setup tftp on my linux system

    We have a shell script doing this. See EZSDK/bin/setup-tftp.sh

    BR
    Pavel