linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* r3 and bd_t
@ 2001-12-11 18:24 Andrew Dixon
  2001-12-11 18:34 ` Tom Rini
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Dixon @ 2001-12-11 18:24 UTC (permalink / raw)
  To: ppclist


Hi All -

I'm trying to boot linux on an sbc8260 using PPCBoot.  (Linux 2.4.16 and
PPCBoot 1.1.2)  PPCBoot passes a data structure (bd_t) with a lot of
board information in it.  The way that this is supposed to work (I
think, please correct me if I'm wrong) is that PPCBoot leaves the
address of the data structure in r3 and one of the first things that
linux should do is to copy or obtain this information somehow.  So, my
question is this: does anyone know where this happens in the code?  I've
been looking in arch/ppc/kernel/setup.c and this looks like where it
should happen but I don't see it.

Any help would be greatly appreciated.

Thanks,
Andy

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: r3 and bd_t
@ 2001-12-12 22:57 Jim Thompson
  2001-12-12 20:56 ` Matt Porter
  2001-12-12 23:23 ` Tom Rini
  0 siblings, 2 replies; 8+ messages in thread
From: Jim Thompson @ 2001-12-12 22:57 UTC (permalink / raw)
  To: jtm, trini; +Cc: andrew.dixon, linuxppc-embedded


>> arch/ppc/kernel/head_8xx.S saves this and passes it onto early_init()
>> iirc, which will pass it along to platform_init(), which copies it for
>> safe keeping.
>
> I think the 8260 uses arch/ppc/kernel/head.S instead of head_8xx.S.

And the 8245?


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-12-12 23:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-11 18:24 r3 and bd_t Andrew Dixon
2001-12-11 18:34 ` Tom Rini
2001-12-12 17:14   ` jtm
2001-12-12 14:08     ` Matt Porter
2001-12-12 17:14     ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2001-12-12 22:57 Jim Thompson
2001-12-12 20:56 ` Matt Porter
2001-12-12 23:23 ` Tom Rini

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).