{"id":32,"date":"2013-01-27T17:07:36","date_gmt":"2013-01-27T17:07:36","guid":{"rendered":"http:\/\/blogs.gentoo.org\/blueness\/?p=32"},"modified":"2013-01-27T17:38:55","modified_gmt":"2013-01-27T17:38:55","slug":"some-love-for-mips64el-updates-for-a-xfce4-gentoo-desktop-on-the-lemote-yeeloong","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/blueness\/2013\/01\/27\/some-love-for-mips64el-updates-for-a-xfce4-gentoo-desktop-on-the-lemote-yeeloong\/","title":{"rendered":"Some love for mips64el: updates for an XFCE4 Gentoo Desktop on the Lemote Yeeloong"},"content":{"rendered":"<p>Hi everyone!<\/p>\n<p>Back in September of last year, I pushed out two images for xfce4-based desktop systems for the <a href=\"http:\/\/www.lemote.com\/en\/products\/Notebook\/2010\/0310\/112.html\" target=\"_blank\">Yeeloong netbook<\/a>.\u00a0 These mips64el machines are manufactured by <a href=\"http:\/\/lemote.com\/en\/\" target=\"_blank\">Lemote in China<\/a>, and distributed in the US by \u201c<a href=\"http:\/\/www.freedomincluded.com\/\" target=\"_blank\">Freedom Included<\/a>\u201c.\u00a0 Over the summer, I spent time fixing the bugs I hit as I ported over goodies for the desktop: Abiword for word prcessing, GQview for images, Audacity for audio, Claws for email and Dillo for browsing.\u00a0 Most of these bugs were in build systems that were not multilib aware.\u00a0 I was building for three ABI&#8217;s, o32, n32 and n64 with libraries living in \/lib, \/lib32 and \/lib64, respectively, and similarly under \/usr.\u00a0 Since some build systems would blindly install into \/lib and since the default ABI is n32, this caused some issues!<\/p>\n<p>As mentioned, there are two images, one for binaries built with a hardened toolchain (SSP, PIE, FORTIFY_SOURCES=2, bind_now and relro) and the other for binaries built with a vanilla toolchain.\u00a0 Remarkably, hardening led to no appreciable bugs over the vanilla, but there is about a 5% performance hit when running.\u00a0 This is most noticeable when compiling which is already slow on these 800-900 MHz machines.\u00a0 In fact, this is why I decided to distribute entire desktops and not just stage3&#8217;s.\u00a0 It would take a user about two days of no stop building to get to the desktop from a stage3.\u00a0 Given the occasional failure along the way, this is a recipe for frustration for anyone who wants Gentoo on their Yeeloong.\u00a0 Hopefully the end user won&#8217;t be too unhappy with my choice of software.\u00a0 In the future, I hope to have a better brower than Dillo and try go get video working.\u00a0 I&#8217;ve had some success with the latter but not enough to push something out.<\/p>\n<p>Anyhow, four months after my initial images and I thought its time to update.\u00a0 Except for updating the packages, I didn&#8217;t change the selection.\u00a0 My update to the kernel, however, was important: we can now do the usual partitioning suggested in the <a href=\"http:\/\/www.gentoo.org\/doc\/en\/handbook\/\" target=\"_blank\">Gentoo Handbook<\/a>: boot on sda1 with ext2, swap on sda2 and root on sda3 with ext4.\u00a0 My first images had to combine boot and root into one ext3 partition because of certain limitations.<\/p>\n<p>I hope if you have the hardware you&#8217;ll give the images a test drive and let me know!\u00a0 They&#8217;re available on any Gentoo mirror under &lt;mirror&gt;\/experimental\/mips\/desktop-loongson2f.\u00a0 The latest version is 20130124 and the instructions for <a href=\"http:\/\/www.gentoo.org\/proj\/en\/base\/mips\/yeeloong.xml\" target=\"_blank\">installation are found here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone! Back in September of last year, I pushed out two images for xfce4-based desktop systems for the Yeeloong netbook.\u00a0 These mips64el machines are manufactured by Lemote in China, and distributed in the US by \u201cFreedom Included\u201c.\u00a0 Over the summer, I spent time fixing the bugs I hit as I ported over goodies for &hellip; <a href=\"https:\/\/blogs.gentoo.org\/blueness\/2013\/01\/27\/some-love-for-mips64el-updates-for-a-xfce4-gentoo-desktop-on-the-lemote-yeeloong\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Some love for mips64el: updates for an XFCE4 Gentoo Desktop on the Lemote Yeeloong&#8221;<\/span><\/a><\/p>\n","protected":false},"author":141,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/posts\/32"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/users\/141"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":12,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":44,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/posts\/32\/revisions\/44"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}