linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RTAS on PowerMac Newworld
@ 2000-07-25 10:22 FASSINO Jean-Philippe
  2000-07-25 11:38 ` tom_gall
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: FASSINO Jean-Philippe @ 2000-07-25 10:22 UTC (permalink / raw)
  To: linuxppc-dev@lists.linuxppc.org


Hello,

Just a question about RTAS on PowerMac G4,
does linux kernel can call RTAS function ?
And if not, why ?
I'm trying to do it and that fail...

JP


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 10:22 RTAS on PowerMac Newworld FASSINO Jean-Philippe
@ 2000-07-25 11:38 ` tom_gall
  2000-07-25 11:58   ` Donald Cowart
  2000-07-25 12:08   ` FASSINO Jean-Philippe
  2000-07-25 13:20 ` Benjamin Herrenschmidt
       [not found] ` <20000725131626.8292@mailhost.mipsys.com>
  2 siblings, 2 replies; 13+ messages in thread
From: tom_gall @ 2000-07-25 11:38 UTC (permalink / raw)
  To: FASSINO Jean-Philippe; +Cc: linuxppc-dev


FASSINO Jean-Philippe wrote:
>
> Hello,
>
> Just a question about RTAS on PowerMac G4,
> does linux kernel can call RTAS function ?

Hi Jean-Philippe,

  You can call RTAS on a PowerMac but I wouldn't do it. From what I understand
Apple doesn't recommend that you make use of RTAS on their hardware.

  On RS/6000 hardware you most certainly can use RTAS.

> And if not, why ?
> I'm trying to do it and that fail...
>
> JP

--
Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
Linux Technology Center           supposed to be an earth
(w) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@uswest.net
http://oss.software.ibm.com/developerworks/opensource/linux

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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 11:38 ` tom_gall
@ 2000-07-25 11:58   ` Donald Cowart
  2000-07-25 12:00     ` tom_gall
  2000-07-25 12:00     ` FASSINO Jean-Philippe
  2000-07-25 12:08   ` FASSINO Jean-Philippe
  1 sibling, 2 replies; 13+ messages in thread
From: Donald Cowart @ 2000-07-25 11:58 UTC (permalink / raw)
  To: tom_gall; +Cc: FASSINO Jean-Philippe, linuxppc-dev


Newbie question, what is RTAS?

Donald Cowart  (dcowart@acld.lib.fl.us)
Network Manager
Alachua County Library District
Gainesville, FL

On Tue, 25 Jul 2000 tom_gall@vnet.ibm.com wrote:

>
> FASSINO Jean-Philippe wrote:
> >
> > Hello,
> >
> > Just a question about RTAS on PowerMac G4,
> > does linux kernel can call RTAS function ?
>
> Hi Jean-Philippe,
>
>   You can call RTAS on a PowerMac but I wouldn't do it. From what I understand
> Apple doesn't recommend that you make use of RTAS on their hardware.
>
>   On RS/6000 hardware you most certainly can use RTAS.
>
> > And if not, why ?
> > I'm trying to do it and that fail...
> >
> > JP
>
> --
> Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
> Linux Technology Center           supposed to be an earth
> (w) tom_gall@vnet.ibm.com         shattering ka-boom!"
> (w) 507-253-4558                 -- Marvin Martian
> (h) tgall@uswest.net
> http://oss.software.ibm.com/developerworks/opensource/linux
>
>


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 11:58   ` Donald Cowart
@ 2000-07-25 12:00     ` tom_gall
  2000-07-25 12:00     ` FASSINO Jean-Philippe
  1 sibling, 0 replies; 13+ messages in thread
From: tom_gall @ 2000-07-25 12:00 UTC (permalink / raw)
  To: Donald Cowart; +Cc: FASSINO Jean-Philippe, linuxppc-dev


Donald Cowart wrote:
>
> Newbie question, what is RTAS?

RTAS == Run-Time Abstraction Services

In a nutshell an API the OS may utilize to perform various tasks which without
RTAS would be hardware dependant. For example: reading the level on a battery on
a portable, and so on.

> Donald Cowart  (dcowart@acld.lib.fl.us)


--
Tom Gall - PowerPC Linux Team    "Where's the ka-boom? There was
Linux Technology Center           supposed to be an earth
(w) tom_gall@vnet.ibm.com         shattering ka-boom!"
(w) 507-253-4558                 -- Marvin Martian
(h) tgall@uswest.net
http://oss.software.ibm.com/developerworks/opensource/linux

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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 11:58   ` Donald Cowart
  2000-07-25 12:00     ` tom_gall
@ 2000-07-25 12:00     ` FASSINO Jean-Philippe
  1 sibling, 0 replies; 13+ messages in thread
From: FASSINO Jean-Philippe @ 2000-07-25 12:00 UTC (permalink / raw)
  To: Donald Cowart; +Cc: linuxppc-dev@lists.linuxppc.org


Donald Cowart wrote:

> Newbie question, what is RTAS?

It is the Run-Time Abstraction Services which provide functions
to insulate operating systems from having to know about and manipulating
a number devices. It is a interface between hardware and software.
For example, RTAS provide functions for reading and writing PCI configuration,
shutdown, reboot, get time, managing power, ... of the CHRP computer.

JP


--
--------------------------------------------------------------------------
 Jean-Philippe FASSINO              France Telecom R&D : DTL/ASR
 Tel : 04 76 76 45 52
 mailto:jeanphilippe.fassino@francetelecom.fr
--------------------------------------------------------------------------


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 11:38 ` tom_gall
  2000-07-25 11:58   ` Donald Cowart
@ 2000-07-25 12:08   ` FASSINO Jean-Philippe
  1 sibling, 0 replies; 13+ messages in thread
From: FASSINO Jean-Philippe @ 2000-07-25 12:08 UTC (permalink / raw)
  To: tom_gall; +Cc: linuxppc-dev


tom_gall@vnet.ibm.com wrote:

>   You can call RTAS on a PowerMac but I wouldn't do it. From what I understand
> Apple doesn't recommend that you make use of RTAS on their hardware.

Do you know why ?
Because for embedded systems it is very usefull !

JP


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 10:22 RTAS on PowerMac Newworld FASSINO Jean-Philippe
  2000-07-25 11:38 ` tom_gall
@ 2000-07-25 13:20 ` Benjamin Herrenschmidt
       [not found] ` <20000725131626.8292@mailhost.mipsys.com>
  2 siblings, 0 replies; 13+ messages in thread
From: Benjamin Herrenschmidt @ 2000-07-25 13:20 UTC (permalink / raw)
  To: FASSINO Jean-Philippe, linuxppc-dev


>
>Just a question about RTAS on PowerMac G4,
>does linux kernel can call RTAS function ?
>And if not, why ?
>I'm trying to do it and that fail...

RTAS in not correctly implemented in those machines. Apple is apparently
abandonning it, the implementation in ROM for all core99 machines is
bogus. What do you want to use RTAS for ?

Ben.


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

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

* Re: RTAS on PowerMac Newworld
       [not found] ` <20000725131626.8292@mailhost.mipsys.com>
@ 2000-07-25 13:41   ` FASSINO Jean-Philippe
  2000-07-25 14:03     ` Hollis Blanchard
  2000-07-25 14:41     ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 13+ messages in thread
From: FASSINO Jean-Philippe @ 2000-07-25 13:41 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev


Benjamin Herrenschmidt wrote:

> >
> >Just a question about RTAS on PowerMac G4,
> >does linux kernel can call RTAS function ?
> >And if not, why ?
> >I'm trying to do it and that fail...
>
> RTAS in not correctly implemented in those machines. Apple is apparently
> abandonning it, the implementation in ROM for all core99 machines is
> bogus. What do you want to use RTAS for ?

In the kernel for PPC, a lot a code is here just to do what doing RTAS :
pci config,
via (CUDA and PMU) (no need if no ADB keyboard), ...
When doing embedded systems, this drivers is very big and can be saving by
using
RTAS which i think is a very good thing in  CHRP specification. It's
strange that
apple do not provide it fully.

JP




--
--------------------------------------------------------------------------
 Jean-Philippe FASSINO              France Telecom R&D : DTL/ASR
 Tel : 04 76 76 45 52
 mailto:jeanphilippe.fassino@francetelecom.fr
--------------------------------------------------------------------------


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 13:41   ` FASSINO Jean-Philippe
@ 2000-07-25 14:03     ` Hollis Blanchard
  2000-07-25 14:41     ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 13+ messages in thread
From: Hollis Blanchard @ 2000-07-25 14:03 UTC (permalink / raw)
  To: FASSINO Jean-Philippe; +Cc: linuxppc-dev


FASSINO Jean-Philippe wrote:
>
> When doing embedded systems, this drivers is very big and can be saving by
> using
> RTAS which i think is a very good thing in  CHRP specification. It's
> strange that
> apple do not provide it fully.

I don't think Apple makes any embedded systems. As Tom mentioned though,
other hardware vendors care...

-Hollis

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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 13:41   ` FASSINO Jean-Philippe
  2000-07-25 14:03     ` Hollis Blanchard
@ 2000-07-25 14:41     ` Benjamin Herrenschmidt
  2000-07-25 14:49       ` FASSINO Jean-Philippe
  1 sibling, 1 reply; 13+ messages in thread
From: Benjamin Herrenschmidt @ 2000-07-25 14:41 UTC (permalink / raw)
  To: FASSINO Jean-Philippe, linuxppc-dev


>In the kernel for PPC, a lot a code is here just to do what doing RTAS :
>pci config,
>via (CUDA and PMU) (no need if no ADB keyboard), ...
>When doing embedded systems, this drivers is very big and can be saving by
>using
>RTAS which i think is a very good thing in  CHRP specification. It's
>strange that
>apple do not provide it fully.

Well, they didn't care about it. Note that Macs are far from beeing
embedded boxes ;)

Ben.


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 14:41     ` Benjamin Herrenschmidt
@ 2000-07-25 14:49       ` FASSINO Jean-Philippe
  2000-07-25 18:37         ` Geert Uytterhoeven
  0 siblings, 1 reply; 13+ messages in thread
From: FASSINO Jean-Philippe @ 2000-07-25 14:49 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev


Benjamin Herrenschmidt wrote:

> >In the kernel for PPC, a lot a code is here just to do what doing RTAS :
> >pci config,
> >via (CUDA and PMU) (no need if no ADB keyboard), ...
> >When doing embedded systems, this drivers is very big and can be saving by
> >using
> >RTAS which i think is a very good thing in  CHRP specification. It's
> >strange that
> >apple do not provide it fully.
>
> Well, they didn't care about it. Note that Macs are far from beeing
> embedded boxes ;)

Yes, but i'm using embedded term for small system that doing dedicate task
and only one (for example firewall, gateway, ... in only 50-100k kernel size).

I'm actually experienced that with G4 with 4 network card.

JP


--
--------------------------------------------------------------------------
 Jean-Philippe FASSINO              France Telecom R&D : DTL/ASR
 Tel : 04 76 76 45 52
 mailto:jeanphilippe.fassino@francetelecom.fr
--------------------------------------------------------------------------


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 14:49       ` FASSINO Jean-Philippe
@ 2000-07-25 18:37         ` Geert Uytterhoeven
  2000-07-26 12:25           ` FASSINO Jean-Philippe
  0 siblings, 1 reply; 13+ messages in thread
From: Geert Uytterhoeven @ 2000-07-25 18:37 UTC (permalink / raw)
  To: FASSINO Jean-Philippe; +Cc: Benjamin Herrenschmidt, linuxppc-dev


On Tue, 25 Jul 2000, FASSINO Jean-Philippe wrote:
> Benjamin Herrenschmidt wrote:
> > >In the kernel for PPC, a lot a code is here just to do what doing RTAS :
> > >pci config,
> > >via (CUDA and PMU) (no need if no ADB keyboard), ...
> > >When doing embedded systems, this drivers is very big and can be saving by
> > >using
> > >RTAS which i think is a very good thing in  CHRP specification. It's
> > >strange that
> > >apple do not provide it fully.
> >
> > Well, they didn't care about it. Note that Macs are far from beeing
> > embedded boxes ;)
>
> Yes, but i'm using embedded term for small system that doing dedicate task
> and only one (for example firewall, gateway, ... in only 50-100k kernel size).
>
> I'm actually experienced that with G4 with 4 network card.

And what's the smallest amount of memory you can put in a G4? I guess it's an
order of magnitude larger than a kernel containing all possible drivers :-)

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


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

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

* Re: RTAS on PowerMac Newworld
  2000-07-25 18:37         ` Geert Uytterhoeven
@ 2000-07-26 12:25           ` FASSINO Jean-Philippe
  0 siblings, 0 replies; 13+ messages in thread
From: FASSINO Jean-Philippe @ 2000-07-26 12:25 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linuxppc-dev@lists.linuxppc.org


Geert Uytterhoeven wrote:

> On Tue, 25 Jul 2000, FASSINO Jean-Philippe wrote:
> > Benjamin Herrenschmidt wrote:
> > > >In the kernel for PPC, a lot a code is here just to do what doing RTAS :
> > > >pci config,
> > > >via (CUDA and PMU) (no need if no ADB keyboard), ...
> > > >When doing embedded systems, this drivers is very big and can be saving by
> > > >using
> > > >RTAS which i think is a very good thing in  CHRP specification. It's
> > > >strange that
> > > >apple do not provide it fully.
> > >
> > > Well, they didn't care about it. Note that Macs are far from beeing
> > > embedded boxes ;)
> >
> > Yes, but i'm using embedded term for small system that doing dedicate task
> > and only one (for example firewall, gateway, ... in only 50-100k kernel size).
> >
> > I'm actually experienced that with G4 with 4 network card.
>
> And what's the smallest amount of memory you can put in a G4? I guess it's an
> order of magnitude larger than a kernel containing all possible drivers :-)

Sure, but G4 is just a good computer for experimentation !

JP


--
--------------------------------------------------------------------------
 Jean-Philippe FASSINO              France Telecom R&D : DTL/ASR
 Tel : 04 76 76 45 52
 mailto:jeanphilippe.fassino@francetelecom.fr
--------------------------------------------------------------------------


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

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

end of thread, other threads:[~2000-07-26 12:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-25 10:22 RTAS on PowerMac Newworld FASSINO Jean-Philippe
2000-07-25 11:38 ` tom_gall
2000-07-25 11:58   ` Donald Cowart
2000-07-25 12:00     ` tom_gall
2000-07-25 12:00     ` FASSINO Jean-Philippe
2000-07-25 12:08   ` FASSINO Jean-Philippe
2000-07-25 13:20 ` Benjamin Herrenschmidt
     [not found] ` <20000725131626.8292@mailhost.mipsys.com>
2000-07-25 13:41   ` FASSINO Jean-Philippe
2000-07-25 14:03     ` Hollis Blanchard
2000-07-25 14:41     ` Benjamin Herrenschmidt
2000-07-25 14:49       ` FASSINO Jean-Philippe
2000-07-25 18:37         ` Geert Uytterhoeven
2000-07-26 12:25           ` FASSINO Jean-Philippe

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