Changes

Jump to: navigation, search

Running Ubuntu Core

1,823 bytes added, 14:11, 17 May 2013
m
no edit summary
{{InfoBoxTop}}
{{Applies To Linux}}
{{AppliesToNaonAppliesToNaonFamily}}
{{AppliesToLizard}}
{{Applies To Diva}}
{{InfoBoxBottom}}
=Introduction=
[http://www.canonical.com/ Canonical], the company behind the well-known [http://www.ubuntu.com Ubuntu] GNU/Linux distribution, is now sharing a minimal filesystem for ARM architecture called '''Ubuntu Core'''. This basic root file system works perfectly with platforms based on the Sitara processors, as Naon and Lizard. It contains the APT software so the file system can be easily customized installing additional packages.
== References ==
* Ubuntu OMAP Desktop: [https://wiki.ubuntu.com/ARM/OmapDesktopInstall Ubuntu Omap Desktop Installation Instructions]
 == Ubuntu Core - Quick Guide ==
Please follow these steps to run Ubuntu Core:
* Download the compressed archive containing the RFS
* Uncompress the archive* Loop-mount the image * Copy the contents to a folder on your disk
* Share the folder via NFS
* Configure the bootloader to boot from network, with RFS pointing to the Ubuntu Core NFS share
respawn
exec /sbin/getty -8 115200 ttyO0
</pre>
 
== Networking ==
 
=== Setting the DNS ===
 
Assuming that network interface is properly configured, to set the DNS enter the following command:
 
<pre>
echo "nameserver [dns ip address]" > /etc/resolv.conf
</pre>
 
== How to fix UpStart error at boot ==
 
* Reference: [https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/980917 Upstart fix]
 
<pre>
rdate ntp.inrim.it
wget https://launchpad.net/ubuntu/+source/upstart/1.5-0ubuntu8/+build/3710339/+files/upstart_1.5-0ubuntu8_armhf.deb --no-check-certificate
dpkg -i upstart_1.5-0ubuntu8_armhf.deb
reboot
</pre>
 
= Cross-compile custom components =
 
If you need to add custom components (applications, frameworks, ..) which are not provided by the Ubuntu repositories, you must build from the sources using the proper toolchain. In particular, the toolchain used to build the Ubuntu Core 12.04 LST armhf is the '''gcc-arm-linux-gnueabihf'''. On '''Ubuntu server 12.04 LST (x86 o amd64)''', you can install this toolchain using the package manager (e.g. apt-get).
 
The toolchain files can be found in '''/usr/arm-linux-gnueabihf'''. This path should be used to configure the build tools (SDKs, Makefiles, ..) for cross-compilation.
 
 
== Useful packages ==
 
The following is a list of useful packages which can be easily installed with apt-get:
 
* openssh-server
* wpasupplicant
* bluez
* bluez-tools
* obexpushd
* obexftp
* nano
* apt-utils
* python-software-properties
* ping
* rdate
 
== Searching available packages ==
 
Please refer to [https://launchpad.net/ubuntu/precise/armhf Ubuntu Precise for armhf search page]
 
=== Adding the TI PPA ===
 
[https://launchpad.net/~tiomap-dev/+archive/release PPA TI]
 
[https://groups.google.com/forum/#!msg/pandaboard/vUZO9NWFcT0/VmV2955uEEgJ PPA TI install]
 
<pre>
rdate ntp.inrim.it
add-apt-repository ppa:tiomap-dev/release
apt-get update
</pre>

Navigation menu