RE: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-29 Thread Gavin Lambert
Quoth Greg Ungerer: > Use readelf. FLAT format files are generated by a trivial > conversion from ELF. (That is they are compiled as ELF, and > a final conversion step is done to convert them to FLAT). The ELF format file is the myapp.gdb file created next to the myapp (FLAT) file. _

RE: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread Gavin Lambert
Quoth Greg Ungerer: > Use readelf. FLAT format files are generated by a trivial > conversion from ELF. (That is they are compiled as ELF, and > a final conversion step is done to convert them to FLAT). The ELF format file is the myapp.gdb file created next to the myapp (FLAT) file. _

Re: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread Jamie Lokier
loody wrote: > > Try adding "-mcpu=arm940t" to the GCC command, and remove > > "-march=armv4t" and "-mtune=arm9tdmi" from it (your example has them). > the situation is still the same when I follow the instructions you suggest. > (I use Codesourcery gcc but assign buildroot lib.) Ah... The fault

Re: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread Greg Ungerer
Hi Loody, loody wrote: my cpu is arm940T. Try adding "-mcpu=arm940t" to the GCC command, and remove "-march=armv4t" and "-mtune=arm9tdmi" from it (your example has them). Hi: Thanks for your help :) the situation is still the same when I follow the instructions you suggest. I will try anothe

Re: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread loody
>> my cpu is arm940T. > > Try adding "-mcpu=arm940t" to the GCC command, and remove > "-march=armv4t" and "-mtune=arm9tdmi" from it (your example has them). > Hi: Thanks for your help :) the situation is still the same when I follow the instructions you suggest. I will try another combinations as

Re: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread Jamie Lokier
loody wrote: > I download the arm-toolchain from codesourcery, > arm-2008q3-68-arm-uclinuxeabi-i686-pc-linux-gnu.tar.bz2 and > arm-2007q1-10-arm-uclinuxeabi-i686-pc-linux-gnu.tar.bz2. > > But my cpu will get "Undefined instruction" each time, when executing > the assembly below: > [0xe1a0e00f]