From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Garnett To: Christian Plessl Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] GDB Download on i386 target hangs Date: Tue, 10 Oct 2000 07:58:00 -0000 Message-id: References: <"Tue,> <10> <2000> <12:23:01> <+0200> <"Mon,> <09> <2000> <21:50:46> <+0200> <"Sat,> <07> <2000> <09:55:32> <+0200> <5.0.0.25.0.20001005210937.009f18e0@imap.ee.ethz.ch> <5.0.0.25.0.20001006175309.009ee650@imap.ee.ethz.ch> <5.0.0.25.0.20001009213514.009f2a70@imap.ee.ethz.ch> <5.0.0.25.0.20001010121538.009f5e30@imap.ee.ethz.ch> <5.0.0.25.0.20001010161047.009f93c0@imap.ee.ethz.ch> X-SW-Source: 2000-10/msg00101.html Christian Plessl writes: > >Well, I just ran it and it worked perfectly. Excerpt below: [..snip..] > > hmm, now I'm really confused. At least my toolchain is set up right. Maybe > it's really a hardware problem. I'will check on an other pc. Yes, that's the next obvious step. > > >So, it looks like a hardware problem. What exactly is your hardware > >setup? One thought is that the tools by default probably build for a > >Pentium class machine. You may need to add a compiler option if you > >are running on a 386 or 486. > > Currently I'm running on a Pentium-I 166 (no MMX), 64Mb EDO-RAM, Type > Digital Celebris GL-5166ST. Since a have some other boxes around, I will > try to run it on another PC. > That hardware should be fine. If you have other makes of PC around, try one of those. > > My target system will probably be a 486 single board computer. > What compiler switches would this require? > I'm not entirely sure, and it may not even be necessary if my reading of the documentation is correct. Take a look at the GCC docs for the i386 specific stuff. Adding "-march=i486" to the compile flags should be safe, however. > > Could it be, that my made a configuration mistake, when building the bootdisk? > > Here my commands: > > ecosconfig new pc stubs > ecosconfig tree > make > > Should be ok, right? > Yep, that's correct. The fact that you can download the executable shows that this has been built correctly. If you are still having problems with other PCs, perhaps the next step is for me to send you an executable I built here, and seen whether that runs for you. -- Nick Garnett, eCos Kernel Architect Red Hat, Cambridge, UK