Will picroft work with the new Raspberry Pi 4?


#1

Hi together,

The official guide from Picroft (https://mycroft.ai/documentation/picroft/) recommends the Raspberry Pi 3 and showing: “supportet”. For a few days, the Raspberry Pi 4 has been made available in different configurations. Is there already experience or official statements in this regard?

I am looking forward to your feedback.


Can Mycroft do this for me?
Name picroft image wrong?
#2

I don’t think there should be any issue, although I don’t have anything official to back up that statement. I have a 4+ 4gb on the way so hopefully I will know in a couple days. Will post back once I’ve tried it out.


#3

RPI4 comes with brand new Debian Buster. To my knowledge Mycroft is not tested on Buster yet.

There might also be some hardware related issues - at least in the beginning - as there were major changes for audio, video and USB on the RPI4.


#4

Yep, Dominik is spot on.

We’re all waiting for our new Pi’s at the moment, and different members of our team individually ordered different versions (1, 2, and 4GB) so we’ll be able to test the performance of Mycroft on each :slight_smile:


#5

Thanks for your informations. I will wait a little bit before buying one ;-). Looking forward to read from someone when he has test it.


#6

Id does NOT work with the Image. But with default raspbian and following the manual approach it works.

(tested with 4GB model)


#7

Mine should be here today as well, 4gb version, i built a buster picroft img following the instructions so may give that a try along with rasbian buster master clone and dietpi buster build. Will post back with anything I find out as well.


#8

My pi4 hasn’t shown up yet, the tracking I believed to be it turned out to be something else :frowning: No idea on delivery now.


#9

What does this mean? In particular the ‘But with default raspbian and following the manual approach it works’ bit. Did you get picroft working? If so could you please describe your method?

Thanks


#10

This means I followed the “MyCroft on Linux” docs instead of using the prebuild PiCroft-Image


#11

I’ve written an install script for raspbian buster that sets everything up including mycroft, spotifyd and pulseaudio. It includes building the systemd scripts to run everything as a service and start at boot. Works well on my rpi3+ and will test it on the pi4+ when it arrives. I will post the script after I’ve cleaned it up a bit and added a few more comments to it. The script is basically a culmination of different sources including some of the picroft scripts.


#12

If you have any more info on this that would be great as I want to use a RPI4 with your new scripts and also install the aiml skill so can progress even further for a home assistant we have been wanting to build.


#13

Here is the link to the script on Github. I’ve used it twice on a rpi4+ after a fresh install of raspbian buster and setting up ssh and wifi. Took about 18 minutes from script start to completion and reboot without building mimic. After first reboot mycroft will start and you may have to use the cli interface to get the pairing code. After pairing is complete and a second reboot everything should start up and the finished booting skill should alert you that its done booting.

Note: An “error” will display during the script for both the finished booting and respeaker skill install because the skill.json file doesn’t exist yet, it can be ignored.

https://github.com/arraylabs/mycroft_install_script


Planning Picroft with ReSpeaker 6-Mic Circular Array
#14

3 months gone… Any results from the other team members?

It would be really nice if you can do a little compare between:
rpi 3b - 1GB LPDDR2 SDRAM & BCM2837B0 Cortex-A53 @ 1.4GHz
rbi4 - 1GB LPDDR4-2400 SDRAM & BCM2711 Cortex-A72 @ 1.5GHz
rbi4 - 2GB LPDDR4-2400 SDRAM & BCM2711 Cortex-A72 @ 1.5GHz
rbi4 - 4GB LPDDR4-2400 SDRAM & BCM2711 Cortex-A72 @ 1.5GHz

Specialy the reaction time of mycroft and some comparable actions like play a song from spotify-skill.

This would be really good to know.


#15

From the Mattermost - Picroft channel;

ANNOUNCEMENT: Picroft for Buster is ready for testing!
I have created a Buster branch of the Picroft scripts. This is for use with the Raspbian Buster Lite image. I’ve also uploaded a prebuilt image which you can just burn to an SD and run on your Pi 3/3B+/4 – yes that’s right, it supports the Pi 4 now.

There are a few other minor changes in scripts, but nothing huge. You can see the code on the repo (look at the repo link at the top of this chat). The prebuilt image is the “unstable” one (see the “Unstable Image” link at the top).
For the lazy, the download link is: https://mycroft.ai/to/picroft-unstable

Please let me know how this works for you!

So, if you have a rpi4 you could give it a go.