From: David McCullough (davidm@snapgear.com)
Date: Thu Oct 24 2002 - 09:58:38 EDT
Jivin Patrick Doyle lays it down ... > I am looking for some help getting started with the ARMulator. I have read > the pages at http://www.snapgear.com/tb20020807.html and > http://www.uclinux.org/pub/uClinux/utilities/armulator/. I have installed > the arm-elf tools in /usr/local. (Well, I installed them in /, but they all > went into /usr/local). I have found that I cannot make the version of GDB > included with tools work at all with the precompiled binaries on the > ARMulator page. I have found that (with one minor patch -- adding an > include file that was missing in one of the source files) the version of GDB > referenced on the ARMulator page _does_ work with the precompiled binaries. Others have reported this same problem on RH7.2 and RH7.3. I'll have to get the fix included in the patch ;-) Anyway, so far things are looking good. [...] > In all cases, I unpacked the named distribution into an empty directory; > applied the patch (for the 20020701 distributions); ran "make xconfig"; I am fairly sure you didn't patch the 20020927 right ? It should work out of the box unpatched. > selected "GDB/ARMulator-EB" for the "Vendor/Product"; selected the > appropriate kernel version; and accepted the default "uC-libc" for the "Libc > Version". > > If you are still with me this far, I thank you for your patience :-) First thing to try is selecting the "GDB/ARMulator" target (little endian) and see if that works, Also the tools include an arm-elf-gdb, so make sure you build and install the latest arm-elf-gdb after installing the arm-elf-tools or your will get an older less capable gsb armulator. > Anyway, I feel that I am missing something basic here. Would it be possible > for somebody with experience with the ARMulator to point me to the exact set > of commands that were used to generate the images on the ARMulator page? > Have other people run into the same problem? Did I forget to install > something that I should have? Is there some other option I need to change > from the default in xconfig? Should I compile my own tool chain because the > binary tool chain available on the web has known problems? (In the absence No. The images on the ARMulator page were built with the precompiled tool chain. > of any advice to the contrary, that is where I am going to head next.) > Should I just hunker down with GDB and trace down the place in the source > code where the "BINFMT_FLAT" message is generated and debug this on my own? > (That is where I will head after I build my own tool chain) The problem is somewhere else, the source or the toolschin should be fine. Double check you are running the latest gdb that you built and try the LE target. I know Phil Wilshire had some similar problems to this but I think he has some source mismatches or something, once they were fixed all his problems went away. If you get stuck I can send you a precompiled arm-elf-gdb to try out, Cheers Davidm -- David McCullough: Ph: +61 7 3435 2815 http://www.SnapGear.com davidm@snapgear.com Fx: +61 7 3891 3630 Custom Embedded Solutions + Security This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Oct 24 2002 - 10:03:21 EDT