* Re: any pointer...?
2002-04-01 13:01 any pointer...? ashish anand
@ 2002-04-01 7:45 ` Armin
0 siblings, 0 replies; 2+ messages in thread
From: Armin @ 2002-04-01 7:45 UTC (permalink / raw)
To: ashish anand; +Cc: linuxppc-embedded
ashish anand wrote:
>
> I have a specific problem in 405gp on embeddedplanet board.
>
> it is gets hanged in MEMCPY() below.
>
> void __init
> Board_init(unsigned long r3, unsigned long r4, unsigned
> long r5,unsigned long r6, unsigned long r7)
> {
> /*
> * If we were passed in a board information, copy it into
> the
> * residual data area.
> */
> if (r3) {
> memcpy((void *)__res, (void *)(r3 +KERNELBASE),
> sizeof(bd_t));
> }
>
> i am using board reset ( bl reset) type of macro for debugging for
> detemining the hang .
>
> if i put bl reset macro before memcpy the board gets reset but
> not after the memcpy .
>
> abort being ..._GLOBAL(abort)
> mfspr r13,SPRN_DBCR
> oris r13,r13,DBCR_RST(DBCR_RST_SYSTEM)@h
> mtspr SPRN_DBCR,r13
>
>
> can anybody help me with any pointer....
>
>
>
Looks like you are using an older kernel (2.4.2 ish). You should pull
from the latest devel. I have used the ep405 as have a few others.
armin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* any pointer...?
@ 2002-04-01 13:01 ashish anand
2002-04-01 7:45 ` Armin
0 siblings, 1 reply; 2+ messages in thread
From: ashish anand @ 2002-04-01 13:01 UTC (permalink / raw)
To: linuxppc-embedded
I have a specific problem in 405gp on embeddedplanet board.
it is gets hanged in MEMCPY() below.
void __init
Board_init(unsigned long r3, unsigned long r4, unsigned
long r5,unsigned long r6, unsigned long r7)
{
/*
* If we were passed in a board information, copy it into
the
* residual data area.
*/
if (r3) {
memcpy((void *)__res, (void *)(r3 +KERNELBASE),
sizeof(bd_t));
}
i am using board reset ( bl reset) type of macro for debugging for
detemining the hang .
if i put bl reset macro before memcpy the board gets reset but
not after the memcpy .
abort being ..._GLOBAL(abort)
mfspr r13,SPRN_DBCR
oris r13,r13,DBCR_RST(DBCR_RST_SYSTEM)@h
mtspr SPRN_DBCR,r13
can anybody help me with any pointer....
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-01 13:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-01 13:01 any pointer...? ashish anand
2002-04-01 7:45 ` Armin
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).