Spaces:
Sleeping
Sleeping
MiloSobral
commited on
Commit
•
e0ec86c
1
Parent(s):
7b872cb
Minor fixes to the installation instructions
Browse files- PortiloopV2.md +4 -3
- installation.sh +12 -16
PortiloopV2.md
CHANGED
@@ -9,13 +9,14 @@ These first steps will help you set up an SSH connection to the device.
|
|
9 |
- Power up the board through the USB power port.
|
10 |
- Connect another USB cable to the OTG-port on the board and to your _linux_ host machine. Follow the following steps to connect to the board through serial:
|
11 |
- `ls /dev/ttyMC*`
|
12 |
-
- `screen /dev/
|
13 |
If you see a message telling you that screen is busy, you can use `sudo lsof /dev/ttyMC0` and then retry the screen step.
|
14 |
- Login to the board using default username and password: mendel
|
15 |
- Once you are logged in, you can now connect to you desired wifi network using nmtui.
|
16 |
- If you want to access the board through ssh (which is recommended for any sort of development):
|
17 |
-
|
18 |
-
|
|
|
19 |
Once all of that is done, you should be able to ssh into your device, using either the ip address or the hostname. If some issues arise, make sure you are connected to the same network.
|
20 |
|
21 |
## Dependencies
|
9 |
- Power up the board through the USB power port.
|
10 |
- Connect another USB cable to the OTG-port on the board and to your _linux_ host machine. Follow the following steps to connect to the board through serial:
|
11 |
- `ls /dev/ttyMC*`
|
12 |
+
- `screen /dev/ttyACM0`
|
13 |
If you see a message telling you that screen is busy, you can use `sudo lsof /dev/ttyMC0` and then retry the screen step.
|
14 |
- Login to the board using default username and password: mendel
|
15 |
- Once you are logged in, you can now connect to you desired wifi network using nmtui.
|
16 |
- If you want to access the board through ssh (which is recommended for any sort of development):
|
17 |
+
- On the serial console, open the `/etc/ssh/sshd_config` file.
|
18 |
+
- Scroll down to the `PasswordAuthenticated` line and change the 'no' to a 'yes'.
|
19 |
+
- Reboot the device.
|
20 |
Once all of that is done, you should be able to ssh into your device, using either the ip address or the hostname. If some issues arise, make sure you are connected to the same network.
|
21 |
|
22 |
## Dependencies
|
installation.sh
CHANGED
@@ -1,25 +1,21 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
# echo "Installing latest pycoral and tflite-runtime..."
|
9 |
-
# wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/pycoral-2.0.0-cp37-cp37m-linux_aarch64.whl
|
10 |
-
# wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/tflite_runtime-2.5.0.post1-cp37-cp37m-linux_aarch64.whl
|
11 |
-
# pip3 uninstall tflite-runtime
|
12 |
-
# pip3 uninstall pycoral
|
13 |
-
# pip3 install tflite_runtime-2.5.0.post1-cp37-cp37m-linux_aarch64.whl
|
14 |
-
# pip3 install pycoral-2.0.0-cp37-cp37m-linux_aarch64.whl
|
15 |
-
# echo "done"
|
16 |
|
17 |
-
echo "
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
19 |
echo "done"
|
20 |
|
21 |
echo "Installing the dependencies... [This may take a while]"
|
22 |
-
|
23 |
echo "done"
|
24 |
|
25 |
echo "Activating the widgets for the jupyter notebook..."
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
echo "Installing dependencies with apt-get..."
|
4 |
+
sudo apt-get update
|
5 |
+
sudo apt-get install -y python3-matplotlib python3-scipy python3-dev libasound2-dev jupyter-notebook jupyter
|
6 |
+
echo "done"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
+
echo "Installing latest pycoral and tflite-runtime..."
|
9 |
+
wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/pycoral-2.0.0-cp37-cp37m-linux_aarch64.whl
|
10 |
+
wget https://github.com/google-coral/pycoral/releases/download/v2.0.0/tflite_runtime-2.5.0.post1-cp37-cp37m-linux_aarch64.whl
|
11 |
+
pip3 uninstall tflite-runtime
|
12 |
+
pip3 uninstall pycoral
|
13 |
+
pip3 install tflite_runtime-2.5.0.post1-cp37-cp37m-linux_aarch64.whl
|
14 |
+
pip3 install pycoral-2.0.0-cp37-cp37m-linux_aarch64.whl
|
15 |
echo "done"
|
16 |
|
17 |
echo "Installing the dependencies... [This may take a while]"
|
18 |
+
pip3 install -e .
|
19 |
echo "done"
|
20 |
|
21 |
echo "Activating the widgets for the jupyter notebook..."
|