qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
@ 2008-08-28 21:17 Aurelien Jarno
  2008-08-28 23:08 ` Miklos Vajna
  2008-08-29 21:12 ` Andreas Färber
  0 siblings, 2 replies; 17+ messages in thread
From: Aurelien Jarno @ 2008-08-28 21:17 UTC (permalink / raw)
  To: qemu-devel

Hi,

I have just started to convert the SH4 target to TCG. I am currently
using the user emulation as a way to test if I do not include
regressions. The system emulation is probably a better way to test for
regressions, unfortunately I don't have an SH4 QEMU-ready kernel, and I
don't really want to spend time on that (I also don't have a cross 
toolchain ready for that).

Does someone on this mailing list have an SH4 QEMU-ready kernel? The 
best is probably to do a mini image the same way it is already done
for other architectures [1], so that it can also be useful to others.

About the TCG conversion, I am doing it small part by small part, as I 
am not always sure I can continue the work on the following days, and
I don't not want to prevent people working on that. Patches are welcome,
preferably grouping the same kind of ops together. By the way, patches
for the PPC and Alpha target are also welcome.

Cheers,
Aurelien

[1] http://bellard.org/qemu/download.html

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-28 21:17 [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion) Aurelien Jarno
@ 2008-08-28 23:08 ` Miklos Vajna
  2008-08-29 10:07   ` Aurelien Jarno
  2008-08-29 21:12 ` Andreas Färber
  1 sibling, 1 reply; 17+ messages in thread
From: Miklos Vajna @ 2008-08-28 23:08 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

On Thu, Aug 28, 2008 at 11:17:32PM +0200, Aurelien Jarno <aurelien@aurel32.net> wrote:
> Does someone on this mailing list have an SH4 QEMU-ready kernel?

Have you tried the one in

http://www.landley.net/code/firmware/downloads/binaries/system-image/system-image-sh4.tar.bz2

?

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-28 23:08 ` Miklos Vajna
@ 2008-08-29 10:07   ` Aurelien Jarno
  2008-08-29 12:23     ` Shin-ichiro KAWASAKI
  0 siblings, 1 reply; 17+ messages in thread
From: Aurelien Jarno @ 2008-08-29 10:07 UTC (permalink / raw)
  To: qemu-devel

Miklos Vajna a écrit :
> On Thu, Aug 28, 2008 at 11:17:32PM +0200, Aurelien Jarno <aurelien@aurel32.net> wrote:
>> Does someone on this mailing list have an SH4 QEMU-ready kernel?
> 
> Have you tried the one in
> 
> http://www.landley.net/code/firmware/downloads/binaries/system-image/system-image-sh4.tar.bz2
> 
> ?

Thanks looks like a good start, but I have been unable to get it
booting. qemu-system-sh4 request shix_bios.bin. I have been able to find
a firmware on [1], but even with it it the kernel does not boot...

Any idea?


Aurelien

[1] http://perso.telecom-paristech.fr/~polti/realisations/shix20/

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-29 10:07   ` Aurelien Jarno
@ 2008-08-29 12:23     ` Shin-ichiro KAWASAKI
  2008-08-29 13:33       ` Aurelien Jarno
  0 siblings, 1 reply; 17+ messages in thread
From: Shin-ichiro KAWASAKI @ 2008-08-29 12:23 UTC (permalink / raw)
  To: qemu-devel

Aurelien Jarno wrote:
> Miklos Vajna a écrit :
>> On Thu, Aug 28, 2008 at 11:17:32PM +0200, Aurelien Jarno <aurelien@aurel32.net> wrote:
>>> Does someone on this mailing list have an SH4 QEMU-ready kernel?
>> Have you tried the one in
>>
>> http://www.landley.net/code/firmware/downloads/binaries/system-image/system-image-sh4.tar.bz2
>>
>> ?
> 
> Thanks looks like a good start, but I have been unable to get it
> booting. qemu-system-sh4 request shix_bios.bin. I have been able to find
> a firmware on [1], but even with it it the kernel does not boot...
> 
> Any idea?

Please try this one.

http://www.assembla.com/file/qemu-sh4/3_zImage

The command line is like this.

% ./qemu/sh4-softmmu/qemu-system-sh4 -M r2d -serial vc -serial stdio -m 1024M -kernel zImage


regards,
Shin-ichiro KAWASAKI

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-29 12:23     ` Shin-ichiro KAWASAKI
@ 2008-08-29 13:33       ` Aurelien Jarno
  0 siblings, 0 replies; 17+ messages in thread
From: Aurelien Jarno @ 2008-08-29 13:33 UTC (permalink / raw)
  To: qemu-devel

On Fri, Aug 29, 2008 at 09:23:11PM +0900, Shin-ichiro KAWASAKI wrote:
> Aurelien Jarno wrote:
>> Miklos Vajna a écrit :
>>> On Thu, Aug 28, 2008 at 11:17:32PM +0200, Aurelien Jarno <aurelien@aurel32.net> wrote:
>>>> Does someone on this mailing list have an SH4 QEMU-ready kernel?
>>> Have you tried the one in
>>>
>>> http://www.landley.net/code/firmware/downloads/binaries/system-image/system-image-sh4.tar.bz2
>>>
>>> ?
>>
>> Thanks looks like a good start, but I have been unable to get it
>> booting. qemu-system-sh4 request shix_bios.bin. I have been able to find
>> a firmware on [1], but even with it it the kernel does not boot...
>>
>> Any idea?
>
> Please try this one.
>
> http://www.assembla.com/file/qemu-sh4/3_zImage
>
> The command line is like this.
>
> % ./qemu/sh4-softmmu/qemu-system-sh4 -M r2d -serial vc -serial stdio -m 1024M -kernel zImage
>
>

Thanks a lot, I finally have something to test my TCG conversion, and I
have already spotted on regression, fixed in r5105.

Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-28 21:17 [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion) Aurelien Jarno
  2008-08-28 23:08 ` Miklos Vajna
@ 2008-08-29 21:12 ` Andreas Färber
  2008-08-29 21:53   ` Paul Brook
                     ` (2 more replies)
  1 sibling, 3 replies; 17+ messages in thread
From: Andreas Färber @ 2008-08-29 21:12 UTC (permalink / raw)
  To: qemu-devel

Hi,

Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:

> By the way, patches
> for the PPC and Alpha target are also welcome.

I'd be interested in helping with ppc but I have a problem testing  
such changes: ppc-softmmu does not boot anything, ppc-linux-user does  
not seem to compile outside Linux and ppc-darwin-user does not compile  
on OSX either.

Would patches to make linux-user compile on other platforms make sense  
or is it locked to the platform it emulates?

This is what I get for ppc-darwin-user (using Leopard's gcc 4.0.1):

gcc -I. -I.. -I/Users/andreas/Q/qemu/target-ppc -I/Users/andreas/Q/ 
qemu -MMD -MT main.o -MP -DNEED_CPU_H -D__powerpc__ -D_GNU_SOURCE - 
D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/andreas/Q/qemu/tcg - 
I/Users/andreas/Q/qemu/tcg/ppc -I/Users/andreas/Q/qemu/fpu -I/Users/ 
andreas/Q/qemu/darwin-user -I/Users/andreas/Q/qemu/darwin-user/ppc - 
Wall -O2 -g -fno-strict-aliasing -mdynamic-no-pic  -c -o main.o /Users/ 
andreas/Q/qemu/darwin-user/main.c
In file included from /Users/andreas/Q/qemu/darwin-user/qemu.h:9,
                  from /Users/andreas/Q/qemu/darwin-user/main.c:31:
../thunk.h: In function ‘thunk_type_size’:
../thunk.h:104: error: ‘TARGET_ABI_BITS’ undeclared (first use in this  
function)
../thunk.h:104: error: (Each undeclared identifier is reported only once
../thunk.h:104: error: for each function it appears in.)
../thunk.h: In function ‘thunk_type_align’:
../thunk.h:141: error: ‘TARGET_ABI_BITS’ undeclared (first use in this  
function)
In file included from /Users/andreas/Q/qemu/darwin-user/main.c:31:
/Users/andreas/Q/qemu/darwin-user/qemu.h: At top level:
/Users/andreas/Q/qemu/darwin-user/qemu.h:100: warning: ‘struct  
sigaltstack’ declared inside parameter list
/Users/andreas/Q/qemu/darwin-user/qemu.h:100: warning: its scope is  
only this definition or declaration, which is probably not what you want
make[1]: *** [main.o] Error 1

Regards,
Andreas

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-29 21:12 ` Andreas Färber
@ 2008-08-29 21:53   ` Paul Brook
  2008-08-30 10:23     ` [Qemu-devel] Looking for an SH4 QEMU-ready kernel Jernej Simončič
  2008-08-29 22:12   ` [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion) Miklos Vajna
  2008-08-29 22:29   ` Aurelien Jarno
  2 siblings, 1 reply; 17+ messages in thread
From: Paul Brook @ 2008-08-29 21:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Andreas Färber

> Would patches to make linux-user compile on other platforms make sense
> or is it locked to the platform it emulates?

Linux usermode emulation assumes a linux host. In theory it's possible to make 
it work elsewhere, but it's quite a lot of work, and you may end up having to 
reimplement a fair chunk of the linux kernel.

Paul

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-29 21:12 ` Andreas Färber
  2008-08-29 21:53   ` Paul Brook
@ 2008-08-29 22:12   ` Miklos Vajna
  2008-08-31 13:54     ` Andreas Färber
  2008-08-29 22:29   ` Aurelien Jarno
  2 siblings, 1 reply; 17+ messages in thread
From: Miklos Vajna @ 2008-08-29 22:12 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber <andreas.faerber@web.de> wrote:
> I'd be interested in helping with ppc but I have a problem testing such 
> changes: ppc-softmmu does not boot anything

You can check the link I posted in the previous mail, it contains a
"qemu-bootable" (patched) Linux kernel for PPC as well.

Both the binary and the patches are there.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-29 21:12 ` Andreas Färber
  2008-08-29 21:53   ` Paul Brook
  2008-08-29 22:12   ` [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion) Miklos Vajna
@ 2008-08-29 22:29   ` Aurelien Jarno
  2008-08-31 16:36     ` Andreas Färber
  2 siblings, 1 reply; 17+ messages in thread
From: Aurelien Jarno @ 2008-08-29 22:29 UTC (permalink / raw)
  To: qemu-devel

On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber wrote:
> Hi,
>
> Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:
>
>> By the way, patches
>> for the PPC and Alpha target are also welcome.
>
> I'd be interested in helping with ppc but I have a problem testing such 
> changes: ppc-softmmu does not boot anything, ppc-linux-user does not seem 

ppc-softmmu is able to boot prep kernels (-M prep), but unfortunately the 
support for this platform has been removed from upstream along with the
ppc/ arch (since 2.6.26).

I would suggest a kernel in the 2.6.23-2.6.25 range.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel
  2008-08-29 21:53   ` Paul Brook
@ 2008-08-30 10:23     ` Jernej Simončič
  2008-08-30 13:08       ` Paul Brook
  0 siblings, 1 reply; 17+ messages in thread
From: Jernej Simončič @ 2008-08-30 10:23 UTC (permalink / raw)
  To: Paul Brook on [qemu-devel]

On Friday, August 29, 2008, 23:53:21, Paul Brook wrote:

> Linux usermode emulation assumes a linux host. In theory it's possible to make
> it work elsewhere, but it's quite a lot of work, and you may end up having to
> reimplement a fair chunk of the linux kernel.

Wasn't there a Wine-like project to run Linux applications on Windows
once?

-- 
< Jernej Simončič ><><><><>< http://eternallybored.org/ >

Hot glass looks exactly the same as cold glass.
       -- First Law of Laboratory Work

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel
  2008-08-30 10:23     ` [Qemu-devel] Looking for an SH4 QEMU-ready kernel Jernej Simončič
@ 2008-08-30 13:08       ` Paul Brook
  0 siblings, 0 replies; 17+ messages in thread
From: Paul Brook @ 2008-08-30 13:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jernej Simončič

On Saturday 30 August 2008, Jernej Simončič wrote:
> On Friday, August 29, 2008, 23:53:21, Paul Brook wrote:
> > Linux usermode emulation assumes a linux host. In theory it's possible to
> > make it work elsewhere, but it's quite a lot of work, and you may end up
> > having to reimplement a fair chunk of the linux kernel.
>
> Wasn't there a Wine-like project to run Linux applications on Windows
> once?

Yes. AFAIK it's been dead for years.

I also did a proof-of-concept implementation using qemu usermode emulation on 
cygwin. It's a horrible hack though, and I'd be surprised if it worked for 
any nontrivial applications.

Paul

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-29 22:12   ` [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion) Miklos Vajna
@ 2008-08-31 13:54     ` Andreas Färber
  0 siblings, 0 replies; 17+ messages in thread
From: Andreas Färber @ 2008-08-31 13:54 UTC (permalink / raw)
  To: qemu-devel


Am 30.08.2008 um 00:12 schrieb Miklos Vajna:

> On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber <andreas.faerber@web.de 
> > wrote:
>> I'd be interested in helping with ppc but I have a problem testing  
>> such
>> changes: ppc-softmmu does not boot anything
>
> You can check the link I posted in the previous mail, it contains a
> "qemu-bootable" (patched) Linux kernel for PPC as well.
>
> Both the binary and the patches are there.

I tried Rob's system image with SVN HEAD and it works fine! Thanks.

http://www.landley.net/code/firmware/downloads/binaries/system-image/system-image-powerpc.tar.bz2

Corresponding Linux kernel patch:
http://www.landley.net/hg/firmware/file/f6802733e627/sources/patches/linux-ppcqemu.patch

Andreas

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-29 22:29   ` Aurelien Jarno
@ 2008-08-31 16:36     ` Andreas Färber
  2008-08-31 18:36       ` Aurelien Jarno
  0 siblings, 1 reply; 17+ messages in thread
From: Andreas Färber @ 2008-08-31 16:36 UTC (permalink / raw)
  To: qemu-devel


Am 30.08.2008 um 00:29 schrieb Aurelien Jarno:

> On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber wrote:
>> Hi,
>>
>> Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:
>>
>>> By the way, patches
>>> for the PPC and Alpha target are also welcome.
>>
>> I'd be interested in helping with ppc but I have a problem testing  
>> such
>> changes: ppc-softmmu does not boot anything, ppc-linux-user does  
>> not seem
>
> ppc-softmmu is able to boot prep kernels (-M prep), but  
> unfortunately the
> support for this platform has been removed from upstream along with  
> the
> ppc/ arch (since 2.6.26).

According to Wikipedia, Debian and NetBSD still maintain PReP support.
http://en.wikipedia.org/wiki/PowerPC_Reference_Platform

What's missing in QEMU's default g3bw machine that only PReP is known  
to work? I've tested booting into Debian 4.0 r4a netinst CD (2.6.18?)  
on a real PowerMac G3 blue&white and it works.

Does removal of "the ppc/ arch" in 2.6.26 above imply that recent  
Linux kernels will only work on ppc64 and power?

Andreas

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-31 16:36     ` Andreas Färber
@ 2008-08-31 18:36       ` Aurelien Jarno
  2008-08-31 18:41         ` M. Warner Losh
  2008-08-31 18:54         ` Blue Swirl
  0 siblings, 2 replies; 17+ messages in thread
From: Aurelien Jarno @ 2008-08-31 18:36 UTC (permalink / raw)
  To: qemu-devel

On Sun, Aug 31, 2008 at 06:36:36PM +0200, Andreas Färber wrote:
> 
> Am 30.08.2008 um 00:29 schrieb Aurelien Jarno:
> 
> >On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber wrote:
> >>Hi,
> >>
> >>Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:
> >>
> >>>By the way, patches
> >>>for the PPC and Alpha target are also welcome.
> >>
> >>I'd be interested in helping with ppc but I have a problem testing  
> >>such
> >>changes: ppc-softmmu does not boot anything, ppc-linux-user does  
> >>not seem
> >
> >ppc-softmmu is able to boot prep kernels (-M prep), but  
> >unfortunately the
> >support for this platform has been removed from upstream along with  
> >the
> >ppc/ arch (since 2.6.26).
> 
> According to Wikipedia, Debian and NetBSD still maintain PReP support.
> http://en.wikipedia.org/wiki/PowerPC_Reference_Platform

This is now mostly wrong, PReP support in Debian has been removed from
unstable just after the release of Etch. Debian Lenny won't support it.

> What's missing in QEMU's default g3bw machine that only PReP is known  
> to work? I've tested booting into Debian 4.0 r4a netinst CD (2.6.18?)  
> on a real PowerMac G3 blue&white and it works.

A decent BIOS.

> Does removal of "the ppc/ arch" in 2.6.26 above imply that recent  
> Linux kernels will only work on ppc64 and power?
> 

The ppc/ arch is a new way of supporting both PowerPC and PowerPC64
machines. The CPU support is the same, but it only supports machines
that have been ported to this new arch. Theoretically it is possible
to add PReP support to the ppc/ arch, but nobody cares anymore about
PReP.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-31 18:36       ` Aurelien Jarno
@ 2008-08-31 18:41         ` M. Warner Losh
  2008-08-31 18:54         ` Blue Swirl
  1 sibling, 0 replies; 17+ messages in thread
From: M. Warner Losh @ 2008-08-31 18:41 UTC (permalink / raw)
  To: qemu-devel, aurelien

In message: <20080831183615.GA11830@hall.aurel32.net>
            Aurelien Jarno <aurelien@aurel32.net> writes:
: On Sun, Aug 31, 2008 at 06:36:36PM +0200, Andreas Färber wrote:
: > 
: > Am 30.08.2008 um 00:29 schrieb Aurelien Jarno:
: > 
: > >On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber wrote:
: > >>Hi,
: > >>
: > >>Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:
: > >>
: > >>>By the way, patches
: > >>>for the PPC and Alpha target are also welcome.
: > >>
: > >>I'd be interested in helping with ppc but I have a problem testing  
: > >>such
: > >>changes: ppc-softmmu does not boot anything, ppc-linux-user does  
: > >>not seem
: > >
: > >ppc-softmmu is able to boot prep kernels (-M prep), but  
: > >unfortunately the
: > >support for this platform has been removed from upstream along with  
: > >the
: > >ppc/ arch (since 2.6.26).
: > 
: > According to Wikipedia, Debian and NetBSD still maintain PReP support.
: > http://en.wikipedia.org/wiki/PowerPC_Reference_Platform
: 
: This is now mostly wrong, PReP support in Debian has been removed from
: unstable just after the release of Etch. Debian Lenny won't support it.
: 
: > What's missing in QEMU's default g3bw machine that only PReP is known  
: > to work? I've tested booting into Debian 4.0 r4a netinst CD (2.6.18?)  
: > on a real PowerMac G3 blue&white and it works.
: 
: A decent BIOS.
: 
: > Does removal of "the ppc/ arch" in 2.6.26 above imply that recent  
: > Linux kernels will only work on ppc64 and power?
: > 
: 
: The ppc/ arch is a new way of supporting both PowerPC and PowerPC64
: machines. The CPU support is the same, but it only supports machines
: that have been ported to this new arch. Theoretically it is possible
: to add PReP support to the ppc/ arch, but nobody cares anymore about
: PReP.

s=ppc/=powerpc/=g

arch/powerpc is the new way.  arch/ppc is the old.  Nobody bothered to
port things forward.

warner

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-31 18:36       ` Aurelien Jarno
  2008-08-31 18:41         ` M. Warner Losh
@ 2008-08-31 18:54         ` Blue Swirl
  2008-08-31 18:59           ` Aurelien Jarno
  1 sibling, 1 reply; 17+ messages in thread
From: Blue Swirl @ 2008-08-31 18:54 UTC (permalink / raw)
  To: qemu-devel

On 8/31/08, Aurelien Jarno <aurelien@aurel32.net> wrote:
> On Sun, Aug 31, 2008 at 06:36:36PM +0200, Andreas Färber wrote:
>  >
>  > Am 30.08.2008 um 00:29 schrieb Aurelien Jarno:
>  >
>  > >On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber wrote:
>  > >>Hi,
>  > >>
>  > >>Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:
>  > >>
>  > >>>By the way, patches
>  > >>>for the PPC and Alpha target are also welcome.
>  > >>
>  > >>I'd be interested in helping with ppc but I have a problem testing
>  > >>such
>  > >>changes: ppc-softmmu does not boot anything, ppc-linux-user does
>  > >>not seem
>  > >
>  > >ppc-softmmu is able to boot prep kernels (-M prep), but
>  > >unfortunately the
>  > >support for this platform has been removed from upstream along with
>  > >the
>  > >ppc/ arch (since 2.6.26).
>  >
>  > According to Wikipedia, Debian and NetBSD still maintain PReP support.
>  > http://en.wikipedia.org/wiki/PowerPC_Reference_Platform
>
>  This is now mostly wrong, PReP support in Debian has been removed from
>  unstable just after the release of Etch. Debian Lenny won't support it.
>
>  > What's missing in QEMU's default g3bw machine that only PReP is known
>  > to work? I've tested booting into Debian 4.0 r4a netinst CD (2.6.18?)
>  > on a real PowerMac G3 blue&white and it works.
>
>  A decent BIOS.

Now that the future of OHW looks uncertain, perhaps someone with PPC
knowledge could implement the missing pieces of OpenBIOS for PPC?
There is already some support for pearpc, mol and briq machines.

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

* Re: [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion)
  2008-08-31 18:54         ` Blue Swirl
@ 2008-08-31 18:59           ` Aurelien Jarno
  0 siblings, 0 replies; 17+ messages in thread
From: Aurelien Jarno @ 2008-08-31 18:59 UTC (permalink / raw)
  To: qemu-devel

On Sun, Aug 31, 2008 at 09:54:35PM +0300, Blue Swirl wrote:
> On 8/31/08, Aurelien Jarno <aurelien@aurel32.net> wrote:
> > On Sun, Aug 31, 2008 at 06:36:36PM +0200, Andreas Färber wrote:
> >  >
> >  > Am 30.08.2008 um 00:29 schrieb Aurelien Jarno:
> >  >
> >  > >On Fri, Aug 29, 2008 at 11:12:13PM +0200, Andreas Färber wrote:
> >  > >>Hi,
> >  > >>
> >  > >>Am 28.08.2008 um 23:17 schrieb Aurelien Jarno:
> >  > >>
> >  > >>>By the way, patches
> >  > >>>for the PPC and Alpha target are also welcome.
> >  > >>
> >  > >>I'd be interested in helping with ppc but I have a problem testing
> >  > >>such
> >  > >>changes: ppc-softmmu does not boot anything, ppc-linux-user does
> >  > >>not seem
> >  > >
> >  > >ppc-softmmu is able to boot prep kernels (-M prep), but
> >  > >unfortunately the
> >  > >support for this platform has been removed from upstream along with
> >  > >the
> >  > >ppc/ arch (since 2.6.26).
> >  >
> >  > According to Wikipedia, Debian and NetBSD still maintain PReP support.
> >  > http://en.wikipedia.org/wiki/PowerPC_Reference_Platform
> >
> >  This is now mostly wrong, PReP support in Debian has been removed from
> >  unstable just after the release of Etch. Debian Lenny won't support it.
> >
> >  > What's missing in QEMU's default g3bw machine that only PReP is known
> >  > to work? I've tested booting into Debian 4.0 r4a netinst CD (2.6.18?)
> >  > on a real PowerMac G3 blue&white and it works.
> >
> >  A decent BIOS.
> 
> Now that the future of OHW looks uncertain, perhaps someone with PPC
> knowledge could implement the missing pieces of OpenBIOS for PPC?
> There is already some support for pearpc, mol and briq machines.

That looks like the sane way to go yes.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

end of thread, other threads:[~2008-08-31 18:59 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28 21:17 [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion) Aurelien Jarno
2008-08-28 23:08 ` Miklos Vajna
2008-08-29 10:07   ` Aurelien Jarno
2008-08-29 12:23     ` Shin-ichiro KAWASAKI
2008-08-29 13:33       ` Aurelien Jarno
2008-08-29 21:12 ` Andreas Färber
2008-08-29 21:53   ` Paul Brook
2008-08-30 10:23     ` [Qemu-devel] Looking for an SH4 QEMU-ready kernel Jernej Simončič
2008-08-30 13:08       ` Paul Brook
2008-08-29 22:12   ` [Qemu-devel] Looking for an SH4 QEMU-ready kernel (for TCG conversion) Miklos Vajna
2008-08-31 13:54     ` Andreas Färber
2008-08-29 22:29   ` Aurelien Jarno
2008-08-31 16:36     ` Andreas Färber
2008-08-31 18:36       ` Aurelien Jarno
2008-08-31 18:41         ` M. Warner Losh
2008-08-31 18:54         ` Blue Swirl
2008-08-31 18:59           ` Aurelien Jarno

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