* MPC8245 reboot
@ 2005-08-03 5:40 Daniel Ann
2005-08-03 5:47 ` Kumar Gala
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Ann @ 2005-08-03 5:40 UTC (permalink / raw)
To: linuxppc-embedded
Hey folks,
I have a problem with rebooting my box(its pretty much based on sandpoint).
Looking at sandpoint_restart() function, I have no idea what it's
doing. Can somebody please help me out where I should be looking ?
Would this be pure software problem? or just might be hardware problem
?
Always thought rebooting was piece of cake, but.. guess not :P
--=20
Daniel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MPC8245 reboot
2005-08-03 5:40 MPC8245 reboot Daniel Ann
@ 2005-08-03 5:47 ` Kumar Gala
2005-08-03 6:40 ` Daniel Ann
0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2005-08-03 5:47 UTC (permalink / raw)
To: Daniel Ann; +Cc: linuxppc-embedded
Do you have a VIA chipset on your system? If not what sandpoint is
doing is not going to help you much.
- kumar
On Aug 3, 2005, at 12:40 AM, Daniel Ann wrote:
> Hey folks,
>
> I have a problem with rebooting my box(its pretty much based on
> sandpoint).
> Looking at sandpoint_restart() function, I have no idea what it's
> doing. Can somebody please help me out where I should be looking ?
> Would this be pure software problem? or just might be hardware problem
> ?
>
> Always thought rebooting was piece of cake, but.. guess not :P
> --
> Daniel
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MPC8245 reboot
2005-08-03 5:47 ` Kumar Gala
@ 2005-08-03 6:40 ` Daniel Ann
2005-08-03 18:39 ` Mark A. Greer
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Ann @ 2005-08-03 6:40 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-embedded
Absolutely not. Very much like sandpoint except, we dont use SIO at all.
FYI, most of sandpoint code from the kernel is function the board very
well at the moment. Only big issue lies with REBOOT at this stage:(
On 8/3/05, Kumar Gala <kumar.gala@freescale.com> wrote:
> Do you have a VIA chipset on your system? If not what sandpoint is
> doing is not going to help you much.
>=20
> - kumar
>=20
> On Aug 3, 2005, at 12:40 AM, Daniel Ann wrote:
>=20
> > Hey folks,
> >
> > I have a problem with rebooting my box(its pretty much based on
> > sandpoint).
> > Looking at sandpoint_restart() function, I have no idea what it's
> > doing. Can somebody please help me out where I should be looking ?
> > Would this be pure software problem? or just might be hardware problem
> > ?
> >
> > Always thought rebooting was piece of cake, but.. guess not :P
> > --
> > Daniel
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
>=20
>=20
--=20
Daniel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MPC8245 reboot
2005-08-03 6:40 ` Daniel Ann
@ 2005-08-03 18:39 ` Mark A. Greer
2005-08-04 0:16 ` Daniel Ann
0 siblings, 1 reply; 7+ messages in thread
From: Mark A. Greer @ 2005-08-03 18:39 UTC (permalink / raw)
To: Daniel Ann; +Cc: linuxppc-embedded
On Wed, Aug 03, 2005 at 03:40:18PM +0900, Daniel Ann wrote:
> Absolutely not. Very much like sandpoint except, we dont use SIO at all.
> FYI, most of sandpoint code from the kernel is function the board very
> well at the moment. Only big issue lies with REBOOT at this stage:(
Daniel,
IIRC, the sandpoint uses the PC style port 92 mechanism to reset the board.
You need to look at your hardware docs to see how your board can be reset.
Don't expect the sandpoint reset code to work for you.
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MPC8245 reboot
2005-08-03 18:39 ` Mark A. Greer
@ 2005-08-04 0:16 ` Daniel Ann
2005-08-04 0:26 ` Mark A. Greer
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Ann @ 2005-08-04 0:16 UTC (permalink / raw)
To: Mark A. Greer; +Cc: linuxppc-embedded
Mark,
Guess I'll have to walk the uncharted area again :P
Thanks anyway tho. I'll start by looking at what that port 92
mechanism is first, and see where in our hw designer have put that in.
On 8/4/05, Mark A. Greer <mgreer@mvista.com> wrote:
> On Wed, Aug 03, 2005 at 03:40:18PM +0900, Daniel Ann wrote:
> > Absolutely not. Very much like sandpoint except, we dont use SIO at all=
.
> > FYI, most of sandpoint code from the kernel is function the board very
> > well at the moment. Only big issue lies with REBOOT at this stage:(
>=20
> Daniel,
>=20
> IIRC, the sandpoint uses the PC style port 92 mechanism to reset the boar=
d.
> You need to look at your hardware docs to see how your board can be reset=
.
> Don't expect the sandpoint reset code to work for you.
>=20
> Mark
>=20
--=20
Daniel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MPC8245 reboot
2005-08-04 0:16 ` Daniel Ann
@ 2005-08-04 0:26 ` Mark A. Greer
0 siblings, 0 replies; 7+ messages in thread
From: Mark A. Greer @ 2005-08-04 0:26 UTC (permalink / raw)
To: Daniel Ann; +Cc: linuxppc-embedded
On Thu, Aug 04, 2005 at 09:16:23AM +0900, Daniel Ann wrote:
> Mark,
>
> Guess I'll have to walk the uncharted area again :P
> Thanks anyway tho. I'll start by looking at what that port 92
> mechanism is first, and see where in our hw designer have put that in.
Personally, I wouldn't waste my time on the port 92 stuff. I really doubt the
hw engr did that unless your board is very PC-ish. Does your board have any
"board" regs (e.g., some regs on a pld or something)? If so, look through
those for a bit in a register that resets the system.
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: MPC8245 reboot
@ 2005-08-04 9:29 Debora Liu
2005-08-04 10:18 ` Wolfgang Denk
0 siblings, 1 reply; 7+ messages in thread
From: Debora Liu @ 2005-08-04 9:29 UTC (permalink / raw)
To: Mark A. Greer; +Cc: Linuxppc-embedded
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
Hello, Mark A. Greer
In message <2005-08-04 02:39:32 mgreer@mvista.com> you wrote:
>IIRC, the sandpoint uses the PC style port 92 mechanism to reset the board.
>You need to look at your hardware docs to see how your board can be reset.
>Don't expect the sandpoint reset code to work for you.
If do reboot board by jump address of uboot start address?
= = = = = = = = = = = = = = = = = = = =
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Debora Liu
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡deboralh@fel.com.cn
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-08-04
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MPC8245 reboot
2005-08-04 9:29 Debora Liu
@ 2005-08-04 10:18 ` Wolfgang Denk
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2005-08-04 10:18 UTC (permalink / raw)
To: Debora Liu; +Cc: Linuxppc-embedded
In message <20050804092525.15A4A67EBC@ozlabs.org> you wrote:
>
> If do reboot board by jump address of uboot start address?
Bad idea. That address may not be mapped at all, or not at the right
physical address. Also, just jumping to a boot loader entry point
does not cause a hardware reset, so any devices that might be stuck
will remain stuck.
You should always try to cause a real reset; there are several
methods in use for this, like using a watchdog reset, causing a
machine check, etc. Just see existing code.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
All these theories, diverse as they are, have two things in common:
they explain the observed facts, and they are completeley and utterly
wrong. - Terry Pratchett, _The Light Fantastic_
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-08-04 10:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-03 5:40 MPC8245 reboot Daniel Ann
2005-08-03 5:47 ` Kumar Gala
2005-08-03 6:40 ` Daniel Ann
2005-08-03 18:39 ` Mark A. Greer
2005-08-04 0:16 ` Daniel Ann
2005-08-04 0:26 ` Mark A. Greer
-- strict thread matches above, loose matches on Subject: below --
2005-08-04 9:29 Debora Liu
2005-08-04 10:18 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).