Debian Jessie on Raspberry Pi 2
sjoerd.luon.net
sjoerd.luon.net
- Spindle is a collection of scripts that's used to build the 'official' Raspbian images. It's hardly stripped-down as-is, and far from my favorite rootfs building strategy, but is a starting point: https://github.com/asb/spindle
- Yocto / OpenEmbedded recipes are available for truly stripped-down build possibilities. Here's a random blog post specific to RPi: https://delog.wordpress.com/2014/09/16/embedded-linux-system...
- The resin.io folks are trying to do "docker for embedded devices", with RPi as one of the initial targets. They have a pre-built rootfs that pulls your docker images via their (proprietary) cloud service. https://resin.io/
Buildroot is a lot simpler than Yocto or OpenEmbedded. I found it a lot easier to quickly understand how Buildroot works and get something working with it than I did with Yocto. Of course Buildroot's simplicity means that you give up some nice to have features that you would probably want for more serious projects.
They have specific instructions for getting started with RaspberryPI v1[3].
[1]: http://buildroot.uclibc.org/ [2]: http://buildroot.uclibc.org/downloads/manual/manual.html [3]: http://git.buildroot.net/buildroot/tree/board/raspberrypi/re...
So lately, for my own projects, it's gotta be dpkg-based with an active upstream repo.
Currently investigating image processing and ANPR using OpenCV.
You'd probably need to write the code in C/C++ (rather than Python or some other interpreted language) to get deterministic execution, but that's an acceptable limitation in my mind.
Is there an implementation of RTLinux on ARM? If so, is it (mostly) compatible with the RPi2?
Black Swift is a newer, tinier single-board computer - for 'a bit more embedded' computing than the Raspberry Pi. No audio/video, but a built-in Wi-Fi. Actually, its central SoC in itself is a recent Atheros Wi-Fi chip that happens to have a 400 MHz MIPS 24k CPU embedded. Here's where Black Swift founders see themselves in comparison to the competition: http://www.black-swift.com/images/wiki/BlackSwift-competitio...
[1] Black Swift — tiny wireless computer https://www.kickstarter.com/projects/1133560316/black-swift-...
[2] Using AVR as peripheral controller https://www.kickstarter.com/projects/1133560316/black-swift-...
[3] ATtiny24A http://www.atmel.com/devices/ATTINY24A.aspx @Octopart https://octopart.com/search?q=ATTINY24A&filter%5Bfields%5D%5...
Frameworks like pigpio and servoblaster use that trick, but the standard gpio python module which doesn't use DMA has more mindshare, probably due to its simplicity.
There is an implementation of RTlinux for the RPi from the Navio guys [1], but I'm not sure if it's compatible with RPi2.
[1]: http://www.emlid.com/new-raspbian-with-real-time-kernel-jan-...
Besides there is lots of devices in the market positioned between Arduino and RPi. STM32 F4 Discovery board is a good example; an order of magnitude more processing power than an Arduino Uno but still a MCU designed for bare-metal (real-time) operation.
I like the fact that processing speed has been boosted but that's all there is to it.
* http://www.hackster.io/raspberry-pi
* http://hackaday.io/projects/tag/raspberry%20pi
* http://raspberry.io/projects/
One of my projects: https://unop.uk/dev/raspberry-pi-electricity-monitor/
I was using it the context of controlling the "eye" of a wheeled robot so both the eye and the robot could follow faces. 2FPS was workable on this but 320x300 didn't give it much of a field of view.
From $35 4x1.5Ghz Cortex-A5 ODROID-C1 to $99 octa-core Exynos5422 ODROID-XU3 Lite (4x1.8Ghz Cortex-A15, 4x1.3GHz Coretex-A7, plus OpenCL 1.1)
They have their own ecosystem and monthly magazine (sic!). Raspberry Pi is one of the first and most popular; it's great for beginners, but if you really need to push the envelope there is always competition that tries to undercut them in price, performance and/or features. Now again, RPi 2 has set a new bar, but it is not that high.
While certainly most popular, I'd dispute the claim of being first. For example BeagleBoard was initially released in 2008.
So the C1 and related boards look great but I'm cautious of building around something with a smaller community just because of the potential for it taking far longer to troubleshoot the underlying stuff I need setup to work on the actual project. That said I'm pretty sure I'll succumb to a c1 in the next couple of months!
For comparison, my ubuntu VM is under 1.5G, and that's not been a "really basic" install even when it was first created.
[EDIT] Thanks, it's the whole disk partition image, not the distro itself.
The data is more or less split like that:
224M usr 90M lib 67M var 11M boot 5,8M bin 3,3M sbin 2,9M etc
Of course with some customizations one can do a lot better, but this is just a straight Debian installation with documentation, locales, translations, manpages, etc.
That said a gpg signature could be a good thing to add.
By comparison, I know CubieBoard has accelerated crypto but I don't want to switch horses half way, so to speak.
It could perhaps go even faster, given the VPU is a vector processor.
(I'm still working out the details - there are a few things about the VPU we don't know - but the ChaCha core function in particular looks like something the VPU could do very naturally, except that it's got diagonals. However a permutation to make those vertical might fix that, and if it can wrap around and the transform doesn't cancel out the benefit, it might perform very well. Or, it might block and be slower than the CPU. Hard to know at this stage, but if I come up with a good implementation I'll release it.)
(And don't get me wrong: I LOVE the work that's being done, and can't wait to be through with older cipher families!)
If you're streaming to mobile, ChaCha20 is out.
IE, Firefox, and Safari on the desktop: out. (so far)
Compatibility with IIS or any non-bleeding-edge middleware servers: out.
Yes, you'll probably be waiting until the RFC is out for wider support. I reckon it makes a leading candidate for "AES backup/standby", however.
Mainline wasn't that far behind but uses bcm2835 instead of bcm2708. That might change/need an update now - not sure? Will find out in a few days!
There's Snappy Core, but to be honest I don't want to run that on a Pi just yet.
(oh, and https://news.ycombinator.com/item?id=9000584 - I just got a board)
With the old Pi it was not possible because the CPU only supported the ARMv6 instruction set, while mainstream distributions (Debian, Ubuntu, Fedora, etc.) all require ARMv7.
Fortunately the just released Pi 2 sports Cortex-A7 Cores which use the ARMv7 instruction set, which made this possible without any full rebuild.