embeded/ARM2015. 2. 9. 14:13

CFLAGS에 주니 이상해서

CC = (CROSS_COMPILE)gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp

주고 컴파일 후

$ readelf -a u-boot

로 확인해본 내용


$ readelf -a u-boot

Attribute Section: aeabi

File Attributes

  Tag_CPU_name: "5"

  Tag_CPU_arch: v5T

  Tag_ARM_ISA_use: Yes

  Tag_THUMB_ISA_use: Thumb-1

  Tag_ABI_PCS_wchar_t: 4

  Tag_ABI_FP_denormal: Needed

  Tag_ABI_FP_exceptions: Needed

  Tag_ABI_FP_number_model: IEEE 754

  Tag_ABI_align8_needed: Yes

  Tag_ABI_enum_size: int 


$ readelf -a u-boot

Attribute Section: aeabi

File Attributes

  Tag_CPU_name: "7-A"

  Tag_CPU_arch: v7

  Tag_CPU_arch_profile: Application

  Tag_ARM_ISA_use: Yes

  Tag_THUMB_ISA_use: Thumb-2

  Tag_FP_arch: VFPv3

  Tag_Advanced_SIMD_arch: NEONv1

  Tag_ABI_PCS_wchar_t: 4

  Tag_ABI_FP_denormal: Needed

  Tag_ABI_FP_exceptions: Needed

  Tag_ABI_FP_number_model: IEEE 754

  Tag_ABI_align_needed: 8-byte

  Tag_ABI_enum_size: int 


머.. 그렇게 한다고 해도.. neon이나 vfpv3가 활성화 되진 않네..

Posted by 구차니