Gentoo for Pandora release 2014.05

Alec

Member
Joined
Mar 5, 2009
Messages
433
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:

mcobit

Advanced Member
Joined
Jul 28, 2008
Messages
6,910
Nice, thanks for your work.


wonder what happened to the neuvoo guys...
 

Alec

Member
Joined
Mar 5, 2009
Messages
433
If you'd like to install packages that are not prebuilt, you need to first get the portage tree, and then build it yourself:
 
How do you know what packages can be installed, by the way ?
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:

Voyageur

Member
Joined
Feb 3, 2006
Messages
47
Age
38
Location
Paris, France
Website
Visit site
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)
 

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
 

eric

Member
Joined
Sep 9, 2010
Messages
144
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:
Top