From: Ken Gordon (kengordon@magneticscrolls.com)
Date: Tue Oct 08 2002 - 08:41:33 EDT
Using gcc 2.95.2 or 2.95.3 I get the following when trying to build a pxa
bootldr. I took 2.19.30 from CVS, set CONFIG_ARCH=PXA in config.mk and
build. Do I need a newer gcc. If so which.
I'm assuming the comment in config.mk
#
# one of skiff, bitsy, assabet, jornada720, jornada56x, spot, gator, h3900
# skiff: Compaq Personal Server research prototype
# bitsy: Compaq iPAQ - H31xx, H36xx, H37xx, H38xx
# assabet: Intel SA1110 evaluation board
CONFIG_ARCH=PXA
is a lie. CONFIG_ARCH=h3900 results in:
bootldr.c:2401: #error no architecture defined in update_baudrate
Is there anything else non-obvious I should know wrt the pxa support. I've
used bootldr before on a custom sa1110 board and I'd prefer it to RedBoot
for our pxa250 board.
Ken
bash-2.04# gmake
arm-linux-gcc -DCONFIG_BIG_KERNEL -DCONFIG_POWERMGR -DCONFIG_=1 -DCONFIG_PXA
=1 -DCONFIG_INTEL_FLASH=1 -march=armv4 -DCONFIG_LOAD_KERNEL=1 -DCONFIG_MD5=1
-DCONFIG_PROTECT_BOOTLDR -DVERSION_MAJOR=2 -DVERSION_MINOR=19 -DVERSION_M
ICRO=30 -DVERSION_SPECIAL=\"\" -DBOOTLDR -DDATE=\"`date
%y-%m-%d_%H:%M`\" -DCONFIG_ACCEPT_GPL -DCONFIG_YMODEM -UBOOT_SILENT -UNO_SP
LASH -DSPLASH_LINUX -x
assembler-with-cpp -c -I/root/linux/kernel/include -I/skiff/local/arm-linux
/include boot-pxa.s
boot-pxa.s: Assembler messages:
boot-pxa.s:344: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:353: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:469: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:470: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:472: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:474: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:497: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
<snip>
boot-pxa.s:828: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:831: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:835: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:838: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:848: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
boot-pxa.s:882: Error: Internal_relocation (type 187) not fixed up
(OFFSET_IMM)
gmake: *** [boot-pxa.o] Error 1
This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:04 EST