xboxscene.org forums

Pages: [1] 2

Author Topic: Lalee's Efforts For Xbox Linux Kernel 2.6.21  (Read 883 times)

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« on: June 04, 2011, 10:28:00 PM »

http://web.archive.o...6#CurrentStatus
http://sourceforge.n...p...&viewday=11

CODE

Attachments

    * initrd-2.6.18-xbox.fc6.img (2.0 MB) - added by lalee on 01/15/07 21:24:46.
    * kernel-2.6.18xbox.fc6-1.i386.rpm (3.6 MB) - added by lalee on 01/15/07 21:26:44.
    * linuxboot.cfg (1.4 kB) - added by lalee on 01/15/07 21:27:31.
    * xbox-patches-cvs_2.6.16.tar.bz2 (200.6 kB) -"Snapshot of kernel-2.6 as of 2007-Jun-10 - used as base for patches.", added by lalee on 06/10/07 22:22:58.
    * xbox-patches-cvs_2.6.17.tar.bz2 (201.3 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Updated for 2.6.17", added by lalee on 06/10/07 22:24:46.
    * xbox-patches-cvs_2.6.18.tar.bz2 (204.3 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Updated for 2.6.18", added by lalee on 06/10/07 22:25:10.
    * xbox-patches-cvs_2.6.19.tar.bz2 (209.5 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Updated for 2.6.19", added by lalee on 06/10/07 22:25:32.
    * xbox-patches-cvs_2.6.20.tar.bz2 (210.2 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Updated for 2.6.20", added by lalee on 06/10/07 22:26:12.
    * xbox-patches-cvs_2.6.21.tar.bz2 (210.3 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Updated for 2.6.21", added by lalee on 06/10/07 22:26:34.
    * xbox-linux-2.6.16_to_2.6.17.patch (42.2 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Patch-Only Update to 2.6.17", added by lalee on 06/10/07 22:27:39.
    * xbox-linux-2.6.17_to_2.6.18.patch (54.6 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Patch-Only Update 2.6.17 to 2.6.18", added by lalee on 06/10/07 22:28:15.
    * xbox-linux-2.6.18_to_2.6.19.patch (77.9 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Patch-Only Update 2.6.18 to 2.6.19", added by lalee on 06/10/07 22:28:45.
    * xbox-linux-2.6.19_to_2.6.20.patch (28.3 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Patch-Only Update 2.6.19 to 2.6.20", added by lalee on 06/10/07 22:29:16.
    * xbox-linux-2.6.20_to_2.6.21.patch (42.1 kB) -"kernel-2.6 (2007-Jun-10 Snapshot) Patch-Only Update 2.6.20 to 2.6.21", added by lalee on 06/10/07 22:29:43.
    * fatx-2.6.21.patch (4.8 kB) -"FATX patch for 2.6.18 through 2.6.21 !! UNTESTED !!", added by lalee on 06/12/07 02:31:50.
    * i2c-xbox.patch (0.6 kB) -"[PATCH 2.6.21] xbox-linux i2c fix", added by lalee on 06/22/07 13:56:08.
    * config.gz (10.7 kB) -"Kernel Config-File used by Lalee for 2.6.21", added by lalee on 07/08/07 23:43:57.
    * kernel-2.6.21xbox.fc7-2.i386.rpm (3.7 MB) -"XFedora Kernel 2.6.21 (rpm containing Kernel and Compiled Modules)", added by lalee on 07/09/07 00:50:32.
    * initrd-2.6.21-xbox.fc7.img (2.1 MB) -"XFedora Kernel 2.6.21 (matching initrd image)", added by lalee on 07/09/07 01:02:26.


Some of these were archived. I will attempt to reconstruct his efforts if I get the time.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #1 on: June 05, 2011, 04:39:00 AM »

Logged

NobodyHere

  • Archived User
  • Jr. Member
  • *
  • Posts: 62
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #2 on: June 05, 2011, 09:13:00 AM »

This would be nice. I've never installed Linux on my xbox, because I can't install it natively to a partition past 'F:'.

It's too bad nobody ever made a boot-loader that would allow that, or even multi-boot setups.

But, yeah. A 2.6 kernel would be the sh*t as far as newer apps, and bug fixes, are concerned.

Good luck. If you get this working, I'll test it out.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #3 on: June 06, 2011, 08:59:00 AM »

Other efforts: http://forums.gentoo...72-start-0.html
Unfortunately the linked patch is no longer available.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #4 on: June 08, 2011, 08:58:00 AM »

I followed the steps from this howto and got the files from here and used the following kernel config  and was able to boot the 2.6.22.1 kernel which was compiled without FATX support on a 1.6 console with the following linuxboot.cfg:
CODE

kernel linux2622
initrd initrd.gz
append root=/dev/ram0 init=/linuxrc video=xbox:640x480,nohwcursor,hoc=13,voc=13
kbd-reset

I couldn't continue further as the kernel didn't like the initrd.gz I recycled from LUD disc. But nevertheless good news since this work can be continued.

lalee said that he may release xbox linux kernel 2.6.29 at https://github.com/lalee so let's see.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #5 on: June 10, 2011, 09:44:00 AM »

Used the Microcore linux(variant of TinyCore Linux) initramfs as a base - chosen as this was the smallest initramfs I could find, remastered the cpio archive that makes up the initramfs with the kernel modules of 2.6.22.1-xbox. Recompiled the kernel with FATX as I was having issues with getting initrd loaded off the UDF disc and this promptly booted to a linux console prompt. Network didn't seem to work so I need to hunt for a spare USB keyboard.

Incidentally the creator of MicroCore Linux was associated with DSL for a long time and that was used as for the base for X-DSL.

An interesting turn of affairs but more work is needed.

Logged

luther349

  • Archived User
  • Hero Member
  • *
  • Posts: 842
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #6 on: June 10, 2011, 02:21:00 PM »

wile we need more then a up2date kernel to bring life back into xbox linux it is the first step we badly need. th nextsteps will be patching xorg and alisa again.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #7 on: June 10, 2011, 10:58:00 PM »

1. I intend to abandon Xorg. I'm thinking of DirectFB and XDirectFB. This link showed that there was some attempts for Xbox support in the past.

2. I got the network working (but not DHCP) with a recompile of the kernel. Boot Log

3. The hda5x device nodes are missing from the micro core linux and require fixing.

4. Will need to integrate squashfs 3.4 into the kernel to use tinycore linux application extensions.

5. I mounted hda50-55 by mknod the device nodes under /dev and mount the FATX partitions. I was able to view the partitions without errors. I also stored the boot log on E drive without error.

Will continue to work on this again if I can find the time.
Logged

Master13

  • Archived User
  • Jr. Member
  • *
  • Posts: 55
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #8 on: June 12, 2011, 02:39:00 AM »

Nice Work While I am not totally into Linux its cool to see development and updates on Xbox Linux it seemed Xbox Linux was completely dead
Logged

luther349

  • Archived User
  • Hero Member
  • *
  • Posts: 842
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #9 on: June 12, 2011, 11:29:00 PM »

you need xorg patched for tv out directfb is just the driver you use. you also will need to have a new video driver being the kernel uses nevu now.

This post has been edited by luther349: Jun 13 2011, 06:30 AM
Logged

joesnose

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #10 on: June 14, 2011, 03:47:00 AM »

Good to see someone still working on this. Would be amazing to see an updated kernel. Sorry I do not have the expertise to offer any help, also sounds like a lot of work, with the video drivers and all!

Good luck fellas.
Logged

Clockface

  • Archived User
  • Full Member
  • *
  • Posts: 242
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #11 on: June 16, 2011, 04:36:00 AM »

I don't know anything about Linux, but I'd be really interested in this if it could be used to run the Linux version of Unreal Tournament and Quake 3 (mainly UT), will it, do you think?

Also, I've heard that Linux can be used to run both DOS and Windows games, is this possible under XBox Linux?

Thanks for any answers.
Logged

joesnose

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #12 on: June 16, 2011, 02:05:00 PM »

off topic.

It is reported here

 www.xbox-scene.com/xbox1data/sep/EEFEkpyFVuirgnKzbP.php

That there is a quake 3 port, I am guessing this would play much better than running in linux, I don't think the xbox linux graphics driver supports 3D, though I may be wrong. Also a simple google search found the story about the quake 3 port, did you search for it?
Logged

NobodyHere

  • Archived User
  • Jr. Member
  • *
  • Posts: 62
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #13 on: June 16, 2011, 10:50:00 PM »

QUOTE(joesnose @ Jun 14 2011, 10:47 AM) View Post

Good to see someone still working on this. Would be amazing to see an updated kernel. Sorry I do not have the expertise to offer any help, also sounds like a lot of work, with the video drivers and all!

Have you ever compiled in Linux?

A good start would be having a proper build environment, followed by the needed patches. Of course if your doing the patches yourself, it'll be a lot less fun...

QUOTE(ldotsfan @ Jun 10 2011, 04:44 PM) View Post

Used the Microcore linux(variant of TinyCore Linux) initramfs as a base - chosen as this was the smallest initramfs I could find, remastered the cpio archive that makes up the initramfs with the kernel modules of 2.6.22.1-xbox. Recompiled the kernel with FATX as I was having issues with getting initrd loaded off the UDF disc and this promptly booted to a linux console prompt. Network didn't seem to work so I need to hunt for a spare USB keyboard.


I applaud the idea of using TCL as a base. I've used it as recently as about a year back, and found once your internet connectivity is configured, the rest of the set-up is a breeze. I'd consider it even more minimalistic than DSL.

I like Openbox way more than Fluxbox. Unlike what may have been the situation at the time of X-DSL, I actually think the current version of OpenB uses less resources than FluxB.

With an basic Openbox/Wbar base, anyone can tack on what they need for their device. You could add extensions to build a system with limited resources for...

Networking, media center, internet browsing/streaming, classic linux gaming (native ports, or wine), or text/pdf/photo document processing. This would leave the maximum amount of resources available for the Xbox. Of course you could always go with a slower general purpose setup as well.

A note on the newer kernel, it's needed for the latest versions of DOSBox, and Wine. While I'm unsure if the extra overhead of the latest Wine release would nullify, it has a much higher compatibility than X-DSL's 0.9.x series.

DOSBox on the other hand has gotten way faster, and with an increased compatibility. You actually want the latest, assuming you're not using some uber SVN build, with tacked on features.

If I had a PS/2, or an USB, adapter for my box, I'd like to help more. Unfortunately, I don't.
Logged

joesnose

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Lalee's Efforts For Xbox Linux Kernel 2.6.21
« Reply #14 on: June 17, 2011, 07:11:00 AM »

I did sort of make some attempt at porting Tiny core linux over, I however was trying to use a 2.4 kernel until they told me in the TCL forums it would be quite difficult as it wants a 2.6 kernel. It was all a little out of my scope.

I would like to add that making a usb adaptor is very simple. An easy way of doing it is by cutting the break away adaptor off of your xbox controller cable and replacing it using male and female usb ports, ignore the yellow wire it is only needed for light guns, this has the added bonus of allowing you to plug your controller into a pc. A usb port can also be easily added to a controller replacing one of the memory card slots, the only downside of this I you can not plug in a usb hub as the controller is already a hub, meaning only a single item may be plugged in. Making the first adaptor allows you plug in a usb hub and plugging in both keyboard and mouse.

Finally TCL would be superb on the xbox, I think if it was available for a native install I would be willing to lose my xbmc dash to be quite honest. A dual boot kernel would be special, I too am wondering why this has never been achieved.
Logged
Pages: [1] 2