Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on a AMD Alchemy Au1550?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
nicolab80
n00b
n00b


Joined: 22 Mar 2006
Posts: 16

PostPosted: Fri Sep 29, 2006 7:18 am    Post subject: Gentoo on a AMD Alchemy Au1550? Reply with quote

I'm starting a new project and I'd like to use gentoo.
Does anybody get experience with this processor?
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Tue Oct 10, 2006 2:08 pm    Post subject: Reply with quote

I use a Stage3 environment for Cobalt with a Au1200 in LE mode.
For my limited uses it works very well (porting Linux over to a
custom made board). The compiler shipping with it unfortunately
segfaults/dies with "wrong-opcode" messages pretty often.
(Probably because the Cobalt uses another MIPS instruction subset?)

The crosscompiler produced by crossdev successfully builds yamon, linux
kernels and other apps (so far I only compiled libusb, usbutils and AMD's
hw accelerated media player).
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Mon Oct 23, 2006 6:38 am    Post subject: Reply with quote

I've created a basic Gentoo environment for MIPS32 Little Endian, consisting of gcc-4.1.1, glibc-2.5, binutils-2.17, latest python, portage, bash, coreutils.
You can emerge stuff with it. If you're interested, I can put it somewhere for you to download (the binpkgs are around 30MB)
Back to top
View user's profile Send private message
iluxa
Retired Dev
Retired Dev


Joined: 18 Nov 2006
Posts: 52

PostPosted: Sun Nov 26, 2006 5:26 am    Post subject: Reply with quote

Real question is why would you want to use Gentoo with board like that.
uClibc + buildroot do most adequate job, with cross-compiler setups, base system,
etc. And for those rare cases where you actually need to build something on your target
(i.e. an application just doesn't cross-compile (think FireBird database (enough parenthesis?))
then buildroot can build target toolchain for you as well.)

I'm not trying to discourage use of Gentoo, just you have to assess if it really is what
you need for your project. No experience is better then bad experience
_________________
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com

CPPSERV: C++ Servlet Container and CSP (C++ Server Pages) parser: Application server for Real Programmers(TM)
Back to top
View user's profile Send private message
iluxa
Retired Dev
Retired Dev


Joined: 18 Nov 2006
Posts: 52

PostPosted: Sun Nov 26, 2006 5:28 am    Post subject: Reply with quote

Oh, and as for unsupported command errors, remember that unlike Cobalt,
Au1500 is MIPS32 CPU with no real FPU. You really need to compile from scratch
for it (not an easy thing to do - yet another reason to use buildroot, at the
very least to do a boostrap)
_________________
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com

CPPSERV: C++ Servlet Container and CSP (C++ Server Pages) parser: Application server for Real Programmers(TM)
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Mon Nov 27, 2006 7:45 am    Post subject: Reply with quote

iluxa wrote:
Real question is why would you want to use Gentoo with board like that.

Oh, I fully agree with you; there are better ways to build an embedded system.
I don't know what the OP does with his/her Au1xxx, but I do
kernel work and needed a very basic user env to work with. And it's fun to give
the board something to do during nighttime and see whether it BUG()s or not...
Back to top
View user's profile Send private message
nicolab80
n00b
n00b


Joined: 22 Mar 2006
Posts: 16

PostPosted: Mon Nov 27, 2006 9:37 am    Post subject: Reply with quote

Thank you for your answer!
What I really need is c++ crosscompiler. I'm new with embedded linux hacking. I'm refactoring an old project developed with gxlinux. I'd like to use c++ becouse i'm expert in it and in OOP. I've source code from microcross but there isn't a libstdc++, it is a system based on uclibc.
Back to top
View user's profile Send private message
iluxa
Retired Dev
Retired Dev


Joined: 18 Nov 2006
Posts: 52

PostPosted: Mon Nov 27, 2006 10:32 pm    Post subject: Reply with quote

Ah.. C++.. Not too good with uClibc, last I heard, however, gentoo is _not_ the distro for
cross-compile targets. It can be used as cross-compile host very well though.

What I'd do is use crossdev to build cross-toolchain for your target, and then
I'd hack buildroot to use that toolchain instead of building its own. This will
get you reasonable setup.
_________________
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com

CPPSERV: C++ Servlet Container and CSP (C++ Server Pages) parser: Application server for Real Programmers(TM)
Back to top
View user's profile Send private message
wim-x
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 110
Location: Netherlands

PostPosted: Sat Jan 07, 2012 7:45 am    Post subject: Reply with quote

I'm considering buying an Xtreme PC EX6500NG (thin client) with an Alchemy AU1550 (mips32). I already found some recent stage3's in experimental/mips/stages/ but now I was wondering what kind of stage3 and crossdev target I should use to prepare the environment.

  • What's the difference between stage3-mips32el and stage3-mipsel1?
  • Should I use mipsel-unknown-linux-gnu?
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Sat Jan 07, 2012 7:00 pm    Post subject: Reply with quote

mips32 has a few more opcodes than mips1, but they are compatible.

since the alchemy line has no FPU, I favor mipsel-softfloat-linux-gnu.
in floatmath intensive applications the softfloat toolchain gives a small
performance advantage; hardfloat opcodes are trapped and emulated by
the kernel which takes considerable time. obviously there are ABI differences
which means you must use either soft or hardfloat; mixing them results
in all kinds of weird errors.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum