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

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

Open
kendallgreen opened this issue Sep 13, 2015 · 5 comments
Open

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

kendallgreen opened this issue Sep 13, 2015 · 5 comments

Comments

@kendallgreen
Copy link

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.

@ektor5
Copy link

ektor5 commented Sep 13, 2015

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

@TomFreudenberg
Copy link
Owner

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

@ektor5
Copy link

ektor5 commented Sep 13, 2015

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 notifications@github.com:

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
#5 (comment)
.

Ettore Chimenti

Cell: 333-1754004
Skype: ektor-5

@TomFreudenberg
Copy link
Owner

Hi @ektor5

Did you also update the Arduino Dev Environment to 1.6.5?

Thanks
Tom

@ektor5
Copy link

ektor5 commented Sep 14, 2015

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

Ek5

2015-09-14 13:12 GMT+02:00 Tom Freudenberg notifications@github.com:

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
#5 (comment)
.

Ettore Chimenti

Cell: 333-1754004
Skype: ektor-5

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

3 participants