Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
Problem rebooting the AMD SC520.
- 07-09-2003
- Martin Kvarmo
July 9, 2003, 12:03 pm

Hi,
We are currently running Linux (Red Hat 6.2) on a card with AMD SC520.
We use rolo to boot a 2.2.12 kernel and everything works quite good,
except for rebooting the card.
When I run the Linux command 'reboot' it finally comes to a function
in the kernel called machine_restart (in
linux/arch/i386/kernel/process.c). This function tries to reset the
processor in a number of ways. I've added a call for setting the
CPU_RST bit in SYSCTLA register but this doesn't seem to work either.
I've also tried to generate the triple-fault before everything else.
The processor doesn't start from the reset vector at 0xFFF1, like it
does when we disconnect and connects the power.
I wan't to do a complete reset of the processor and that must the
purpose of machine_restart, isn't it? Anyone that recognises this or
perhaps knows what the problem might be?
Glad for any help I can get.
We are currently running Linux (Red Hat 6.2) on a card with AMD SC520.
We use rolo to boot a 2.2.12 kernel and everything works quite good,
except for rebooting the card.
When I run the Linux command 'reboot' it finally comes to a function
in the kernel called machine_restart (in
linux/arch/i386/kernel/process.c). This function tries to reset the
processor in a number of ways. I've added a call for setting the
CPU_RST bit in SYSCTLA register but this doesn't seem to work either.
I've also tried to generate the triple-fault before everything else.
The processor doesn't start from the reset vector at 0xFFF1, like it
does when we disconnect and connects the power.
I wan't to do a complete reset of the processor and that must the
purpose of machine_restart, isn't it? Anyone that recognises this or
perhaps knows what the problem might be?
Glad for any help I can get.

Re: Problem rebooting the AMD SC520.

^^^^^^
Shure? Should be 0xFFFFFFF0 (consider real mode and the trick with the
descriptor base register).

Try set RESCFG to 0x0C, before setting CPU_RST in SYSCTLA. And don't
forget to reset the PCI bus (while you wake up after such kind of
reset), if you have a device that could be a master on the bus.
Hope it helps.
--
Juergen Beisert email: jbeisert _AT_ eurodsn _DOT_ de
EuroDesign embedded technologies GmbH http://www.eurodsn.de
Juergen Beisert email: jbeisert _AT_ eurodsn _DOT_ de
EuroDesign embedded technologies GmbH http://www.eurodsn.de
Site Timeline
- » Linux+PDA
- — Next thread in » Embedded Linux
-
- » Linux on M9328MX1ADS
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » CR1616 en remplacement de CTL1616
- — The site's Newest Thread. Posted in » Electronics (French)
-