1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

Gentoo for Pandora release 2014.05

Discussion in 'Alternative OS' started by Alec, May 16, 2014.

  1. Alec

    Alec Member

    Joined:
    Mar 5, 2009
    Messages:
    429
    Hi Everyone,
     
    I made a Gentoo image for Pandora.
     

    You can download the root tarball here:

    http://gentoo.openpandora.org/images

    Status

    What to expect:

    • Basic features should work (keyboard layouts, wifi, suspend, power). I did not add the PowerVR driver yet.
    • Razor-qt 0.5.2 desktop
    • Over 500 pre-built packages, including: Firefox 29.0, GIMP 2.8.10, QtCreator 2.8.1, gdb 7.6.2, Valgrind 3.9.0, gcc 4.7.3, and obviously all the other utils needed to build everything so far.
    • All the packages were built for Cortex-A8 (softfp), mostly Gentoo arm stable
    • You can find some screenshots in the previous thread.
    If you run into any issues, please post here.

    Also, if there are some packages that you want me to build, let me know and I might build them :)

     
     
    Installation Instructions
     
    I recommend having a small ext2 boot partition an ext4 root.
    Boot partition should be 10M or more. Root should not be smaller than 2G.

    After partitioning the card, run as root (or prefix with sudo if needed):


    # wget http://gentoo.openpandora.org/images/gentoo-pandora-2014.05.tar.bz2
    # mkfs.ext2 -L boot /dev/mmcblk0p1
    # mkfs.ext4 -L gentoo -E stride=2,stripe-width=1024 /dev/mmcblk0p2
    # mkdir -p /mnt/gentoo
    # mount /dev/mmcblk0p2 /mnt/gentoo
    # mkdir /mnt/gentoo/boot
    # mount /dev/mmcblk0p1 /mnt/gentoo/boot
    # tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo
    # umount /mnt/gentoo/boot
    # umount /mnt/gentoo
    If you'd like to have just one partition:

    # wget http://gentoo.openpandora.org/images/gentoo-pandora-2014.05.tar.bz2
    # mkfs.ext3 -L gentoo /dev/mmcblk0p1
    # mkdir -p /mnt/gentoo
    # mount /dev/mmcblk0p1 /mnt/gentoo
    # tar xapvf gentoo-pandora-2014.05.tar.bz2 -C /mnt/gentoo
    # umount /mnt/gentoo
    Insert the SD-Card into your Pandora and boot. Getting to the desktop should hopefully be self-explanatory :)
     
    Connecting to wireless

    I didn't include NetworkManager, because wpa_supplicant always worked much better for me.
    Unfortunately, its UI is not very intuitive, so here are the instructions:

    • Click the wifi icon in the tray.
    • In the window, press scan.
    • "Double-click" your network (hit right nub up, might take a few tries if it's not tuned)
    • Fill in the auth info and hit enter
    • You should be connected now. It now will connect every time Gentoo starts.
    Installing packages
     
    I built a number of packages, which are available though the BINHOST, which is configured by default.
     
    Open a terminal and run:


    $ su -
    Password:
    # emerge -avK htop

     
    You can also update the system using binary packages:


    # emerge -auvDK @world
     
    If you'd like to install packages that are not prebuilt, you need to first get the portage tree, and then build it yourself:


    # emerge --sync # will take a while the first time
    # emerge -av wgetpaste

    Happy Gentooing!
     
    Last edited by a moderator: Feb 8, 2016
    Tags:
  2. comradekingu

    comradekingu Glowing ember

    Joined:
    Apr 15, 2011
    Messages:
    4,798
  3. ekianjo

    ekianjo Hardcore Member

    Joined:
    May 7, 2012
    Messages:
    8,247
    Location:
    神戸市、日本 (Japan)
    wow, very very nice. Definitely something I want to give a go !
     
  4. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    Nice, thanks for your work.


    wonder what happened to the neuvoo guys...
     
  5. ekianjo

    ekianjo Hardcore Member

    Joined:
    May 7, 2012
    Messages:
    8,247
    Location:
    神戸市、日本 (Japan)
    How do you know what packages can be installed, by the way ?  
     
    Alec likes this.
  6. Alec

    Alec Member

    Joined:
    Mar 5, 2009
    Messages:
    429
    For a full list of Gentoo packages, you can look here: http://en.znurt.org/arch/arm


    Anything under "arm" with a green "+" is considered stable and should build without a problem (of course it will be pretty slow on the Pandora). Anything that has a yellow "~" is "testing" and should also work, but you first need to add it to the /etc/portage/package.accept_keywords file (there are a number of packages already there.)


    I intend to switch to "testing" eventually, since arm stable is pretty limited for the types of applications you'd want to run on the Pandora, but for the initial release I wanted to stay more conservative so as not to run into too many unexpected issues :)
     
    Last edited by a moderator: May 17, 2014
    comradekingu and ArchiMark like this.
  7. Voyageur

    Voyageur Member

    Joined:
    Feb 3, 2006
    Messages:
    47
    Location:
    Paris, France
    Now, this is something I really want to try! Nice work

    (as soon as I get my hands on another SD card, I knew I should have bought a few when my pandora arrived)
     
  8. zedrok

    zedrok Still Fresh

    Joined:
    Apr 13, 2013
    Messages:
    12
    ...great work. works fine on my pandora!

    thanks a lot for that image.

    zedrok

    btw: it compiles much faster than my lemote yeeloong did :D
     
  9. eric

    eric Member

    Joined:
    Sep 9, 2010
    Messages:
    124
    Location:
    UK
    Ummm, I've tried this.  The system boots up and leaves me a console login prompt.  What are the userid and password that I can use to login?
     
    Last edited by a moderator: Nov 28, 2014

Share This Page

Loading...