wyolum / alamode

Code, test code, and examples for the Alamode Arduino Compatible add on for Raspberry Pi.
34 stars 24 forks source link

Need new setup for Stretch? #3

Open kaljade opened 7 years ago

kaljade commented 7 years ago

Hi there,

It would appear that the Jessie setup does not work on Stretch, so perhaps they have changed something that has broken it.

Is there any ETA on a Stretch version?

Cheers,

Kal

osbock commented 7 years ago

I'll take a look at it. The basic steps are:

  1. disable serial console and login
  2. install arduino
  3. run our patch script that replaces avrdude with an alamode compatible version. It's not too hard to do those steps manually if you have instructions for stretch.

On Sat, Sep 2, 2017 at 7:01 PM, Kalsta notifications@github.com wrote:

Hi there,

It would appear that the Jessie setup does not work on Stretch, so perhaps they have changed something that has broken it.

Is there any ETA on a Stretch version?

Cheers,

Kal

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wyolum/alamode/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCEZwqkfE3_54lqLRfdjxdHF2NmOW3Pks5sed44gaJpZM4PLCLt .

kaljade commented 7 years ago

Hi there,

Thanks for getting back to me so quickly!

On the same hardware, with the same config, but with Jessie on one SD card and Stretch on another, here's the logs for both:

Jessie.txt Stretch.txt

Hopefully this helps?

Cheers,

Kal

kaljade commented 7 years ago

Also these were the install steps on both Jessie and Stretch:

sudo apt-get update
sudo apt-get install arduino
sudo apt-get install dos2unix
wget https://github.com/wyolum/alamode/raw/master/bundles/alamode-setup.tar.gz
tar -xvzf alamode-setup.tar.gz
cd alamode-setup
sudo dos2unix jessie-setup
sudo ./jessie-setup
sudo nano /boot/config.txt 
enable_uart=1
osbock commented 7 years ago

I'm travelling, but I happen to have a Raspi, but not an alamode, but I think I've figured it out. they changed the name of the serialport in cmdline.txt. getty is now disabled by default, so I also commented that out. download stretch-setup from https://raw.githubusercontent.com/wyolum/alamode/master/alamode-setup/stretch-setup (e.g.: wget https://raw.githubusercontent.com/wyolum/alamode/master/alamode-setup/stretch-setup

) into the alamode-setup directory, and run it sudo: cd alamode-setup sudo ./stretch-setup reboot. Let me know if it works or not. I'll have access to an alamode this weekend, so I can do more testing.

On Sun, Sep 3, 2017 at 6:20 PM, Kalsta notifications@github.com wrote:

Also these were the install steps on both Jessie and Stretch:

sudo apt-get update sudo apt-get install arduino sudo apt-get install dos2unix wget https://github.com/wyolum/alamode/raw/master/bundles/alamode-setup.tar.gz tar -xvzf alamode-setup.tar.gz cd alamode-setup sudo dos2unix jessie-setup sudo ./jessie-setup

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wyolum/alamode/issues/3#issuecomment-326834997, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCEZzjC9nIJPkcig9mvUPqyYyx_dyQiks5seyYRgaJpZM4PLCLt .

kaljade commented 7 years ago

Thanks Kevin, really appreciate you looking into this whilst abroad!

I'll give it a test tonight and report back to you.

Cheers,

Kal

kaljade commented 7 years ago

Hi Kevin,

It looks like we are getting some two way communication now, but it fails before it finishes (see attached log).

Cheers,

Kal stretch2.txt

kaljade commented 7 years ago

Not sure if this helps, but I've attached the sketch I've been trying to upload (I had to convert it to .txt because .ino files not allowed).

Cheers,

Kal raspberrypints.txt