Skip to contentSkip to conversation

where I can find a crosscompiler for BCM1255

DISCUSSION Jonathan Day 2 participants 3 messages Jun 9, 2006 – Jun 12, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

I have built cross-compilers for the Broadcom BCM1250 using the instructions and patches on the "Linux From Scratch" website. You need to look for the cross-compiler version of their guide, then select "browse online" and finally "mips64" to get to the instructions/patches for building for the 64-bit MIPS platforms.

Do NOT use their kernel or kernel patches - use the version in the git repository on linux-mips.

I personally use the binutils from CVS, rather than the version they have on their website, but there are no guarantees that their alterations to their MIPS code has fixed bugs or added them. This is NOT a well-tested or well-supported platform, even by (or especially by, in Broadcom's case) the manufacturers.

I have the C, C++ and GFortran compilers working. It would appear to be much harder to get ADA to work. I have not tried Objective C or Objective C++.

(GFortran is buggy, but efforts to get G95 to compile correctly are so far proving very frustrating. It compiles natively and cross-compiles just fine, but fails to generate valid code on the Broadcom 1250. The compiler does work, as I have got it to work just fine on ix86 systems and it is the recommended Fortran 95 compiler by many organizations I've talked to. Obviously, if you don't have to worry about Fortran, this is a non-issue. For those who do, coaxing G95 to behave with GCC 4.1.x will be an interesting problem.)

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw
Quoted 8 lines · Jonathan Day

I have built cross-compilers for the Broadcom BCM1250 using the instructions and patches on the "Linux From Scratch" website. You need to look for the cross-compiler version of their guide, then select "browse online" and finally "mips64" to get to the instructions/patches for building for the 64-bit MIPS platforms.

Quoted 4 lines

Do NOT use their kernel or kernel patches - use the version in the git repository on linux-mips.

Johnathan, I'm on of the developers of CLFS, did you run into a problem with the patches? The patch is diff kernel.org and linux-mips.org kernels. Just curious, if we missed something let me know.

#2 lore raw
Quoted 18 lines · --- Jim Gifford
Quoted 1 line · Jonathan Day

I have built cross-compilers for the Broadcom

BCM1250

Quoted 1 line

using the instructions and patches on the "Linux

From

Quoted 4 lines

Scratch" website. You need to look for the cross-compiler version of their guide, then select "browse online" and finally "mips64" to get to the instructions/patches for building for the 64-bit

MIPS

Quoted 3 lines

platforms.

Do NOT use their kernel or kernel patches - use

the

Quoted 3 lines

version in the git repository on linux-mips.

Quoted 6 lines

Johnathan, I'm on of the developers of CLFS, did you
run into a problem
with the patches? The patch is diff kernel.org and linux-mips.org
kernels. Just curious, if we missed something let me know.

No, the patches are fine. The problem is "Rapid Development Syndrome" - no matter how fast the patches are updated, critical bugfixes will likely work their way into the git repository before the next patch update. This isn't a big issue for 99.99% of the tools
- there, updates are as likely to cause problems as fix them, so the delay is actually beneficial.

(Now, -configuring- the Linux kernel can be interesting, as I've yet to get dialog to function correctly...)

Jonathan

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com