Jump to content


Photo

Gentoo Linux


  • Please log in to reply
100 replies to this topic

#1 javaJake

javaJake

    Jacob Godserv

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1511 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming, Gentoo Linux, gadgets (course, course) and basically anything computer-related.

Posted 08 November 2008 - 05:15 PM

Why Gentoo?
This will be moved to the Wiki at some point

Gentoo has some major advantages that other operating systems just can't provide, and the fundamental reason behind all these features is that you configure it, from the ground up. You don't have to rumage through the entire system to find out what you can clean and what you should keep. You decide what your Pandora should be able to do, even as Gentoo installs each part!

The result depends on how much stuff a user decides he/she wants, but it usually ends up being lighter, faster, and all around more efficient.

Oh, and I almost forgot to mention that, because Gentoo compiles from source, you don't have to wait to get any new versions ported for you - you can do it automatically. biggrin.gif

That's why the Pandora is a perfect candidate for Gentoo.

Please Visit Our Website
We're writing all of our documentation and some announcements in our website. Please visit it and the wiki within for the latest information and instructions:
http://gentoo.openpandora.org/

Edited by javaJake, 12 June 2009 - 01:45 PM.


#2 javaJake

javaJake

    Jacob Godserv

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1511 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming, Gentoo Linux, gadgets (course, course) and basically anything computer-related.

Posted 08 November 2008 - 10:59 PM

2008-11-08 (latest since the move to this forum)
An update for everyone since the last news on the old forums: this project has been laying dormant for a few weeks, but I'm back on it again. I'm getting closer and closer to being able to cross-compile to a virtual QEMU computer.

The "Knife's Edge Edition" repository is being actively worked on. There've been some issues getting it set up, but worst comes to worst I have a backup solution (hint: Launchpad wink.gif ).

Also, the target was changed to armv7a-softfloat, so if you have anything different, you need to follow the instructions in the opening post again.

#3 javaJake

javaJake

    Jacob Godserv

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1511 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming, Gentoo Linux, gadgets (course, course) and basically anything computer-related.

Posted 09 November 2008 - 12:04 AM

2008-11-08 (added repository)
Alright, guys, the repository is now available. It's actually pretty much recommended you use it, as it contains important patches and so on and so forth.
Project: https://launchpad.ne...too-arm-pandora
Trunk: https://code.launchp...too-arm-pandora

#4 Laurent

Laurent

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1036 posts
  • Location:France

Posted 09 November 2008 - 12:14 AM

I don't know much about gentoo, but where does the choice of gcc 4.0.2 come from? I would recommend a much more recent version smile.gif

#5 timothee

timothee

    GP32 User

  • Members
  • PipPipPip
  • 83 posts
  • Location:Singapore
  • Interests:my 3 cats, my 2 young twins, linux and kde, trekking and hiking, retro-games

Posted 10 November 2008 - 03:16 AM

Thanks for the update javaJake, gentoo is my primary desktop distro at home and office and I love it! I'd be very glad to see it running on the Pandora.

I probably won't be looking at any implementation details until I actually have a the Pandora, but I just wanted to say there is some interest here smile.gif.

Cheers!

#6 Vorporeal

Vorporeal

    Yes, no, I, this is.

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1475 posts
  • Gender:Male

Posted 11 November 2008 - 01:09 AM

QUOTE(Laurent @ Nov 8 2008, 07:14 PM) View Post

I don't know much about gentoo, but where does the choice of gcc 4.0.2 come from? I would recommend a much more recent version smile.gif


He probably meant 4.1.2, as that's the latest version available through the Gentoo package manager that isn't marked as "testing". Gentoo does a lot of package QA/QC, and marks packages that aren't totally stable as testing. Those aren't downloaded and installed on an installation marked as using "stable" packages, unless the user forces the installation of a "testing" version.

#7 javaJake

javaJake

    Jacob Godserv

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1511 posts
  • Gender:Male
  • Location:USA
  • Interests:Programming, Gentoo Linux, gadgets (course, course) and basically anything computer-related.

Posted 11 November 2008 - 02:50 AM

QUOTE(Laurent @ Nov 8 2008, 07:14 PM) View Post

I don't know much about gentoo, but where does the choice of gcc 4.0.2 come from? I would recommend a much more recent version smile.gif

We're using gcc-4.3.2, the latest working unstable gcc compiler in Gentoo. The 4.3.2 version still uses a patch from 4.0.2 in its ebuild, but since the patch is old enough, I had to update it so it'd apply correctly.

QUOTE(timothee @ Nov 9 2008, 10:16 PM) View Post

I probably won't be looking at any implementation details until I actually have a the Pandora, but I just wanted to say there is some interest here smile.gif.

Much appreciated! biggrin.gif

#8 DesktopMan

DesktopMan

    GP32 User

  • Members
  • PipPipPip
  • 33 posts

Posted 11 November 2008 - 04:23 AM

After installing the base system that you will make available, does emerge'ing require compiling on the Pandora? Or will there be binary packages available.

Also, by compiling from ground up you have a lot of possibilities when it comes to compiler target and settings. I see you're targeting armv7, any idea on the speed advantage this will bring compared to existing distros targeting armv5?

Do consider this post as interest in Gentoo on the Pandora smile.gif

#9 Creature XL

Creature XL

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 435 posts
  • Location:Hannover.de

Posted 11 November 2008 - 08:29 AM

QUOTE(DesktopMan @ Nov 11 2008, 05:23 AM) View Post

After installing the base system that you will make available, does emerge'ing require compiling on the Pandora? Or will there be binary packages available.


binary packages? Isn't the idea of using gentoo that YOU compile the packages with your preferences? smile.gif

I don't want to compil eon my Pandora. I have set up DEBIAN-etch in QEMU for ARM under Windows (Version 0.90 sad.gif ) and installed gcc and friends. Maybe I try to compile on there (for GP2x I have compiled with thte open2x toolchain on my Linux box). What would be a good idea is to do an gentoo install on QEMU. Not that it compile much faster on the QEMU (as compared to the pandora) however, you I think it is more convinient because I then don't need all the dev-packages on my SD cards. You then can copy the binary packages (if that is possible) to the Pandora. Is that possible? Or does "emerge" an "make install" and doesn't generate any packages?



#10 EnQ

EnQ

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 11 November 2008 - 11:36 AM

I also wanted to install Gentoo as soon as I get my Pandora. wink.gif

I already got a working toolchain for armeb (that's big endian; Pandora is little endian). It's not that hard to set up cross compiling; if it would help you I can write some howto for that. The box I targeted on (NSLU2) unfortunately broke when I finally booted into Gentoo (probably not due to something I could have influenced but a manufacturing problem on the power supply). I took many notes on how I set up everything but sometimes I just linked to gentoo-wiki.com which is currently being restored after a very stupid data center problem (admin lost access to all data because the two hosting companies went crazy at each other). So my howto may have some holes...

I wouldn't recommend compiling on the Pandora; that would just take too much time. However, there's an option at /etc/make.conf you can set to package everything in some directory. That directory can then be shared/copied over network and be used as a binary repository. So you can cross-compile most (not all) ebuilds you need and offer them for public. [Edit: Not sure if that really was in make.conf but at least you can feed emerge the needed options on runtime.]

If enough people are interested in having Gentoo on their Pandora one could set up some trusted repository for public downloads somewhere.

IMHO emulation doesn't make much sense unless you find a ready-to-run Pandora emulator supporting the exact same hardware as the current production batch. Since the Pandora will have a LCD (well, at least when they are deliverable again wink.gif ) it will be easier (and much more time-saving) to just apply all necessary patches and watch what happens. Once the kernel has booted it's not hard to get the rest working too.

I'm currently at work but I will post some more info on how to do certain things when I am home.

Edited by EnQ, 11 November 2008 - 11:40 AM.


#11 xnopasaranx

xnopasaranx

    Superbad!

  • X-treme Team
  • 2369 posts
  • Gender:Male

Posted 11 November 2008 - 01:22 PM

This seems like a cool project. I always wanted to try gentoo and see if it ran faster on my laptop but was too lazy to backup all the files before etc. I think this will be good to have on the pandora. When I get my unit I'll try to follow and see if it is a better distro for me than angstrom.

#12 Hessiess

Hessiess

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 197 posts

Posted 11 November 2008 - 05:55 PM

I don't see any advantage to using Gentoo on a device line the pandora, where every unit is exactly the same. It would be perfectly possible to create a optimised binary distro like Arch. Which would also save a lot of unnesoserry compiling.

#13 DesktopMan

DesktopMan

    GP32 User

  • Members
  • PipPipPip
  • 33 posts

Posted 12 November 2008 - 01:45 AM

QUOTE(Creature XL @ Nov 11 2008, 09:29 AM) View Post

binary packages? Isn't the idea of using gentoo that YOU compile the packages with your preferences? smile.gif


Gentoo has binary packages for a lot of things, especially the large ones. It makes zero sense for everyone to compile exactly the same on every Pandora. I have considered setting up my home computer to compile packages, if anything it would be a learning experience.

#14 Tinnus

Tinnus

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 496 posts

Posted 12 November 2008 - 03:26 AM

What about different use flags? The purpose of Gentoo is not just to have WHAT you want the best way possible, but HOW you want it as well.

#15 viridior

viridior

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 186 posts
  • Gender:Male
  • Location:Waialua, Hawaii USA
  • Interests:Computers, Military, Hiking/Camping, Photography, Movies. US Navy Submarine Officer. Linux user since 1999. Mostly Gentoo for the last few years.

Posted 12 November 2008 - 02:55 PM

Since javaJake hasn't responded yet (he does a bit of maintaining of the openpandora.org forums) I will try to answer some of the questions/comments made lately. You can track our progress here, https://code.launchp...too-arm-pandora

In no deliberate order...
- Hessies: The goal of Gentoo on the pandora is to utilize the functionality of Gentoo-based package library (among other things), that we feel would improve upon the Angstrom-based OS that will be pre-installed.
- Creature XL, DesktopMan: Most Gentoo users, for various reasons, do build their environments from tar-balls and optimize accordingly. Understandably, since the hardware will be initially static and compiling on the pandora can be cumbersome, we as a community can use distcc and a common repository to install Gentoo optimized binary packages which then can be incorporated as each person desires. As a project we are not this far along yet, but please join/contribute on any ideas you have.
- DesktopMan, EnQ: we are using crossdev with the armv7a-softfloat-linux-gnueabi toolchain which with javajake's patch has compiled successfully. I can post the binutils, gcc, glibc versions when I get back home, but they are the most current stable-branch in Gentoo. At this time I have been able to successfully compile a omap patched 2.6.28-r3 kernel with some pandora defaults and busybox. Currently I am working on other base system services so we can get a stable image out for people to start testing with emulators until the real hardware comes out.

Thanks,
Viridior

Edited by viridior, 12 November 2008 - 02:55 PM.