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.

Sample Flasher program for boot process though Ethernet on Sitara AM335x based board

Other Parts Discussed in Thread: UNIFLASH

Hello All,

         I working on a board  is based on Sitara AM335x processor and having problem on writing the flasher program to write the Images on board via ethernet. Please provide me the sample flasher program or guide me the process to write the flasher program for ethernet. 

Thanks in advance.

  • Hi Suneet,

    As far as I know there is no such flasher program (to write u-boot , kernel & fs images via ethernet).
    You can find the steps to boot your AM335x board through Ethernet on the following wiki: processors.wiki.ti.com/.../AM335x_U-Boot_User%27s_Guide

    Hope this helps.

    Best Regards,
    Yordan
  • In the links given above - Heading - "Flashing in CPSW Ethernet boot mode" - There is a line "In this case first you must build for am335x_evm_restore_flash rather than am335x_evm when building U-Boot."

    My question while I had compiled my Image from Yocto project, I  am unable to find "am335x_evm_restore_flash" to build it in U-Boot. If I gave to get the U-Boot and then compile it from "Arago Cross tool-chain " in that scenario I can find the file mentioned above. If this so then guide me to this process or if this can be achieved by Yocto Project then for that process also provide me guidance.

  • Mr. Biser,

        After following the process as explained in the link given by you, there are some errors are occurring. As in link for Ethernet, "flash-restore" in TI-SDK giving error whose snapshot is attached.

    Also in this process while it(SDK) opens the console on "minicom" is having time out for "cpsw" as "cpsw having problem .... TIMEOUT" (approx. string not same as it is there).

    Please guide me.

    Thanks & Regards

    Suneet Saini 

  • Hi Suneet,

    I see two mistakes in your work flow:

    1. There is no am335x_evm_restore_flsh.h file in include/configs folder so you won't be able to build for this configuration.

     As stated in the wiki, for booting through CPSW you should use make am335x_evm_config and use the spl/u-boot-spl.bin and u-boot.img files that are produced afther you executed the make command..

    2. If you want to use the sequence: 
     host$ make am335x_evm_config

     host$ make 

    you should execute those commands from ti-sdk-am335x-evm-07.00.00.00/board-support/u-boot-2013.10-ti2013.12.01 folder 

    If you want to build from the  ti-sdk-am335x-evm-07.00.00.00/ folder you should use the sequence: 
     host$ make u-boot_clean 

     host$ make u-boot

    Also make sure you export the ti-sdk-am335x-evm-07.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin to your PATH variable.  

    Best Regards, 
    Yordan