Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on Alternative Architectures
  • Search

Endianity with Linux on Itanium hardware

Post here for other supported architectures, or if you are interested in porting Gentoo to a currently unsupported architecture.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
emilsa
n00b
n00b
Posts: 2
Joined: Sun May 22, 2005 4:18 pm

Endianity with Linux on Itanium hardware

  • Quote

Post by emilsa » Sun May 22, 2005 4:26 pm

I've been asked to install Linux on HP-Itanium Hardware. Major demand of this installation is full big endian support.
As far as I know, all Linux distros for Itanium hardware precompiled with little endian support, nevertheless that Itanium processor support big endian. As well PPC version of Linux is big endian.

My question is: is it possible (even theoretically) to compile Linux to be big endian on Itanium ?
Top
yaneurabeya
Veteran
Veteran
User avatar
Posts: 1754
Joined: Thu May 13, 2004 10:47 pm
Location: Seattle

  • Quote

Post by yaneurabeya » Sun May 22, 2005 8:07 pm

I thought all Intel hardware ran big endian based number crunching, etc. However, I could be wrong...
Top
Redhatter
Retired Dev
Retired Dev
User avatar
Posts: 548
Joined: Sat Sep 20, 2003 12:57 pm
Location: Brisbane, QLD, Australia
Contact:
Contact Redhatter
Website

  • Quote

Post by Redhatter » Sun May 22, 2005 11:38 pm

Actually no... Intel IA32 (x86) is little endian... as is AMD64.

I've had a look around... everything I've found regarding IA64 mentions it being little endian... I'm doubtful as to whether IA64 can even run Big Endian.

Some arches can run both ways... MIPS is one... on SGI machines, the CPUs are generally configured big endian, and on Cobalt servers, little endian. In this case though, you need a different userland and compiller...

You'll notice that Cobalt servers use "mipsel-unknown-linux-gnu" as a CHOST, vs "mips-unknown-linux-gnu" on SGI machines... Guess what the "el" stands for... :-)

I think you'd find, if it were possible, it would be a similar situation with IA64... although I'm no expert in the area, having never used it.
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Top
emilsa
n00b
n00b
Posts: 2
Joined: Sun May 22, 2005 4:18 pm

  • Quote

Post by emilsa » Mon May 23, 2005 7:09 am

Actually all world running big endian. Only Intel uses little endian.
Itanium for sure running both: HP-UX on Itanium servers run big endian and Linux - little endian. CPU endianity controlled by boot loader.

My question is if it is possible to compile Linux for Itanium as big endian system ?
Top
Redhatter
Retired Dev
Retired Dev
User avatar
Posts: 548
Joined: Sat Sep 20, 2003 12:57 pm
Location: Brisbane, QLD, Australia
Contact:
Contact Redhatter
Website

  • Quote

Post by Redhatter » Mon May 23, 2005 1:49 pm

Ahh okay, so the bootloader is able to switch the CPU into either mode. Therefore, yes, it definately should be possible, given an appropriate kernel and userland. (or cross-compiler to generate the said kernel and userland).

And to clarify... there's many more architectures than just Intel that use Little Endian. MIPS can be either (as I said before)... I'm pretty sure AMD64 is little-endian too... and I'm not sure about other architectures. I know for a definite fact, that PowerPC and Sparc are definately big endian.
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Gentoo on Alternative Architectures”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic