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.
_
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.
_
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
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
>> 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
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]