udoo-arduino-cli icon indicating copy to clipboard operation
udoo-arduino-cli copied to clipboard

/sys/class/gpio/gpio0/direction: No such file or directory

Open kendallgreen opened this issue 8 years ago • 5 comments

I downloaded the binary for raspberry pi, beaglebone black and dpkg - it on my udoo dual with udoobuntu v2 However I got this error. Previously, it had worked fine on udoo with earlier ubuntu's. The error is in lines 443-447 of /usr/local/bin/udoo-arduino-build.

kendallgreen avatar Sep 13 '15 12:09 kendallgreen

I'm sorry, but this tool is actually not compatible with kernel 3.14.28 and then, with udoobuntu 2. To make it work, please use the new version of UDOO bossac, available here: https://github.com/UDOOboard/bossac

Regards

ektor5 avatar Sep 13 '15 12:09 ektor5

Hi @kendallgreen and @ektor5

thanks for using that stuff here. Great to here that it is senseful fro someone else!

Ok, I have not yet worked on UDOObuntu v2 BETA. What is the base operating environment? (L)Ubuntu 14.04 LTS or something different?

If the problem occurs on source lines 439-449 it depends on a changed gpio class naming.

I had rewritten this reset function in the latest branches to get a stable reset by setting the lines.

I will download the BETA within the next days an check what is new.

@ektor5 - is the new bossac mandatory and will it work on v1,1 as well?

Cheers Tom

TomFreudenberg avatar Sep 13 '15 17:09 TomFreudenberg

Unfortunately, not.

We've heavily modified the bossac driver in the kernel, now the gpios are reserved to the driver. You have to check whatever /dev/udoo_ard is present, and choose the right bossac, if you are inside UDOO. This way you can be retrocompatible.

Really nice work! Ek5

PS: the base is from Ubuntu 14.04.3 LTS, it's debootstrapped from this script: https://github.com/UDOOboard/mkudoobuntu Hope you enjoy!

2015-09-13 19:12 GMT+02:00 Tom Freudenberg [email protected]:

Hi @kendallgreen https://github.com/kendallgreen and @ektor5 https://github.com/ektor5

thanks for using that stuff here. Great to here that it is senseful fro someone else!

Ok, I have not yet worked on UDOObuntu v2 BETA. What is the base operating environment? (L)Ubuntu 14.04 LTS or something different?

If the problem occurs on source lines 439-449 https://github.com/TomFreudenberg/udoo-arduino-cli/blob/master/usr/local/lib/udoo-arduino-cli/tools/udoo-arduino-build#L439-L449 it depends on a changed gpio class naming.

I had rewritten this reset function in the latest branches to get a stable reset by setting the lines.

I will download the BETA within the next days an check what is new.

@ektor5 https://github.com/ektor5 - is the new bossac mandatory and will it work on v1,1 as well?

Cheers Tom

— Reply to this email directly or view it on GitHub https://github.com/TomFreudenberg/udoo-arduino-cli/issues/5#issuecomment-139896297 .

Ettore Chimenti

Cell: 333-1754004 Skype: ektor-5

ektor5 avatar Sep 13 '15 17:09 ektor5

Hi @ektor5

Did you also update the Arduino Dev Environment to 1.6.5?

Thanks Tom

TomFreudenberg avatar Sep 14 '15 11:09 TomFreudenberg

Yep, https://github.com/ektor5/Arduino/tree/udoo3.14

Ek5

2015-09-14 13:12 GMT+02:00 Tom Freudenberg [email protected]:

Hi @ektor5 https://github.com/ektor5

Did you also update the Arduino Dev Environment to 1.6.5?

Thanks Tom

— Reply to this email directly or view it on GitHub https://github.com/TomFreudenberg/udoo-arduino-cli/issues/5#issuecomment-140041850 .

Ettore Chimenti

Cell: 333-1754004 Skype: ektor-5

ektor5 avatar Sep 14 '15 11:09 ektor5