- Plug a new microSD card (Not the one provided by TI) into your computer using your card reader or USB Adapter.
- Determine where it is mounted by opening up a terminal and typing the following command:
- The Angstrom Linux Distribution requires two partitions on the microSD card. The FAT partition holds the boot files and the EXT3 partition holds everything else. Graeme Gregory, a contributor to openEmbedded, has made available a script to correctly partition your microSD card. Use the following commands to make a working directory, download the script, and execute the script. Remember, if your microSD card's device directory is different than mine (/dev/sdc), replace it in the last two lines and include the partition number in the second-to-last line for the following commands:
- Execute the following command:
- Remove the microSd card from the computer, wait a couple seconds, and plug it back in. Execute the following command to verify that the correct partitions have been created:
- The Narcissus website contains a tool that creates root file system images for Angstrom Linux Distributions. Go to this website using the following link: http://narcissus.angstrom-distribution.org/
- Select “Beagleboard” from the list of machines to build the rootfs for. Both the Beagleboard and Beagleboard-xM us the same build from the Narcissus rootfs image tool. Choose “simple” for the complexity of the options to choose from. Choose “Console only” for the user interface selection. For the additional packages selection, expand “Platform Specific Packages”, and select “Bootloader Files (x-load/u-boot/scripts)” under “Texas Instruments OMAP3x/AM3x family”.
- Click the “Build Me!” button. When the requested files are generated, download the file with the .tar.gz extension into your /angstrom-wrk directory. My generated file is “random-c534e16b-image-beagleboard.tar.gz”
- To extract and copy the required boot files to the proper directories on the microSD card, execute the following commands:
- Unmount the microSD card by executing the following commmands:
- Remove the microSD card from your computer and insert it into the Beagleboard-xM. Apply power to the Beagleboard-xM and allow Angstrom to boot. You can login to Angstrom as username “root”.
The output will look something like:
The microSD card in this example is the file system on the last line and the device directory of the card is “/dev/sdc”. Notice that I did not say “sdc1”. The “1” refers to the partition on the card. Since this card is fresh it has only 1 partition.
The output will look something like:
The output should look something like:
Notice that there is now an sdc1 partition mounted on /media/boot and an sdc2 partition mounted on /media/Angstrom
How I learned this:
No comments:
Post a Comment