Hi Zhiwei.

If the bootcmd and bootdelay have been set up properly you should be
able to press the anykey while the "Hit any key to stop autoboot: 10-9-8-7-etc" message appears. I suspect you may have set the wrong
environment variable or perhaps the environment became corrupt.

It should be possible to clear the environment from linux though.
Uboot will use the default, compile time, values.

So hopefully following these steps will fix your problem:

* boot linux
* cat /dev/zero > /dev/mtdblock4
* reboot

Be careful which partition you zap because it is possible to clobber
uboot. I would first check that it is the environment variables by
running "cat /dev/mtdblock4 | hd |head".

Ensure that you never change the initboot and preboot commands.

Cheers,
David

> Mark,
>
> I tried removing the usb stick, and it ended up with the error:
>
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(2,0)
> Rebooting in 180 seconds..
>
> I tried several times, it cannot even get to the busybox.
>
> Zhiwei
>
>
> On Wed, Jan 20, 2010 at 3:37 PM, Mark Wagner
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hi Zhiwei, I'm not sure if this will help, but have you tried
> removing the usb stick? >
>     Mark
>
>     On Wed, Jan 20, 2010 at 11:45 AM, Zhiwei Liu <[email protected]
>     <mailto:[email protected]>> wrote:
>
>         Jason,
>
>         I was trying to update the uboot for my roach board following
>         the instruction from:
>         http://casper.berkeley.edu/wiki/ROACH_kernel_uboot_update
>         But I cannot interrupt the booting process, it always boots
>         from the USB stick. (I save the bootcmd environment to run
>         usbboot)
>         I tried every key to stop the booting process(ctrl-c, ctrld-d,
>         ctrl-z, space, etc.), no one works.
>         Is there any way I can interrupt the booting process, so I can
>         type the uboot command, following the update procedure.
>         Or is there any way I can clear the uboot environment without
>         booting into the uboot.
>
>         --
>         Zhiwei Liu
>
>
>
>
>
> --
> Zhiwei Liu


--
David George
Digital Design Engineer
Karoo Array Telescope
Tel:     +27 21 531-7282
Fax:     +27 21 531-9761
Email:   [email protected]
Web:     www.ska.ac.za




Reply via email to