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.

Dual boot OMAP3530 EVM?

I have to frequently switch between two booting methods: from the on-board NAND flash, or from a TFTP server. Both boot up correctly. However, I find that typing all 'setenv ...' commands tedious and error prone. I can use the 'saveenv' command to make one booting mode the default, but still need to do all the typing if I need to boot from the other mode.

Is there a way to do dual-booting? Something like typing

    boot cfg1

or

    boot cfg2

to choose which mode to boot from?

 

Thanks!

BTW: Sections 7.2 through 7.5 of the GettingStarted manual are well written, but fail to address the case when the kernel image is larger than 0x200000.

  • Yes this is possible.  There are a couple of ways that I have seen individuals do this.  One is to develop a script that can be executed by your terminal program (ie. TeraTerm or Hyperterminal).

    Sometimes this is a script, or just a text file that is sent to the target running u-boot to perform the 'setenv ...' commands.

    Another scenario is to setup several environment variables in u-boot that can be run to change the configuration.  Keep in mind, u-boot has a limit on the number of environment variables, so if this method is selected, make sure not to use to many.

     

    The Getting Started Guide actually references some scripts that are provided with the Linux SDK which would be useful to assist in this request.  Section 5 is the area of the document I am refering to.