From: Stuart M. <Stu...@st...> - 2001-09-07 10:40:41
|
Hi there There are a couple of problem here: - It looks like you are using an older version of the gcc tools. The building-source.php3 page should probably be maked as obsolete now, as most people have now migrated to the newer tools described in: http://linuxsh.sourceforge.net/docs/abe/20010320-gcc2.97/README_E.ph= p3 (follow the links at the end of the 'Documents' page on linuxsh.sf.net= ). - A few months ago we decided to drop support for the 7750 Overdrive in the Linux kernel sources (we really don't want to have to continue to support it any longer than necessary - especially now we have ST40 based boards available). So what is in the CVS repository on SourceFor= ge is only some of the code needed. You are probably better off looking at: ftp://ftp.linuxsh.st.com/pub/linuxsh/release-0.4 There you will find RPMS and SRPMs for the compiler, and kernel, which ha= s already been patched to support the 7750 Overdrive. Good luck Stuart On Sep 7, 12:21pm, kl...@fu... wrote: > Subject: [linuxsh-dev] Compiling Linux kernel on ST407750 Overdrive boa= rd > Hi, > = > I hope this is the correct mailinglist for this kind of question. > = > We are currently working on porting the Linux kernel to a ST407750 Over= drive board. We have found the document (http://linuxsh.sourceforge.net/d= ocs/building-source.php3) describing how to build the kernel for SH proce= ssors. We do, though, have some problems. > = > We use the following kernel configuration: > = > CONFIG_SH_STB1_OVERDRIVE=3Dy > CONFIG_CPU_SUBTYPE_SH7750=3Dy > CONFIG_CPU_SH4=3Dy > = > along with default configuration. The problem seems to be that the gcc = version does not support the -m4-nofpu option. We have tried to change th= is in kernel/arch/sh/Makefile: > diff Makefile_org Makefile_changed > 49,50c49,50 > < CFLAGS +=3D -m4-nofpu > < AFLAGS +=3D -m4-nofpu > --- > > CFLAGS +=3D -m4 > > AFLAGS +=3D -m4 > = > but this give rise to other problems. > = > As we need the Overdrive board as a reference for other ports, we would= like to know if there is a "safe/easy" way to make the kernel work on th= e Overdrive board. We also experience problems in getting the sh-ipl+g to= compile. Which version of gcc, binutils and the kernel should we use and= where should we obtain them ? Is the above mentioned document still up-t= o-date? > = > = > thank you, > = > Kristian Sorensen > = > ---- > Kristian Lykkegaard S=F8rensen <kl...@fu...> > Software Architect, M.Sc. > = > = > = > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev > = > = >-- End of excerpt from kl...@fu... |