2009-12-07 14:58:28 +09:00
|
|
|
#!/bin/bash
|
2002-11-03 08:17:16 +09:00
|
|
|
|
2009-09-22 02:04:32 +09:00
|
|
|
# Print statistics when we exit
|
|
|
|
trap exit 1 2 3 15
|
|
|
|
trap print_stats 0
|
|
|
|
|
2008-12-09 08:39:08 +09:00
|
|
|
# Determine number of CPU cores if no default was set
|
|
|
|
: ${BUILD_NCPUS:="`getconf _NPROCESSORS_ONLN`"}
|
|
|
|
|
|
|
|
if [ "$BUILD_NCPUS" -gt 1 ]
|
|
|
|
then
|
2009-09-22 02:04:33 +09:00
|
|
|
JOBS="-j $((BUILD_NCPUS + 1))"
|
2008-12-09 08:39:08 +09:00
|
|
|
else
|
|
|
|
JOBS=""
|
|
|
|
fi
|
|
|
|
|
2003-12-07 04:49:23 +09:00
|
|
|
|
2002-11-03 08:17:16 +09:00
|
|
|
if [ "${CROSS_COMPILE}" ] ; then
|
|
|
|
MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
|
|
|
|
else
|
|
|
|
MAKE=make
|
|
|
|
fi
|
|
|
|
|
2006-09-02 02:49:50 +09:00
|
|
|
if [ "${MAKEALL_LOGDIR}" ] ; then
|
|
|
|
LOG_DIR=${MAKEALL_LOGDIR}
|
|
|
|
else
|
|
|
|
LOG_DIR="LOG"
|
|
|
|
fi
|
2006-09-07 18:51:23 +09:00
|
|
|
|
2006-09-02 02:49:50 +09:00
|
|
|
if [ ! "${BUILD_DIR}" ] ; then
|
|
|
|
BUILD_DIR="."
|
|
|
|
fi
|
|
|
|
|
2006-09-07 19:05:53 +09:00
|
|
|
[ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1
|
2002-11-03 08:17:16 +09:00
|
|
|
|
|
|
|
LIST=""
|
|
|
|
|
2009-09-22 02:04:32 +09:00
|
|
|
# Keep track of the number of builds and errors
|
|
|
|
ERR_CNT=0
|
|
|
|
ERR_LIST=""
|
|
|
|
TOTAL_CNT=0
|
2009-12-07 14:58:28 +09:00
|
|
|
RC=0
|
2009-09-22 02:04:32 +09:00
|
|
|
|
2003-04-01 02:27:09 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC5xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_5xx=" \
|
|
|
|
cmi_mpc5xx \
|
2003-04-01 02:27:09 +09:00
|
|
|
"
|
|
|
|
|
2003-07-17 06:53:01 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC5xxx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_5xxx=" \
|
|
|
|
BC3450 \
|
|
|
|
cm5200 \
|
|
|
|
cpci5200 \
|
2009-03-17 18:06:40 +09:00
|
|
|
digsy_mtc \
|
2007-08-11 05:34:48 +09:00
|
|
|
EVAL5200 \
|
|
|
|
fo300 \
|
2009-08-14 00:14:21 +09:00
|
|
|
galaxy5200 \
|
2007-08-11 05:34:48 +09:00
|
|
|
icecube_5200 \
|
2008-05-05 19:52:36 +09:00
|
|
|
inka4x0 \
|
2009-10-23 19:03:16 +09:00
|
|
|
ipek01 \
|
2007-08-11 05:34:48 +09:00
|
|
|
lite5200b \
|
|
|
|
mcc200 \
|
|
|
|
mecp5200 \
|
|
|
|
motionpro \
|
2008-01-11 23:15:14 +09:00
|
|
|
munices \
|
2008-07-10 01:30:44 +09:00
|
|
|
MVBC_P \
|
2007-08-11 05:34:48 +09:00
|
|
|
o2dnt \
|
2009-06-15 07:21:28 +09:00
|
|
|
pcm030 \
|
2007-08-11 05:34:48 +09:00
|
|
|
pf5200 \
|
|
|
|
PM520 \
|
|
|
|
TB5200 \
|
|
|
|
Total5200 \
|
|
|
|
Total5200_Rev2 \
|
|
|
|
TQM5200 \
|
|
|
|
TQM5200_B \
|
|
|
|
TQM5200S \
|
|
|
|
v38b \
|
2003-07-17 06:53:01 +09:00
|
|
|
"
|
|
|
|
|
2007-07-27 21:43:59 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC512x Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_512x=" \
|
2009-05-16 17:47:46 +09:00
|
|
|
aria \
|
2009-06-09 18:50:40 +09:00
|
|
|
mecp5123 \
|
2009-05-16 17:47:41 +09:00
|
|
|
mpc5121ads \
|
2003-07-17 06:53:01 +09:00
|
|
|
"
|
|
|
|
|
2002-11-03 08:17:16 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC8xx Systems
|
|
|
|
#########################################################################
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_8xx=" \
|
|
|
|
Adder87x \
|
|
|
|
AdderII \
|
|
|
|
ADS860 \
|
|
|
|
AMX860 \
|
|
|
|
c2mon \
|
|
|
|
CCM \
|
|
|
|
cogent_mpc8xx \
|
|
|
|
ELPT860 \
|
|
|
|
EP88x \
|
|
|
|
ESTEEM192E \
|
|
|
|
ETX094 \
|
|
|
|
FADS823 \
|
|
|
|
FADS850SAR \
|
|
|
|
FADS860T \
|
|
|
|
FLAGADM \
|
|
|
|
FPS850L \
|
|
|
|
GEN860T \
|
|
|
|
GEN860T_SC \
|
|
|
|
GENIETV \
|
|
|
|
GTH \
|
|
|
|
hermes \
|
|
|
|
IAD210 \
|
|
|
|
ICU862_100MHz \
|
|
|
|
IP860 \
|
|
|
|
IVML24 \
|
|
|
|
IVML24_128 \
|
|
|
|
IVML24_256 \
|
|
|
|
IVMS8 \
|
|
|
|
IVMS8_128 \
|
|
|
|
IVMS8_256 \
|
|
|
|
KUP4K \
|
|
|
|
KUP4X \
|
|
|
|
LANTEC \
|
|
|
|
lwmon \
|
2009-03-12 15:37:34 +09:00
|
|
|
kmsupx4 \
|
2007-08-11 05:34:48 +09:00
|
|
|
MBX \
|
|
|
|
MBX860T \
|
2008-01-11 09:12:06 +09:00
|
|
|
mgsuvd \
|
2007-08-11 05:34:48 +09:00
|
|
|
MHPC \
|
|
|
|
MPC86xADS \
|
|
|
|
MPC885ADS \
|
|
|
|
NETPHONE \
|
|
|
|
NETTA \
|
|
|
|
NETTA2 \
|
|
|
|
NETTA_ISDN \
|
|
|
|
NETVIA \
|
|
|
|
NETVIA_V2 \
|
|
|
|
NX823 \
|
|
|
|
pcu_e \
|
|
|
|
QS823 \
|
|
|
|
QS850 \
|
|
|
|
QS860T \
|
|
|
|
quantum \
|
|
|
|
R360MPI \
|
|
|
|
RBC823 \
|
|
|
|
rmu \
|
|
|
|
RPXClassic \
|
|
|
|
RPXlite \
|
|
|
|
RPXlite_DW \
|
|
|
|
RRvision \
|
|
|
|
SM850 \
|
|
|
|
spc1920 \
|
|
|
|
SPD823TS \
|
|
|
|
svm_sc8xx \
|
|
|
|
SXNI855T \
|
2008-01-11 01:59:07 +09:00
|
|
|
TK885D \
|
2007-08-11 05:34:48 +09:00
|
|
|
TOP860 \
|
|
|
|
TQM823L \
|
|
|
|
TQM823L_LCD \
|
|
|
|
TQM850L \
|
|
|
|
TQM855L \
|
|
|
|
TQM860L \
|
|
|
|
TQM885D \
|
|
|
|
uc100 \
|
|
|
|
v37 \
|
2002-11-03 08:17:16 +09:00
|
|
|
"
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## PPC4xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_4xx=" \
|
|
|
|
acadia \
|
|
|
|
acadia_nand \
|
|
|
|
ADCIOP \
|
|
|
|
alpr \
|
|
|
|
AP1000 \
|
|
|
|
AR405 \
|
2008-10-09 02:12:53 +09:00
|
|
|
arches \
|
2007-08-11 05:34:48 +09:00
|
|
|
ASH405 \
|
|
|
|
bamboo \
|
|
|
|
bamboo_nand \
|
|
|
|
bubinga \
|
|
|
|
CANBT \
|
2008-03-12 00:53:00 +09:00
|
|
|
canyonlands \
|
2008-03-04 01:27:02 +09:00
|
|
|
canyonlands_nand \
|
2007-08-11 05:34:48 +09:00
|
|
|
CMS700 \
|
|
|
|
CPCI2DP \
|
|
|
|
CPCI405 \
|
|
|
|
CPCI4052 \
|
|
|
|
CPCI405AB \
|
|
|
|
CPCI405DT \
|
|
|
|
CPCIISER4 \
|
|
|
|
CRAYL1 \
|
|
|
|
csb272 \
|
|
|
|
csb472 \
|
|
|
|
DASA_SIM \
|
2009-07-27 15:49:48 +09:00
|
|
|
devconcenter \
|
2009-07-17 21:16:40 +09:00
|
|
|
dlvision \
|
2007-08-11 05:34:48 +09:00
|
|
|
DP405 \
|
|
|
|
DU405 \
|
2008-01-17 18:53:08 +09:00
|
|
|
DU440 \
|
2007-08-11 05:34:48 +09:00
|
|
|
ebony \
|
|
|
|
ERIC \
|
2008-10-24 20:51:52 +09:00
|
|
|
fx12mm \
|
2007-08-11 05:34:48 +09:00
|
|
|
G2000 \
|
2008-12-09 21:12:40 +09:00
|
|
|
gdppc440etx \
|
2008-03-20 00:20:49 +09:00
|
|
|
glacier \
|
2007-10-23 17:10:08 +09:00
|
|
|
haleakala \
|
2007-11-03 20:08:28 +09:00
|
|
|
haleakala_nand \
|
2007-08-14 23:36:29 +09:00
|
|
|
hcu4 \
|
|
|
|
hcu5 \
|
2007-08-11 05:34:48 +09:00
|
|
|
HH405 \
|
|
|
|
HUB405 \
|
2009-09-09 19:36:07 +09:00
|
|
|
intip \
|
2007-08-11 05:34:48 +09:00
|
|
|
JSE \
|
|
|
|
KAREF \
|
|
|
|
katmai \
|
2007-10-06 00:11:30 +09:00
|
|
|
kilauea \
|
2007-11-03 20:08:28 +09:00
|
|
|
kilauea_nand \
|
2007-12-28 01:28:51 +09:00
|
|
|
korat \
|
2007-08-11 05:34:48 +09:00
|
|
|
luan \
|
|
|
|
lwmon5 \
|
2007-10-22 14:34:34 +09:00
|
|
|
makalu \
|
2008-02-26 02:46:41 +09:00
|
|
|
mcu25 \
|
2007-08-11 05:34:48 +09:00
|
|
|
METROBOX \
|
|
|
|
MIP405 \
|
|
|
|
MIP405T \
|
|
|
|
ML2 \
|
|
|
|
ml300 \
|
2008-07-17 19:47:09 +09:00
|
|
|
ml507 \
|
2008-07-22 03:30:07 +09:00
|
|
|
ml507_flash \
|
2008-10-08 22:37:50 +09:00
|
|
|
neo \
|
2007-08-11 05:34:48 +09:00
|
|
|
ocotea \
|
|
|
|
OCRTC \
|
|
|
|
ORSG \
|
|
|
|
p3p440 \
|
|
|
|
PCI405 \
|
|
|
|
pcs440ep \
|
|
|
|
PIP405 \
|
|
|
|
PLU405 \
|
|
|
|
PMC405 \
|
2009-07-22 20:56:21 +09:00
|
|
|
PMC405DE \
|
2007-12-29 01:07:24 +09:00
|
|
|
PMC440 \
|
2007-08-11 05:34:48 +09:00
|
|
|
PPChameleonEVB \
|
2008-04-28 21:04:32 +09:00
|
|
|
quad100hd \
|
2007-08-16 16:54:51 +09:00
|
|
|
rainier \
|
2008-07-09 14:48:42 +09:00
|
|
|
redwood \
|
2007-08-11 05:34:48 +09:00
|
|
|
sbc405 \
|
|
|
|
sc3 \
|
|
|
|
sequoia \
|
|
|
|
sequoia_nand \
|
2007-08-14 23:36:29 +09:00
|
|
|
taihu \
|
2007-08-11 05:34:48 +09:00
|
|
|
taishan \
|
ppc44x: Unification of virtex5 pp440 boards
This patch provides an unificated way of handling xilinx v5 ppc440 boards.
It unificates 3 different things:
1) Source code
A new board called ppc440-generic has been created. This board includes
a generic tlb initialization (Maps the whole memory into virtual) and
defines board_pre_init, checkboard, initdram and get_sys_info weakly,
so, they can be replaced by specific functions.
If a new board needs to redefine any of the previous functions
(specific initialization) it can create a new directory with the
specific initializations needed. (see the example ml507 board).
2) Configuration file
Common configurations are located under configs/xilinx-ppc440.h, this
header file interpretes the xparameters file generated by EDK and
configurates u-boot in correspondence. Example: if there is a Temac,
allows CMD_CONFIG_NET
Specific configuration are located under specific configuration file.
(see the example ml507 board)
3) Makefile
Some work has been done in order to not duplicate work in the Main
Makefile. Please see the attached code.
In order to support new boards they can be implemented in the next way:
a) Simple Generic Board (90% of the time)
Using EDK generates a new xparameters.h file, replace
ppc440-generic/xparameters.h and run make xilinx-ppc440-generic_config
&& make
b) Simple Boards with special u-boot parameters (9 % of the time)
Create a new file under configs for it (use ml507.h as example) and
change your paramaters. Create a new Makefile paragraph and compile
c) Complex boards (1% of the time)
Create a new folder for the board, like the ml507
Finally, it adds support for the Avnet FX30T Evaluation board, following
the new generic structure:
Cheap board by Avnet for evaluating the Virtex5 FX technology.
This patch adds support for:
- UartLite
- 16MB Flash
- 64MB RAM
Prior using U-boot in this board, read carefully the ERRATA by Avnet
to solve some memory initialization issues.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Signed-off-by: Stefan Roese <sr@denx.de>
2008-09-02 02:09:39 +09:00
|
|
|
v5fx30teval \
|
|
|
|
v5fx30teval_flash \
|
2007-08-11 05:34:48 +09:00
|
|
|
VOH405 \
|
|
|
|
VOM405 \
|
|
|
|
W7OLMC \
|
|
|
|
W7OLMG \
|
|
|
|
walnut \
|
|
|
|
WUH405 \
|
ppc44x: Unification of virtex5 pp440 boards
This patch provides an unificated way of handling xilinx v5 ppc440 boards.
It unificates 3 different things:
1) Source code
A new board called ppc440-generic has been created. This board includes
a generic tlb initialization (Maps the whole memory into virtual) and
defines board_pre_init, checkboard, initdram and get_sys_info weakly,
so, they can be replaced by specific functions.
If a new board needs to redefine any of the previous functions
(specific initialization) it can create a new directory with the
specific initializations needed. (see the example ml507 board).
2) Configuration file
Common configurations are located under configs/xilinx-ppc440.h, this
header file interpretes the xparameters file generated by EDK and
configurates u-boot in correspondence. Example: if there is a Temac,
allows CMD_CONFIG_NET
Specific configuration are located under specific configuration file.
(see the example ml507 board)
3) Makefile
Some work has been done in order to not duplicate work in the Main
Makefile. Please see the attached code.
In order to support new boards they can be implemented in the next way:
a) Simple Generic Board (90% of the time)
Using EDK generates a new xparameters.h file, replace
ppc440-generic/xparameters.h and run make xilinx-ppc440-generic_config
&& make
b) Simple Boards with special u-boot parameters (9 % of the time)
Create a new file under configs for it (use ml507.h as example) and
change your paramaters. Create a new Makefile paragraph and compile
c) Complex boards (1% of the time)
Create a new folder for the board, like the ml507
Finally, it adds support for the Avnet FX30T Evaluation board, following
the new generic structure:
Cheap board by Avnet for evaluating the Virtex5 FX technology.
This patch adds support for:
- UartLite
- 16MB Flash
- 64MB RAM
Prior using U-boot in this board, read carefully the ERRATA by Avnet
to solve some memory initialization issues.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
Signed-off-by: Stefan Roese <sr@denx.de>
2008-09-02 02:09:39 +09:00
|
|
|
xilinx-ppc440-generic \
|
|
|
|
xilinx-ppc440-generic_flash \
|
2009-07-18 09:01:16 +09:00
|
|
|
XPEDITE1000 \
|
2007-08-11 05:34:48 +09:00
|
|
|
yellowstone \
|
|
|
|
yosemite \
|
|
|
|
yucca \
|
2007-08-14 23:36:29 +09:00
|
|
|
zeus \
|
2002-11-03 08:17:16 +09:00
|
|
|
"
|
|
|
|
|
2004-10-28 09:09:35 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC8220 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_8220=" \
|
|
|
|
Alaska8220 \
|
|
|
|
Yukon8220 \
|
2004-10-28 09:09:35 +09:00
|
|
|
"
|
|
|
|
|
2002-11-03 08:17:16 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC824x Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_824x=" \
|
|
|
|
A3000 \
|
|
|
|
barco \
|
|
|
|
BMW \
|
|
|
|
CPC45 \
|
|
|
|
CU824 \
|
|
|
|
debris \
|
|
|
|
eXalion \
|
|
|
|
HIDDEN_DRAGON \
|
2009-04-28 14:48:39 +09:00
|
|
|
IDS8247 \
|
2008-03-31 08:32:15 +09:00
|
|
|
linkstation_HGLAN \
|
2007-08-11 05:34:48 +09:00
|
|
|
MOUSSE \
|
|
|
|
MUSENKI \
|
|
|
|
MVBLUE \
|
|
|
|
OXC \
|
|
|
|
PN62 \
|
|
|
|
Sandpoint8240 \
|
|
|
|
Sandpoint8245 \
|
|
|
|
sbc8240 \
|
|
|
|
utx8245 \
|
2002-11-03 08:17:16 +09:00
|
|
|
"
|
2003-06-21 09:17:24 +09:00
|
|
|
|
2002-11-03 08:17:16 +09:00
|
|
|
#########################################################################
|
2003-05-04 00:50:43 +09:00
|
|
|
## MPC8260 Systems (includes 8250, 8255 etc.)
|
2002-11-03 08:17:16 +09:00
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_8260=" \
|
|
|
|
atc \
|
|
|
|
cogent_mpc8260 \
|
|
|
|
CPU86 \
|
|
|
|
CPU87 \
|
|
|
|
ep8248 \
|
|
|
|
ep8260 \
|
|
|
|
ep82xxm \
|
|
|
|
gw8260 \
|
|
|
|
hymod \
|
|
|
|
IPHASE4539 \
|
|
|
|
ISPAN \
|
2008-01-11 09:12:08 +09:00
|
|
|
mgcoge \
|
2007-08-11 05:34:48 +09:00
|
|
|
MPC8260ADS \
|
|
|
|
MPC8266ADS \
|
|
|
|
MPC8272ADS \
|
|
|
|
PM826 \
|
|
|
|
PM828 \
|
|
|
|
ppmc8260 \
|
|
|
|
Rattler8248 \
|
|
|
|
RPXsuper \
|
|
|
|
rsdproto \
|
|
|
|
sacsng \
|
|
|
|
sbc8260 \
|
|
|
|
SCM \
|
|
|
|
TQM8260_AC \
|
|
|
|
TQM8260_AD \
|
|
|
|
TQM8260_AE \
|
2008-05-15 07:42:45 +09:00
|
|
|
TQM8272 \
|
2007-08-11 05:34:48 +09:00
|
|
|
ZPC1900 \
|
2002-11-03 08:17:16 +09:00
|
|
|
"
|
|
|
|
|
2005-07-29 00:08:46 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC83xx Systems (includes 8349, etc.)
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_83xx=" \
|
2009-12-08 17:13:08 +09:00
|
|
|
caddy2 \
|
2008-11-20 17:57:47 +09:00
|
|
|
kmeter1 \
|
2007-08-11 05:34:48 +09:00
|
|
|
MPC8313ERDB_33 \
|
2008-09-03 05:21:16 +09:00
|
|
|
MPC8313ERDB_NAND_66 \
|
2008-01-11 19:48:24 +09:00
|
|
|
MPC8315ERDB \
|
2009-11-25 02:12:12 +09:00
|
|
|
MPC8315ERDB_NAND \
|
2007-08-16 12:30:05 +09:00
|
|
|
MPC8323ERDB \
|
2007-08-11 05:34:48 +09:00
|
|
|
MPC832XEMDS \
|
2007-10-18 18:47:19 +09:00
|
|
|
MPC832XEMDS_ATM \
|
2007-08-11 05:34:48 +09:00
|
|
|
MPC8349EMDS \
|
|
|
|
MPC8349ITX \
|
|
|
|
MPC8349ITXGP \
|
|
|
|
MPC8360EMDS \
|
2007-10-18 18:47:19 +09:00
|
|
|
MPC8360EMDS_ATM \
|
2008-01-10 02:57:47 +09:00
|
|
|
MPC8360ERDK_33 \
|
|
|
|
MPC8360ERDK_66 \
|
2007-09-18 13:40:21 +09:00
|
|
|
MPC837XEMDS \
|
2008-01-16 15:38:05 +09:00
|
|
|
MPC837XERDB \
|
2008-06-10 16:14:05 +09:00
|
|
|
MVBLM7 \
|
2007-08-11 05:34:48 +09:00
|
|
|
sbc8349 \
|
2009-01-23 08:05:24 +09:00
|
|
|
SIMPC8313_LP \
|
2007-08-11 05:34:48 +09:00
|
|
|
TQM834x \
|
2009-07-25 13:19:12 +09:00
|
|
|
vme8349 \
|
2005-07-29 00:08:46 +09:00
|
|
|
"
|
|
|
|
|
|
|
|
|
2003-10-16 08:53:47 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC85xx Systems (includes 8540, 8560 etc.)
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_85xx=" \
|
2007-12-22 00:36:37 +09:00
|
|
|
ATUM8548 \
|
2008-07-26 03:31:05 +09:00
|
|
|
MPC8536DS \
|
NAND boot: MPC8536DS support
MPC8536E can support booting from NAND flash which uses the
image u-boot-nand.bin. This image contains two parts: a 4K
NAND loader and a main U-Boot image. The former is appended
to the latter to produce u-boot-nand.bin. The 4K NAND loader
includes the corresponding nand_spl directory, along with the
code twisted by CONFIG_NAND_SPL. The main U-Boot image just
like a general U-Boot image except the parts that included by
CONFIG_SYS_RAMBOOT.
When power on, eLBC will automatically load from bank 0 the
4K NAND loader into the FCM buffer RAM where CPU can execute
the boot code directly. In the first stage, the NAND loader
copies itself to RAM or L2SRAM to free up the FCM buffer RAM,
then loads the main image from NAND flash to RAM or L2SRAM
and boot from it.
This patch implements the NAND loader to load the main image
into L2SRAM, so the main image can configure the RAM by using
SPD EEPROM. In the first stage, the NAND loader copies itself
to the second to last 4K address space, and uses the last 4K
address space as the initial RAM for stack.
Obviously, the size of L2SRAM shouldn't be less than the size
of the image used. If so, the workaround is to generate another
image that includes the code to configure the RAM by SPD and
load it to L2SRAM first, then relocate the main image to RAM
to boot up.
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-09-23 16:20:37 +09:00
|
|
|
MPC8536DS_NAND \
|
On-chip ROM boot: MPC8536DS support
The MPC8536E is capable of booting from the on-chip ROM - boot from
eSDHC and boot from eSPI. When power on, the porcessor excutes the
ROM code to initialize the eSPI/eSDHC controller, and loads the mian
U-Boot image from the memory device that interfaced to the controller,
such as the SDCard or SPI EEPROM, to the target memory, e.g. SDRAM or
L2SRAM, then boot from it.
The memory device should contain a specific data structure with control
word and config word at the fixed address. The config word direct the
process how to config the memory device, and the control word direct
the processor where to find the image on the memory device, or where
copy the main image to. The user can use any method to store the data
structure to the memory device, only if store it on the assigned address.
The on-chip ROM code will map the whole 4GB address space by setting
entry0 in the TLB1, so the main image need to switch to Address space 1
to disable this mapping and map the address space again.
This patch implements loading the mian U-Boot image into L2SRAM, so
the image can configure the system memory by using SPD EEPROM.
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-09-23 16:20:38 +09:00
|
|
|
MPC8536DS_SDCARD \
|
|
|
|
MPC8536DS_SPIFLASH \
|
2007-08-11 05:34:48 +09:00
|
|
|
MPC8540ADS \
|
|
|
|
MPC8540EVAL \
|
|
|
|
MPC8541CDS \
|
|
|
|
MPC8544DS \
|
|
|
|
MPC8548CDS \
|
|
|
|
MPC8555CDS \
|
|
|
|
MPC8560ADS \
|
|
|
|
MPC8568MDS \
|
2009-03-28 06:02:45 +09:00
|
|
|
MPC8569MDS \
|
2009-11-27 16:31:52 +09:00
|
|
|
MPC8569MDS_ATM \
|
2010-01-18 20:03:28 +09:00
|
|
|
MPC8569MDS_NAND \
|
2008-08-13 01:13:08 +09:00
|
|
|
MPC8572DS \
|
2009-01-24 05:22:14 +09:00
|
|
|
MPC8572DS_36BIT \
|
2009-04-04 05:36:13 +09:00
|
|
|
P2020DS \
|
|
|
|
P2020DS_36BIT \
|
2009-08-20 22:29:18 +09:00
|
|
|
P1011RDB \
|
2009-10-08 17:03:18 +09:00
|
|
|
P1011RDB_NAND \
|
2009-10-08 17:03:29 +09:00
|
|
|
P1011RDB_SDCARD \
|
|
|
|
P1011RDB_SPIFLASH \
|
2009-08-20 22:27:02 +09:00
|
|
|
P1020RDB \
|
2009-10-08 17:03:18 +09:00
|
|
|
P1020RDB_NAND \
|
2009-10-08 17:03:29 +09:00
|
|
|
P1020RDB_SDCARD \
|
|
|
|
P1020RDB_SPIFLASH \
|
2009-08-20 22:29:18 +09:00
|
|
|
P2010RDB \
|
2009-10-08 17:03:18 +09:00
|
|
|
P2010RDB_NAND \
|
2009-10-08 17:03:29 +09:00
|
|
|
P2010RDB_SDCARD \
|
|
|
|
P2010RDB_SPIFLASH \
|
2009-08-05 16:59:24 +09:00
|
|
|
P2020RDB \
|
2009-10-08 17:03:18 +09:00
|
|
|
P2020RDB_NAND \
|
2009-10-08 17:03:29 +09:00
|
|
|
P2020RDB_SDCARD \
|
|
|
|
P2020RDB_SPIFLASH \
|
2007-08-11 05:34:48 +09:00
|
|
|
PM854 \
|
|
|
|
PM856 \
|
|
|
|
sbc8540 \
|
2007-12-13 21:45:08 +09:00
|
|
|
sbc8548 \
|
2009-09-21 09:36:06 +09:00
|
|
|
sbc8548_PCI_33 \
|
|
|
|
sbc8548_PCI_66 \
|
|
|
|
sbc8548_PCI_33_PCIE \
|
|
|
|
sbc8548_PCI_66_PCIE \
|
2007-08-11 05:34:48 +09:00
|
|
|
sbc8560 \
|
2008-04-30 18:42:50 +09:00
|
|
|
socrates \
|
2007-08-11 05:34:48 +09:00
|
|
|
stxgp3 \
|
|
|
|
stxssa \
|
|
|
|
TQM8540 \
|
|
|
|
TQM8541 \
|
2008-06-05 20:12:07 +09:00
|
|
|
TQM8548 \
|
2009-02-12 02:38:22 +09:00
|
|
|
TQM8548_AG \
|
2009-02-12 02:38:21 +09:00
|
|
|
TQM8548_BE \
|
2007-08-11 05:34:48 +09:00
|
|
|
TQM8555 \
|
|
|
|
TQM8560 \
|
2008-12-02 04:47:13 +09:00
|
|
|
XPEDITE5200 \
|
2008-12-18 07:36:23 +09:00
|
|
|
XPEDITE5370 \
|
2003-10-16 08:53:47 +09:00
|
|
|
"
|
|
|
|
|
2007-05-24 04:09:46 +09:00
|
|
|
#########################################################################
|
|
|
|
## MPC86xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_86xx=" \
|
2007-10-17 05:27:43 +09:00
|
|
|
MPC8610HPCD \
|
2007-08-11 05:34:48 +09:00
|
|
|
MPC8641HPCN \
|
2007-09-08 00:43:36 +09:00
|
|
|
sbc8641d \
|
2009-07-01 07:26:01 +09:00
|
|
|
XPEDITE5170 \
|
2007-05-24 04:09:46 +09:00
|
|
|
"
|
|
|
|
|
2002-11-03 08:17:16 +09:00
|
|
|
#########################################################################
|
|
|
|
## 74xx/7xx Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_74xx=" \
|
|
|
|
DB64360 \
|
|
|
|
DB64460 \
|
|
|
|
EVB64260 \
|
|
|
|
mpc7448hpc2 \
|
|
|
|
P3G4 \
|
|
|
|
p3m7448 \
|
|
|
|
PCIPPC2 \
|
|
|
|
PCIPPC6 \
|
|
|
|
ZUMA \
|
2002-11-03 08:17:16 +09:00
|
|
|
"
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_7xx=" \
|
|
|
|
BAB7xx \
|
|
|
|
CPCI750 \
|
|
|
|
ELPPC \
|
|
|
|
p3m750 \
|
|
|
|
ppmc7xx \
|
2002-11-03 08:17:16 +09:00
|
|
|
"
|
|
|
|
|
2008-04-21 07:35:52 +09:00
|
|
|
#########################################################################
|
|
|
|
## PowerPC groups
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_TSEC=" \
|
|
|
|
${LIST_83xx} \
|
|
|
|
${LIST_85xx} \
|
|
|
|
${LIST_86xx} \
|
|
|
|
"
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_ppc=" \
|
|
|
|
${LIST_5xx} \
|
2007-11-26 06:39:25 +09:00
|
|
|
${LIST_512x} \
|
2007-08-11 05:34:48 +09:00
|
|
|
${LIST_5xxx} \
|
|
|
|
${LIST_8xx} \
|
|
|
|
${LIST_8220} \
|
|
|
|
${LIST_824x} \
|
|
|
|
${LIST_8260} \
|
|
|
|
${LIST_83xx} \
|
|
|
|
${LIST_85xx} \
|
|
|
|
${LIST_86xx} \
|
|
|
|
${LIST_4xx} \
|
|
|
|
${LIST_74xx} \
|
|
|
|
${LIST_7xx} \
|
|
|
|
"
|
2002-11-03 08:17:16 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## StrongARM Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_SA=" \
|
|
|
|
assabet \
|
|
|
|
dnp1110 \
|
|
|
|
gcplus \
|
|
|
|
lart \
|
|
|
|
shannon \
|
|
|
|
"
|
2002-11-03 08:17:16 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## ARM7 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_ARM7=" \
|
|
|
|
ap7 \
|
|
|
|
ap720t \
|
|
|
|
armadillo \
|
|
|
|
B2 \
|
|
|
|
ep7312 \
|
|
|
|
evb4510 \
|
|
|
|
impa7 \
|
|
|
|
integratorap \
|
|
|
|
lpc2292sodimm \
|
|
|
|
modnet50 \
|
|
|
|
SMN42 \
|
2005-09-25 08:48:28 +09:00
|
|
|
"
|
2002-11-03 08:17:16 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
## ARM9 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_ARM9=" \
|
2009-11-11 18:27:30 +09:00
|
|
|
a320evb \
|
2007-08-11 05:34:48 +09:00
|
|
|
ap920t \
|
|
|
|
ap922_XA10 \
|
|
|
|
ap926ejs \
|
|
|
|
ap946es \
|
|
|
|
ap966 \
|
|
|
|
cp920t \
|
|
|
|
cp922_XA10 \
|
|
|
|
cp926ejs \
|
|
|
|
cp946es \
|
|
|
|
cp966 \
|
2009-11-13 01:09:25 +09:00
|
|
|
da830evm \
|
2010-02-02 05:29:48 +09:00
|
|
|
edb9301 \
|
|
|
|
edb9302 \
|
|
|
|
edb9302a \
|
|
|
|
edb9307 \
|
|
|
|
edb9307a \
|
|
|
|
edb9312 \
|
|
|
|
edb9315 \
|
|
|
|
edb9315a \
|
2009-08-11 07:32:09 +09:00
|
|
|
imx27lite \
|
2007-08-11 05:34:48 +09:00
|
|
|
lpd7a400 \
|
2009-07-17 00:28:01 +09:00
|
|
|
mv88f6281gtw_ge \
|
2007-08-11 05:34:48 +09:00
|
|
|
mx1ads \
|
|
|
|
mx1fs2 \
|
|
|
|
netstar \
|
2009-07-05 08:06:06 +09:00
|
|
|
nhk8815 \
|
|
|
|
nhk8815_onenand \
|
2007-08-11 05:34:48 +09:00
|
|
|
omap1510inn \
|
|
|
|
omap1610h2 \
|
|
|
|
omap1610inn \
|
2008-01-19 05:45:45 +09:00
|
|
|
omap5912osk \
|
2007-08-11 05:34:48 +09:00
|
|
|
omap730p2 \
|
2009-09-22 07:31:01 +09:00
|
|
|
openrd_base \
|
2009-07-17 00:32:24 +09:00
|
|
|
rd6281a \
|
2007-08-11 05:34:48 +09:00
|
|
|
sbc2410x \
|
|
|
|
scb9328 \
|
2009-07-17 00:28:00 +09:00
|
|
|
sheevaplug \
|
2007-08-11 05:34:48 +09:00
|
|
|
smdk2400 \
|
|
|
|
smdk2410 \
|
2010-01-15 22:45:50 +09:00
|
|
|
spear300 \
|
2010-01-15 22:45:52 +09:00
|
|
|
spear310 \
|
2010-01-15 22:45:53 +09:00
|
|
|
spear320 \
|
2010-01-15 22:45:48 +09:00
|
|
|
spear600 \
|
2010-02-22 20:13:02 +09:00
|
|
|
suen3 \
|
2007-08-11 05:34:48 +09:00
|
|
|
trab \
|
|
|
|
VCMA9 \
|
|
|
|
versatile \
|
|
|
|
versatileab \
|
|
|
|
versatilepb \
|
|
|
|
voiceblue \
|
|
|
|
davinci_dvevm \
|
|
|
|
davinci_schmoogie \
|
2008-05-22 02:58:41 +09:00
|
|
|
davinci_sffsdr \
|
2007-08-11 05:34:48 +09:00
|
|
|
davinci_sonata \
|
2009-05-16 06:48:37 +09:00
|
|
|
davinci_dm355evm \
|
2009-10-11 02:37:10 +09:00
|
|
|
davinci_dm355leopard \
|
2010-02-18 11:09:21 +09:00
|
|
|
davinci_dm365evm \
|
2009-10-11 01:00:47 +09:00
|
|
|
davinci_dm6467evm \
|
2003-08-30 07:00:43 +09:00
|
|
|
"
|
2002-11-03 08:17:16 +09:00
|
|
|
|
2005-09-25 08:48:28 +09:00
|
|
|
#########################################################################
|
|
|
|
## ARM10 Systems
|
|
|
|
#########################################################################
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_ARM10=" \
|
|
|
|
integratorcp \
|
|
|
|
cp1026 \
|
2005-09-25 08:48:28 +09:00
|
|
|
"
|
|
|
|
|
2005-01-10 08:16:25 +09:00
|
|
|
#########################################################################
|
|
|
|
## ARM11 Systems
|
|
|
|
#########################################################################
|
2009-03-25 19:36:50 +09:00
|
|
|
LIST_ARM11=" \
|
|
|
|
cp1136 \
|
|
|
|
omap2420h4 \
|
|
|
|
apollon \
|
|
|
|
imx31_litekit \
|
|
|
|
imx31_phycore \
|
|
|
|
imx31_phycore_eet \
|
|
|
|
mx31ads \
|
2009-07-01 08:07:55 +09:00
|
|
|
mx31pdk \
|
2009-07-04 17:31:24 +09:00
|
|
|
mx31pdk_nand \
|
2009-03-25 19:36:50 +09:00
|
|
|
qong \
|
|
|
|
smdk6400 \
|
2005-09-25 08:48:28 +09:00
|
|
|
"
|
2005-01-10 08:16:25 +09:00
|
|
|
|
2009-01-28 02:19:12 +09:00
|
|
|
#########################################################################
|
|
|
|
## ARM Cortex-A8 Systems
|
|
|
|
#########################################################################
|
|
|
|
LIST_ARM_CORTEX_A8=" \
|
2009-08-23 19:56:42 +09:00
|
|
|
devkit8000 \
|
2010-02-05 23:13:58 +09:00
|
|
|
mx51evk \
|
2009-01-28 02:19:12 +09:00
|
|
|
omap3_beagle \
|
2009-01-29 05:39:57 +09:00
|
|
|
omap3_overo \
|
2009-01-29 05:39:58 +09:00
|
|
|
omap3_evm \
|
2009-01-29 05:39:58 +09:00
|
|
|
omap3_pandora \
|
2009-10-18 02:41:06 +09:00
|
|
|
omap3_sdp3430 \
|
2009-01-29 05:40:16 +09:00
|
|
|
omap3_zoom1 \
|
2009-05-16 06:48:36 +09:00
|
|
|
omap3_zoom2 \
|
2009-10-01 17:20:40 +09:00
|
|
|
smdkc100 \
|
2009-01-28 02:19:12 +09:00
|
|
|
"
|
|
|
|
|
2008-05-24 19:47:46 +09:00
|
|
|
#########################################################################
|
|
|
|
## AT91 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2009-07-09 17:16:29 +09:00
|
|
|
LIST_at91=" \
|
|
|
|
afeb9260 \
|
|
|
|
at91cap9adk \
|
|
|
|
at91rm9200dk \
|
|
|
|
at91rm9200ek \
|
|
|
|
at91sam9260ek \
|
|
|
|
at91sam9261ek \
|
|
|
|
at91sam9263ek \
|
2009-09-27 21:47:24 +09:00
|
|
|
at91sam9g10ek \
|
2009-07-09 17:16:29 +09:00
|
|
|
at91sam9g20ek \
|
2009-06-26 00:04:15 +09:00
|
|
|
at91sam9m10g45ek \
|
2009-07-09 17:16:29 +09:00
|
|
|
at91sam9rlek \
|
|
|
|
cmc_pu2 \
|
2009-09-27 21:47:24 +09:00
|
|
|
CPUAT91 \
|
2009-09-28 01:10:09 +09:00
|
|
|
CPU9260 \
|
|
|
|
CPU9G20 \
|
2009-07-09 17:16:29 +09:00
|
|
|
csb637 \
|
2010-02-04 06:48:09 +09:00
|
|
|
eb_cpux9k2 \
|
2009-07-09 17:16:29 +09:00
|
|
|
kb9202 \
|
|
|
|
meesc \
|
|
|
|
mp2usb \
|
|
|
|
m501sk \
|
2010-01-25 18:50:41 +09:00
|
|
|
otc570 \
|
2009-07-09 17:16:29 +09:00
|
|
|
pm9261 \
|
|
|
|
pm9263 \
|
2009-08-20 23:04:49 +09:00
|
|
|
SBC35_A9G20 \
|
|
|
|
TNY_A9260 \
|
|
|
|
TNY_A9G20 \
|
2008-05-24 19:47:46 +09:00
|
|
|
"
|
|
|
|
|
2002-11-03 08:17:16 +09:00
|
|
|
#########################################################################
|
|
|
|
## Xscale Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_pxa=" \
|
|
|
|
cerf250 \
|
|
|
|
cradle \
|
|
|
|
csb226 \
|
|
|
|
delta \
|
|
|
|
innokom \
|
|
|
|
lubbock \
|
|
|
|
pleb2 \
|
2009-07-02 03:40:41 +09:00
|
|
|
polaris \
|
2007-08-11 05:34:48 +09:00
|
|
|
pxa255_idp \
|
2009-07-02 03:40:41 +09:00
|
|
|
trizepsiv \
|
2007-08-11 05:34:48 +09:00
|
|
|
wepep250 \
|
|
|
|
xaeniax \
|
|
|
|
xm250 \
|
|
|
|
xsengine \
|
|
|
|
zylonite \
|
2004-09-29 01:44:41 +09:00
|
|
|
"
|
2002-11-03 08:17:16 +09:00
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_ixp=" \
|
2008-01-18 08:04:28 +09:00
|
|
|
actux1 \
|
|
|
|
actux2 \
|
|
|
|
actux3 \
|
|
|
|
actux4 \
|
2007-08-11 05:34:48 +09:00
|
|
|
ixdp425 \
|
|
|
|
ixdpg425 \
|
|
|
|
pdnb3 \
|
|
|
|
scpu \
|
|
|
|
"
|
2002-11-03 08:17:16 +09:00
|
|
|
|
2008-04-21 07:35:52 +09:00
|
|
|
#########################################################################
|
|
|
|
## ARM groups
|
|
|
|
#########################################################################
|
2003-10-15 04:43:55 +09:00
|
|
|
|
2009-01-28 02:19:12 +09:00
|
|
|
LIST_arm=" \
|
|
|
|
${LIST_SA} \
|
|
|
|
${LIST_ARM7} \
|
|
|
|
${LIST_ARM9} \
|
|
|
|
${LIST_ARM10} \
|
|
|
|
${LIST_ARM11} \
|
|
|
|
${LIST_ARM_CORTEX_A8} \
|
|
|
|
${LIST_at91} \
|
|
|
|
${LIST_pxa} \
|
|
|
|
${LIST_ixp} \
|
2005-01-10 08:16:25 +09:00
|
|
|
"
|
2002-11-03 08:17:16 +09:00
|
|
|
|
2003-03-27 21:09:35 +09:00
|
|
|
#########################################################################
|
2005-08-14 07:27:00 +09:00
|
|
|
## MIPS Systems (default = big endian)
|
2003-03-27 21:09:35 +09:00
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_mips4kc=" \
|
|
|
|
incaip \
|
2008-01-17 02:27:51 +09:00
|
|
|
qemu_mips \
|
2009-01-22 01:25:01 +09:00
|
|
|
vct_platinum \
|
|
|
|
vct_platinum_small \
|
|
|
|
vct_platinum_onenand \
|
|
|
|
vct_platinum_onenand_small \
|
|
|
|
vct_platinumavc \
|
|
|
|
vct_platinumavc_small \
|
|
|
|
vct_platinumavc_onenand \
|
|
|
|
vct_platinumavc_onenand_small \
|
|
|
|
vct_premium \
|
|
|
|
vct_premium_small \
|
|
|
|
vct_premium_onenand \
|
|
|
|
vct_premium_onenand_small \
|
2007-08-11 05:34:48 +09:00
|
|
|
"
|
2003-03-27 21:09:35 +09:00
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_mips5kc=" \
|
|
|
|
purple \
|
|
|
|
"
|
2003-04-05 09:53:31 +09:00
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_au1xx0=" \
|
|
|
|
dbau1000 \
|
|
|
|
dbau1100 \
|
|
|
|
dbau1500 \
|
|
|
|
dbau1550 \
|
|
|
|
dbau1550_el \
|
|
|
|
gth2 \
|
|
|
|
"
|
2003-10-10 05:09:04 +09:00
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_mips=" \
|
|
|
|
${LIST_mips4kc} \
|
|
|
|
${LIST_mips5kc} \
|
|
|
|
${LIST_au1xx0} \
|
|
|
|
"
|
2003-03-27 21:09:35 +09:00
|
|
|
|
2005-08-14 07:27:00 +09:00
|
|
|
#########################################################################
|
|
|
|
## MIPS Systems (little endian)
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
LIST_mips4kc_el=""
|
|
|
|
|
|
|
|
LIST_mips5kc_el=""
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_au1xx0_el=" \
|
|
|
|
dbau1550_el \
|
2007-10-27 15:00:25 +09:00
|
|
|
pb1000 \
|
2007-08-11 05:34:48 +09:00
|
|
|
"
|
2005-08-14 07:27:00 +09:00
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_mips_el=" \
|
|
|
|
${LIST_mips4kc_el} \
|
|
|
|
${LIST_mips5kc_el} \
|
|
|
|
${LIST_au1xx0_el} \
|
|
|
|
"
|
2005-08-14 07:27:00 +09:00
|
|
|
|
2003-06-01 03:35:21 +09:00
|
|
|
#########################################################################
|
|
|
|
## i386 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_I486=" \
|
|
|
|
sc520_cdp \
|
2008-12-07 08:28:57 +09:00
|
|
|
sc520_eNET \
|
2007-08-11 05:34:48 +09:00
|
|
|
sc520_spunk \
|
|
|
|
sc520_spunk_rel \
|
|
|
|
"
|
2003-06-01 03:35:21 +09:00
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_x86=" \
|
|
|
|
${LIST_I486} \
|
|
|
|
"
|
2003-06-01 03:35:21 +09:00
|
|
|
|
2004-01-04 04:43:48 +09:00
|
|
|
#########################################################################
|
|
|
|
## NIOS Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_nios=" \
|
|
|
|
ADNPESC1 \
|
|
|
|
ADNPESC1_base_32 \
|
|
|
|
ADNPESC1_DNPEVA2_base_32\
|
|
|
|
DK1C20 \
|
|
|
|
DK1C20_standard_32 \
|
|
|
|
DK1S10 \
|
|
|
|
DK1S10_standard_32 \
|
|
|
|
DK1S10_mtx_ldk_20 \
|
2004-01-04 04:43:48 +09:00
|
|
|
"
|
|
|
|
|
2004-10-11 06:27:30 +09:00
|
|
|
#########################################################################
|
|
|
|
## Nios-II Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_nios2=" \
|
|
|
|
EP1C20 \
|
|
|
|
EP1S10 \
|
|
|
|
EP1S40 \
|
|
|
|
PCI5441 \
|
|
|
|
PK1C20 \
|
2006-06-11 02:27:47 +09:00
|
|
|
"
|
2004-10-11 06:27:30 +09:00
|
|
|
|
2004-07-11 08:48:41 +09:00
|
|
|
#########################################################################
|
|
|
|
## MicroBlaze Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2008-12-19 21:14:05 +09:00
|
|
|
LIST_microblaze=" \
|
|
|
|
microblaze-generic \
|
2006-06-11 02:27:47 +09:00
|
|
|
"
|
2004-07-11 08:48:41 +09:00
|
|
|
|
2006-01-27 07:38:46 +09:00
|
|
|
#########################################################################
|
|
|
|
## ColdFire Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_coldfire=" \
|
|
|
|
cobra5272 \
|
|
|
|
EB+MCF-EV123 \
|
|
|
|
EB+MCF-EV123_internal \
|
|
|
|
idmr \
|
2009-06-12 20:29:00 +09:00
|
|
|
M5208EVBE \
|
2008-01-15 08:43:33 +09:00
|
|
|
M52277EVB \
|
2007-08-17 09:23:50 +09:00
|
|
|
M5235EVB \
|
2007-08-17 03:20:50 +09:00
|
|
|
M5249EVB \
|
2008-07-24 07:11:47 +09:00
|
|
|
M5253DEMO \
|
2008-07-10 05:25:01 +09:00
|
|
|
M5253EVBE \
|
2007-08-11 05:34:48 +09:00
|
|
|
M5271EVB \
|
|
|
|
M5272C3 \
|
2008-01-25 05:02:32 +09:00
|
|
|
M5275EVB \
|
2007-08-11 05:34:48 +09:00
|
|
|
M5282EVB \
|
2008-10-22 20:38:21 +09:00
|
|
|
M53017EVB \
|
2008-01-15 08:23:08 +09:00
|
|
|
M5329AFEE \
|
|
|
|
M5373EVB \
|
2008-08-11 22:41:49 +09:00
|
|
|
M54451EVB \
|
2007-08-17 05:05:11 +09:00
|
|
|
M54455EVB \
|
2008-01-16 05:15:46 +09:00
|
|
|
M5475AFE \
|
|
|
|
M5485AFE \
|
2007-08-15 21:51:27 +09:00
|
|
|
TASREG \
|
2006-04-20 15:42:42 +09:00
|
|
|
"
|
2006-01-27 07:38:46 +09:00
|
|
|
|
2006-10-24 21:42:37 +09:00
|
|
|
#########################################################################
|
|
|
|
## AVR32 Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_avr32=" \
|
|
|
|
atstk1002 \
|
2007-10-29 21:02:54 +09:00
|
|
|
atstk1003 \
|
2007-10-29 21:02:54 +09:00
|
|
|
atstk1004 \
|
2007-11-22 20:14:11 +09:00
|
|
|
atstk1006 \
|
2007-04-15 00:11:49 +09:00
|
|
|
atngw100 \
|
avr32: add support for EarthLCD Favr-32 board
This patch adds support for the Favr-32 board made by EarthLCD.
This kit, which is also called ezLCD-101 when running with EarthLCD firmware,
has a 10.4" touch screen LCD panel, 16 MB 32-bit SDRAM, 8 MB parallel flash,
Ethernet, audio out, USB device, SD-card slot, USART and various other
connectors for cennecting stuff to SPI, I2C, GPIO, etc.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-08-06 21:42:13 +09:00
|
|
|
favr-32-ezkit \
|
2008-06-23 20:57:52 +09:00
|
|
|
hammerhead \
|
2008-07-30 21:07:27 +09:00
|
|
|
mimc200 \
|
2007-08-11 05:34:48 +09:00
|
|
|
"
|
2006-10-24 21:42:37 +09:00
|
|
|
|
2007-03-09 14:40:56 +09:00
|
|
|
#########################################################################
|
|
|
|
## Blackfin Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2007-08-11 05:34:48 +09:00
|
|
|
LIST_blackfin=" \
|
2008-10-13 10:32:52 +09:00
|
|
|
bf518f-ezbrd \
|
2008-10-13 10:30:48 +09:00
|
|
|
bf526-ezbrd \
|
2008-10-13 09:59:12 +09:00
|
|
|
bf527-ezkit \
|
2009-12-10 18:19:21 +09:00
|
|
|
bf527-ezkit-v2 \
|
2007-08-11 05:34:48 +09:00
|
|
|
bf533-ezkit \
|
|
|
|
bf533-stamp \
|
2008-10-13 12:16:52 +09:00
|
|
|
bf537-minotaur \
|
2008-10-13 12:08:03 +09:00
|
|
|
bf537-pnav \
|
2008-10-13 12:22:25 +09:00
|
|
|
bf537-srv1 \
|
2007-08-11 05:34:48 +09:00
|
|
|
bf537-stamp \
|
2008-10-13 10:25:33 +09:00
|
|
|
bf538f-ezkit \
|
2008-10-12 18:05:42 +09:00
|
|
|
bf548-ezkit \
|
2009-10-27 07:43:04 +09:00
|
|
|
bf561-acvilon \
|
2007-08-11 05:34:48 +09:00
|
|
|
bf561-ezkit \
|
2008-10-13 12:28:33 +09:00
|
|
|
blackstamp \
|
2008-10-13 10:55:45 +09:00
|
|
|
cm-bf527 \
|
2008-10-13 10:36:22 +09:00
|
|
|
cm-bf533 \
|
2008-10-13 10:41:06 +09:00
|
|
|
cm-bf537e \
|
2009-08-21 08:20:41 +09:00
|
|
|
cm-bf537u \
|
2008-10-13 10:54:07 +09:00
|
|
|
cm-bf548 \
|
2008-10-13 10:45:05 +09:00
|
|
|
cm-bf561 \
|
2009-01-19 12:44:17 +09:00
|
|
|
ibf-dsp561 \
|
2010-01-13 23:04:53 +09:00
|
|
|
tcm-bf518 \
|
2008-10-13 10:49:28 +09:00
|
|
|
tcm-bf537 \
|
2007-03-09 14:40:56 +09:00
|
|
|
"
|
|
|
|
|
2007-11-27 17:44:53 +09:00
|
|
|
#########################################################################
|
|
|
|
## SH Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2008-08-31 23:02:04 +09:00
|
|
|
LIST_sh2=" \
|
|
|
|
rsk7203 \
|
|
|
|
"
|
2008-04-21 07:35:52 +09:00
|
|
|
LIST_sh3=" \
|
|
|
|
mpr2 \
|
|
|
|
ms7720se \
|
|
|
|
"
|
|
|
|
|
2007-11-27 17:44:53 +09:00
|
|
|
LIST_sh4=" \
|
2007-11-29 00:13:04 +09:00
|
|
|
ms7750se \
|
2007-11-27 17:44:53 +09:00
|
|
|
ms7722se \
|
2008-07-08 12:03:24 +09:00
|
|
|
MigoR \
|
2008-03-11 12:55:12 +09:00
|
|
|
r7780mp \
|
2008-03-25 17:11:24 +09:00
|
|
|
r2dplus \
|
2008-06-09 13:39:57 +09:00
|
|
|
sh7763rdp \
|
2008-08-31 22:45:08 +09:00
|
|
|
sh7785lcr \
|
2008-08-22 17:39:09 +09:00
|
|
|
ap325rxa \
|
2009-06-25 16:31:26 +09:00
|
|
|
espt \
|
2007-11-27 17:44:53 +09:00
|
|
|
"
|
|
|
|
|
|
|
|
LIST_sh=" \
|
2008-08-22 17:39:09 +09:00
|
|
|
${LIST_sh2} \
|
2007-11-27 17:44:53 +09:00
|
|
|
${LIST_sh3} \
|
|
|
|
${LIST_sh4} \
|
|
|
|
"
|
|
|
|
|
2008-03-28 17:47:00 +09:00
|
|
|
#########################################################################
|
|
|
|
## SPARC Systems
|
|
|
|
#########################################################################
|
|
|
|
|
2008-03-28 18:20:43 +09:00
|
|
|
LIST_sparc="gr_xc3s_1500 gr_cpci_ax2000 gr_ep2s60 grsim grsim_leon2"
|
2008-03-28 17:47:00 +09:00
|
|
|
|
2003-06-01 03:35:21 +09:00
|
|
|
#-----------------------------------------------------------------------
|
2002-11-03 08:17:16 +09:00
|
|
|
|
|
|
|
#----- for now, just run PPC by default -----
|
|
|
|
[ $# = 0 ] && set $LIST_ppc
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
build_target() {
|
|
|
|
target=$1
|
|
|
|
|
|
|
|
${MAKE} distclean >/dev/null
|
|
|
|
${MAKE} ${target}_config
|
2006-09-02 02:49:50 +09:00
|
|
|
|
|
|
|
${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \
|
|
|
|
| tee ${LOG_DIR}/$target.ERR
|
2009-12-07 14:58:28 +09:00
|
|
|
|
|
|
|
# Check for 'make' errors
|
|
|
|
if [ ${PIPESTATUS[0]} -ne 0 ] ; then
|
|
|
|
RC=1
|
|
|
|
fi
|
|
|
|
|
2009-09-22 02:04:32 +09:00
|
|
|
if [ -s ${LOG_DIR}/$target.ERR ] ; then
|
|
|
|
ERR_CNT=$((ERR_CNT + 1))
|
|
|
|
ERR_LIST="${ERR_LIST} $target"
|
|
|
|
else
|
|
|
|
rm ${LOG_DIR}/$target.ERR
|
|
|
|
fi
|
|
|
|
|
|
|
|
TOTAL_CNT=$((TOTAL_CNT + 1))
|
2006-09-02 02:49:50 +09:00
|
|
|
|
2008-01-28 19:56:19 +09:00
|
|
|
${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \
|
2006-09-02 02:49:50 +09:00
|
|
|
| tee -a ${LOG_DIR}/$target.MAKELOG
|
2002-11-03 08:17:16 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
2009-09-22 02:04:32 +09:00
|
|
|
print_stats() {
|
|
|
|
echo ""
|
|
|
|
echo "--------------------- SUMMARY ----------------------------"
|
|
|
|
echo "Boards compiled: ${TOTAL_CNT}"
|
|
|
|
if [ ${ERR_CNT} -gt 0 ] ; then
|
|
|
|
echo "Boards with warnings or errors: ${ERR_CNT} (${ERR_LIST} )"
|
|
|
|
fi
|
|
|
|
echo "----------------------------------------------------------"
|
2009-12-07 14:58:28 +09:00
|
|
|
|
|
|
|
exit $RC
|
2009-09-22 02:04:32 +09:00
|
|
|
}
|
2002-11-03 08:17:16 +09:00
|
|
|
|
2009-09-22 02:04:32 +09:00
|
|
|
#-----------------------------------------------------------------------
|
2002-11-03 08:17:16 +09:00
|
|
|
for arg in $@
|
|
|
|
do
|
|
|
|
case "$arg" in
|
2009-01-28 02:19:12 +09:00
|
|
|
arm|SA|ARM7|ARM9|ARM10|ARM11|ARM_CORTEX_A8|at91|ixp|pxa \
|
2008-04-21 07:35:52 +09:00
|
|
|
|avr32 \
|
|
|
|
|blackfin \
|
|
|
|
|coldfire \
|
|
|
|
|microblaze \
|
|
|
|
|mips|mips_el \
|
|
|
|
|nios|nios2 \
|
|
|
|
|ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx|TSEC \
|
2008-08-28 14:50:52 +09:00
|
|
|
|sh|sh2|sh3|sh4 \
|
2008-04-21 07:35:52 +09:00
|
|
|
|sparc \
|
|
|
|
|x86|I486 \
|
2007-11-27 17:44:53 +09:00
|
|
|
)
|
2002-11-03 08:17:16 +09:00
|
|
|
for target in `eval echo '$LIST_'${arg}`
|
|
|
|
do
|
|
|
|
build_target ${target}
|
|
|
|
done
|
|
|
|
;;
|
|
|
|
*) build_target ${arg}
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|