Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] Illegal instruction


  • To: "arm-gnu" <arm-gnu@xxxxxxxxxxxxxxxx>
  • Subject: [arm-gnu] Illegal instruction
  • From: "Bily" <hsssss1111@xxxxxxx>
  • Date: Wed, 8 Oct 2008 11:03:05 +0800

hi,all
    I use the cross tool : 2008q1(LINUX) to compile my kernel project and applications. now I meet the problem when I compile an application (for example mtd-snapshot) successfully.and I download the "flash_eraseall" application to the target board (AT91RM9200).it can not run .but just display "Illegal instruction".

    my kernel is 2.6.26,and I have select the EABI option in the menuconfig.

    when I compile  the application ,I have added the CFLAGS :-march=armv4t;and the libs I copy to my root file system (under /libs) is from the toolchain(/libc/armv4t/lib).

    I read the maillist ,and found that someone has met the problems before,but It seems that it does not 
fit for me. so please help with this problem,and thanks a lot!~

Bily
2008-10-08