Skip to contentSkip to conversation

mpq101 board broken

U-Boot Wolfgang Denk 3 participants 8 messages Mar 31, 2011 – Apr 27, 2011

lore
Share & tools
lore
#0 lore raw

Dear Alex,

the mpq101 board support is broken in recent versions of U-Boot:

Configuring for mpq101 board...
ppc_85xxDP-ld: u-boot: section .ppcenv lma 0xfffc0000 overlaps previous sections

Can you please have a look?

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I must follow the people.  Am I not their leader? - Benjamin Disraeli
#1 lore raw

I ran into this, too, but it went away when I updated my compiler. It looks like the beginning was set a little too close to the end?

Quoted 19 lines · Wolfgang Denk

Dear Alex,

the mpq101 board support is broken in recent versions of U-Boot:

Configuring for mpq101 board...
ppc_85xxDP-ld: u-boot: section .ppcenv lma 0xfffc0000 overlaps previous sections

Can you please have a look?

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, ? ? MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I must follow the people. ?Am I not their leader? - Benjamin Disraeli

#2 lore raw
Quoted 5 lines · Andy Fleming

I ran into this, too, but it went
away when I updated my compiler. It
looks like the beginning was set a little too close to the end?

I pulled the git and recompiled, yet I don't see any errors, everything is
just fine. My compiler version is:
Using built-in specs.
COLLECT_GCC=powerpc-linux-gnuspe-gcc
COLLECT_LTO_WRAPPER=/home/netroot/amd64/powerpc-gnuspe/libexec/gcc/powerpc-linux-gnuspe/4.5.1/lto-wrapper
Target: powerpc-linux-gnuspe
Configured with: ../gcc-4.5.1/configure --prefix=/home/netroot/amd64/powerpc-gnuspe --target=powerpc-linux-gnuspe --with-sysroot=/home/netroot/gentoo-powerpc-gnuspe --enable-multilib --enable-languages=c,c++,fortran --enable-shared --enable-threads --enable-e500-double Thread model: posix
gcc version 4.5.1 (GCC)

Quoted 27 lines · Wolfgang Denk
Quoted 3 lines

Dear Alex,

the mpq101 board support is broken in recent versions

of U-Boot:

Quoted 3 lines

Configuring for mpq101 board...
ppc_85xxDP-ld: u-boot: section .ppcenv lma 0xfffc0000

overlaps previous sections

Quoted 9 lines

Can you please have a look?

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, ? ? MD: Wolfgang

Denk & Detlev Zundel

Quoted 1 line

HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Groebenzell, Germany

Quoted 1 line

Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80

Email: wd at denx.de

Quoted 1 line

I must follow the people. ?Am I not their leader? -

Benjamin Disraeli

Quoted 1 line
#3 lore raw

Dear Alex Dubov,

Quoted 4 lines · In message <[email protected]> you wrote:

I pulled the git and recompiled, yet I don't see any errors, everything is
just fine. My compiler version is:

...

Quoted 1 line

gcc version 4.5.1 (GCC)

Seems you are on thin ice. I used gcc-4.2.2 for building, which eventually optimizes a bit less efficient.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Der Dativ ist dem Genitiv sein Tod.
#4 lore raw
Quoted 6 lines · Wolfgang Denk

In message <[email protected]>

Quoted 2 lines · you

I pulled the git and recompiled, yet I don't see any

errors,

Quoted 9 lines
Quoted 2 lines

everything is
just fine. My compiler version is:

...

Quoted 1 line

gcc version 4.5.1 (GCC)

Seems you are on thin ice.? I used gcc-4.2.2 for
building, which
eventually optimizes a bit less efficient.

Is not this compiler version a good 4 years old?

In my blob I still got 8k free, and I don't think there's too much use for NFS support, which is enabled by default.

#5 lore raw

Dear Alex Dubov,

Quoted 4 lines · In message <[email protected]> you wrote:
Quoted 4 lines
Quoted 3 lines

everything is
just fine. My compiler version is:

...

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

gcc version 4.5.1 (GCC)

Seems you are on thin ice.? I used gcc-4.2.2 for
building, which
eventually optimizes a bit less efficient.

Is not this compiler version a good 4 years old?

Yes, it is. And it is rock-solid, at least copmpared to gcc-4.4.x and later.

See for example http://www.denx.de/wiki/U-Boot/GccBugsAndIssues for just the list of regressions we ran into in U-Boot context.

Also keep in mind that for example the Linux README still says: "Make sure you have at least gcc 3.2 available." To me this suggests that compiler versions that old are supposed to be still supported...

Quoted 2 lines

In my blob I still got 8k free, and I don't think there's too much use for NFS support, which is enabled by default.

I just point out that this board does not build in our build tests - as the only PPC board, btw.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Inside every old person is a young person wondering what happened.
                              - Terry Pratchett, _Moving Pictures_
#6 lore raw
Quoted 8 lines · Wolfgang Denk
Quoted 1 line

In my blob I still got 8k free, and I don't think

there's too much use

Quoted 1 line

for NFS support, which is enabled by default.

I just point out that this board does not build in our build tests -
as the only PPC board, btw.

The error says something about previous section. May be it's not directly compiler related at all.

As I'm putting .ppcenv to be the first section, the only thing before it is .interp, which is supposed to be empty.

Do you have a linker map file for me to look at?

#7 lore raw

Dear Alex Dubov,

Quoted 8 lines · In message <[email protected]> you wrote:

The error says something about previous section. May be it's not directly compiler related at all.

As I'm putting .ppcenv to be the first section, the only thing before it is .interp, which is supposed to be empty.

Do you have a linker map file for me to look at?

Linker map sent off list.

Best regards,

Wolfgang Denk

Signature · 8 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
That's their goal, remember, a goal that's really contrary to that of
the programmer or administrator. We just want to get our  jobs  done.
$Bill  just  wants  to  become  $$Bill. These aren't even marginallly
congruent.
         -- Tom Christiansen in <[email protected]>