All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fredrik Noring <noring@nocrew.org>
To: Joshua Kinard <kumba@gentoo.org>
Cc: linux-mips@linux-mips.org,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	"Ralf Baechle" <ralf@linux-mips.org>,
	"Jürgen Urban" <JuergenUrban@gmx.de>
Subject: Re: Update PS2 R5900 to kernel 4.x?
Date: Wed, 4 Jul 2018 20:06:23 +0200	[thread overview]
Message-ID: <20180704180621.GB2701@localhost.localdomain> (raw)
In-Reply-To: <b0356404-42b6-6e8b-e15b-57cf98b7d6e6@gentoo.org>

Hi Joshua,

On Thu, Aug 03, 2017 at 10:04:29PM -0400, Joshua Kinard wrote:
> I have one of the PS2 debug machines in a closet somewhere.  Basically a normal
> PS2 with 4x RAM and says "TEST" on the side in the PS2 font.  Can't remember if
> it still works or not.
> 
> And it's insanely way out of date for modern Gentoo (by ~14 years), but I keep
> an archive of the original attempt to run Gentoo on a PS2 from ~2003 here:
> http://dev.gentoo.org/~kumba/mips/ps2/gentoo-ps2/
> 
> The "ps2dev.diff.bz2" patch might be of interest, as it has the changes for the
> toolchain in it.

I now have a modern Gentoo base system with R5900 GCC 7.3.0 and Linux 4.17
running on unmodified PlayStation 2.

The FPU is emulated in software at the moment, and DMA is not yet used for
ATA disks, etc. so there is room for performance improvements. The USB and
the frame buffer are fully functional.

The frame buffer supports resolutions up to 1920x1080p* and is compatible
with HDMI adapters, in addition to various broadcast and VGA modes. The
console driver supports tiles, which are accelerated with texture maps in
Graphics Synthesizer local memory. YWRAP and various other acceleration
techniques are also implemented using hardware.

* The Graphics Synthesizer has 4 MiB of local video memory and 1920x1080p
  at 16 bits per pixel is 4147200 bytes, which leaves 47104 bytes for a
  tiled font which at 8x8 pixels and optimum 4 bits texture with palette
  is at most 1464 characters. The memory is nonlinear making packing
  graphics into it a fun exercise. ;)

Fredrik

      parent reply	other threads:[~2018-07-04 18:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-01 14:08 Update PS2 R5900 to kernel 4.x? Fredrik Noring
2017-08-03 14:25 ` Joshua Kinard
2017-08-03 16:09   ` Fredrik Noring
2017-08-04  2:04     ` Joshua Kinard
2017-08-04 13:45       ` Fredrik Noring
2017-08-04 13:45         ` Fredrik Noring
2017-08-04 14:13         ` Joshua Kinard
2017-08-04 14:57           ` Fredrik Noring
2017-08-04 20:36           ` Fredrik Noring
2017-08-12 13:32           ` Fredrik Noring
2018-07-04 18:06       ` Fredrik Noring [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180704180621.GB2701@localhost.localdomain \
    --to=noring@nocrew.org \
    --cc=JuergenUrban@gmx.de \
    --cc=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.