Tags:
create new tag
, view all tags

Step 1 - Formatting the SD Card

Now this step is more fiddly that one would expect. It's fine to just use the SD card which comes with the BB-xM as that's already set up the way we want it. However, if you're using an unformatted card, well need to set it up for our own usage.

So we need one to be fat 32, this needs to be about 70Mb big, although we won't all of this space. (We need about 13Mb in total) We also need a Linux fs, seperately partitioned. This should contain the remainder of the SD cards space, so for an 8 Gb card it will contain 7930 Mb of space, more or less.

This can be achieved two ways; either via fdisk "expert mode" or by using a premade script. fdisk is hard and we're lazy, so lets go go with the easy, premade script. If anyone's a glutton for punishment, there is a handy tutorial here

but we'll ignore that.

  1. Download mkcard.txt from this location (http://downloads.angstrom-distribution.org/demo/beagleboard/)
  2. In the command terminal, in the directory you downloaded the mkcard.txt file too, run the following command
    chmod +x mkcard.txt
    This should make it an executable, so now we need to establish what device were going to be writing too...
  3. run the following command
    df -h
    Which should return something that looks like this
Filesystem      Size  Used Avail Use% Mounted on
/dev/loop0       19G   14G  4.7G  74% /
udev            1.9G  4.0K  1.9G   1% /dev
tmpfs           749M  896K  749M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            1.9G  156K  1.9G   1% /run/shm
none            100M   48K  100M   1% /run/user
/dev/sda5       330G  153G  178G  47% /host
/dev/sdc1       7.6G   40M  7.6G   1% /media/al/Linux Booty
/dev/sdb1        64M   14M   51M  21% /media/al/boot
/dev/sdb2       3.6G  1.1G  2.3G  32% /media/al/rootfs
So we can see in my computer, the sd card is called /dev/sdb... SD cards should always show up as "sdX", where X is a letter depending upon which port the card has been attached too.
  1. Run the following command
    sudo ./mkcard.txt /dev/sdX
    where X is your card's letter
  2. Done!!!
  3. Run the following command
    sync
    just to make the sd card pop up again If it isn't, (don't yank it out, that'll just mean you'll have to start over)
-- AlYoung - 2013-01-08
Topic revision: r2 - 2013-02-19 - AhmetSekercioglu
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback