{"id":372,"date":"2006-02-21T00:58:37","date_gmt":"2006-02-21T05:58:37","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=372"},"modified":"2008-01-30T20:09:28","modified_gmt":"2008-01-31T01:09:28","slug":"one-laptop-per-child","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child","title":{"rendered":"One Laptop Per Child"},"content":{"rendered":"<p>There was a request to take a gander at the <a href=\"http:\/\/www.laptop.org\/\">$100 Laptop: One Laptop Per Child (OLPC)<\/a>, and reading Fedora People recently made me want to snap up the opportunity to give it a go. Here are my first impressions on the emulator, known as the <a href=\"http:\/\/people.redhat.com\/berrange\/olpc\/sdk\/\">OLPC SDK<\/a>, by Daniel Berrange.<\/p>\n<p>Installation, if instructions are followed on FC-4 work fine. There are spec files to rebuild for FC-5. During the bootup sequence, I noticed that LVM was starting up, and finding no volume groups &#8211; can&#8217;t this be disabled? There doesn&#8217;t seem to be a use for LVM on the OLPC.<\/p>\n<p>Once you get past the fairly slow emulator startup (its qemu based), you&#8217;ll notice that at the heart of it, you&#8217;ve got FC-5 sitting there. Very <em>sexy<\/em>.<\/p>\n<p>Looking for a terminal? While gnome-terminal isn&#8217;t supplied (and probably will never be), xterm is there for the moment. Alt+F2, xterm, and you&#8217;re on your way. The root user has no password, so su &#8211; shouldn&#8217;t be a problem.<\/p>\n<p>What doesn&#8217;t work with the olpc-2006_02_06_16_08.ext3 firmware image is networking. Try modprobing for ne2k-pci, and it&#8217;ll fail, mainly because 8390.ko is missing. This should be fixed with the next firmware image.<\/p>\n<p>All&#8217;s not lost however. If you run file on the .ext3 firmware image, you&#8217;ll notice that it contains an x86 boot sector, code offset 0x48. A little fdisk, will show that there are 63 sectors\/track, with each sector size being 512 bytes. Multiply that, get 32256, and that should be the offset to mounting the image.<\/p>\n<p><code>sudo \/sbin\/losetup -o 32256 \/dev\/loop0 olpc-2006_02_06_16_08.ext3<\/code><br \/>\n<code>sudo mount -t ext3 \/dev\/loop0\/mnt<\/code><br \/>\n<em>merrily going on making changes<\/em><br \/>\n<code>sudo umount \/mnt<\/code><br \/>\n<code>sudo \/sbin\/losetup -d \/dev\/loop0<\/code><\/p>\n<p>Its well worthwhile to not have QEMU running with the disk image &#8211; make sure it isn&#8217;t, otherwise corruption is likely. Once that happened, it was fairly trivial to get MySQL installed. So I did.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/bytebot.net\/shots\/olpc-mysql.png\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/bytebot.net\/shots\/olpc-mysql_small.png\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<strong><em>MySQL running on the OLPC<\/em><\/strong><\/p>\n<p>The question is&#8230; do we want 61MB of a package sitting there? It can probably be reduced in size tremendously. So can removal of \/var\/log and \/etc\/yum.repos.d\/ and so on&#8230;<\/p>\n<p>From reading the <a href=\"http:\/\/pedia.media.mit.edu\/wiki\/OLPC_software_task_list\">software task list<\/a>, it doesn&#8217;t seem like there&#8217;s a focus on teaching IT to the owners of the OLPC. Does MySQL pass off as educational software, covering a database component? I don&#8217;t see OpenOffice.org being listed as something that will be on the OLPC, and the GNOME Office (Abiword and Gnumeric) don&#8217;t have a front-end for database connectivity.<\/p>\n<p>I&#8217;d like to thank davidz and <a href=\"http:\/\/www.berrange.com\/personal\/diary\">Daniel Berrange<\/a> for assistance when needed! Oh and read his blog for little tips &#8211; the <a href=\"http:\/\/berrange.com\/personal\/diary\/2006\/02\/olpc-simulator-debugging\">simulator debugging<\/a> did come in handy.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20One%20Laptop%20Per%20Child&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2006%2F02%2F21%2Fone-laptop-per-child&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"39ebdc8168\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-372\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-372\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-372\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>There was a request to take a gander at the $100 Laptop: One Laptop Per Child (OLPC), and reading Fedora People recently made me want to snap up the opportunity to give it a go. Here are my first impressions on the emulator, known as the OLPC SDK, by Daniel Berrange. Installation, if instructions are [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20One%20Laptop%20Per%20Child&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2006%2F02%2F21%2Fone-laptop-per-child&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"39ebdc8168\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-372\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-372\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-372\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2006\/02\/21\/one-laptop-per-child?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[23],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-60","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":710,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/01\/30\/asus-eee-pc-olpc-all-in-one-week","url_meta":{"origin":372,"position":0},"title":"Asus Eee PC, OLPC, all in one week","date":"30\/1\/2008","format":false,"excerpt":"This month has clearly been an interesting one. Maybe, I should reserve it to be just this week. On the weekend, I went looking for a rack, and came back with an Asus Eee PC. Today, while there were about 70 OLPCs given away to lucky, random linux.conf.au 2008 attendees,\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":709,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/01\/29\/olpc-by-jim-gettys","url_meta":{"origin":372,"position":1},"title":"OLPC, by Jim Gettys","date":"29\/1\/2008","format":false,"excerpt":"Some notes from Jim's OLPC talk, which was full. I've added thoughts about (rural) Malaysia, because its naturally close to my heart. I've not had a similar opportunity to go around rural Australia (does it even exist?), and things are (I think) a lot better in Australia, than they are\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3056,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2015\/02\/03\/microsofts-reaction-to-open","url_meta":{"origin":372,"position":2},"title":"Microsoft&#8217;s reaction to open","date":"3\/2\/2015","format":false,"excerpt":"It\u2019s interesting to follow what Microsoft has been doing, especially in relation to their reactions to the open world. The One Laptop Per Child (OLPC) project was always interesting. It ships with Linux as a default, and it didn\u2019t take long for Microsoft to offer Windows on this device. Though\u2026","rel":"","context":"In &quot;Tech&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":739,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/03\/08\/olpc-browser-throwing-sec_error_unknown_issuer","url_meta":{"origin":372,"position":3},"title":"OLPC browser throwing sec_error_unknown_issuer","date":"8\/3\/2008","format":false,"excerpt":"I had the opportunity to visit a school today. Not quite a school you'll expect to roll-out a deployment of OLPCs (its a top-notch boarding school, with yearly fees that cost as much as completing a 4-year university degree), but a school in Victoria, nonetheless.Microsoft products are entrenched in the\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":500,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/03\/28\/recent-photo-uploads","url_meta":{"origin":372,"position":4},"title":"Recent photo uploads","date":"28\/3\/2007","format":false,"excerpt":"In this month's PDN, Paul Buckley, vice-president executive art director at Penguin books, states: \"When he's using stock, he tends to go first to Photoeye and Flickr.\" I wonder if they uphold the Creative Commons licensing.I've posted some sets and new photos in general:Sng & Susan's Wedding & Reception in\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":744,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/03\/13\/consumer-hardware-shipping-too-many-linuxes-by-default","url_meta":{"origin":372,"position":5},"title":"Consumer hardware shipping too many Linuxes by default","date":"13\/3\/2008","format":false,"excerpt":"At the top of my head now, Linux is hitting the mainstream desktop market, in many variants: Xandros, on the ever popular Asus EeePC's Foresight Linux, on the new Shuttle KPC's (USD$199), which are basically small form-factor desktops Fedora, a modified variant anyway, running on the OLPC's gOS, a variant\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/372"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}