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 well. BTW,

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 another

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 faulting

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.