Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry pi 3 B+ boot problem #230

Closed
onukadri opened this issue Mar 24, 2018 · 16 comments
Closed

Raspberry pi 3 B+ boot problem #230

onukadri opened this issue Mar 24, 2018 · 16 comments

Comments

@onukadri
Copy link

Prebuilty zipped disk image is not work on Raspberry pi 3 B+. Flashes red light and wont boot.

@wroscoe
Copy link
Contributor

wroscoe commented Mar 24, 2018

wow, you already have one. I'm working on updating the disk image and will post a script here.. https://github.com/wroscoe/donkey/blob/wr/disk_img_script/install/make_pi_disk_img.sh

@onukadri
Copy link
Author

onukadri commented Mar 24, 2018 via email

@onukadri
Copy link
Author

hello again i have been getting this error "ImportError: numpy.core.multiarray failed to import", while using "donkey calibrate --channel 0" this line. i guess something wrong about numpy. i deleted and reinstalled numpy but no solution.

@wroscoe
Copy link
Contributor

wroscoe commented Mar 27, 2018

@onukadri
Copy link
Author

@onukadri
Copy link
Author

Now calibrate is working, my motor and servo are calibrated. however new error while "python manage.py drive" :

tensorflow.python.framework.errors_impl.NotFoundError: /home/pi/env/lib/python3.5/site-packages/tensorflow/contrib/data/python/ops/../../_prefetching_ops.so: undefined symbol: _ZN6google8protobuf8internal26fixed_address_empty_stringB5cxx11E

@wroscoe
Copy link
Contributor

wroscoe commented Mar 27, 2018

It would be helpful to see where in donkey that was getting called. On my Pi B the drive script is working. Haven't tried autopilots yet with this TF 1.5.

@onukadri
Copy link
Author

onukadri commented Mar 27, 2018

https://github.com/lhelontra/tensorflow-on-arm/releases/tag/v1.4.1
tensorflow 1.4.1 works well. thanks

@MoreAJ
Copy link

MoreAJ commented May 13, 2018

Hey guys completely new to Raspberry pi's and donkeycars and im glad to have seen this issue posted. I am having the same issue where the prebuilt zipped disk image is not booting with our Raspberry pi so it is blinking red. Power supply is goood, Wroscoe where can i find a newer/updated version of this file? Or how can i do this properly? I am a complete noob!! Thank you

@chinaq
Copy link

chinaq commented May 16, 2018

I am having the same issue.

@bashbaugh
Copy link
Contributor

here is the updated(for pi b+) disk image. It's is not fully tested yet though, so it might not work.

@meurig
Copy link

meurig commented May 21, 2018

Just to say I was getting a similar but slightly different error:

tensorflow.python.framework.errors_impl.NotFoundError: /home/pi/env/lib/python3.5/site-packages/tensorflow/contrib/data/python/ops/../../_dataset_ops.so: undefined symbol: _ZN6google8protobuf8internal9ArenaImpl10AddCleanupEPvPFvS3_E

Following onukadri's suggestion of uninstalling tensorflow (I was on 1.7.0) and installing tesorflow 1.4.1 fixed it.

pip uninstall tensorflow
tf_file=tensorflow-1.4.1-cp35-none-linux_armv7l.whl
wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.4.1/${tf_file}
pip install ${tf_file}
rm ${tf_file}

I wasn't using an image, but instead installed by using this script as a guide:
https://github.com/wroscoe/donkey/blob/wr/disk_img_script/install/make_pi_disk_img.sh

@bashbaugh
Copy link
Contributor

I used that script too. Almost ready to test, we'll see if it works.... I installed tensorflow 1.7 I think, on raspbian stretch, so I don't know if that will work.

@meurig
Copy link

meurig commented May 22, 2018 via email

@bashbaugh
Copy link
Contributor

bashbaugh commented May 22, 2018

It worked! I successfully installed opencv 3.4.1, tensorflow 1.4.1, and donkey on raspbian stretch(rpi 3b).

@wroscoe
Copy link
Contributor

wroscoe commented Jul 31, 2018

I've taken opencv out of the image. We're going pure tensor! :) Here is the new install script... https://github.com/wroscoe/donkey/blob/dev/install/pi/install.sh

@wroscoe wroscoe closed this as completed Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants