Huang Dejin Eugene (Jin) recently sent me an email that includes his attempt at an Xbox-Linux 2.6.22 Patch. From the looks of his Change Log, it appears that he's spent a fair amount of effort on it. Jin adds experimental oz_paul partition support, which was something others were recently asking for.
Nice work! Thanks for the patch, Jin! :-)
Hi,
Here's an attempt at merging 2.6.22.
I've splitted the patch into 2 parts, a diff patch
that modifies files that are already in the the main
kernel, and a tar archive containing xbox-linux
specific files.
Apply linux-2.6.22.1-xbox.patch to the official
2.6.22.1 kernel tree, then copy the files in
xbox-linux-2.6.22.1 to the kernel tree before
building.
CHANGES:
arch/i386/mach-xbox/reset-on-eject.c:
arch/i386/mach-xbox/setup.c:
- SA_* macros are deprecated. Replace with
IRQF_*. See include/linux/interrupt.h
- Removed struct pt_regs *regs parameter from
extsmi_interrupt().
fs/fatx/cache.c:
fs/fatx/inode.c:
- The SLAB_CTOR_* flags have been removed in 2.6.22.
The flags test is no longer done in the
fatx_inode_cache and fatx_cache init_once()
"constructor" functions.
fs/fatx/namei.c:
include/linux/fatx_fs.h:
- Changed fatx_get_sb() to return an int instead of
a pointer.
fs/fatx/dir.c:
- Remove unused nr_slots from
__fatx_remove_entries().
fs/partitions/xbox.c:
- Added oz_paul partition support (experimental).
- Added xboxpartition kernel boot option to
explicitly select the partitioning scheme.
Default is to test for oz_paul partition,
then use NKPatcher06 or NKPatcher67 style
partitions. This can be overriden with the
xboxpartition boot option. xboxpartition=1 to
force
NKPatcher06, xboxpartition=2 to force NKPatcher67
(where applicable).
drivers/i2c/busses/i2c-xbox.c:
- Integrated i2c-xbox.patch and cleaned up
struct i2c_algorithm smbus_algorithm
initialisation.
- Replaced deprecated pci_find_device() with
pci_get_device().
drivers/video/xbox/encoder-i2c.c:
- i2c_del_driver() returns void in 2.6.22, so the
return value check in tv_i2c_exit() is no longer
required.
- Shortened some of the i2c_client name fields as
they exceeded the max length (20 chars,
#defined as I2C_NAME_SIZE).
fs/Kconfig:
- Enable FATX in the menuconfig (still marked as
dangerous).
Documentation/input/xpad.txt:
drivers/usb/input/xpad.[ch]:
- Removed. This is already merged upstream.
sound/pci/ac97/ac97_codec.c:
- Removed. Seems identical (??? not quite sure) with
upstream.
TODO:
- Fix FATX.
- Fix sound. I can't seem to get audio going (even on
2.6.21). Tried with modprobe snd-intel8x0 xbox=1
too, no luck.
PCI: Setting latency timer of device 0000:00:06.0 to
64
AC'97 0 does not respond - RESET
Intel ICH: probe of 0000:00:06.0 failed with error
-13
Rgds.
Jin
Bookmark/Search this post with:
Thanks
where can i get these
found the link eventually