{"id":8868,"date":"2011-06-10T17:23:28","date_gmt":"2011-06-10T08:23:28","guid":{"rendered":"https:\/\/www.hardkernel.com\/?p=8868"},"modified":"2018-11-11T22:04:52","modified_gmt":"2018-11-11T13:04:52","slug":"ubuntu-11-04-natty-on-odroid-a","status":"publish","type":"post","link":"https:\/\/www.hardkernel.com\/ko\/blog\/ubuntu-11-04-natty-on-odroid-a\/","title":{"rendered":"Ubuntu 11.04 Natty on ODROID-A"},"content":{"rendered":"<p>We posted Ubuntu 10.10 installation guide couple of weeks ago.<br \/>\nWe have tried Ubuntu 11.04.<\/p>\n<p>I followed below steps to install the Ubuntu 11.04 on ODROID-A.<\/p>\n<p>0. You may need below items to install Ubuntu.<br \/>\n&#8211; Odroid-A<br \/>\n&#8211; Micro-SD USB card reader<br \/>\n&#8211; USB Serial port with debug board for low level debugging.<br \/>\n&#8211; USB hub with external power supply<br \/>\n&#8211; USB-to-Ethernet (with AX8817X chipset)<br \/>\n&#8211; USB keyboard<br \/>\n&#8211; USB mouse<\/p>\n<p>1. Install rootstock on your host Linux (Must be upgraded to 11.04 first)<\/p>\n<p>2. Make a minimal root file system of Ubuntu with below command.<\/p>\n<p><code>$sudo rootstock --fqdn odroid --imagesize 4G --dist natty --serial ttyO2 --login odroid --password odroid --seed wget,nano,linux-firmware,wireless-tools,usbutils,btrfs-tools,i2c-tools,wpasupplicant \\\"main universe multiverse\\\" --kernel-image http:\/\/rcn-ee.net\/deb\/natty\/v2.6.38.4-x3\/linux-image-2.6.38.4-x3_1.0natty_armel.deb<\/code><\/p>\n<p>After rootstock process, you will have a compressed tar ball which contains Ubuntu 11.04 root file system.<br \/>\nNote, the ID is &#8216;odroid&#8217; and passwd is &#8216;odroid&#8217;<\/p>\n<p>3. Make partition and format the Micro-SD as below.<\/p>\n<p><code>Disk \/dev\/sdc: 8270 MB, 8270118912 bytes<br \/>\n255 heads, 62 sectors\/track, 1021 cylinders<br \/>\nUnits = cylinders of 15810 * 512 = 8094720 bytes<br \/>\nSector size (logical\/physical): 512 bytes \/ 512 bytes<br \/>\nI\/O size (minimum\/optimal): 512 bytes \/ 512 bytes<br \/>\nDisk identifier: 0x00000000<br \/>\nDevice Boot\u00a0 \u00a0 Start\u00a0 \u00a0 End\u00a0 \u00a0 Blocks\u00a0 \u00a0Id\u00a0 \u00a0 \u00a0System<br \/>\n\/dev\/sdc1\u00a0 \u00a0 \u00a0 \u00a0 800\u00a0 \u00a0 \u00a0 1021\u00a0 \u00a01754910\u00a0 \u00a0b\u00a0 \u00a0 \u00a0W95 FAT32<br \/>\n\/dev\/sdc2\u00a0 \u00a0 \u00a0 \u00a0 4\u00a0 \u00a0 \u00a0 \u00a0 799\u00a0 \u00a0 6292380\u00a0 \u00a083\u00a0 \u00a0 Linux<\/code><\/p>\n<p>4. Uncompress the root file system into the EXT4 partition with &#8220;sudo&#8221;<\/p>\n<p>5. Plug the Micro-SD card into Odroid-A and enter in u-boot command line.<br \/>\n<code># setenv bootargs root=\/dev\/mmcblk0p1 rw rootfstype=ext4 init=\/sbin\/init console=ttySAC1,115200<\/code><br \/>\n<code># movi read kernel 40008000; bootm 40008000<\/code><br \/>\n<code># saveenv<\/code><br \/>\n* Please note that the latest(27-May version) u-boot can support &#8216;saveenv&#8217; command.<\/p>\n<p>6. After booting, I set-up internet connection with USB-ethernet to install Ubuntu-Desktop.<br \/>\n<code>sudo ifconfig eth0 [your static ip_address] up<\/code><br \/>\n<code>sudo route add default gw [your gateway_ip_address] dev eth0<\/code><\/p>\n<p>7. Install GUI of Ubuntu. (This may take several hours !!!)<br \/>\n<code>sudo apt-get update<\/code><br \/>\n<code>sudo apt-get install ubuntu-desktop<\/code><\/p>\n<p>8. Reboot and enjoy. This is a screen shot of my Odroid-A.<br \/>\nhttp:\/\/dev.odroid.com\/wiki\/odroida\/pds\/FrontPage\/Screenshot11.png&lt;&lt;== Click this to show full size image.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8876\" src=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201106101734584109.png\" alt=\"\" width=\"720\" height=\"406\" srcset=\"https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201106101734584109.png 720w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201106101734584109-247x139.png 247w, https:\/\/www.hardkernel.com\/wp-content\/uploads\/2018\/11\/201106101734584109-510x288.png 510w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/p>\n<p>9. Activate WiFi connection.<\/p>\n<p><code>$ sudo mkdir -p \/system\/etc\/firmware<\/code><br \/>\n<code>==&gt; copy fw_bcm4329.bin, nvram files into \/system\/etc\/firmware directory.<\/code><\/p>\n<p><code>$ sudo mkdir \/lib\/modules\/2.6.35.7\/kernel\/lib<\/code><br \/>\n<code>==&gt; copy bcm4329.ko file into \/lib\/modules\/2.6.35.7\/kernel\/lib\/ directory.<\/code><\/p>\n<p><code>$ sudo vi \/lib\/modules\/2.6.35.7\/modules.dep<\/code><br \/>\n<code>----------------------------------------<\/code><br \/>\n<code>kernel\/lib\/bcm4329.ko:  &lt;--- Add this line and save.<\/code><br \/>\n<code>----------------------------------------<\/code><\/p>\n<p><code>$ sudo vi \/etc\/modules<\/code><br \/>\n<code>----------------------------------------<\/code><br \/>\n<code>bcm4329 &lt;--- Add this line and save.<\/code><br \/>\n<code>----------------------------------------<\/code><\/p>\n<p><code>$ sudo vi \/etc\/network\/interfaces<\/code><br \/>\n<code>----------------------------------------<\/code><br \/>\n<code>auto lo<\/code><br \/>\n<code>iface lo inet loopback<\/code><br \/>\n<code>auto eth0<\/code><br \/>\n<code>iface eth0 inet dhcp<\/code><br \/>\n<code>address 192.168.0.204 &lt;--- AP IP ADDRESS(static)<\/code><br \/>\n<code>gateway 192.168.0.1<\/code><br \/>\n<code>dns-nameserver 192.168.0.1<\/code><br \/>\n<code>netmask 255.255.255.0<\/code><br \/>\n<code>wpa-driver wext<\/code><br \/>\n<code>wpa-ssid hardkernel2  &lt;--- Your SSID<\/code><br \/>\n<code>wpa-ap-scan 2<\/code><br \/>\n<code>wpa-proto RSN<\/code><br \/>\n<code>wpa-pairwise CCMP<\/code><br \/>\n<code>wpa-group CCMP<\/code><br \/>\n<code>wpa-key-mgmt WPA-PSK<\/code><br \/>\n<code>wpa-psk 81b2ae31a8dede0e05e446fbf6a243c71f865909c349bba1ecdca996e5e0417e &lt;--- your WPA hex_key<\/code><br \/>\n<code>----------------------------------------<\/code><\/p>\n<p>How to make a WPA-PSK key.<br \/>\n<code>$ wpa_passphrase &lt;your_essid&gt;&lt;your_ascii_key&gt;<\/code><\/p>\n<p><code>network={<\/code><br \/>\n<code>ssid=\\\"test\\\"<\/code><br \/>\n<code>#psk=\\\"12345678\\\"<\/code><br \/>\n<code>psk=fe727aa8b64ac9b3f54c72432da14faed933ea511ecab1 5bbc6c52e7522f709a &lt;--- Copy this to wpa-psk !<\/code><br \/>\n<code>} <\/code><\/p>\n<p>10. Status&#8230;<br \/>\nThis is a trial build and test. There should be many known\/unknown issues.<br \/>\nLCD, WiFi, Audio, Keyboard, Mouse, USB-ethernet and Dual-Core are working well.<br \/>\nTouch-screen, Bluetooth, sensors and 3G modem are not working.<\/p>\n<p>Mali-400 based 2D\/3D accelerated x-server driver(X11 Display Drivers) can be delivered from ARM.<br \/>\nRefer this link for further steps.<br \/>\nhttp:\/\/www.malideveloper.com\/developer-resources\/drivers\/index.php<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We posted Ubuntu 10.10 installation guide couple of weeks ago. We have tried Ubuntu 11.04. I followed below steps to install the Ubuntu 11.04 on ODROID-A. 0. You may need below items to install Ubuntu. &#8211; Odroid-A &#8211; Micro-SD USB card reader &#8211; USB Serial port with debug board for low level debugging. &#8211; USB [&#8230;]\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18463],"tags":[20866],"class_list":["post-8868","post","type-post","status-publish","format-standard","hentry","category-blog","tag-odroid-a"],"_links":{"self":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/8868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/comments?post=8868"}],"version-history":[{"count":11,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/8868\/revisions"}],"predecessor-version":[{"id":8881,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/posts\/8868\/revisions\/8881"}],"wp:attachment":[{"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/media?parent=8868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/categories?post=8868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hardkernel.com\/ko\/wp-json\/wp\/v2\/tags?post=8868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}