Aiyprojects-raspbian: Current image (2018-02-31) does not work with Raspberry Pi 3 B+

Created on 17 Mar 2018  路  31Comments  路  Source: google/aiyprojects-raspbian

Current image can't boot on RPi3B+ (rainbow screen, power led off, act led blinking in patern).
I think that kernel is too old ...

Most helpful comment

I worked around the issue by putting the SD card into an older raspberry pi and using 'apt-get update' and 'apt-get upgrade' to update rapbian to the latest version.
The AIY kit itself now boots up correctly on the 3B+, only the microphone doesn't work. I can't verify if that's a hardware issue or software issue yet.

All 31 comments

I have the same issue with my one.
This explains the reason why.
https://www.raspberrypi.org/forums/viewtopic.php?t=58151
I hope this gets updated/patched soon

Same issue here, hope it gets updated soon. I just assembled my AIY with a brand new 3B+ board and it won't boot up...

I just noticed that this was an option. I am going to give it a shot and see how it goes.
https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/HACKING.md

@MithicalM As a heads up, some users have reported problems with HACKING.md and the latest code, eg https://github.com/google/aiyprojects-raspbian/issues/309. We'd be grateful if you could report any issues or workarounds you find!

I worked around the issue by putting the SD card into an older raspberry pi and using 'apt-get update' and 'apt-get upgrade' to update rapbian to the latest version.
The AIY kit itself now boots up correctly on the 3B+, only the microphone doesn't work. I can't verify if that's a hardware issue or software issue yet.

Retried with a different (older) Raspberry Pi board: microphone does work.

Conclusions:

  • Updating the AIY distro from raspbian 2.1 to 2.3 might allow it to boot up on a 3B+
  • The 3B+ with the updated distro doesn't support the microphone yet.

@jverelst it is a software issue. i had the same issue on two boards!

Hello,
I have the same issue with a Raspberry Pi 3B+, I can't boot and since it's my only board I don't have any solution.
Do you know how often the code is updated ?
Thank you.

I managed to get it working using this guys tutorial. https://github.com/shivasiddharth/GassistPi

Noooo... Bought the kit and a 3 b+

  • and it's not working!

Stuck on the rainbow screen.. thought it was backwards compatible... :-/

Same here. I got the kit and Raspberry3 B+ and it's doesn't boot.

I noticed there are new kits and new image file available at https://dl.google.com/dl/aiyprojects/aiyprojects-latest.img.xz. The actual file downloaded is aiyprojects-2018-04-13.xz. Has anyone tried the new image out to see if it resolves this problem? I'm at work right now.
Cross posting with issue #309 as this is probably relevant to both bugs.

@str8edgedave It ought to, although I haven't tried it myself. Good luck!

Using the 2.0 voice bonnet, I've tried the 2018-04-13 image and it boots fine on both a rpi3b+, rpi2b and zero w. I noticed on all 3 that:

  • Audio and microphone work fine.
  • assistant_grpc_demo.py works.
  • The assistant library ones just seem to hang and do nothing (except for pi zero where this is not supprted).
  • alsamixer works to change volume but it's a quite low, even at 100%.

I tried using the latest raspbian image as of today (2018-04-18) on rpi3b+ and it worked. I used the latest version of the aiyprojects branch of this repo but included the scripts/install-deps.sh script from the commit "c5745ec" (https://github.com/google/aiyprojects-raspbian/blob/c5745ec6cbde0a2269ca2c6e2ba02f0538bbc926/scripts/install-deps.sh). The script is needed to create the python environment "env".

I had no luck with an AIY 1.0 kit on a 3B+ using aiyprojects-2018-04-13.xz -- Got past the rainbow screen to 4 raspberries but just a cursor at the top. Also struck out following hacking.md on a fresh install of raspbian. Will have to try the install-deps.sh script and see how that works.

I have AIY 1.0 and raspi 3B+ using aiy-projects-281804.xz and it's not booting either. I am getting to the 4 raspberries and one _ ticking just below, but it stays like that indefinitely.

The combo that worked for me was:

  • AIY Voice Kit 1.0 (2017)
  • pi3B+
  • latest raspbian image (2018-04-18)
  • latest version of this repo (branch aiyprojects)
  • Include scripts/install-deps.sh from the commit "c5745ec" (https://github.com/google/aiyprojects-raspbian/blob/c5745ec6cbde0a2269ca2c6e2ba02f0538bbc926/scripts/install-deps.sh)
  • Follow the instructions listed in the latest HACKING.md (which still includes a reference to scripts/install-deps.sh)

@theochva I tried this, but now I have the same problem as referenced in issue #309 .
When I tried to check_audio.py the error message "ImportError: No module named 'aiy'". Then I used "source env/bin/activate" and when I try check_audio.py now I get the message "Failed to find the voiceHAT soundcard"

Looking at what i did in more detail, i see this:

  • cloned the repo in ~/AIY-projects-python
  • created /tmp/install-deps.sh (from the older commit)

    • in one of my attempts, i also edited install-deps.sh, but i am not sure if this was the time

    • Changed env/bin/pip install google-assistant-library==0.1.0 to env/bin/pip install google-assistant-library

  • copied /tmp/install-deps.sh into ~/AIY-projects-python/scripts
  • ran:
    cd ~/AIY-projects-python scripts/install-deps.sh sudo scripts/install-alsa-config.sh env/bin/python checkpoints/check_audio.py
  • Audio test was successful, so rebooted:
    sudo reboot
  • After the reboot tried the samples

    • I was getting the error described in #309 but after activating the python environment "env" (using source ./env/bin/activate), the samples worked

It seems i did not run scripts/install-services.sh nor do i see them in /lib/systemd/system/. Not sure if that will make a difference. I reloaded the raspbian OS a couple of times and started over before i got it working.

Started over and followed the instructions above (including pulling the old version of install-deps.sh but I get this error:
The voiceHAT not the first sound device, so the voice recognizer may be unable to find it. Please try removing other sound drivers. Press Enter to close...
Was the onboard sound driver supposed to be disabled by one of the included scripts?

pi@raspberrypi-AIY:~/AIY-projects-python $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I followed some steps to disable the sound driver but it resulted in my menu bar disappearing so I reverted.

@theochva I did exactly the same, but did not change install-deps.sh. The furthest I got was as @mattncsu describes: The voiceHAT not the first sound device, so the voice recognizer may be unable to find it. Please try removing other sound drivers. Press Enter to close...
I don't remember exactly which steps I took to get to that result, I changed something afterwards and I don't get as far now.
Also when I edited the boot/config.txt my menubar disappeared too.
I am just gonna try an older image now.

I am thinking what else i had may have done. I know that at some point, i also ran configure-driver.sh (from the old commit) because i see the changes it performs in my /boot/config.txt

This is the "tail" part of my /boot/config.txt file:

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
dtoverlay=i2s-mmap
dtoverlay=googlevoicehat-soundcard

When i run aplay -l this is what i get:

pi@pi3plus:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I also cannot get the 04/13/2018 image to load on 3B+

I also have same problem as above. Latest image 04/13/2018 and a 3B+
Is there any step by step instructions on how to get this going. I tried following the instructions above theochva but I couldnt follow. I am certain many people who have bought this voice kit, and have bought a new PI3B+ would be as frustrated that the software isnt up to date with the latest pi PI3B+
Any help would be appreciated. Trying to get this working for a science project
Thankyou in advance

I had the same problem. I was using a 4GB microSD card and all the procedure seems to be ok, but the bootstrap was blocking with the black screen and the cursor blinking in the left-top corner.
I have the PI3B+ with AIY Voice Kit 1.0 and I downloaded the last OS image: https://dl.google.com/dl/aiyprojects/aiyprojects-latest.img.xz
The solution was very simple: I changed the 4GB microSD card with 16GB one! (probably also a 8GB uSD card is enough)
Now everything works fine.

@Ziocozzo Nice! The problem for me / us must be a little different than yours though because I was on 8gb and 16gb

The weird thing is that I did get the 8gb flash card from the newest vision kit to work on the voice kit. But not the downloaded image.

Good afternoon, I had been told to reimage my SD card too see if the imaging was the problem. The aiyprojects 2018/04/13 image I reimaged with Etcher and it worked perfectly. So using rpi3b+ and V1 google voice kit and it finally worked.
Once I got to the raspbian desktop, went to terminal and done an update
Sudo apt-get update
This updated all systems packages and then my wifi worked. I couldn't get it to work before that.
And finally setup Google api and scripts and my son done the rest of the testing so he can now take in the Google voice for his assignment for school. Cheers

Faced the same with Google voice kit V1 & Raspberry pi 3 B+.
Once I re-do the project with RaspBerry Pi 3 B instead of the B+ the issue solved and the kit booted normally.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PatrickUtz picture PatrickUtz  路  6Comments

noajshu picture noajshu  路  4Comments

t1m0thyj picture t1m0thyj  路  10Comments

vipersgratitude picture vipersgratitude  路  7Comments

pghardy picture pghardy  路  3Comments