Skip to contentSkip to conversation

Common u-boot image for e300 and e500v2

U-Boot Johns Daniel 2 participants 3 messages Jan 23, 2009

lore
Share & tools
lore
#0 lore raw

Is it possible -- and prudent -- to use a single u-boot binary image for two similar boards, one based on an e300 core and the other on an e500v2 core?

My guess is that it is not possible, but I was surprised to see that the e500v2-targeted toolchain did build the kernel for the e300 board just fine.

Would love to hear the technical nuances involved with this...

-- Johns

#1 lore raw

Dear Johns Daniel,

Quoted 3 lines · In message <[email protected]> you…

Is it possible -- and prudent -- to use a single u-boot binary image for two similar boards, one based on an e300 core and the other on an e500v2 core?

No, this is not possible (at least not with reasonable efofort and resonable code).

Quoted 3 lines

My guess is that it is not possible, but I was surprised to see that the e500v2-targeted toolchain did build the kernel for the e300 board just fine.

That's not surprise. When testing, I build U-Boot for *all* PowerPC systems with the same toolchain, usually using a ppc_8xx- or ppc_4xx- configuration. All these images buil without problems, and more, they even run fine on the target systems. U-Boot usually does not include any code which depends on such specific CPU features.

Best regards,

Wolfgang Denk

Signature · 6 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
"One thing they don't tell you about doing  experimental  physics  is
that sometimes you must work under adverse conditions... like a state
of sheer terror."                                    - W. K. Hartmann
#2 lore raw

Thank you... answers my question perfectly.

-- Johns

Quoted 33 lines · Wolfgang Denk

Dear Johns Daniel,

In message <[email protected]>

Quoted 3 lines · you

Is it possible -- and prudent -- to use a single u-boot binary image for two similar boards, one based on an e300 core and the other on an e500v2 core?

No, this is not possible (at least not with reasonable efofort and resonable code).

Quoted 3 lines

My guess is that it is not possible, but I was surprised to see that the e500v2-targeted toolchain did build the kernel for the e300 board just fine.

That's not surprise. When testing, I build U-Boot for *all* PowerPC systems with the same toolchain, usually using a ppc_8xx- or ppc_4xx- configuration. All these images buil without problems, and more, they even run fine on the target systems. U-Boot usually does not include any code which depends on such specific CPU features.

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 "One thing they don't tell you about doing experimental physics is that sometimes you must work under adverse conditions... like a state
of sheer terror." - W. K. Hartmann