Stuart

thanks for your rapid followup. Indeed, your hint about modifying the
reset function fixed the 'reboot' funtion (see below) - great!
Implicitely this also confirms that the CPU on the Nokia plattform is
very likely not an SC1100/1200 but some other (earlier) Geode
processor.

On 9/17/06, Stuart Henderson <[EMAIL PROTECTED]> wrote:
Some other Geode-based systems use separate components for these.
The watchdog is presumably in the parts of the SC1100 other than the
CPU. If your board has a watchdog at all, it's not likely to emulate
the SC1100 watchdog.

Unfortunately, cooling fins are glued on top of the BGA-housing of the
processor in the Nokia plattform. Therefore, unlike with WRAP
plattforms, the chip designation of the Geode remains hidden. Some
reports hint that it could be the GX1, which was a predecessor of the
SC1100 family. While the latter has an on-chip hardware watchdog
according to its manual, the predecessor is apparently not.

However, it is likely that the Geode I/O co-processor CS5530A includes
a programmable watchdog timer - I will check that if I can get access
to the datasheet (downloading datasheets from AMD is no so
straightforward anymore as it used to be...). A quick survey of all
other chips showed that there is no watchdog (LM2636M, CY2292SL,
HIN211, Flash with BIOS-E from Insyde Software).


Reboot may be easier. Looking at /usr/src/sys/arch/i386/i386/machdep.c,
there's a Geode-specific reset operation used, ...
... you can try editing this file and commenting-out
"cpuresetfn = natsem6x86_cpureset;" from natsem6x86_cpu_setup()
and rebuilding the kernel; this way it will use the normal PC methods
instead.

If this does the trick, the outl/outb are probably hanging your
system, in which case the natsem6x86_cpu_setup needs to do additional
CPU detection and only use the alternative reset function on SC1100
systems.

As recommended, I comment out the two 'outb' statements in the
Geode-specific reset function and built a fresh kernel which now
reboots flawlessly :-)
Now, I will try to figure out and contribute a clean patch that
discriminates the Nokia from other Geode plattform like WRAP and
Soekris.

I am glad my two Nokia IP120 will get a second, long life as Internet
firewall & routing gateway cluster under OpenBSD :-)

Thanks,
Rolf

Reply via email to