Cool :)
> My featured solution is to use the new OpenWRT Backfire directly from
> flash - with no need
> of an usb filesystem.
> Does anybody have any skills in OpenWRT ? When i build the OpenWRT,
> what must be flashed into
> the flash ? The jffs2 or the squashfs image (3MB) ?? If i install
> additional packages with opkg,
> will these packages stored in flash ?
Dunno much about OpenWRT - there's various bits'n'pieces on the wiki
about different OpenWRT versions, but I'm not sure how complete or
up-to-date any of it is.
However there's also BMD which I believe is based on OpenWRT - at
least it can certainly make use of the existing OpenWRT packages
http://sites.google.com/site/bifferboard/Home/bifferboard-mini-distribution
And I've written some easy to follow instructions on how to setup BMD
running from flash
http://sites.google.com/site/bifferboard/Home/bifferboard-mini-distribution/newbie-instructions
Just for info, I think ubifs is the 'successor' to jffs2.
Lurch
Cool project the wireless camera. I tries something like this myself,
but never got the USB Wireless adaptor (D-Link DWA-130) working properly
with WPA2. I got it to the point where I can ping a remote host via
ICMP, but anything more demanding like a simple TCP handshake I could
not get working.
ma...@wtns.de wrote:
> Now i got my second Bifferboard with 8MB of flash. With this board i
> would like to build
> a second wireless webcam, BUT without slackware - because slackware is
> too much big !!!
You can try the Bifferboard variant of Buildroot:
http://groups.google.com/group/bifferboard/browse_thread/thread/2ad6098ff6ec0561
OpenWRT was originally built on top of Buildroot, but they now have
their own, although similar, build system. Buildroot can build all kinds
of rootfs images, comes with a large number of packages and can be
fairly easily extended.
> My featured solution is to use the new OpenWRT Backfire directly from
> flash - with no need
> of an usb filesystem.
> Does anybody have any skills in OpenWRT ? When i build the OpenWRT,
> what must be flashed into
> the flash ? The jffs2 or the squashfs image (3MB) ?? If i install
> additional packages with opkg,
> will these packages stored in flash ?
As to how to make the flash file system work, Andrew's newbie
instructions might be a bit more useful than the original instructions.
The first time I tried UBIFS about two months ago, I got it to boot from
Flash ok, but writing always caused block write errors after about 1
minute uptime. I am not sure if this is because of bad Flash or because
I did something wrong, so I gave up.
Good luck.
Cheers,
Oliver
tnx for your information.
How big could the kernel be ?
Does it overwrite the ubifs filesystem while flashing ?
Marco
Sent from my iPhone
Am 18.06.2010 um 11:17 schrieb "biff...@yahoo.co.uk" <biff...@yahoo.co.uk
>:
> --
> You received this because you are subscribed to the "Bifferboard"
> Google group - honest!
> To unsubscribe from this group, send email to bifferboard...@googlegroups.com
>
I will do my tests this evening.
Regards,
Marco
That's what the 'kernelmax' setting in biffboot is for...
http://sites.google.com/site/bifferboard/Home/kernel-flashing-in-detail
The (very) simplified view is that the kernel goes in flash from 0 ->
kernelmax, and then the ubifs goes from kernelmax -> 8MB. As Biff
says, as long as you stick to ethernet flashing (or have biffboot >=
3.1) they won't overwrite each other.
With the default kernelmax of 0x20 (which equates to 2MB) it gives you
a maximum kernel size of 2024KB
http://sites.google.com/site/bifferboard/Home/bootloader/changelog
If you change the kernelmax setting, you'll also need to reformat your
ubifs, cos (I believe) the kernel also uses the kernelmax setting to
locate the start-of-ubifs.
In summary - as long as your kernel stays under 2MB, and you still
have 'enough' space in ubifs, you should probably leave kernelmax at
the default value.
Lurch
I got the BMD from ubifs with a uvc compatible webcam
And mjpg-streamer running.
Also the rt3070sta driver is working. Now i must connect
the bifferboard with wlan to my network.
If all is done, i will post a small tutorial.
Regards
Heh, they look a bit familiar ;-)
Any chance you could put them up on the wiki too? Feel free to
copy'n'paste my page.
> PC: Download the initrd-kernel and flash it to your bifferboard
> wget "http://woote.dyndns.org/bifferboard/bwd/0.1/init-image" -O
> bzImage-initrd
I won't be able to try this myself, since I have neither a webcam nor
a wifi dongle, but I'm just wondering if you actually need a different
initrd-image for this stage? Since all it's doing is "bootstrapping"
the _real_ rootfs and kernel later on?
Lurch
I can see what you're saying (that the boot-from-initrd-kernel needs
to be different to the boot-from-ubifs-kernel), but that's not what I
was trying to ask - guess I wasn't very clear.
What I *meant* was that given the initrd-kernel is only used to
bootstrap the ubifs-rootfs and then gets replaced by the ubifs-kernel,
does Marco's initrd-kernel need to be different to Biff's
initrd-kernel? i.e. could Marco simply provide the "final" kernel and
rootfs images, and then use Biff's initrd to get them loaded onto the
board?
> An alternative 'installation' technique would be to use the ubi tools
> to create a UBI MTD image from a directory full of files, and then put
> the kernel on the start of it and flash the whole lot together but I
> haven't tried this yet.
That would be pretty funky, and I can imagine it being *very* useful
if someone wanted to "mass-produce" a solution based on bifferboards
:) I guess you could theoretically even squeeze the config block in
there too!
Lurch
It will 'work' but will have a huge impact on CPU load even if you
keep to 320x240 and low fps. With a webcam that supports MJPEG
directly, CPU loading is extremely light at any resolution. Only
upside is that you can control compression quality etc.
Simon