{"id":19,"date":"2012-09-08T14:22:41","date_gmt":"2012-09-08T14:22:41","guid":{"rendered":"http:\/\/blogs.gentoo.org\/blueness\/?p=19"},"modified":"2012-09-08T14:22:41","modified_gmt":"2012-09-08T14:22:41","slug":"a-gentoo-desktop-for-the-lemote-yeeloong-a-little-endian-mips64-netbook","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/blueness\/2012\/09\/08\/a-gentoo-desktop-for-the-lemote-yeeloong-a-little-endian-mips64-netbook\/","title":{"rendered":"A Gentoo Desktop for the Lemote Yeeloong, a little endian mips64 netbook"},"content":{"rendered":"<p>Hi everyone,<\/p>\n<p>I&#8217;d like to announce a new initiative within the mips arch team. We are now supporting an xfce4-based desktop system for the <a href=\"http:\/\/www.lemote.com\/en\/products\/Notebook\/2010\/0310\/112.html\" target=\"_blank\">Lemote Yeeloong netbook<\/a>.\u00a0 The images can be found on any gentoo mirrors, under gentoo\/experimental\/mips\/desktop-loongson2f.\u00a0 The installation instructions can be found <a href=\"http:\/\/www.gentoo.org\/proj\/en\/base\/mips\/yeeloong.xml\" target=\"_blank\">here<\/a>.\u00a0 The yeeloong netbook is particularly interesting because it only uses &#8220;free&#8221; hardware, ie. hardware which doesn&#8217;t require any proprietary code.\u00a0 It is manufactured by <a href=\"http:\/\/lemote.com\/en\/\" target=\"_blank\">Lemote in China<\/a>, and distributed and promoted in the US by &#8220;<a href=\"http:\/\/lemote.com\/en\/\" target=\"_blank\">Freedom Included<\/a>&#8220;.\u00a0 It is <a href=\"http:\/\/stallman.org\/stallman-computing.html\" target=\"_blank\">how Richard Stallman does his computing<\/a>.<\/p>\n<p>I&#8217;m blogging because I thought it was important for Planet Gentoo to know that mips devices are currently being manufactured and used in netbooks as well as embedded systems.\u00a0 The gentoo mips team has risen to the challenge of targetting these systems and maintaining natively compiled stage4&#8217;s for them.\u00a0 Why stage4&#8217;s?\u00a0 And why a full desktop for the yeeloong?\u00a0 These processors are slow, so the time from a stage3 to a desktop is about three days for the yeeloong.\u00a0 Also, the yeeloong sports a little endian mips64 processor, the loongson2f, and we support three ABIs: o32, n32 and n64, with n32 being the preferred.\u00a0 This significantly increases the time to build glibc and other core packages.\u00a0 I provide two images, a vanilla one and a hardened one.\u00a0 The latter adds full hardening (pie, ssp, _FORTIFY_SOURCES=2, bind now, relro) to the toolchain and userland binaries as we do for amd64 and i686 in hardened gentoo.\u00a0 I have not ported over the hardened kernel, however.<\/p>\n<p>I allude above to &#8220;other&#8221; targetted devices.\u00a0 I am also maintaining some mips uclibc systems (both hardened and vanilla) which are on the gentoo mirrors under experimental\/mips\/uclibc.\u00a0 But I will speak more of these later as part of an initiative to maintain hardened uclibc systems on &#8220;alternative&#8221; architectures such as arm, mips, ppc as well as amd64 and i686.<\/p>\n<p>You can read the <a href=\"http:\/\/www.gentoo.org\/proj\/en\/base\/mips\/yeeloong.xml\" target=\"_blank\">full installation instructions<\/a>, but here&#8217;s a quick summary, since it doesn&#8217;t follow the usual Gentoo method of starting from a stage3:<\/p>\n<ul>\n<li>Prepare either a pen drive or a tftp server with a rescue image: netboot-yeeloong.img<\/li>\n<li>Turn on the yeeloong and hit the Del key multiple times until you get the firmware promt: PMON&gt;<\/li>\n<li>If netbooting, add an IP address and point to the netboot-yeeloong.img.\u00a0 If using a pen drive then point to thei image on the drive and boot into the rescue environment.<\/li>\n<li>Partition and format the drive.<\/li>\n<li>Download the desktop image from a mirror via http or ftp.\u00a0 Its about 350 MB in size.<\/li>\n<li>Unpack the image.\u00a0 It contains not only the userland, but also a kernel.<\/li>\n<li>Reboot to the PMON&gt; prompt.\u00a0 Aim to the kernel on the drive.\u00a0 PMON will remember your choice and you will not have to repeat this step.<\/li>\n<\/ul>\n<p>Once installed, you will log in as an ordinary user with sudo with username and password = &#8220;gentoo&#8221;.\u00a0 The root password is also set to &#8220;root&#8221;.\u00a0 It is an ordinary Gentoo system, so edit your make.conf, emerge &#8211;sync and add whatever packages you like!\u00a0 File bugs to: blueness@gentoo.org with a CC to mips@gentoo.org.<\/p>\n<p>If you have a Yeeloong or go out and buy one, consider trying out this image.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone, I&#8217;d like to announce a new initiative within the mips arch team. We are now supporting an xfce4-based desktop system for the Lemote Yeeloong netbook.\u00a0 The images can be found on any gentoo mirrors, under gentoo\/experimental\/mips\/desktop-loongson2f.\u00a0 The installation instructions can be found here.\u00a0 The yeeloong netbook is particularly interesting because it only uses &hellip; <a href=\"https:\/\/blogs.gentoo.org\/blueness\/2012\/09\/08\/a-gentoo-desktop-for-the-lemote-yeeloong-a-little-endian-mips64-netbook\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A Gentoo Desktop for the Lemote Yeeloong, a little endian mips64 netbook&#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\/19"}],"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=19"}],"version-history":[{"count":8,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":27,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/posts\/19\/revisions\/27"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/blueness\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}