• Linked Applications
    Loading…

James' Notes

Getting caspa working with rest of the system

Follow Stac' notes except use the caspa-3.4 branch instead of master for the meta-op-logger tree

Things that should be enabled or modules:

 

CONFIG_ARCH_OMAP3
CONFIG_OMAP_IOMMU
CONFIG_VIDEO_OMAP3
CONFIG_VIDEO_OMAP3_ISP
CONFIG_OMAP_IOVMM
Kernel configuration:
Enabling camera:
insmod /lib/modules/3.4.0-rc5-yocto-preempt_rt/kernel/drivers/media/video/mt9v032.ko
insmod /lib/modules/3.4.0-rc5-yocto-preempt_rt/kernel/drivers/media/video/omap3isp/omap3-isp.ko
Testing:
media-ctl -v -l '"mt9v032 3-005c":0->"OMAP3 ISP CCDC":0[1]'
media-ctl -v -l '"OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
media-ctl -v -f '"mt9v032 3-005c":0 [SGRBG10 752x480]'
media-ctl -v -f '"OMAP3 ISP CCDC":1 [SGRBG10 752x480]'
Recording:
yavta -p -f SGRBG10 -s 752x480 -n 4 --capture=20 --skip 10 $(media-ctl -e "OMAP3 ISP CCDC output") --file=img-#.bin

Next stage:

http://www.jumpnowtek.com/index.php?option=com_content&view=article&id=81:gumstix-dsp-gstreamer&catid=35:gumstix&Itemid=67

Older stuff

This uses a mask on the official OE core.

The spi_server repository (needs Makefile): https://github.com/peabody124/op_overo

The oe branch: git.oepnpilot.org/overo.git (need to get access)

Basically follow these instructions:

http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html

Then before building the minimal console run:

git remote add overo ssh://gitolite@git.openpilot.org/overo.git

git checkout -t overo/openpilotovero-embedded

To build our kernel which enables spidev.

 

Miscellaneous notes and references I used:

About SPI: http://wiki.gumstix.org/index.php?title=Category:SPI
Enable spidev: https://github.com/scottellis/spike/blob/22e782b407b1741cecaa9149508ea8f8c980f6e9/patches/spidev-enable.patch
Modifying kernel: http://www.slimlogic.co.uk/2011/05/openembeddedangstrom-kernel-workflow/
Disable touchscreen: ~/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3/overo/defconfig (LGPHILIPS_LB0* and ADS7*)
See the spi driver assignments here: ./tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-3.0-r103/git/arch/arm/mach-omap2/board-overo.c search for spidev
rebuild kernel: bitbake -c virtual/kernel; bitbake virtual/kernel
Follow these instructions to make flash card http://gumstix.org/create-a-bootable-microsd-card.html


  • No labels

Powered by Atlassian - Copyright © 2012 OpenPilot Foundation