fixing em28xx on Beaglebone
ATTENTION - Method below almost worked, but didn't.Horizontal pink and green bars across the image... but at least there was an image. That's better than a green screen, isn't it?
I really liked the Beaglebone. I really wanted it to work. The easycap driver sort of worked, but wasn't stable enough to leave in a field. (although it seems ok at 320x240). The stk1160 driver experiences similar break up to the images I've seen of it running on the raspberry pi. (if you are reading this - I know you're working on the latter!).
It looks like the full Beagleboard xM might be the next contender. More money than I'd hoped to spend, and more power, but 1-wire and rtc and already on the board.
Having another go...
from my ubuntu 12.04 beaglebone;
using http://elinux.org/BeagleBoardUbuntu as a guide
did this http://elinux.org/BeagleBoardUbuntu#Install_Latest_Kernel_Image
export DIST=oneiric (options are lucid/maverick/natty/oneiric/precise/squeeze/wheezy) export ARCH=armel (options are armel/armhf (armhf only for precise)) Beagle/Panda export BOARD=omap BeagleBone export BOARD=omap-psp wget http://rcn-ee.net/deb/${DIST}-${ARCH}/LATEST-${BOARD} wget $(cat ./LATEST-${BOARD} | grep STABLE | awk '{print $3}') /bin/bash install-me.sh
reboot!
naturally it blew away my 1307rtc, (remember http://bufobufomagic.blogspot.co.uk/2012/08/1-wire-and-blinking-leds.html) so...
got the headers from http://rcn-ee.net/deb/precise-armhf/v3.2.32-psp25/
wget http://rcn-ee.net/deb/precise-armhf/v3.2.32-psp25/linux-headers-3.2.32-psp25_1.0precise_armhf.deb
installed the headers
dpkg -i linux*2.6.38-7.37*.deb
cd /usr/src/linux-headers-3.2.32-psp25/
Get source
cd /home/stuff
wget http://rcn-ee.net/deb/precise-armhf/v3.2.32-psp25/patch-3.2-psp25.diff.gz
wget http://rcn-ee.net/deb/precise-armhf/v3.2.32-psp25/defconfig
wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.tar.bz2
tar xjf linux-3.2.tar.bz2
cd linux-3.2
cp /home/stuff/defconfig .config
change build symlink!
restore the 1307
nano arch/arm/mach-omap2/board-am335xevm.c
Add to the existing static struct i2c_board_info __initdata cape_i2c_boardinfo
{
I2C_BOARD_INFO("ds1307", 0x68),
},
Config changes/checks; (looks ok as it is?)
CONFIG_RTC_HCTOSYS_DEVICE="
remove support for the OMAP RTC driver
I2C RTC drivers
CONFIG_RTC_DRV_DS1307=y
try patching em28xx while we're here...
make a new kernel
No comments:
Post a Comment