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.

bootdelay = 0

Hello,

in a moment of great stupidity i set bootdelay=0 on my OMAP3EVM, so i can't change any u-boot settings no more.

I found this article:

http://processors.wiki.ti.com/index.php/Change_U-Boot_bootdelay_setting

But unfortunately ctrl+c does'nt work (although it kills programms in my booted linux enviroment). I tried with HyperTerminal and also minicom.

There's also an alternative method mentioned regarding CCS, but i don't know how to do this.

 

  • Can you boot the Linux kernel to a command prompt?  If so, you might be able to erase the u-boot environment area (you would lose all your u-boot environment variables) from Linux.  When you boot your kernel, you should see the NAND partitioned as:

    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "xloader-nand"
    0x000000080000-0x000000240000 : "uboot-nand"
    0x000000240000-0x000000280000 : "params-nand"
    0x000000280000-0x000000780000 : "linux-nand"
    0x000000780000-0x000020000000 : "jffs2-nand"

    You might be able to do

    dd if=/dev/zero of=/dev/mtdblock2

    form the Linux command prompt to write all zeroes to your u-boot environment. The next time you boot the board, since there are no environment variables in NAND, u-boot would use built-in default one. Then you'd have to set your own ones again.

    Steve K.

  • Hi,

    As i can't get the command prompt (bootdelay=0), is it possible to erase the params-nand using the Jtag? or other option to recover?

    Many Thanks,

    HR