Datenheld / Bulldog

Bulldog is a GPIO API for the Beaglebone Black written in Java
Apache License 2.0
38 stars 36 forks source link

cubieboard support #3

Closed eschava closed 10 years ago

Datenheld commented 10 years ago

Hi eschava, thank you very much for your work. I'll merge it right away into the master. Unfortunatelly I have no Cubieboard and cannot test it. Does it support I2C, SPI or UARTs?

If you want to continue working on this, please fork it from Devline2 once I have reviewed the changes and set it up properly. This is the development branch for Verion-0.1.1, which will change some minor things. Also I am playing with the thought of providing just configuration files for boards that don't need a platform specific implementation. That would ease board integration a lot if you don't need custom behaviour.

eschava commented 10 years ago

Thanks you for your project. Initially I started with adopting PI4J for Cubieboard but its architecture is too connected with Raspberry so it's good I've found your project

I've sent one more pull request because one accidental change added by my IDE (Intellij IDEA) was added

I got my Cubieboard couple days ago and now only checking how GPIO (sync and async) works . Even do not know what I2C, SPI or UARTs are :)

I'm agree about configuration files because GPIO pins on CB are not static and could be reconfigured by user. Also it has 3 versions (Cubieboard, Cubieboard2 and Cubieboard3 aka Cubietruck) having different hardware pins. So there should be ability to add new pins by user from some configuration file

Datenheld commented 10 years ago

Hi eschava,

I am glad that people like you are working on it. :-)

I have merged it into the master and the build seems to be ok now.

Please refrain from any more changes until I have merged it into Devline2 - it will have some small but necessary improvements and also minor interface changes. I'll inform you once I have finished the merge. Meanwhile, you can try the master again and check if it works properly, that really be great.

For me, some questions remain: Which Linux Distribution do you use on the Cubieboard? I need to know that so I can put the Download (with honorable mentions) on the website.

Kind regards, Datenheld aka Bulldog

2014-08-25 10:46 GMT+02:00 eschava notifications@github.com:

Thanks you for your project. Initially I started with adopting PI4J for Cubieboard but its architecture is too connected with Raspberry so it's good I've found your project

I've sent one more pull request because one accidental change added by my IDE (Intellij IDEA) was added

I got my Cubieboard couple days ago and now only checking how GPIO (sync and async) works . Even do not know what I2C, SPI or UARTs are :)

I'm agree about configuration files because GPIO pins on CB are not static and could be reconfigured by user. Also it has 3 versions (Cubieboard, Cubieboard2 and Cubieboard3 aka Cubietruck) having different hardware pins. So there should be ability to add new pins by user from some configuration file

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53240821.

eschava commented 10 years ago

I have Cubietruck (Cubieboard3) and use Cubian (special version of Debian for CB). Current version is R5 for A20

cubie@Cubian:~$ cat /etc/issue Debian GNU/Linux 7 cubie@Cubian:~$ uname -a Linux Cubian 3.4.75-sun7i #36 SMP PREEMPT Mon Feb 10 02:47:28 CST 2014 armv7l GNU/Linux

Datenheld commented 10 years ago

Thanks for the info. I will conduct some tests to verify that the API has not been broken yet and then merge it into the Verison-0.1.0 and put it on the website once you confirm that GPIO from master is working on the Cubieboard :-)

2014-08-25 11:34 GMT+02:00 eschava notifications@github.com:

I have Cubietruck (Cubieboard3) and use Cubian (special version of Debian for CB). Current version is R5 for A20

cubie@Cubian:~$ cat /etc/issue Debian GNU/Linux 7 cubie@Cubian:~$ uname -a Linux Cubian 3.4.75-sun7i #36 SMP PREEMPT Mon Feb 10 02:47:28 CST 2014 armv7l GNU/Linux

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53244917.

Datenheld commented 10 years ago

Just wanted to let you know, I am currently adding the native library config for the Cubieboard v3 (Allwinner A20 arm cortex a7). I'll update you once a build is online.

2014-08-25 11:37 GMT+02:00 Sam Fisher datenheld@gmail.com:

Thanks for the info. I will conduct some tests to verify that the API has not been broken yet and then merge it into the Verison-0.1.0 and put it on the website once you confirm that GPIO from master is working on the Cubieboard :-)

2014-08-25 11:34 GMT+02:00 eschava notifications@github.com:

I have Cubietruck (Cubieboard3) and use Cubian (special version of Debian

for CB). Current version is R5 for A20

cubie@Cubian:~$ cat /etc/issue Debian GNU/Linux 7 cubie@Cubian:~$ uname -a Linux Cubian 3.4.75-sun7i #36 SMP PREEMPT Mon Feb 10 02:47:28 CST 2014 armv7l GNU/Linux

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53244917.

Datenheld commented 10 years ago

Can you please conduct a test with this distribution: https://github.com/Datenheld/Bulldog/raw/Version-0.1.0/dist/Version-0.1.0/bulldog.cubieboard/bulldog.cubieboard-0.1.0.zip

2014-08-25 11:54 GMT+02:00 Sam Fisher datenheld@gmail.com:

Just wanted to let you know, I am currently adding the native library config for the Cubieboard v3 (Allwinner A20 arm cortex a7). I'll update you once a build is online.

2014-08-25 11:37 GMT+02:00 Sam Fisher datenheld@gmail.com:

Thanks for the info. I will conduct some tests to verify that the API has

not been broken yet and then merge it into the Verison-0.1.0 and put it on the website once you confirm that GPIO from master is working on the Cubieboard :-)

2014-08-25 11:34 GMT+02:00 eschava notifications@github.com:

I have Cubietruck (Cubieboard3) and use Cubian (special version of Debian

for CB). Current version is R5 for A20

cubie@Cubian:~$ cat /etc/issue Debian GNU/Linux 7 cubie@Cubian:~$ uname -a Linux Cubian 3.4.75-sun7i #36 SMP PREEMPT Mon Feb 10 02:47:28 CST 2014 armv7l GNU/Linux

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53244917.

eschava commented 10 years ago

Yes, it works

Datenheld commented 10 years ago

Hi eschava,

I have merged all the changes into the master and Devline2. If you want to continue working on the Cubieboard, please use Devline2 (it has not yet been merged with the master), as it will be used for the next release.

2014-08-25 12:00 GMT+02:00 Sam Fisher datenheld@gmail.com:

Can you please conduct a test with this distribution:

https://github.com/Datenheld/Bulldog/raw/Version-0.1.0/dist/Version-0.1.0/bulldog.cubieboard/bulldog.cubieboard-0.1.0.zip

2014-08-25 11:54 GMT+02:00 Sam Fisher datenheld@gmail.com:

Just wanted to let you know, I am currently adding the native library

config for the Cubieboard v3 (Allwinner A20 arm cortex a7). I'll update you once a build is online.

2014-08-25 11:37 GMT+02:00 Sam Fisher datenheld@gmail.com:

Thanks for the info. I will conduct some tests to verify that the API has

not been broken yet and then merge it into the Verison-0.1.0 and put it on the website once you confirm that GPIO from master is working on the Cubieboard :-)

2014-08-25 11:34 GMT+02:00 eschava notifications@github.com:

I have Cubietruck (Cubieboard3) and use Cubian (special version of

Debian for CB). Current version is R5 for A20

cubie@Cubian:~$ cat /etc/issue Debian GNU/Linux 7 cubie@Cubian:~$ uname -a Linux Cubian 3.4.75-sun7i #36 SMP PREEMPT Mon Feb 10 02:47:28 CST 2014 armv7l GNU/Linux

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53244917.

Datenheld commented 10 years ago

It's online: http://www.libbulldog.org/bulldog/downloads

It'd be great if you continued working on it, as the Cubieboard has so many features! ADC, I2C, PWM etc.

If you like to do that, I'll gladly assist you.

2014-08-25 12:54 GMT+02:00 eschava notifications@github.com:

Yes, it works

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53250826.

eschava commented 10 years ago

Thanks!

Minor things:


Thanks, Eugene

On Mon, Aug 25, 2014 at 2:04 PM, Datenheld notifications@github.com wrote:

It's online: http://www.libbulldog.org/bulldog/downloads

It'd be great if you continued working on it, as the Cubieboard has so many features! ADC, I2C, PWM etc.

If you like to do that, I'll gladly assist you.

2014-08-25 12:54 GMT+02:00 eschava notifications@github.com:

Yes, it works

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53250826.

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53251470.

Datenheld commented 10 years ago

Hi eschava,

done :-)

You can send me a pull request again anytime :-)

2014-08-25 13:18 GMT+02:00 eschava notifications@github.com:

Thanks!

Minor things:

  • my login is "eschava" (no n at the end)
  • Cubieboard 3 is mostly known as Cubietruck so please better use "Cubietruck (Cubieboard3)" notation
  • I think need to note that tested version of Cubian is for Cubietruck (Cubieboard2 also uses R5 for A20 but other build)

Thanks, Eugene

On Mon, Aug 25, 2014 at 2:04 PM, Datenheld notifications@github.com wrote:

It's online: http://www.libbulldog.org/bulldog/downloads

It'd be great if you continued working on it, as the Cubieboard has so many features! ADC, I2C, PWM etc.

If you like to do that, I'll gladly assist you.

2014-08-25 12:54 GMT+02:00 eschava notifications@github.com:

Yes, it works

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53250826.

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53251470.

— Reply to this email directly or view it on GitHub https://github.com/Datenheld/Bulldog/pull/3#issuecomment-53252320.