instagram

Monday, November 1, 2010

Creating Angstom kernel

Used ubuntu virtual drive
Followed instructions at http://www.angstrom-distribution.org/building-angstrom to bitbake a kernel
Prepared SD card as described in http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
Followed instructions at http://elinux.org/BeagleBoardAndOpenEmbeddedGit#Create_partitions_and_format_the_SD-card for copying files to SD card

The boot partition wasn't enough so copied files from disk that came with it.  This is because the new BB-xM doesn't have U-Boot in NAND Flash so needs it on the SD card.

Sunday, October 31, 2010

BB-xM for wireless video

Using a BeagleBoard-xM for video
Set demo image
Update image on disk to http://beagleboard-validation.s3.amazonaws.com/deploy/201008201549/sd/list.html

Connecting to wireless network

opkg install wireless-tools
opkg install kernel-module-zd1211rw
opkg install zd1211-firmware

modprobe zd1211rw

iwconfig wlan0 mode managed
iwconfig wlan0 essid “2WIRE556”
iwconfig wlan0 key 6845155005
iwconfig wlan0 channel auto

ifup wlan0

ifconfig wlan0 up
udhcpc wlan0

Starting the camera
opkg install kernel-module-uvcvideo
opkg install ti-dmai
opkg install ti-cmem-module

modprobe uvcvideo
opkg install ffmeg
opkg install gstreamer-ti
opkg install gst-plugin-avi
opkg install gst-plugin-video4linux2
opkg install gst-plugin-videorate

opkg install task-gstreamer-ti
opkg install gst-plugin-udp


modprobe sdmak
modprobe cmemk

gst-launch v4l2src device=/dev/video0 ! video/x-raw-yuv,width=640,height=480,framerate=15/1 ! videorate ! avimux ! filesink location=video4.avi
http://processors.wiki.ti.com/index.php/Example_GStreamer_Pipelines