Porting Ubuntu 12.10 (quantal) on beagle board Xm Rev C

Posted by Unknown on Wednesday, September 11, 2013 with No comments
Installing Ubuntu 12.10(quantal) on beagle board Xm Rev C

     This post is about installing Ubuntu on a hardware box with embedded Linux. Below I am logging few steps how it was done. Overall, this effort is for me to learn how to set up an Ubuntu in beagle board xm
  • Hardware: 
    • Beagle Board xM (rev C)
    • micro SD card (4GB minimum but 8GB preferred) 
  • Software: Ubuntu Linux kernel 3.8.13   

This blog assumes that its reader has a good deal of knowledge about using and installing Linux software.
 Make sure that you are a root user..

You need to prepare a root file system in the Micro SD card, so you have to connect it to Linux host PC (Am using ubuntu 12.04).


sudo apt-get update

wget https://rcn-ee.net/deb/rootfs/quantal/ubuntu-12.10-console-armhf-2013-08-24.tar.xz

Verify image with:

md5sum ubuntu-12.10-console-armhf-2013-08-24.tar.xz 

the expected response is

1d8c4999592123fdd3a51864394ccb49 ubuntu-12.10-console-armhf-2013-08-24.tar.xz

Unpack image:

tar xJf ubuntu-12.10-console-armhf-2013-08-24.tar.xz

cd ubuntu-12.10-console-armhf-2013-08-24

Connect the micro SD card to host PC

sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot beagle_xm

if you don’t know the sdvalue
sudo ./setup_sdcard.sh --probe-mmc
You should see something like
Are you sure? I don't see [/dev/idontknow], here is what I do see...

fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes <- x86 Root Drive
Disk /dev/sdd: 3957 MB, 3957325824 bytes <- MMC/SD card

lsblk:
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0 446.9G  0 part /  <- x86 Root Partition
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0  18.9G  0 part [SWAP]
sdd      8:48   1   3.7G  0 disk
├─sdd1   8:49   1    64M  0 part
└─sdd2   8:50   1   3.6G  0 part

In this example, we can see via mount, /dev/sda1 is the x86 rootfs, therefore /dev/sdd is the other drive in the system, which is the MMC/SD card that was inserted and should be used by

 

 ./setup_sdcard.sh
Install image f or the Beagle Board xM:
sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot beagle_xm
 After card preparation you can see the user name and password for that   kernel... and also you can see that SD card as two different drives and the      windows can detect only one in that... connect the SD card to beagle board xm.   You can  find the booting scripts of Ubuntu in UART (115200N81)or HDMI monitor if connected.
Default
Username: ubuntu
Password: temppwd



Mob    :       +91-9790766717
                   +91-9500087478
Web    :       www.masterychip.com
Mail     :       projects@masterychip.com