Date: Mon, 13 Nov 2006 23:18:15 +0100 From: Rene Ladan <r.c.ladan@gmail.com> To: freebsd-current@freebsd.org Subject: [Fwd: xtaf-r6-20061112 available] Message-ID: <4558EF27.2040601@gmail.com>
next in thread | raw e-mail | index | archive | help
I thought it might be interesting to forward the message below to current@ . I have made a version of the patch for CURRENT 2006-11-13 available at http://home.tiscali.nl/rladan/freebsd/xtaf-head-20061113.diff.bz2 -rw-r--r-- 1 rene rene 40867 13 nov 22:34 xtaf-head-20061113.diff.bz2 MD5 (xtaf-head-20061113.diff.bz2) = b8be64e1331470a1153965dc0903d085 It survives 'make buildworld' and 'make buildkernel', it probably doesn't properly hook up to /dev yet (see below). If you want to play with the code, you'd better take a dd of your precious Xbox stuff... (i.e. no warranty) Regards, Rene -------- Originele bericht -------- Onderwerp: xtaf-r6-20061112 available Datum: Sun, 12 Nov 2006 23:47:39 +0100 Van: Rene Ladan <r.c.ladan@gmail.com> Aan: freebsd-fs@freebsd.org Hi, I've uploaded a new version of the XTAF (XBox 360 fs) code at http://home.tiscali.nl/rladan/freebsd/xtaf-r6-20061112.diff.bz2 The code now patch(1)es against /usr/src, no further actions are needed as in the previous version. It compiles on RELENG_6 2006-11-12, it probably fails on CURRENT. Read support should be fairly complete. Some hard disk issues may be remaining, but memory cards should be supported unless I made a mistake somewhere. I haven't really looked into write support yet. The biggest todo right now is to connect the code with the code which creates /dev/da?s? (geom?) . Both memory cards and hard disks have multiple slices. The start/size information is not stored on the devices, but in the XBox 360 kernel, so we have to duplicate it here. For memory cards (64MB) : start size info 0x0 0x7ff,000 XTAF, 16 bits, system cache 0x7ff,000 0x3,621,000 XTAF, 16 bits, user area For hard disks (20GB) : start size info 0x0 0x80,000 hard disk header 0x80,000 0x80,000,000 XTAF, 16 bits, system cache 0x80,080,000 0xA0,E30,000 unused, filled with 00 0x120,eb0,000 0x10,000,000 XTAF, 16 bits, XBox 1 compatibility 0x130,eb0,000 0x377,680,000 XTAF, 32 bits, user area I haven't yet looked at the new 256MB memory cards (goto shop). There are also rumors about larger hard disks, ranging from 60GB to 200GB. Other todos: write support, hard disk header support Could some locking / fs guru could sanity check the code? That would speed up runtime testing of the code. Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4558EF27.2040601>