Showing posts with label beagle board. Show all posts
Showing posts with label beagle board. Show all posts

Thursday, November 19, 2009

Realtime Kinematic GPS Receiver

http://gizmodo.com/5405804/make-your-own-real-time-kinematic-gps-receiver-thats-accurate-to-one-centimeter

Researchers Tomoji Takasu and Akio Yasuda of Tokyo university have made a GPS receiver that is accurate to a centimeter. It displays real time information. They used beagle board as a processor.

On the link posted below, there are also instructions on how to make one yourself
http://gpspp.sakura.ne.jp/rtklib/rtklib_beagleboard.htm

Evtest

http://wiki.davincidsp.com/index.php/Evtest
The above link has code and instructions for conducting an Evtest.
Evtest is an open source tool, that can be used to test several different HID drivers and devices such as mouse, keyboard, joystick, touchpad.
Evtest can enable a user to test a particular HID device on beagle board.

It enables an user to test a particular HID device thoroughly such as testing all the keys of a USB keyboard or testing all the axes of a USB mouse.

Instructions regarding how to execute and use Ev test are on this link:
http://wiki.davincidsp.com/index.php/Evtest

In the IRC channel # beagle, IRC nicks super, and prpplague were discussing about it.
The discussion thread can be found at:
http://www.beagleboard.org/irclogs/index.php?date=2009-11-13#T20:11:34

Wednesday, October 28, 2009

Beagle Board Accessories

These are optional accessories for beagle board

http://www.elinux.org/BeagleBoard_Zippy
This is a modified type of beagle board with internet expansion. one can connect the LAN cable directly to the beagle board instead of using a usb hub. It adds the following to the orignal beagle board:
  • Battery Backed RTC
  • Second MMC slot
  • 10BaseT Ethernet
  • Second RS-232
  • +5V level I2C
  • AT24 EEPROM

http://gumstix.com/store/catalog/product_info.php?products_id=195
This is a raw LCD which can be used for the beagle board as a display device. It enables a user to use the beagle board without a monitor or a pico projector. Instructions for attaching a raw LCD panel to beagle board: http://elinux.org/BeagleBoardRawLCD

http://www.dealextreme.com/details.dx/sku.3060
This is a rechargeable emergency USB battery back-up that can be used to power the beagle board. In this way, beagle board can be powered without connecting a USB power cable. It can also be used where there is no power outlet nearby such as outdoors.

http://www.cambrionix.com/home/index.php?option=com_content&view=article&id=17&Itemid=2
This is a 49-port USB hub that can be used on Beagle Board for using a large number of accessories such as USB keyboard, mouse, wiimote, bluetooth dongle, USB flash drive, USB card reader/writer, External USB hard drive.

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