This HowTo are deprecated. I m moved to here
I wonder that no one had this problem before me.
But possible that i am posted in the wrong category, if yes please move me.
I have solved my problem.
For running the the Raspi-Cam, i need the start_x.elf, bcm2835-v4l2.ko and the raspicam applications.
I have build the packages but the building of bcm2835-v4l2 have one hook.
The source of bcm2835-v4l2 are include in https://github.com/raspberrypi/linux.git.
And i must download the complett linux.git via "PKG_SOURCE_PROTO:=git" this are ca 1,3GB.
But bcm2835-v4l2-source are a part of the openwrt buildroot (for brcm2708) after building.
This should be the preferred source, because it is possible that the source from https://github.com/raspberrypi/linux.git
are differ from the buildroot source.
Is It possible that the SDK download linux and patch it again so i can use the right source ?
My makefiles download at this time from here https://github.com/raspberrypi/linux.git.
here my instructions:
unless stated otherwise, run the commands from a Linux PC (I have used Porteus-KDE4-v3.1-x86_64)
I have only tested on Raspberry Pi 1 but it should wok on Pi 2.
1.) Build the bcm2835-v4l2.ko and the raspicam applications:
Download the SDK.
The openwrt-SDK-15.05-rc3 for Pi 1 are here.
The openwrt-SDK-15.05-rc3 for Pi 2 are here.
Download package1.tar.xz unpack them and put them into the SDK.
go to the SDK and run as root:
2.) enable the start_x.elf:
Mount the bootparition of the SD-Card on your PC.
Go to there and run:
wget --no-check-certificate -O ./fixup_x.dat https://github.com/raspberrypi/firmware/blob/master/boot/fixup_x.dat?raw=true
wget --no-check-certificate -O ./start_x.elf https://github.com/raspberrypi/firmware/blob/master/boot/start_x.elf?raw=true
put this onto your config.txt file (create it, if it not exist):
3.) install the modules:
Switch on the Raspberry-Pi
192.168.1.1 are a example it is the IP of the Pi.
scp <SDKPATH>/bin/brcm2708/packages/base/kmod-bcm2835-v4l2_3.18.17+2015.06.17-1_brcm2708.ipk root@192.168.1.1://root
scp <SDKPATH>/bin/brcm2708/packages/base/raspicam_2015.08.09-1_brcm2708.ipk root@192.168.1.1://root
on the Pi
opkg update
opkg install kmod-bcm2835-v4l2_3.18.17+2015.06.17-1_brcm2708.ipk
opkg install raspicam_2015.08.09-1_brcm2708.ipk
4.) test it from Linux-PC with vlc:
simple test on Pi make a 10sek h264 Video on it
on the Pi
stream test from PI to your PC.
on the Pii:
opkg install ncat
raspivid -w 1920 -h 1080 -fps 20 -t 0 -o - | ncat -l 4711
on your PC:
mknod /tmp/vidpipe p
nc 192.168.1.1 4711 | ffmpeg -i - -f mpeg - >> /tmp/vidpipe
vlc /tmp/vidpipe
(Last edited by Plonk34 on 20 Sep 2015, 02:59)