Jump to content


Photo

Lalee's Efforts For Xbox Linux Kernel 2.6.21


  • Please log in to reply
25 replies to this topic

#1 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 05 June 2011 - 05:28 AM

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.

#2 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 05 June 2011 - 11:39 AM

Seems like it went to 2.6.22.
http://web.archive.o...404.com/node/52
http://web.archive.o...ode/5#comment-1

The general way to merge patches:
http://web.archive.o...404.com/node/33

#3 NobodyHere

NobodyHere

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 05 June 2011 - 04:13 PM

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.

#4 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 06 June 2011 - 03:59 PM

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

#5 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 08 June 2011 - 03:58 PM

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.

Edited by ldotsfan, 08 June 2011 - 04:00 PM.


#6 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 10 June 2011 - 04:44 PM

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.



#7 luther349

luther349

    X-S Hacker

  • Members
  • PipPipPipPipPipPip
  • 2,367 posts
  • Location:irvine ky
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 10 June 2011 - 09:21 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.

#8 ldotsfan

ldotsfan

    X-S Messiah

  • Dev/Contributor
  • PipPipPipPipPipPipPip
  • 3,100 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 11 June 2011 - 05:58 AM

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.

#9 Master13

Master13

    X-S Member

  • Members
  • Pip
  • 97 posts

Posted 12 June 2011 - 09:39 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

#10 luther349

luther349

    X-S Hacker

  • Members
  • PipPipPipPipPipPip
  • 2,367 posts
  • Location:irvine ky
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 13 June 2011 - 06:29 AM

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.

Edited by luther349, 13 June 2011 - 06:30 AM.


#11 joesnose

joesnose

    X-S Senior Member

  • Members
  • PipPip
  • 175 posts

Posted 14 June 2011 - 10:47 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.

#12 Clockface

Clockface

    X-S Expert

  • Members
  • PipPipPip
  • 574 posts

Posted 16 June 2011 - 11:36 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.

#13 joesnose

joesnose

    X-S Senior Member

  • Members
  • PipPip
  • 175 posts

Posted 16 June 2011 - 09:05 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?

#14 NobodyHere

NobodyHere

    X-S Member

  • Members
  • Pip
  • 102 posts

Posted 17 June 2011 - 05:50 AM

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.


#15 joesnose

joesnose

    X-S Senior Member

  • Members
  • PipPip
  • 175 posts

Posted 17 June 2011 - 02:11 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users