Showing posts with label angstrom. Show all posts
Showing posts with label angstrom. Show all posts

Monday, October 26, 2009

Angstrom Demo

Download Files:
http://www.angstrom-distribution.org/demo/beagleboard/Angstrom-Beagleboard-demo-image-glibc-ipk-2009.X-stable-20090612--beagleboard.rootfs.tar.bz2
http://www.angstrom-distribution.org/demo/beagleboard/MLO
http://www.angstrom-distribution.org/demo/beagleboard/u-boot.bin
http://www.angstrom-distribution.org/demo/beagleboard/uImage-2.6.29-r47-beagleboard.bin
http://www.angstrom-distribution.org/demo/beagleboard/x-load.bin.ift

In order to make Angstrom Image:
1) Insert the sd card in the computer and unmount it auto-mounted
$ sudo umount /dev/sdb
2) Zero out the SD card
$ sudo dd if=/dev/zero of=/dev/sdb bs=822906
3) Start fdisk, and partition
$ sudo fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdc: 2021 MB, 2021654528 bytes
255 heads, 63 sectors/track, 245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Command (m for help): x
Expert Command (m for help): h
Number of heads (1-256, default xxx): 255

Expert Command (m for help): s
Number of sectors (1-63, default xxx): 63

NOTE: In order to calculate the number of cylinders:

the number of Bytes on the SD Card (from above) / 255 / 63 / 512


Expert Command (m for help): c
Number of cylinders (1-256, default xxx): [enter the number you calculated]

Command (m for help): n
Command action
e extended
p primary partition
(1-4)
p
Partition number (1-4): 1
First cylinder (1-245, default 1): [(press Enter)]
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-245, default 245): +50

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): c
Changed system type of partition 1 to c (W95 FAT32 (LBA))

Command (m for help): a
Partition number (1-4): 1
Command (m for help): n
Command action
e extended
p primary partition
(1-4)
p
Partition number (1-4): 2
First cylinder (52-245, default 52): [(press Enter)]
Using default value 52
Last cylinder or +size or +sizeM or +sizeK (52-245, default 245): [(press Enter)]
Using default value 245
Command (m for help): p

Disk /dev/sdc: 2021 MB, 2021654528 bytes
255 heads, 63 sectors/track, 245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 51 409626 c W95 FAT32 (LBA)
/dev/sdc2 52 245 1558305 83 Linux
Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING
: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.

WARNING
: If you have created or modified any DOS 6.x
partitions
, please see the fdisk manual page for additional
information
.
Syncing disks.

4) Format the partitions
$ sudo mkfs.msdos -F 32 /dev/sdc1 -n Beagle_Boot
mkfs
.msdos 2.11 (12 Mar 2005)
$ sudo mkfs.ext3 -L Angstrom_Demo /dev/sdc2
mke2fs
1.40-WIP (14-Nov-2006)
Filesystem label=
OS type
: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
195072 inodes, 389576 blockshttp://www.angstrom-distribution.org/demo/beagleboard/x-load.bin.ift
19478 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=402653184
12 block groups
32768 blocks per group, 32768 fragments per group
16256 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information:


5)
Unplug, and replug in your SD card, and it should now automount the two partitions that you created.

6) Copy files in the Beagle_Boot partition
$ sudo cp MLO /media/card/
$ sudo cp u-boot.bin /media/card/
$ sudo cp uImage-2.6.29-r47-beagleboard.bin /media/card/uImage
$ sudo cp x-load.bin.ift /media/card/
7) Untar the file system
$ sudo tar -xvjf /media/Angstrom_Demo/Angstrom...bz2
8) Unmount the partitions
$ sudo umount /dev/sdb1
$ sudo umount /dev/sdb2
Running the demo:
1) start a terminal program: Minicom or Tera Term
2) insert the SD card in the beagle board
3) power on the beagle board
4) stop the auto-boot by pressing Enter
5) type the below commands
mmcinit
fatload mmc 0 0x80200000 x-load.bin.ift
nandecc hw
nand erase 0 80000
nand write.i 0x80200000 0 80000
6) Set the Environment

setenv bootargs 'console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rootfstype=ext3 rootwait omapfb.mode=dvi:1024x768MR-16@60'
FOR PICO: setenv bootargs 'console=ttyS2,115200n8 console=tty0 root=/dev/mmcblk0p2 rootfstype=ext3 rootwait omapfb.mode=dvi:640x480MR-16@60'
setenv bootcmd 'mmcinit; fatload mmc 0 0x80300000 uImage; bootm 0x80300000'
saveenv
7) Boot the SD card
boot

Wednesday, April 29, 2009

Discusion of BeagleBoard Capabilities





This video is pretty much an interview-style discussion about the goals for the BeagleBoard and its many capabilities. Koen and Mans start off by giving a brief overview of what the BeagleBoard is. They then proceed to discuss its potential uses and real-world applications. Lastly, they consider these possibilities and whether or not they have already been attempted and/or are practical enough to be implemented.

Wednesday, April 8, 2009

Video: 3D, Angstrom, and Ubuntu

Today and from now on I will be reviewing and creating summarizations of BeagleBoard-related videos. Today's review is on the following video:




This video shows two 3-D demos running on the BeagleBoard: The 3-D "evil skull" demo and a real time pixel shading demo. This video also shows the Angstrom demo and Ubuntu demo running on the BeagleBoard. As an added feature, there are speech bubbles that pop up and label the hardware and demos throughout the video. This is a great way for a new user to learn the capabilities of a BeagleBoard.

Tuesday, September 30, 2008

09/13/08 - 09/16/08

[08:22:56] Thumb mode is a mode on ARM processors that allows improved code-density. [08:22:45] 'cmp' is a command line program for Unix operating systems. It compares two files and writes the results to the standard output. Standard output is a stream where a program writes it's output data. It is the text terminal that initiates a program. [19:20:46] Enterprise Volume Management System (EVMS) is used to manage storage systems under Linux.

[00:31:55] LHC stands for Large Hadron Collider, the worlds highest-energy particle accelerator with the purpose of colliding with opposing beams of protons or lead (two types of hadrons) at up to 99.99% the speed of light. It is used to test various predictions of high-energy physics. [19:21:51] International Building Code (IBC) is a model building code developed by ICC. A model building code develops and maintains a standard organization independent of jurisdiction responsible for enacting it. IBC is also a trade show were several BeagleBoard.org community members participated.

[08:31:36] Koen mentioned on 9/16/08 that "...angstrom supports uclibc and eglibc, so it adds the libc-type in the directory tree".

Tuesday, September 23, 2008

09/09/08 - 09/10/08

[03:36:06]OMAP2 and OMAP3 can run ARM and DSP together. IVA2.2 is the Imaging, Video, and Audio accelerator sub-system, used in OMAP35x. [11:17:53] Quetoo is OpenGL only. Polymide is an orange, high temperature plastic tape that does not get melted by solder. It is used frequently as a heat shield and an insulator. It is more commonly known as kapton tape. [00:31:03] I learned that there are no royalty fees for the Beagle Board. [00:32:41] I also learned that the Beagle Board is meant more for learning OMAP, versus it being used to build systems.

[07:41:43] Angstrom uses opkg. opkg is a lightweight package managment sysem based off of Ipkg. The upgrade includes (but is not limited to) the ability to re-organize and clean up source codes into sub directories, mark auto-installed packages, and contains an additional command line for the purpose of removing "auto installed" packages. [09:01:19] Bitbake makes its packages by using ipkg-build(package). Even so, both packages are the same, regardless of whether or not it uses opkg or ipkg in the root.