안녕하세요~ EZ-X5를 사용하고 있는 유저 입니다.

임베디드를 공부한지 얼마 되지 않아서 아직 많이 미숙합니다만... 몇가지 여
쭤 볼께요...

우선 강좌란에 유영창님께서 올려주신 EZ-X5용 크로스 컴파일러를 설치했습니
다. 커널 부분에서는 EZ-X5 보드패치는 안하고 ARM과 Xscale용으로만 패치했습
니다.(EZ-X5 보드패치를 하고서도 해보았습니다.) 그리고... u-boot 홈페이지
에서 소스파일을 받아서. 컴파일을 하는데. 에러가 뜹니다. start.S 의 어셈코
드에서 부터 발생하는데....

에러 메세지는 아래와 같습니다~

arm-linux-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -
fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -
DTEXT_BASE=0xa3080000 -I/root/download/u-boot-1.1.1/include -fno-
builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-lib/i386-redhat-
linux/3.3.2/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv5 -
mtune=strongarm1100 -c -o cpu/pxa/start.o /root/download/u-boot-
1.1.1/cpu/pxa/start.S
/root/download/u-boot-1.1.1/cpu/pxa/start.S: Assembler messages:
/root/download/u-boot-1.1.1/cpu/pxa/start.S:121: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:122: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:143: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:145: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:360: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:361: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:366: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:367: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:372: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:373: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:378: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:379: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:384: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:385: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:408: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:409: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:414: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
/root/download/u-boot-1.1.1/cpu/pxa/start.S:415: Error:
internal_relocation (type: OFFSET_IMM) not fixed up
make: *** [cpu/pxa/start.o] 오류 1

KELP에서 뒤져봤는데 비슷한 오류를 내시는 분이 있길래... 유영창 님께서 올
려주신 답변을 가지고 열심히 삽질을 해보았는데.. 그것도 잘 안데네요.. 뭐
가 문제인지 ㅡ.ㅜ

KELP에 Huins보드용 U-Boot를 만들어셔 올려주신 분들이 계셔서 그 소스를 가
지고 컴파일을 해도 같은 에러가 발생하거든요. 크로스 컴파일러를 새로 깔아
봐도 마찬가지고..(덕분에 크로스 컴파일러 설치만... 이제는 빨리 하네
요... -_-;;)

답변 부탁 드리구요.. 시간 나시면.. 잠깐 소스파일 가지고 컴파일 한번 해보
시면 감사하구요.. ㅡ.ㅜ

그리구 질문이 또 있는데... 얼마전에 제가 GPIO Test한다고 Test 모듈 만들었
는데... LED 부분만 달랑 만들었는데.. 그 모듈에 전원 스위치를 하나 만들었
구요..이 스위치를 U2의 80(Vcc)에 연결하고 79(GND)에 연결했었는데... 모듈
이 쇼트가 난지도 확인안하고 그냥 냅따 꽂았다가... 어뎁터에서 뻑!!!! 하는
소리가 나서... 보드가 망가진줄 알았는데... usb로 확인하니까 잘 되서. 보드
는 안나갔구요.. 어뎁터도 확인해 보니 멀쩡하니까.. 아무래도 EZ-X5 보드가
나간거 같은데... 회로도를 보니까 다이오드 부분이 나간게 맞는지 궁금해서
여쭤 봅니다. 맞으면 갈려고 하거든요. 그럼 답변 부탁 드립니다~