Fix some ELDK 4.2 build issues
cover Fix some ELDK 4.2 build issues
A number of boards don't build with older tool chains like ELDK 4.2 (GCC 4.2.2). Some of these have long been EOLed, and there are no known users of these any more, so let's get rid of the dead weight and remove these. For some others, adjust the linker scripts to make the code fit again.
Wolfgang Denk (3):
PPC: remove dead boards (AMX860, c2mon, ETX094, IAD210, LANTEC, SCM)
TQM8xx: adjust linker script to grown code size
ESTEEM192E: adjust linker script to grown code size
MAINTAINERS | 6 - README | 4 +- arch/powerpc/cpu/mpc8xx/fec.c | 2 +- arch/powerpc/cpu/mpc8xx/scc.c | 16 +- board/c2mon/Makefile | 44 --- board/c2mon/c2mon.c | 236 ----------- board/c2mon/flash.c | 570 --------------------------- board/c2mon/pcmcia.c | 282 -------------- board/c2mon/u-boot.lds | 106 ----- board/c2mon/u-boot.lds.debug | 137 ------- board/esteem192e/u-boot.lds | 1 - board/etx094/Makefile | 44 --- board/etx094/etx094.c | 384 ------------------ board/etx094/flash.c | 687 -------------------------------- board/etx094/u-boot.lds | 107 ----- board/lantec/Makefile | 44 --- board/lantec/flash.c | 625 ------------------------------ board/lantec/lantec.c | 208 ---------- board/lantec/u-boot.lds | 107 ----- board/lantec/u-boot.lds.debug | 137 ------- board/siemens/IAD210/IAD210.c | 299 -------------- board/siemens/IAD210/Makefile | 44 --- board/siemens/IAD210/atm.c | 652 ------------------------------- board/siemens/IAD210/atm.h | 287 -------------- board/siemens/IAD210/flash.c | 502 ------------------------ board/siemens/IAD210/u-boot.lds | 107 ----- board/siemens/SCM/Makefile | 49 --- board/siemens/SCM/flash.c | 488 ----------------------- board/siemens/SCM/fpga_scm.c | 104 ----- board/siemens/SCM/scm.c | 541 -------------------------- board/siemens/SCM/scm.h | 89 ----- board/siemens/common/README | 27 -- board/siemens/common/fpga.c | 369 ------------------ board/siemens/common/fpga.h | 53 --- board/tqc/tqm8xx/u-boot.lds | 4 +- board/westel/amx860/Makefile | 44 --- board/westel/amx860/amx860.c | 93 ----- board/westel/amx860/flash.c | 637 ------------------------------ board/westel/amx860/u-boot.lds | 107 ----- board/westel/amx860/u-boot.lds.debug | 138 ------- boards.cfg | 7 - doc/README.scrapyard | 8 +- include/commproc.h | 131 +------ include/configs/AMX860.h | 299 -------------- include/configs/ETX094.h | 357 ----------------- include/configs/IAD210.h | 381 ------------------ include/configs/LANTEC.h | 358 ----------------- include/configs/SCM.h | 710 ---------------------------------- include/configs/c2mon.h | 417 -------------------- include/pcmcia.h | 2 - include/status_led.h | 36 -- post/cpu/mpc8xx/ether.c | 45 +--- 52 files changed, 18 insertions(+), 11114 deletions(-) delete mode 100644 board/c2mon/Makefile delete mode 100644 board/c2mon/c2mon.c delete mode 100644 board/c2mon/flash.c delete mode 100644 board/c2mon/pcmcia.c delete mode 100644 board/c2mon/u-boot.lds delete mode 100644 board/c2mon/u-boot.lds.debug delete mode 100644 board/etx094/Makefile delete mode 100644 board/etx094/etx094.c delete mode 100644 board/etx094/flash.c delete mode 100644 board/etx094/u-boot.lds delete mode 100644 board/lantec/Makefile delete mode 100644 board/lantec/flash.c delete mode 100644 board/lantec/lantec.c delete mode 100644 board/lantec/u-boot.lds delete mode 100644 board/lantec/u-boot.lds.debug delete mode 100644 board/siemens/IAD210/IAD210.c delete mode 100644 board/siemens/IAD210/Makefile delete mode 100644 board/siemens/IAD210/atm.c delete mode 100644 board/siemens/IAD210/atm.h delete mode 100644 board/siemens/IAD210/flash.c delete mode 100644 board/siemens/IAD210/u-boot.lds delete mode 100644 board/siemens/SCM/Makefile delete mode 100644 board/siemens/SCM/flash.c delete mode 100644 board/siemens/SCM/fpga_scm.c delete mode 100644 board/siemens/SCM/scm.c delete mode 100644 board/siemens/SCM/scm.h delete mode 100644 board/siemens/common/README delete mode 100644 board/siemens/common/fpga.c delete mode 100644 board/siemens/common/fpga.h delete mode 100644 board/westel/amx860/Makefile delete mode 100644 board/westel/amx860/amx860.c delete mode 100644 board/westel/amx860/flash.c delete mode 100644 board/westel/amx860/u-boot.lds delete mode 100644 board/westel/amx860/u-boot.lds.debug delete mode 100644 include/configs/AMX860.h delete mode 100644 include/configs/ETX094.h delete mode 100644 include/configs/IAD210.h delete mode 100644 include/configs/LANTEC.h delete mode 100644 include/configs/SCM.h delete mode 100644 include/configs/c2mon.h
Signature · 1 line
1.7.7.6
PATCH 1/3 PPC: remove dead boards (AMX860, c2mon, ETX094, IAD210, LANTEC, SCM)
These boards have long reached EOL, and there has been no indication of any active users of such hardware for years. Get rid of the dead weight.
--- MAINTAINERS | 6 - README | 4 +- arch/powerpc/cpu/mpc8xx/fec.c | 2 +- arch/powerpc/cpu/mpc8xx/scc.c | 16 +- board/c2mon/Makefile | 44 --- board/c2mon/c2mon.c | 236 ----------- board/c2mon/flash.c | 570 --------------------------- board/c2mon/pcmcia.c | 282 -------------- board/c2mon/u-boot.lds | 106 ----- board/c2mon/u-boot.lds.debug | 137 ------- board/etx094/Makefile | 44 --- board/etx094/etx094.c | 384 ------------------ board/etx094/flash.c | 687 -------------------------------- board/etx094/u-boot.lds | 107 ----- board/lantec/Makefile | 44 --- board/lantec/flash.c | 625 ------------------------------ board/lantec/lantec.c | 208 ---------- board/lantec/u-boot.lds | 107 ----- board/lantec/u-boot.lds.debug | 137 ------- board/siemens/IAD210/IAD210.c | 299 -------------- board/siemens/IAD210/Makefile | 44 --- board/siemens/IAD210/atm.c | 652 ------------------------------- board/siemens/IAD210/atm.h | 287 -------------- board/siemens/IAD210/flash.c | 502 ------------------------ board/siemens/IAD210/u-boot.lds | 107 ----- board/siemens/SCM/Makefile | 49 --- board/siemens/SCM/flash.c | 488 ----------------------- board/siemens/SCM/fpga_scm.c | 104 ----- board/siemens/SCM/scm.c | 541 -------------------------- board/siemens/SCM/scm.h | 89 ----- board/siemens/common/README | 27 -- board/siemens/common/fpga.c | 369 ------------------ board/siemens/common/fpga.h | 53 --- board/westel/amx860/Makefile | 44 --- board/westel/amx860/amx860.c | 93 ----- board/westel/amx860/flash.c | 637 ------------------------------ board/westel/amx860/u-boot.lds | 107 ----- board/westel/amx860/u-boot.lds.debug | 138 ------- boards.cfg | 7 - doc/README.scrapyard | 8 +- include/commproc.h | 131 +------ include/configs/AMX860.h | 299 -------------- include/configs/ETX094.h | 357 ----------------- include/configs/IAD210.h | 381 ------------------ include/configs/LANTEC.h | 358 ----------------- include/configs/SCM.h | 710 ---------------------------------- include/configs/c2mon.h | 417 -------------------- include/pcmcia.h | 2 - include/status_led.h | 36 -- post/cpu/mpc8xx/ether.c | 45 +--- 50 files changed, 17 insertions(+), 11110 deletions(-) delete mode 100644 board/c2mon/Makefile delete mode 100644 board/c2mon/c2mon.c delete mode 100644 board/c2mon/flash.c delete mode 100644 board/c2mon/pcmcia.c delete mode 100644 board/c2mon/u-boot.lds delete mode 100644 board/c2mon/u-boot.lds.debug delete mode 100644 board/etx094/Makefile delete mode 100644 board/etx094/etx094.c delete mode 100644 board/etx094/flash.c delete mode 100644 board/etx094/u-boot.lds delete mode 100644 board/lantec/Makefile delete mode 100644 board/lantec/flash.c delete mode 100644 board/lantec/lantec.c delete mode 100644 board/lantec/u-boot.lds delete mode 100644 board/lantec/u-boot.lds.debug delete mode 100644 board/siemens/IAD210/IAD210.c delete mode 100644 board/siemens/IAD210/Makefile delete mode 100644 board/siemens/IAD210/atm.c delete mode 100644 board/siemens/IAD210/atm.h delete mode 100644 board/siemens/IAD210/flash.c delete mode 100644 board/siemens/IAD210/u-boot.lds delete mode 100644 board/siemens/SCM/Makefile delete mode 100644 board/siemens/SCM/flash.c delete mode 100644 board/siemens/SCM/fpga_scm.c delete mode 100644 board/siemens/SCM/scm.c delete mode 100644 board/siemens/SCM/scm.h delete mode 100644 board/siemens/common/README delete mode 100644 board/siemens/common/fpga.c delete mode 100644 board/siemens/common/fpga.h delete mode 100644 board/westel/amx860/Makefile delete mode 100644 board/westel/amx860/amx860.c delete mode 100644 board/westel/amx860/flash.c delete mode 100644 board/westel/amx860/u-boot.lds delete mode 100644 board/westel/amx860/u-boot.lds.debug delete mode 100644 include/configs/AMX860.h delete mode 100644 include/configs/ETX094.h delete mode 100644 include/configs/IAD210.h delete mode 100644 include/configs/LANTEC.h delete mode 100644 include/configs/SCM.h delete mode 100644 include/configs/c2mon.h
MAINTAINERS +0 -6
@@ -104,8 +104,6 @@ Wolfgang Denk <[email protected]> ARIA MPC5121e - AMX860 MPC860 - ETX094 MPC850 FPS850L MPC850 FPS860L MPC860 ICU862 MPC862
@@ -116,7 +114,6 @@ Wolfgang Denk <[email protected]> IVMS8 MPC860 IVMS8_128 MPC860 IVMS8_256 MPC860 - LANTEC MPC850 LWMON MPC823 R360MPI MPC823 RRvision MPC823
@@ -128,7 +125,6 @@ Wolfgang Denk <[email protected]> TQM855L MPC855 TQM860L MPC860 TQM860L_FEC MPC860 - c2mon MPC855 hermes MPC860 lwmon MPC823
@@ -227,7 +223,6 @@ Wolfgang Grandegger <[email protected]> PN62 MPC8240 IPHASE4539 MPC8260 - SCM MPC8260 Anatolij Gustschin <[email protected]>
@@ -543,7 +538,6 @@ Unknown / orphaned boards: FADS850SAR MPC8xx FADS860T MPC8xx GENIETV MPC8xx - IAD210 MPC8xx MBX MPC8xx MBX860T MPC8xx NX823 MPC8xx
README +2 -2
@@ -2182,8 +2182,8 @@ CBFS (Coreboot Filesystem) support following board configurations are known to be "pRAM-clean": - ETX094, IVMS8, IVML24, SPD8xx, TQM8xxL, - HERMES, IP860, RPXlite, LWMON, LANTEC, + IVMS8, IVML24, SPD8xx, TQM8xxL, + HERMES, IP860, RPXlite, LWMON, FLAGADM, TQM8260 - Error Recovery:
arch/powerpc/cpu/mpc8xx/fec.c +1 -1
@@ -460,7 +460,7 @@ static void fec_pin_init(int fecidx)#endif /* !CONFIG_RMII */ -#elif !defined(CONFIG_ICU862) && !defined(CONFIG_IAD210) +#elif !defined(CONFIG_ICU862)/* * Configure all of port D for MII. */
arch/powerpc/cpu/mpc8xx/scc.c +1 -15
@@ -473,20 +473,6 @@ static int scc_init (struct eth_device *dev, bd_t * bis) *((uint *)BCSR1 ) &= ~BCSR1_ETHEN ;#endif /* MPC860ADS */ -#if defined(CONFIG_AMX860 ) -/* -* Port B is used to control the PHY,MC68160. -*/ - immr->im_cpm.cp_pbdir |= - (PB_ENET_ETHLOOP |PB_ENET_TPFLDL |PB_ENET_TPSQEL ); - - immr->im_cpm.cp_pbdat |=PB_ENET_TPFLDL ; - immr->im_cpm.cp_pbdat &= ~(PB_ENET_ETHLOOP |PB_ENET_TPSQEL ); - - immr->im_ioport.iop_pddir |=PD_ENET_ETH_EN ; - immr->im_ioport.iop_pddat &= ~PD_ENET_ETH_EN ; -#endif /* AMX860 */ -#ifdef CONFIG_RPXCLASSIC *((uchar *)BCSR0 ) &= ~BCSR0_ETHLPBK ; *((uchar *)BCSR0 ) |= (BCSR0_ETHEN |BCSR0_COLTEST |BCSR0_FULLDPLX );
@@ -542,7 +528,7 @@ static int scc_init (struct eth_device *dev, bd_t * bis)*/ #if defined (CONFIG_FADS )udelay (10000 );/* wait 10 ms */ -#elif defined (CONFIG_AMX860 ) || defined(CONFIG_RPXCLASSIC ) +#elif defined(CONFIG_RPXCLASSIC )udelay (100000 );/* wait 100 ms */ #endif
board/c2mon/Makefile deleted +0 -44
44 lines not on this page · raw message
board/c2mon/c2mon.c deleted +0 -236
236 lines not on this page · raw message
board/c2mon/flash.c deleted +0 -570
570 lines not on this page · raw message
board/c2mon/pcmcia.c deleted +0 -282
282 lines not on this page · raw message
board/c2mon/u-boot.lds deleted +0 -106
106 lines not on this page · raw message
board/c2mon/u-boot.lds.debug deleted +0 -137
137 lines not on this page · raw message
board/etx094/Makefile deleted +0 -44
44 lines not on this page · raw message
board/etx094/etx094.c deleted +0 -384
384 lines not on this page · raw message
board/etx094/flash.c deleted +0 -687
687 lines not on this page · raw message
board/etx094/u-boot.lds deleted +0 -107
107 lines not on this page · raw message
board/lantec/Makefile deleted +0 -44
44 lines not on this page · raw message
board/lantec/flash.c deleted +0 -625
277 lines not on this page · raw message
board/lantec/lantec.c deleted +0 -208
208 lines not on this page · raw message
board/lantec/u-boot.lds deleted +0 -107
107 lines not on this page · raw message
board/lantec/u-boot.lds.debug deleted +0 -137
137 lines not on this page · raw message
board/siemens/IAD210/IAD210.c deleted +0 -299
299 lines not on this page · raw message
board/siemens/IAD210/Makefile deleted +0 -44
44 lines not on this page · raw message
board/siemens/IAD210/atm.c deleted +0 -652
652 lines not on this page · raw message
board/siemens/IAD210/atm.h deleted +0 -287
287 lines not on this page · raw message
board/siemens/IAD210/flash.c deleted +0 -502
502 lines not on this page · raw message
board/siemens/IAD210/u-boot.lds deleted +0 -107
107 lines not on this page · raw message
board/siemens/SCM/Makefile deleted +0 -49
49 lines not on this page · raw message
board/siemens/SCM/flash.c deleted +0 -488
488 lines not on this page · raw message
board/siemens/SCM/fpga_scm.c deleted +0 -104
104 lines not on this page · raw message
board/siemens/SCM/scm.c deleted +0 -541
541 lines not on this page · raw message
board/siemens/SCM/scm.h deleted +0 -89
89 lines not on this page · raw message
board/siemens/common/fpga.c deleted +0 -369
369 lines not on this page · raw message
board/siemens/common/fpga.h deleted +0 -53
53 lines not on this page · raw message
board/westel/amx860/Makefile deleted +0 -44
44 lines not on this page · raw message
board/westel/amx860/amx860.c deleted +0 -93
93 lines not on this page · raw message
board/westel/amx860/flash.c deleted +0 -637
637 lines not on this page · raw message
board/westel/amx860/u-boot.lds deleted +0 -107
107 lines not on this page · raw message
board/westel/amx860/u-boot.lds.debug deleted +0 -138
138 lines not on this page · raw message
include/commproc.h +5 -126
131 lines not on this page · raw message
include/configs/AMX860.h deleted +0 -299
299 lines not on this page · raw message
include/configs/ETX094.h deleted +0 -357
357 lines not on this page · raw message
include/configs/IAD210.h deleted +0 -381
381 lines not on this page · raw message
include/configs/LANTEC.h deleted +0 -358
358 lines not on this page · raw message
include/configs/SCM.h deleted +0 -710
710 lines not on this page · raw message
include/configs/c2mon.h deleted +0 -417
417 lines not on this page · raw message
post/cpu/mpc8xx/ether.c +1 -44
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.7.6
Part of the diff is not shown here. View the raw message.
PATCH 2/3 TQM8xx: adjust linker script to grown code size
In reply to Wolfgang DenkOnce more, some of the previous changes caused the code to grow, which causes errors like
u-boot.lds:80 cannot move location counter backwards (from 400082a4 to 40008000)
when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.
--- board/tqc/tqm8xx/u-boot.lds | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
board/tqc/tqm8xx/u-boot.lds +1 -3
@@ -1,5 +1,5 @@ /* - * (C) Copyright 2000 + * (C) Copyright 2000-2012 * Wolfgang Denk, DENX Software Engineering, wd at denx.de. * * See file CREDITS for list of people who contributed to this
@@ -41,8 +41,6 @@ SECTIONS drivers/net/libnet.o (.text*) drivers/pcmcia/libpcmcia.o (.text.pcmcia_on) drivers/pcmcia/libpcmcia.o (.text.pcmcia_hardware_enable) - drivers/rtc/librtc.o (.text*) - drivers/misc/libmisc.o (.text*) . = DEFINED(env_offset) ? env_offset : .; common/env_embedded.o (.ppcenv*)
Signature · 1 line
1.7.7.6
PATCH 3/3 ESTEEM192E: adjust linker script to grown code size
In reply to Wolfgang DenkOnce more, some of the previous changes caused the code to grow, which causes errors like
u-boot.lds:74 cannot move location counter backwards (from 40008384 to 40008000)
when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again.
--- board/esteem192e/u-boot.lds | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
board/esteem192e/u-boot.lds +0 -1
@@ -36,7 +36,6 @@ SECTIONS arch/powerpc/cpu/mpc8xx/traps.o (.text*) net/libnet.o (.text*) board/esteem192e/libesteem192e.o (.text*) - *(.text.*printf) . = env_offset; common/env_embedded.o (.text*)
Signature · 1 line
1.7.7.6