From: M. R. B. <mr...@0x...> - 2002-10-19 12:16:38
|
* Erik Andersen <and...@co...> on Sat, Oct 19, 2002: > Hi, I'm new to the list. I spent some time this morning porting > the linux-sh and linux-sh-dc kernel trees up to > linux-2.4.20-pre10. The ports were not especially difficult and > the only place that required any violence was the sh watchdog > driver, which had some conflicts vs the kernel version. Note the mainline version of the watchdog is more up-to-date than the linuxsh one, iirc. > > I used the sh toolchain from > ftp://ftp.m17n.org/pub/dodes/debian/ > but I don't have a lot of confidence in gcc 3.0.3 -- I've had > some bad luck with gcc 3.0 in general, so it may very well be the > toolchain. dunno. What is the recommended toolchain for > Dreamcast/SH4 kernel hacking? gcc 3.2 / binutils 2.12.1? > I recommend stable as being GCC 3.0.4 and binutils 2.13 w/ patches. The patches can be found at ftp://ftp.m17n.org/pub/linux-sh/testing/. Look for the highest patch revision (0 for GCC 3.0.4 and 6 for binutils 2.11.2). The binutils 2.11.2 patch should apply cleanly to 2.13. I have built a GCC 3.2 toolchain (based on uClibc even :P) but I haven't had a chance to test it yet. I've attached the patch for 3.2 (Karl, do you remember the original location of Kaz' 3.1/3.2 patch?). It should also apply cleanly to stock 3.2. > For the curious (or the helpful), my patches for 2.4.20-pre10 > can be found here: > http://codepoet.org/dreamcast/ > Thanks! I'll grab your patches and integrate them into both the linuxsh and linuxdc trees. I've been busy scrambling to get the bitrotten linuxsh tree up to snuff for 2.5 before the freeze, so I'll probably switch our experimental linux-sh-dc tree over to 2.5 RSN. M. R. |