Skip to contentSkip to conversation

bootlimit for arm? watchdog?

U-Boot Frans Meulenbroeks 2 participants 2 messages Nov 12, 2008 – Dec 8, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I am looking for a mechanism to reboot into an alternative kernel in case of problems. While reading the doc I stumbled upon the bootlimit feature, with which I probably can do what I need to.
However: one problem. My system is an ARM system, and the manual says bootlimit is only for PPC.
Would this be difficult to add (or maybe does it exist already)?

One other thing that could help me is watchdog.
I saw on the email list that watchdog is supported, but the manual does not list it (or I really need new glasses). Is this a board specific feature? Any further info or pointer to info is greatly appreciated.

Thanks alot!

Frans

#1 lore raw

Dear Frans Meulenbroeks,

sorry for the late reply.

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

I am looking for a mechanism to reboot into an alternative kernel in case of problems. While reading the doc I stumbled upon the bootlimit feature, with which I probably can do what I need to.
However: one problem. My system is an ARM system, and the manual says bootlimit is only for PPC.
Would this be difficult to add (or maybe does it exist already)?

It is simple to port. You just need to find a place where you can save some information so it survives a CPU reset. Typically some registers or some on-chip memory or external, battery-buffert SRAM have this property.

Quoted 2 lines

One other thing that could help me is watchdog.
I saw on the email list that watchdog is supported, but the manual does not list it (or I really need new glasses). Is this a board specific feature?

Board and/or CPU specific. Some processors have a builtin watchdog, some boards use an external hardware watchdog chip.

Quoted 1 line

Any further info or pointer to info is greatly appreciated.

Hope this helps.

Ummm...

<curiosity>
Are you the Frans Meulenbroeks who worked on Minix/AtariST some 18+ years ago?
</curiosity>

Best regards,

Wolfgang Denk

Signature · 4 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
Our business is run on trust.  We trust you will pay in advance.