Skip to contentSkip to conversation

break command.

U-Boot Sean Omalley 6 participants 6 messages Feb 14, 2013 – Feb 17, 2013

lore
Share & tools
lore
#0 lore raw

Is there anyway to break back into u-boot after trying to boot from linux (arm)? Similar to Open Firmwares stop-a, ctrl-break? I didn't see anything in the documentation nor poking around online. I am really hoping I missed something, or there is support that just needs to be compiled in. :)

Even if it resets the cpu, or sends a signal to the jtag_reset would be fine. When the machine locks up, I don't want to have to push a button or unplug it since most of the time, I am not in the same vicinity as the machine. Leaving a serial console attached and remoting into another machine is easier and cheaper, then other alternatives. I could send a signal from a gpio to the jtag_reset (or short it), but the machine I would -want- to use doesn't have a gpio, and I don't want to spend money for multiple jtags when it seems more logical to do it through the serial console.?

Thanks!

#1 lore raw

Hi Sean,

(can you please set your mailer to wrap lines at about 70?75 characters? Thanks in advance!)

Quoted 3 lines · Sean Omalley

Is there anyway to break back into u-boot after trying to boot from linux (arm)? Similar to Open Firmwares stop-a, ctrl-break? I didn't see anything in the documentation nor poking around online. I am really hoping I missed something, or there is support that just needs to be compiled in. :)

Even if it resets the cpu, or sends a signal to the jtag_reset would be fine. When the machine locks up, I don't want to have to push a button or unplug it since most of the time, I am not in the same vicinity as the machine. Leaving a serial console attached and remoting into another machine is easier and cheaper, then other alternatives. I could send a signal from a gpio to the jtag_reset (or short it), but the machine I would -want- to use doesn't have a gpio, and I don't want to spend money for multiple jtags when it seems more logical to do it through the serial console.?

As soon as U-Boot gives control to the payload (Linux or whatever) there is no possible assumption that U-Boot remains intact in RAM, so your only chance is indeed some hardware reset... But then the question is not related to U-Boot any more.

Quoted 1 line

Thanks!

No problem.

Amicalement,

Signature · 1 line
Albert.
#2 lore raw
Quoted 9 lines · Albert ARIBAUD
Quoted 2 lines · Sean Omalley

Is there anyway to break back into u-boot after trying to boot from linux (arm)? Similar to Open Firmwares stop-a, ctrl-break? I didn't see anything in the documentation nor poking around online. I am really hoping I missed something, or there is support that just needs to be compiled in. :)

As soon as U-Boot gives control to the payload (Linux or whatever) there is no possible assumption that U-Boot remains intact in RAM, so your only chance is indeed some hardware reset... But then the question is not related to U-Boot any more.

On that note, does anyone know of a device that would do this? Perhaps a combination device like this:

- USB interface to a pc
- serial port for device
- relay controllable A/C power plug (U.S.)
- controllable gpio (for wiring to a power button, reset switch, etc)

#3 lore raw
Quoted 10 lines · Harvey Chapman
Quoted 9 lines · Albert ARIBAUD
Quoted 2 lines · Sean Omalley

Is there anyway to break back into u-boot after trying to boot from linux (arm)? Similar to Open Firmwares stop-a, ctrl-break? I didn't see anything in the documentation nor poking around online. I am really hoping I missed something, or there is support that just needs to be compiled in. :)

As soon as U-Boot gives control to the payload (Linux or whatever) there is no possible assumption that U-Boot remains intact in RAM, so your only chance is indeed some hardware reset... But then the question is not related to U-Boot any more.

Quoted 8 lines

On that note, does anyone know of a device that would do this? Perhaps a combination device like this:

- USB interface to a pc
- serial port for device
- relay controllable A/C power plug (U.S.)
- controllable gpio (for wiring to a power button, reset switch, etc)

If your board/processor has it, a watchdog can be used to force a reset if it expires...

Signature · 2 lines
Peter Barada
peter.barada at logicpd.com
#4 lore raw
In reply to Harvey Chapman
Quoted 11 lines · Harvey Chapman
Quoted 9 lines · Albert ARIBAUD
Quoted 2 lines · Sean Omalley

Is there anyway to break back into u-boot after trying to boot from linux (arm)? Similar to Open Firmwares stop-a, ctrl-break? I didn't see anything in the documentation nor poking around online. I am really hoping I missed something, or there is support that just needs to be compiled in. :)

As soon as U-Boot gives control to the payload (Linux or whatever) there is no possible assumption that U-Boot remains intact in RAM, so your only chance is indeed some hardware reset... But then the question is not related to U-Boot any more.

Quoted 7 lines

On that note, does anyone know of a device that would do this? Perhaps a combination device like this:

- USB interface to a pc
- serial port for device
- relay controllable A/C power plug (U.S.)
- controllable gpio (for wiring to a power button, reset switch, etc)

I have a BayTech network-attached powerstrip that does something similar. It has switchable AC outlets and network-accessible serial ports, but it doesn't have controllable GPIOs or a USB interface.

Ira

#5 lore raw
In reply to Harvey Chapman

Dear Harvey Chapman,

Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 5 lines

As soon as U-Boot gives control to the payload (Linux or whatever) there is no possible assumption that U-Boot remains intact in RAM, so your only chance is indeed some hardware reset... But then the question is not related to U-Boot any more.

Quoted 6 lines

On that note, does anyone know of a device that would do this? Perhaps a combination device like this:

- USB interface to a pc
- serial port for device
- relay controllable A/C power plug (U.S.)
- controllable gpio (for wiring to a power button, reset switch, etc)

The standard approach is to use a hardware watchdog that will reset the board if it is not triggered in time.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A good marriage would be between a blind wife and deaf husband.
                                               -- Michel de Montaigne