From: Alan Cox <alan@redhat.com>
To: mist@c64.org (Michael Steil)
Cc: torvalds@transmeta.com, alan@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Xbox Linux Kernel Patches Questions
Date: Thu, 10 Oct 2002 16:51:30 -0400 (EDT) [thread overview]
Message-ID: <200210102051.g9AKpUo31633@devserv.devel.redhat.com> (raw)
In-Reply-To: <CE3A2942-DC8C-11D6-B7BF-003065E1FB16@c64.org> from "Michael Steil" at Oct 10, 2002 10:13:56 PM
> The Xbox chipset has a PCI bug that makes the system hang when reading
> from 00:00.2 or 00:00.3 in the PCI configuration space. We have added a
> check that ignores these devices, embraced by #ifdef CONFIG_XBOX in
> drivers/pci/pci.c
Can you tell the xbox by the subsystem id on the root bridges ?
> 2) System timer fix
> The system timer runs about 6% faster than on a PC. We have added a
> #ifdef CONFIG_XBOX section to include/asm-i386/timex.h
It isnt actually alone in that - 2.5 probably makes that pretty easy to
accomodate. We have subtrees for x86 variants as a patch set now and used
for the voyager platform. The newer IBM and certain other vendor "big x86"
boxes are pretty weird probably weirder than X-box 8)
> 3) Shutdown/Reboot
> The Xbox doesn't support standardized APM to shut down and doesn't have
> a keyboard controller to reset the system. We have added code to shut
> down and reboot the Xbox in arch/i386/kernel/process.c.
Ok. Thats true of some embedded x86 too
> 4) No keyboard controller
> There already seems to be a patch available that doesn't print 100
> warnings and allocate IRQ1 for the keyboard if there is no keyboard
> controller present and we add the command line parameter "kbd-reset".
> This patch is in 2.4.19-16mdk, but not in plain vanilla 2.4.19. Without
> this patch, we have an interrupt conflict on IRQ1.
The latest code has a kbd_present function. That lets you add the logic
you need.
> Do we have a chance for our kernel fixes for the Xbox to be included
> into the standard kernel? All our changes are tiny and #ifdef
> CONFIG_XBOX and change nothing on a i386 PC or on any other
> architecture.
Probably. I suspect the primary questions are political/lawyer ones rather than
technical ones. Things like the IDE drive password are touchy obviously
but that can be done from an initrd loaded with the kernel I guess.
> Would it be better to have a runtime check at kernel initialization to
> detect the Xbox and put all Xbox specific code between if (xbox) {}?
IMHO yes.
> the way, FATX doesn't only make sense on the Xbox, it's a multi-purpose
> filesystem that might also be used for other applications, because of
> it's simplicity and its small kernel footprint. (Please note that our
> FATX code is still in beta).
>
> Can our additional drivers be added to the standard kernel once they
> are finished?
Yes - you should probably aim at 2.5 for merging rather than 2.4 however,
especially for things like the FATX file system work.
next prev parent reply other threads:[~2002-10-10 20:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 20:13 Michael Steil
2002-10-10 20:48 ` Greg KH
2002-10-10 20:51 ` Alan Cox [this message]
2002-10-10 21:35 ` Michael Steil
2002-10-10 22:06 ` Alan Cox
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=200210102051.g9AKpUo31633@devserv.devel.redhat.com \
--to=alan@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mist@c64.org \
--cc=torvalds@transmeta.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®