Open roaldarbol opened 3 years ago
I have no experience with the Zero W2. You may want to browse through these forum pages to see if you find anything relevant.
The PI4 should work in principle but I am told the python-picamera
module will not compile on pi4 from arch, so you will not be able to run the ethoscope without fixing that.
I am afraid for now we can only support ethoscopes on pi3/2 and the node on pi4/3.
That's fair. I'll give it a go. Seems it's probably the kernel.img
that needs to be updated (discussed here). Which kernel.img
have you used, or where did you get it? Is it built on top of Raspbian, Raspberry Pi OS or Raspberry Pi OS Lite - or something completely different?
Or maybe a simpler question - which files HAVE you changed in an existing image that I would need if I adapt a new disc image?
The user manual has a full description of how the SD images were generated, step by step.
Briliant, thanks! I've had to order a card reader for the Pi (my only Linux devices around) but will keep you up to date on any progress! It seems that it should work with the rpi4
image... fingers crossed.
I've managed to create a new disk image that runs successfully on RPi Zero 2, and probably also on the RPi 4 if anyone would want to use that. I haven't managed to see it in the UI yet, but have the same issue with the RPi 3 (I got my hands on one) - will make a new issue for that (#171) .
Thanks. If you could share the instructions of how you created the SD image it would actually be even more helpful than the image itself.
I've actually made public comments with hypothes.is, so you can check them out right on the installation page.
So it seems that there's an issue with opencv
before things are up and running on the RPi 4 ArchLinux image. (see issue). I think it's just not installed. I'm expecting it should be possible to just install it with pacman
.
Given the PI3 shortage, I went back to this. I think I have fixed in the following way.
# Maintainer: Grey Christoforo <first name at last name dot net>
pkgname=python-picamera-git _module='picamera' pkgver=r929.7e4f1d3 pkgrel=1 pkgdesc="A pure Python interface for the Raspberry Pi camera module." url="http://picamera.readthedocs.io/" depends=('python') makedepends=('python-setuptools') provides=('python-picamera') license=('BSD') arch=('any') source=("$_module::git+https://github.com/waveform80/picamera.git") md5sums=('SKIP')
pkgver() { cd "$srcdir/$_module" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" }
package() { cd "${srcdir}/${_module}" python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build }
build() { cd "${srcdir}/${_module}" python setup.py build }
3. Install ethoscope-device as normal from AUR but revert all changes in /boot/config.txt before boot. The file should only contain the following line
enable_uart=1
The resulting working image can be found [here](https://imperialcollegelondon.box.com/shared/static/ugqbbmienvt8v7veyu7lmfjcsojp0fss.zip). I have NOT tested it on actual flies. It is unlikely but possible that an increase in the PI4 speed may change the actual behavioural data and will need to be normalised.
As I don't have any RPi 3's laying around and they're sold out most places due to shortages, I decided to try using the brand new RPi Zero W 2 which has the same chip as the RPi 3. I flash the
20201126_ethoscope_000.img
with RPi Imager, and I think that it should be compatible in principle, but I get stuck at the rainbow screen (which looks perfectly normal, so it shouldn't be a power issue). Any ideas whether this could be remedied by a few tweaks to the image?Similarly, as the Zero didn't work, I tried my RPi 4 2GB, but alas, that didn't work either. On the first boot I got a few lines rolling across the screen, but then the monitor just goes to sleep straight away - I don't even get to a rainbow screen. And on subsequent boots it doesn't even show any text anymore.
I think it would be especially promising to make it work for the Zero 2 because of its smaller footprint and power consumption, so would be awesome if you have any ideas on how to make it work! :-)