With recent toolchains, the environment sectors were no longer aligned to sector boundaries. The reason was a combination of two bugs: 1) common/environment.c assumed that CONFIG_TQM8xxL would be defined for all TQM8xxL and TQM8xxM boards. But "include/common.h", where this gets defined, is not included here (and cannot be included without causing lots of problems). Added a new #define CFG_USE_PPCENV for all boards which really want to put the environment is a ".ppcenv" section. 2) The linker scripts just include environment.o, silently assuming that the objects in that file are really in the order in which they are coded in the C file, i. e. "environment" first, then "redundand_environment", and "env_size" last. However, current toolchains (GCC-4.x) reorder the objects, causing the environment data not to start on a flash sector boundary: Instead of: we got: 40008000 T environment 40008000 T env_size 4000c000 T redundand_environment 40008004 T redundand_environment 40010000 T env_size 4000c004 T environment Note: this patch fixes just the first part, and cures the alignment problem by making sure that "env_size" gets placed correctly. However, we still have a potential issue because primary and redundant environment sectors are actually swapped, i. e. we have now: 40008000 T redundand_environment 4000c000 T environment 40010000 T env_size This shall be fixed in the next version. Signed-off-by: Wolfgang Denk <wd@denx.de> |
||
---|---|---|
.. | ||
a3000 | ||
adder | ||
ads5121 | ||
adsvix | ||
alaska | ||
altera | ||
amcc | ||
amirix/ap1000 | ||
armadillo | ||
assabet | ||
at91rm9200dk | ||
atc | ||
AtmarkTechno/suzaku | ||
atmel/atstk1000 | ||
barco | ||
bc3450 | ||
bf533-ezkit | ||
bf533-stamp | ||
bf537-stamp | ||
bf561-ezkit | ||
bmw | ||
BuS/EB+MCF-EV123 | ||
c2mon | ||
canmb | ||
cds | ||
cerf250 | ||
cm41xx | ||
cm4008 | ||
cm5200 | ||
cmc_pu2 | ||
cmi | ||
cobra5272 | ||
cogent | ||
cpc45 | ||
cpu86 | ||
cpu87 | ||
cradle | ||
cray/L1 | ||
csb226 | ||
csb272 | ||
csb472 | ||
csb637 | ||
cu824 | ||
dave | ||
davinci | ||
dbau1x00 | ||
delta | ||
dnp1110 | ||
eltec | ||
emk | ||
ep82xxm | ||
ep88x | ||
ep7312 | ||
ep8248 | ||
ep8260 | ||
eric | ||
esd | ||
esteem192e | ||
etin | ||
etx094 | ||
evb4510 | ||
evb64260 | ||
eXalion | ||
exbitgen | ||
fads | ||
flagadm | ||
freescale | ||
funkwerk/vovpn-gw | ||
g2000 | ||
gcplus | ||
gen860t | ||
genietv | ||
gth | ||
gth2 | ||
gw8260 | ||
hermes | ||
hidden_dragon | ||
hmi1001 | ||
hymod | ||
icecube | ||
icu862 | ||
idmr | ||
ids8247 | ||
impa7 | ||
incaip | ||
inka4x0 | ||
innokom | ||
integratorap | ||
integratorcp | ||
ip860 | ||
iphase4539 | ||
ispan | ||
ivm | ||
ixdp425 | ||
jse | ||
jupiter | ||
kb9202 | ||
kup | ||
lantec | ||
lart | ||
LEOX/elpt860 | ||
logodl | ||
lpc2292sodimm | ||
lpd7a40x | ||
lubbock | ||
lwmon | ||
lwmon5 | ||
m5271evb | ||
m5272c3 | ||
m5282evb | ||
MAI | ||
Marvell | ||
mbx8xx | ||
mcc200 | ||
ml2 | ||
modnet50 | ||
motionpro | ||
mousse | ||
mp2usb | ||
mpc7448hpc2 | ||
mpc8260ads | ||
mpc8266ads | ||
mpc8540ads | ||
mpc8540eval | ||
mpc8560ads | ||
mpc8568mds | ||
mpl | ||
musenki | ||
mvblue | ||
mvs1 | ||
mx1ads | ||
mx1fs2 | ||
nc650 | ||
netphone | ||
netstal | ||
netstar | ||
netta | ||
netta2 | ||
netvia | ||
ns9750dev | ||
nx823 | ||
o2dnt | ||
omap730p2 | ||
omap1510inn | ||
omap1610inn | ||
omap2420h4 | ||
omap5912osk | ||
oxc | ||
pb1x00 | ||
pcippc2 | ||
pcs440ep | ||
pleb2 | ||
pm520 | ||
pm826 | ||
pm828 | ||
pm854 | ||
pm856 | ||
pn62 | ||
ppmc7xx | ||
ppmc8260 | ||
prodrive | ||
psyent | ||
purple | ||
pxa255_idp | ||
quantum | ||
r360mpi | ||
r5200 | ||
rattler | ||
rbc823 | ||
rmu | ||
RPXClassic | ||
RPXlite | ||
RPXlite_dw | ||
rpxsuper | ||
RRvision | ||
rsdproto | ||
sacsng | ||
sandburst | ||
sandpoint | ||
sbc405 | ||
sbc2410x | ||
sbc8240 | ||
sbc8260 | ||
sbc8349 | ||
sbc8560 | ||
sbc8641d | ||
sc3 | ||
sc520_cdp | ||
sc520_spunk | ||
scb9328 | ||
shannon | ||
siemens | ||
sixnet | ||
sl8245 | ||
smdk2400 | ||
smdk2410 | ||
snmc | ||
sorcery | ||
spc1920 | ||
spd8xx | ||
ssv | ||
stxgp3 | ||
stxssa | ||
stxxtc | ||
svm_sc8xx | ||
sx1 | ||
tb0229 | ||
total5200 | ||
tqm8xx | ||
tqm85xx | ||
tqm834x | ||
tqm5200 | ||
tqm8260 | ||
tqm8272 | ||
trab | ||
trizepsiv | ||
uc100 | ||
uc101 | ||
utx8245 | ||
v37 | ||
v38b | ||
versatile | ||
voiceblue | ||
w7o | ||
wepep250 | ||
westel/amx860 | ||
xaeniax | ||
xilinx | ||
xm250 | ||
xpedite1k | ||
xsengine | ||
zeus | ||
zpc1900 | ||
zylonite |