Jump to content


Photo

Bulding Linux


  • Please log in to reply
15 replies to this topic

#1 luther349

luther349

    X-S Hacker

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

Posted 20 June 2010 - 04:24 AM

i was thinking of patching up the latest dsl to work on the xbox. but i found no info on how to actually make a xbox distro. i figured with all the dead project the few users left would whant a fully updated distro.

i really am conserding giving puppy a 2.4 kernel for the xbox its a mix of ubuntu lucid and puppy its the best mini distro out there now. the woof builder makes it easy other then the xbox patches.

Edited by luther349, 20 June 2010 - 04:39 AM.


#2 luther349

luther349

    X-S Hacker

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

Posted 20 June 2010 - 06:36 AM

i finnly found all the files to make this work but i will be diving bliend into this. hears hopin

#3 luther349

luther349

    X-S Hacker

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

Posted 23 June 2010 - 02:43 AM

55 views i guess people still care. well i had to get a old distro to compile the kernel. now i gotta figure out how to move it to a new distro.

#4 Red_Breast

Red_Breast

    X-S Member

  • Members
  • Pip
  • 107 posts
  • Location:Sunny Devon. UK.
  • Interests:Sci-fi. Wizards, orcs, elves are turned away except if you're first name's Liv. Reading. Games.
  • Xbox Version:v1.3
  • 360 version:v1 (xenon)

Posted 26 June 2010 - 11:16 AM

It looks like you'd like to hear from somebody. So here goes.
I think I like the idea of what you're doing but I can't tell because I'm having trouble understanding your posts.
Another case of dyslexia? - it seems like loads of people suffer from it these days.


#5 lawdawg0931

lawdawg0931

    X-S Expert

  • Members
  • PipPipPip
  • 534 posts
  • Location:Maui (in my mind)
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 26 June 2010 - 02:16 PM

Dsl is a very handy, easy to use program....so any update of that or similar Linux distro for xbox is always a welcome thing. I myself just cannot say "Goodbye" to the 'ole Xbox. wink.gif

#6 luther349

luther349

    X-S Hacker

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

Posted 27 June 2010 - 04:34 AM

im working on puppy being its more updated then dsl and pretty fast. but i have a issue with merging squishfs into the xbox kernel so puppy can work.

#7 ldotsfan

ldotsfan

    X-S Messiah

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

Posted 27 June 2010 - 01:24 PM

I see 2 options:
1. Remaster Puppy into a compatible filesystem that your kernel supports.
2. Use an older version of Squashfs, I had luck compiling Squashfs 2.2 against stock 2.4.32 kernel before applying xbox linux patches. http://sourceforge.n...m2/files/LBA48/ Yes, the sequence of applying patches matters. The xbox linux patch may fail at certain thunks and I manually edited the points of failure to merge in the changes.

When working on xdsl, I hit a wall with cloop and only one single version of cloop will compile cleanly with my patched kernel.

Good luck on your endeavours with Puppy.

#8 luther349

luther349

    X-S Hacker

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

Posted 28 June 2010 - 01:27 AM

yea it fails at the fatx chunk probably the same way yours failed. and squish fs 3.0 was the last of the 2.4 serise squishfs better to go newer. if you knoe what lines to fix maybe you can post me a modded patch file. if you applyed a 2.2 patch to 2.4.37-9 you defently could do it with squish 3.0 thers no 2.4.37 patch for it/ just 2.4.31 of course i could use use eyther kernel.

oh i fell stupid now you aruldy have a kernel with squishfs on it pre compiled.

Edited by luther349, 28 June 2010 - 01:37 AM.


#9 ldotsfan

ldotsfan

    X-S Messiah

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

Posted 29 June 2010 - 12:30 PM

The 2.4.32 kernel tarball was uploaded to the link I gave above. I started with 2.4.32 which was the last version in xbox linux CVS before moving onto 2.4.37.9. I didn't write the 2.4.37.9 patch as well. Shallax from Gentoox did. I merely applied his 2.4.37 patch against the 2.4.37.9 tree knowing that in general the mainline kernel don't usually make changes affecting the xbox linux patches.

The failed thunks wasn't something complicated hence I was able to merge in the changes. You probably can do a diff of your kernel tree against mine to see the differences.


#10 luther349

luther349

    X-S Hacker

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

Posted 30 June 2010 - 06:34 AM

gopefully the kernel is the biggest hurdel and x and alisa whont be hard.


#11 luther349

luther349

    X-S Hacker

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

Posted 30 June 2010 - 07:36 AM

well i finnly got it to compile lol. now to try and get it to run. attempt one remaster cd with new vmlinz.

Edited by luther349, 30 June 2010 - 08:29 AM.


#12 luther349

luther349

    X-S Hacker

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

Posted 30 June 2010 - 01:36 PM

puppy did not like that at all but im sure its a mistake i made. i never have been good at this sort of stuff granted i did pupeee 4 but that was mostly just binary patching no recompiling. isotsfan you relly should grab lucid pup and the devx file for it. also install the older gcc manually they don't conflict just when compiling the kernel use CC=gcc-2.95. it may be a squish fs problem being it uses 4 i dunno. puppy it pretty easy to turn into a full c environment boot cd download devx file put in /mnt/home reboot save session somewhere cdrw to a hdd whatever go to the boot manager in system add devx to it reboot again saving its a dev puppy version after that. you can do it on a fill hdd install to put then you cant remove the files by removing devx from the boot manager. making the distro bigger then it needs to be.

i relly wish 2.6 and fatx where stable. if 2.6 was stable i could use the woof builder to completely compile a new puppy with whatever kernel i wanted as well as all the other xbox patches. but it uses gcc 4 and 2.4 will not compile with that.

Edited by luther349, 30 June 2010 - 01:53 PM.


#13 ldotsfan

ldotsfan

    X-S Messiah

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

Posted 01 July 2010 - 04:35 AM

What's the error message? You can remove the silent flag in linuxboot.cfg to see the boot messages. Even a kernel panic error message will help.

#14 luther349

luther349

    X-S Hacker

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

Posted 01 July 2010 - 08:38 AM

well i looked up fatx and 2.6 the only real issue with it is its dirt slow abought 9x slower then ext3. being i whont have the compile issues im getting with 2.4 i may use the 2.6 xbox kernel for puppy. it should have no problem working then. it will just give apps a big load time but snappy after they are loaded. i will also have squish's 4 support native. the only issue now is getting the latest 2.6 to work on a xbox patch the latest you have is 2.6.22. 2.6.29 and up have nativ sipport for sfs 4.0.

the real issue nobody relly works on the orignal xbox anymore all the patches are dated xorg alisa and so on. and now that i think of it the 2.6.34 kernel doesent even use the nv driver anymore it uses nevu meaning thers no way to patch it using the older patches a new driver has to be made. we can probly still use 2.6.29

Edited by luther349, 01 July 2010 - 09:12 AM.


#15 ldotsfan

ldotsfan

    X-S Messiah

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

Posted 02 July 2010 - 03:24 PM

2.6.22 cannot boot and I don't know why and 2.6.18 FATX is broken. I managed to cause a kernel oops just by deleting a file from the FATX partition.

Instead of moving forward on the versions, I guess we have to move backwards. IMHO there are no real issues using an older version of squashfs. You still have the remastering option which I suggested a few posts back.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users