{"id":192,"date":"2011-01-15T20:28:15","date_gmt":"2011-01-15T17:28:15","guid":{"rendered":"http:\/\/handheld.computer\/?page_id=192"},"modified":"2019-05-12T17:15:49","modified_gmt":"2019-05-12T14:15:49","slug":"gentoo_on_pandora","status":"publish","type":"page","link":"https:\/\/handheld.computer\/?page_id=192","title":{"rendered":"Gentoo on a Pandora"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>This article describes a Gentoo rootfs archive customized for the <a href=\"http:\/\/openpandora.org\/\">Pandora<\/a> handheld device.<\/p>\n<p>This article and all information and products in it are provided on an &quot;as is&quot; basis, without warranty of any kind, either express or implied. <strong>Your use of this article is at your own risk.<\/strong><\/p>\n<h2>What is configured<\/h2>\n<ul>\n<li>All packages are recompiled with OMAP3-preferable flags.<\/li>\n<li>Added the Pandora keyboard layout. It&#8217;s a bit different from the official layout. <a href=\"http:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Russian-keyboard-layout-with-shoulderized-Fn.jpg\" data-rel=\"lightbox-gallery-b9MYoMX1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\">Here<\/a>&#8216;s what it looks like.<\/li>\n<li>WiFi network. There is one annoying bug in the wl1251 modules described <a href=\"http:\/\/www.gp32x.com\/board\/index.php?\/topic\/55661-procnetwireless\/\">here<\/a>. Fixed in a quite brutal way.<\/li>\n<li>The kernel is compiled with appropriate patches and config. The tarball  contains both the kernel sources and the config file in <code>\/usr\/src\/linux<\/code>.<\/li>\n<li>X.Org with all the relevant drivers: omapfb, keyboard (including DPad and  power switch), touchscreen, nubs, external keyboard and mouse.<\/li>\n<li>OpenBox (a window manager). The key shortcuts include these two:\n<ul>\n<li><code>Pandora_key<\/code> shows menu<\/li>\n<li><code>Fn+Pandora_key<\/code> shows status information<\/li>\n<\/ul>\n<\/li>\n<li>Added few Pandora-related scripts: to control brightness, to change CPU clock, to reset nub, to emulate low power mode, etc.<\/li>\n<li>Added few eyecandies: wallpaper, cursor and themes.<\/li>\n<li>Locale is set to <code>ru_RU.UTF-8<\/code>.<\/li>\n<li>Timezone is set to GMT +3 (Moscow).<\/li>\n<li>The maximum CPU OPP is set to 5 by default.<\/li>\n<li>The default user is <code>vminko<\/code>, no password. The root password is <code>1<\/code>.<\/li>\n<\/ul>\n<h2>What packages are installed<\/h2>\n<p><a href=\"http:\/\/vminko.org\/storage\/pandora\/equery.log\">Here<\/a> is the full list of installed packages (<code>equery l<\/code>). It includes the following ones:<\/p>\n<pre><code>vim urxvt midori pidgin sylpheed gftp mpd gimmix mplayer gpicview xournal stardict\nepdfview xrick supertux numptyphysics<\/code><\/pre>\n<p>The local overlay includes the following packages:<\/p>\n<ul>\n<li><code>games-action\/openlierox<\/code> &#8211; Differs from the default package in that the cursor drifting is fixed.<\/li>\n<li><code>games-arcade\/supertux<\/code> &#8211; Differs from the default package in that 800&#215;480 resolution support is added.<\/li>\n<li><code>games-arcade\/xrick<\/code> &#8211; Differs from the default package in that joystick support is added, incorrect fullscreen mode and freezing on exit are fixed. See <a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=351672\">this bug<\/a> for details.<\/li>\n<li><code>games-puzzle\/numptyphysics<\/code> &#8211; A drawing puzzle game (new package).<\/li>\n<li><code>media-video\/mplayer<\/code> &#8211; An mplayer package based on the source code from the Maemo repository. It works much better than the default one: plays everything (mp4\/theora-vorbis\/h264\/flv) and does not crash.<\/li>\n<li><code>media-video\/omap3-sgx-modules<\/code> &#8211; Kernel drivers for the PowerVR SGX chipset (new package).<\/li>\n<li><code>net-wireless\/pandora-firmware<\/code> &#8211; Binary firmware for the Bluetooth and WiFi modules on the Pandora (new package).<\/li>\n<li><code>net-wireless\/wl1251-modules<\/code> &#8211; Kernel drivers for the TI WL1251 WiFi chip found on the Pandora (new package).<\/li>\n<li><code>sys-kernel\/pandora-sources<\/code> &#8211; Pandora kernel sources (new package).<\/li>\n<li><code>sys-process\/procps<\/code> &#8211; Differs from the default package in that the annoying &#8216;Unknown HZ value!&#8217; error is fixed. See <a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=303120\">this bug<\/a> for details.<\/li>\n<li><code>x11-base\/xorg-drivers<\/code> &#8211; Differs from the default package in that the omapfb video driver is added.<\/li>\n<li><code>x11-drivers\/xf86-video-omapfb<\/code> &#8211; X.Org driver for TI OMAP framebuffers (new package).<\/li>\n<\/ul>\n<h2>What does not work<\/h2>\n<p><strong>DSP<\/strong> since it requires the kernel version 2.6.32+, but we&#8217;re currently stuck at 2.6.27.<\/p>\n<p><strong>PowerVR<\/strong> chip since the only driver we have is closed source and I decided not to use it. However, the appropriate ebuilds are available <a href=\"http:\/\/vminko.org\/storage\/pandora\/portage\/sgx_ebuilds\">here<\/a>.<\/p>\n<h2>How to install<\/h2>\n<ol>\n<li>Download the rootfs tarball: <a href=\"http:\/\/vminko.org\/storage\/pandora\/gentoo-rootfs-20110115.tar.bz2\">gentoo-rootfs-20110115.tar.bz2<\/a> (317  Mb).<\/li>\n<li>Format the first partition of your SD card as ext2. The SD card capacity should be at least 4Gb.<\/li>\n<li>Extract the rootfs to this partition (<code>tar xvpf gentoo-rootfs-20110115.tar.bz2 -C \/mnt\/&lt;your-mnt-dir&gt;<\/code>).<\/li>\n<li>Insert the SD card into the Pandora and reboot the machine.<\/li>\n<\/ol>\n<p><code>\/usr\/portage<\/code> is removed from the tarball in order to reduce its size. The latest portage snapshot is available <a href=\"http:\/\/mirrors.kernel.org\/gentoo\/snapshots\/portage-latest.tar.bz2\">here<\/a> (37 Mb).<\/p>\n<h2>Useful links<\/h2>\n<ul>\n<li>If you are not familiar with the distribution, you may want find this helpful: <a href=\"http:\/\/www.gentoo.org\/doc\/en\/handbook\/handbook-arm.xml?full=1\">Gentoo ARM handbook<\/a>.<\/li>\n<li><a href=\"http:\/\/vminko.org\/video\/Gentoo%20on%20Pandora\">Here<\/a> is a video demonstration of Gentoo running on the Pandora.<\/li>\n<li><a href=\"http:\/\/neuvoo.org\">Neuvoo<\/a> &#8211; a project focused on adaptation of the Gentoo to various OMAP3-based platforms including Pandora.<\/li>\n<\/ul>\n<h2>Screenshots<\/h2>\n<div class=\"rl-gallery-container rl-loading\" id=\"rl-gallery-container-1\" data-gallery_id=\"360\"> <div class=\"rl-gallery rl-basicmasonry-gallery rl-hover-effect-1 rl-hover-icon-2\" id=\"rl-gallery-1\" data-gallery_no=\"1\"> <div class=\"rl-gutter-sizer\"><\/div><div class=\"rl-grid-sizer\"><\/div> <div class=\"rl-gallery-item rl-gallery-item-width-4\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/GPicView.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/GPicView-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Galculator.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Galculator-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Gimmix.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Gimmix-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Midori.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Midori-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Openbox-menu.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Openbox-menu-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Pidgin.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Pidgin-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/ePDFview.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/ePDFview-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Xournal.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Xournal-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/TangoGPS.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/TangoGPS-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Sylpheed.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/Sylpheed-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <div class=\"rl-gallery-item\" > <div class=\"rl-gallery-item-content\"> <a href=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/StarDict.jpg\" title=\"\" data-rl_title=\"\" class=\"rl-gallery-link\" data-rl_caption=\"\" data-rel=\"lightbox-gallery-1\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handheld.computer\/wp-content\/uploads\/2019\/05\/StarDict-800x480.jpg\" width=\"800\" height=\"480\" alt=\"\" \/><\/a> <\/div> <\/div> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction This article describes a Gentoo rootfs archive customized for the Pandora handheld device. This article and all information and products in it are provided on an &quot;as is&quot; basis, without warranty of any kind, either express or implied. Your use of this article is at your own risk. What is configured All packages are &hellip; <a href=\"https:\/\/handheld.computer\/?page_id=192\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Gentoo on a Pandora&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":221,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[14,15,13],"class_list":["post-192","page","type-page","status-publish","hentry","tag-gentoo","tag-linux","tag-openpandora"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/handheld.computer\/index.php?rest_route=\/wp\/v2\/pages\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/handheld.computer\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/handheld.computer\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/handheld.computer\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/handheld.computer\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=192"}],"version-history":[{"count":8,"href":"https:\/\/handheld.computer\/index.php?rest_route=\/wp\/v2\/pages\/192\/revisions"}],"predecessor-version":[{"id":361,"href":"https:\/\/handheld.computer\/index.php?rest_route=\/wp\/v2\/pages\/192\/revisions\/361"}],"up":[{"embeddable":true,"href":"https:\/\/handheld.computer\/index.php?rest_route=\/wp\/v2\/pages\/221"}],"wp:attachment":[{"href":"https:\/\/handheld.computer\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handheld.computer\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}