xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
> X-dsl 0.7 Remake Based On New Kernel
ldotsfan
post May 17 2010, 02:24 AM
Post #1


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



Continued from here.
Motivation to do this: Run X-dsl from a 32k FATX xbpartitioner partition. Also to support a native install to non-standard partition beyond F and G.

I was able to get X-dsl 0.7 to boot from a frugal install with the new 2.4.32 kernel. Here's a work-log of the changes made, I referred to an archive.org copy of the x-dsl documentation:

CODE

The Kernel

The 2.4.26 kernel used in Damn Small Linux (http://www.damnsmalllinux.org) has been replaced by a 2.4.31 kernel. This is a vanilla kernel from kernel.org with the latest xbox-linux patches (http://sourceforge.net/projects/xbox-linux/) and the knoppix 2.4 kernel patch (available in /usr/src on a knoppix cd). The kernel configuration is available at /boot/config-2.4.31-xbox when running X-DSL. The linux-wlan-ng, ndiswrapper and xbox lirc modules were then compiled against this kernel and are included in X-DSL.

In order to add the kernel the following was modified:

/lib/modules/2.4.26 (removed)
/boot/System.map-2.4.26 (removed)
/lib/modules/2.4.31-xbox (added)
/boot/System.map-2.4.31-xbox (added)
/boot/config-2.4.31-xbox (added)
/boot/System.map (updated to link to System.map-2.4.31-xbox)

The kernel modules in the /modules directory of the initial ramdisk also needed to be replaced with their updated versions


1. I used the kernel config grabbed from a running copy of x-dsl 0.7 /boot folder.
2. I compiled against this kernel with make oldconfig under Xebian 1.1.4 running in VirtualBox. Rename bzImage to linux24 to follow x-dsl naming convention in linuxboot.cfg
3. I compiled cloop module with cloop v2.00-1.
4. Use cloop's extract_compressed_fs to extract KNOPPIX as an iso
5. mount KNOPPIX.iso and copy all files to a working folder.
6. Add amended System.map and 2.4.32-xbox modules to KNOPPIX working folder.
7. mkisofs piped to create_compressed_fs to remaster KNOPPIX.
8. Add cloop.o to minirt24.gz modules folder. minirt24 is an ext2 image.
9. Copy KNOPPIX, minirt24.gz and linux24 to KNOPPIX folder on xbox E drive. Already had linuxboot.cfg and default.xbe in place on E drive.
10. Execute xromwell's default.xbe. Select FATX on E.
11. x-dsl 0.7 boots to the familiar DSL desktop.
12. Quick test with firefox and a xshell. Ok.
13. Did a quick loopback install without errors.

Problems:
1. Sound is not working.
2. lirc is not working.
3. Probably many other things.

TO-DO:
1. Modify X-dsl native install script to install to any of the non-standard partitions beyond F and G. Co-existance of F and/or G along with linux partitions.
2. Fix the known problems.

My files can be found here. I will also update the kernel.config used to the same place.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
ldotsfan
post Apr 19 2012, 04:37 PM
Post #2


X-S Messiah
*******

Group: Dev/Contributor
Posts: 3098
Joined: 23-March 08
Member No.: 376711
Xbox Version: v1.1
360 version: unknown



Only run088 reported back on the FATX changes.

x-dsl and xbox linux sites are both down - so this explains the dispersed information. It doesn't help that the pinned threads haven't been maintained for a long time.

I will have a go at this again when I find the time and users report back on their experience.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
ldotsfan   X-dsl 0.7 Remake Based On New Kernel   May 17 2010, 02:24 AM
ldotsfan   Problems: 1. Sound is not working. 2. lirc is not...   May 17 2010, 02:42 PM
ldotsfan   2. I compiled against this [url=http://sourceforg...   May 17 2010, 03:30 PM
run088   Your the man. I just grabbed and got an initial ...   May 17 2010, 09:36 PM
run088   Further testing showed partitions of both 32k and ...   May 18 2010, 05:24 AM
ldotsfan   Further testing showed partitions of both 32k and...   May 18 2010, 01:22 PM
run088   In dsl's file manager once the partition has b...   May 18 2010, 08:06 PM
ldotsfan   Are you wanting me to run those test on the build...   May 19 2010, 01:33 PM
run088   Here is what showed up on the part.txt it made a p...   May 20 2010, 12:10 AM
ldotsfan   To clarify: 1. Is the output from build 1 or 2? 2...   May 20 2010, 03:51 AM
run088   To clarify: 1. Is the output from build 1 or 2? ...   May 20 2010, 04:05 AM
ldotsfan   I found out both builds work however the lines ar...   May 20 2010, 10:20 AM
run088   128mg always has worked for me on all distros. I r...   May 20 2010, 07:10 PM
ldotsfan   I've a new kernel ready for testing, please se...   May 21 2010, 11:51 AM
ldotsfan   Gentoo patch is good for 2.4.37.9 as well, which i...   May 22 2010, 04:28 PM
Rygrass   Do you need to have a 128mb ram installed on your ...   Jun 5 2010, 11:07 PM
Rygrass   Sorry for double post i can't edit the other f...   Jun 7 2010, 08:43 PM
luther349   its cool your working on dsl again but. dsl linux ...   Jun 20 2010, 11:36 AM
NaiGuy   It would def def be nice to see puppy ported to xb...   Jun 25 2010, 05:23 AM
luther349   i found the older debs hopefully i can install the...   Jun 25 2010, 05:06 PM
ldotsfan   Are you aware of this? I will summarize the key d...   Jun 26 2010, 04:41 AM
luther349   well if i can get a kernel compile to work in pupp...   Jun 26 2010, 05:40 AM
Zebedee Rocks   How would one go about patching this kernel with o...   Feb 2 2011, 11:49 PM
laminatedkitten   I like the idea of having a 2.6 kernel on XDSL bec...   Feb 8 2011, 04:30 AM
luther349   alisa needs to be patched for sound to work. aweso...   Feb 9 2011, 05:26 AM
ldotsfan   Can I get some sense of whether there are any acti...   Mar 29 2012, 11:09 AM
NobodyHere   Can I get some sense of whether there are any act...   Apr 18 2012, 04:23 PM
law56ker   I've seen this release on other xbox resource ...   Apr 19 2012, 05:26 AM
Cio   I'm glad to see some activity here (even if mi...   May 19 2012, 02:26 AM
ldotsfan   x-dsl's native install script and the boot pr...   May 19 2012, 04:24 AM
Cio   Thanks, but I guess Cromwell 2.40 cannot boot from...   May 19 2012, 06:07 AM
Cio   I found that the native install script fails compl...   May 19 2012, 04:07 PM
ldotsfan   Any kind of feedback is good. The x-dsl archive al...   May 28 2012, 01:57 PM






Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 19th May 2013 - 06:13 AM