Sunday, September 23, 2012

Ubuntu on BeagleBone/BeagleBoard

BeagleBone/BeagleBoard

参考文献:
0. Beaglebone hardware PDF file
1. Ubuntu 12.04をBeagleboneに入れる方法
2. Beagleboard initializaiton (1)
3.
X. Quake 3 git (used for demo)
X. Quake 3 on Raspberry Pi (1)

■Ubuntu 12.04 をBeagleBone入れる
VMwareで構築したUbuntu PCマシーン+Toolchainで作業
$ mkdir Ubuntu_on_beagle
$ cd Ubuntu_on_bealge
$ wget http://rcn-ee.net/deb/rootfs/precise/ubuntu-12.04-r6-minimal-armhf-2012-09-10.tar.xz

$ tar xJf ubuntu-12.04-r6-minimal-armhf-2012-09-10.tar.xz
$ cd  ubuntu-12.04-r6-minimal-armhf-2012-09-10
$ sudo ./setup_sdcard.sh --mmc /media/usb?? --uboot bone ※??は適当にSDカードのドライブを指定

Beagleboneに電源 + USBケーブル接続し、PCからTeratermでシリアル接続(Baudrate: 115200

login: ubuntu
pass: temppwd

ログイン後の結果:

Ubuntu 12.04.1 LTS arm ttyO0

arm login: ubuntu
Password:
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.28-psp21 armv7l)

 * Documentation:  https://help.ubuntu.com/

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

ubuntu@arm:~$


■ Lubuntuをインストール
$ sudo shutdown -h now
電源を抜いて、HDMI-Cape, HDMI-DVI変換をモニタにつないでから再度、電源を入れる

$ sudo apt-get -yV install lubuntu-core
$ sudo apt-get -yV install lubuntu-desktop
$ sudo apt-get -yV install lxde-common
$ sudo apt-get -yV install lxde-core
$ sudo apt-get -yV install lxde

これでlubuntuが無事画面に出ることを確認


No comments: