Difference between revisions of "Beagleboard Ubuntu"

From wikidb
Jump to: navigation, search
(Undo revision 1050 by Mawtreaft (talk))
(Undo revision 1033 by Clounniteteli (talk))
 
Line 1: Line 1:
You may find a reviews online that say otherwise, but MAC is a very popular brand   if a product is reviewed enough, you will eventually find negative reviews.They are overstock, discontinued, or packing changes. <a href=http://www.hants-cosmetics.co.uk/backup/>mac makeup uk</a> It is straightforward, and does an excellent job of explaining all about Nicki Minaj in key topics and material.He wants these children to be integrated into society by the time they're 18. <a href=http://www.26.org.uk/faq.asp>mac cosmetics wholesale</a> Truly amazing!Everyone knew everybody else."
+
== Back ==
 +
 
 +
[[Beagleboard Black]]
 +
 
 +
== Method 1 ==
 +
 
 +
* [http://elinux.org/BeagleBoardUbuntu Embedded Linux Beagleboard Ubuntu]
 +
 
 +
== Installing Ubuntu on sd card ==
 +
 
 +
=== On Ubuntu Workstation ===
 +
 
 +
* Did this from the fitPC because it had a recent ubuntu. The server with the old RedHat didn't have ext4.
 +
* Logged into root
 +
 
 +
   wget http://rcn-ee.net/deb/rootfs/raring/ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 +
  ..
 +
 
 +
  md5sum ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 +
  42eb043c6f81097d4184de73f84bfb85  ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 +
 
 +
  tar xJf ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 +
 
 +
  cd ubuntu-13.04-console-armhf-2013-05-29
 +
 
 +
Large number of packages fetched in the next step.
 +
 
 +
  ./setup_sdcard.sh --mmc /dev/sdb --uboot bone_dtb
 +
  ..   
 +
  ./opt/boot-scripts/.git/HEAD
 +
  ./opt/boot-scripts/.git/branches/
 +
  ./opt/boot-scripts/.git/description
 +
  ./opt/boot-scripts/.git/config
 +
  ./opt/boot-scripts/BEAGLEBONE_A.sh
 +
  Transfer of data is Complete, now syncing data to disk...
 +
  -----------------------------
 +
  Ubuntu: with no ethernet cable connected it can take up to 2 mins to login, removing upstart sleep calls...
 +
  -----------------------------
 +
  Ubuntu: to unfix: sudo sed -i -e 's:#sleep 20:sleep 20:g' /etc/init/failsafe.conf
 +
  Ubuntu: to unfix: sudo sed -i -e 's:#sleep 40:sleep 40:g' /etc/init/failsafe.conf
 +
  Ubuntu: to unfix: sudo sed -i -e 's:#sleep 59:sleep 59:g' /etc/init/failsafe.conf
 +
  -----------------------------
 +
  Finished populating rootfs Partition
 +
  -----------------------------
 +
  setup_sdcard.sh script complete
 +
  -----------------------------
 +
  The default user:password for this image:
 +
  ubuntu:temppwd
 +
  -----------------------------
 +
 
 +
=== On Beablebone ===
 +
 
 +
* Unmount the SD card from you PC
 +
* Insert into your Board
 +
* Reboot - first boot may take a long time
 +
* Login
 +
** user id: ubuntu
 +
** passwd: temppwd
 +
* Install desktop - over a 100 packages fetched and unpacked (15 - 30 minutes).
 +
 
 +
  /bin/bash /boot/uboot/tools/ubuntu/minimal_lxde_desktop.sh
 +
 
 +
* Reboot - comes up in desktop. (well - not yet)
 +
 
 +
==== debugging state ====
 +
 
 +
Why are the following not there startx and .xinitrc. Put "exec startlxde" .xinitrc? startlxde has trouble with display because startx hasn't run.
 +
 
 +
==== users ====
 +
 
 +
  sudo adduser eepp
 +
  sudo adduser eepp sudo
 +
 
 +
 
 +
==== console ====
 +
 
 +
Run level can be checked and changed with:
 +
 
 +
  ubuntu@arm:~$ runlevel
 +
  N 2
 +
  ubuntu@arm:~$ sudo telinit 3
 +
  ubuntu@arm:~$ runlevel
 +
  2 3
 +
 
 +
To make it come up in run level 3 at boot up.
 +
 
 +
  cd /etc/init
 +
 
 +
  ubuntu@arm:/etc/init$ diff rc-sysinit.conf rc-sysinit.conf.org
 +
  14c14
 +
  < env DEFAULT_RUNLEVEL=3
 +
  ---
 +
  > env DEFAULT_RUNLEVEL=2
 +
 
 +
The following stops Ubuntu from throwing up a login screen at boot.
 +
 
 +
  ubuntu@arm:/etc/init$ diff lxdm.conf lxdm.conf.org
 +
  12d11
 +
  <            and runlevel [!3]
 +
 
 +
The login screen can be started with the following command.
 +
 
 +
  lxdm
 +
 
 +
== Links ==
 +
 
 +
* [http://elinux.org/BeagleBoardUbuntu Embedded Linux Ubuntu]
 +
* [http://beagleboard.org/project/ubuntu/ Beagleboard ubuntu site]
 +
* [https://wiki.ubuntu.com/ARM/OMAP ARM OMAP ubuntu]
 +
* [https://wiki.ubuntu.com/ARM/OmapDesktopInstall OMAP desktop install]
 +
* [http://www.armhf.com/index.php/boards/beaglebone-black/ from armhf]

Latest revision as of 14:51, 6 May 2015

Back

Beagleboard Black

Method 1

Installing Ubuntu on sd card

On Ubuntu Workstation

  • Did this from the fitPC because it had a recent ubuntu. The server with the old RedHat didn't have ext4.
  • Logged into root
 wget http://rcn-ee.net/deb/rootfs/raring/ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 ..
 md5sum ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 42eb043c6f81097d4184de73f84bfb85  ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 tar xJf ubuntu-13.04-console-armhf-2013-05-29.tar.xz
 cd ubuntu-13.04-console-armhf-2013-05-29

Large number of packages fetched in the next step.

 ./setup_sdcard.sh --mmc /dev/sdb --uboot bone_dtb
 ..    
 ./opt/boot-scripts/.git/HEAD
 ./opt/boot-scripts/.git/branches/
 ./opt/boot-scripts/.git/description
 ./opt/boot-scripts/.git/config
 ./opt/boot-scripts/BEAGLEBONE_A.sh
 Transfer of data is Complete, now syncing data to disk...
 -----------------------------
 Ubuntu: with no ethernet cable connected it can take up to 2 mins to login, removing upstart sleep calls...
 -----------------------------
 Ubuntu: to unfix: sudo sed -i -e 's:#sleep 20:sleep 20:g' /etc/init/failsafe.conf
 Ubuntu: to unfix: sudo sed -i -e 's:#sleep 40:sleep 40:g' /etc/init/failsafe.conf
 Ubuntu: to unfix: sudo sed -i -e 's:#sleep 59:sleep 59:g' /etc/init/failsafe.conf
 -----------------------------
 Finished populating rootfs Partition
 -----------------------------
 setup_sdcard.sh script complete
 -----------------------------
 The default user:password for this image:
 ubuntu:temppwd
 -----------------------------

On Beablebone

  • Unmount the SD card from you PC
  • Insert into your Board
  • Reboot - first boot may take a long time
  • Login
    • user id: ubuntu
    • passwd: temppwd
  • Install desktop - over a 100 packages fetched and unpacked (15 - 30 minutes).
 /bin/bash /boot/uboot/tools/ubuntu/minimal_lxde_desktop.sh
  • Reboot - comes up in desktop. (well - not yet)

debugging state

Why are the following not there startx and .xinitrc. Put "exec startlxde" .xinitrc? startlxde has trouble with display because startx hasn't run.

users

 sudo adduser eepp
 sudo adduser eepp sudo
 

console

Run level can be checked and changed with:

 ubuntu@arm:~$ runlevel
 N 2
 ubuntu@arm:~$ sudo telinit 3
 ubuntu@arm:~$ runlevel
 2 3

To make it come up in run level 3 at boot up.

 cd /etc/init
 ubuntu@arm:/etc/init$ diff rc-sysinit.conf rc-sysinit.conf.org 
 14c14
 < env DEFAULT_RUNLEVEL=3
 ---
 > env DEFAULT_RUNLEVEL=2

The following stops Ubuntu from throwing up a login screen at boot.

 ubuntu@arm:/etc/init$ diff lxdm.conf lxdm.conf.org 
 12d11
 <            and runlevel [!3]

The login screen can be started with the following command.

 lxdm

Links