Saturday, November 29, 2008

Illegal instruction on s3c2440

I build a root file system using buildroot. gcc 4.2.4, uClibc snapshot. But it didn't work and busybox crashed with illegal instruction. After google it, I found that t is because the default EABI is for ARM5 and my target is ARM920T. I need to change SUBTARGET_CPU_DEFAULT from TARGET_CPU_arm10tdmi to TARGET_CPU_arm920t, which is on gcc/config/arm/linux-eabi.h.

1 comment:

Gabriel Duarte said...

Could you share it?
I would appreciate to build some with it!
Cheers!