- Posts: 2419
- Thank you received: 2349
Lets get Ethercat into the Linuxcnc distribution. Need technical people to help
- Grotius
- Offline
- Platinum Member
-
Less
More
4 years 7 months ago - 4 years 7 months ago #238814
by Grotius
Replied by Grotius on topic Lets get Ethercat into the Linuxcnc distribution. Need technical people to help
Attached example how to create .deb archives.
For shipping the examples i compressed to tar.gz archive :
To build a tar.gz package : $ tar -czvf archive.tar.gz archive
Step 1. Download attachment and unpack it.
You will get a dir (including subdirs and a few files inside) and a .deb file.
Okey sniff into the testpackage dir and look how the files structure is.
To build a .deb package in topdir : $ sudo dpkg-deb --build testpackage
Then to install : $ sudo dpkg -i testpackage.deb
Terminal output :
Preparing to unpack testpackage.deb ...
Unpacking testpackage (1.0.0) ...
Setting up testpackage (1.0.0) ...
I am working on a information and guide to install linuxcnc + ethercat for "sparc" architecture.
Now I do not have board with this processor, source of OS and RT-kernel - but will be soon.
+ PS Is it possible to build linuxcnc + ethercat on jetson xavier nx
docs.nvidia.com/jetson/l4t/index.html#pa...ide/flashing.html#-IPathname of the initrd file. The default value is null.-K Pathname of a kernel image file such as zImage or Image.-L Pathname of a Bootloader such as cboot.bin or u-boot-dtb.bin.
This kind of stuff is also used when construction linux distro's.
I suggest you can install a linux distro at once, or upload the distro in pieces. After that you can install lcnc as usual.
For shipping the examples i compressed to tar.gz archive :
To build a tar.gz package : $ tar -czvf archive.tar.gz archive
Step 1. Download attachment and unpack it.
You will get a dir (including subdirs and a few files inside) and a .deb file.
Okey sniff into the testpackage dir and look how the files structure is.
To build a .deb package in topdir : $ sudo dpkg-deb --build testpackage
Then to install : $ sudo dpkg -i testpackage.deb
Terminal output :
Preparing to unpack testpackage.deb ...
Unpacking testpackage (1.0.0) ...
Setting up testpackage (1.0.0) ...
I am working on a information and guide to install linuxcnc + ethercat for "sparc" architecture.
Now I do not have board with this processor, source of OS and RT-kernel - but will be soon.
+ PS Is it possible to build linuxcnc + ethercat on jetson xavier nx
docs.nvidia.com/jetson/l4t/index.html#pa...ide/flashing.html#-I
This kind of stuff is also used when construction linux distro's.
I suggest you can install a linux distro at once, or upload the distro in pieces. After that you can install lcnc as usual.
Last edit: 4 years 7 months ago by Grotius.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
Less
More
- Posts: 1111
- Thank you received: 114
4 years 6 months ago #239584
by bkt
Replied by bkt on topic Lets get Ethercat into the Linuxcnc distribution. Need technical people to help
returning on licensig args .... never uderstand why developper abandoned ubuntu for debian .... my opinion was: more strict was the open license more bigger businnes of bigger brands.
A right solution can be qt model licensing .... so lpg2 was enought strict and permit some "businnes exception" like ubuntu do.
So why so hard debian way? why not mint (because ubuntu seems to be not appreciate from dev in general) ..... because not think debian group can change licensing model ...... about fedora ... some industrial dev not love at all ..... why? not know because never use.... anyhow, my time is very little but because ethercat give me more i'm happy to help if i'can in some manner (my ability was little).
About etg group ... essentially was maketing ... so only really advantage was free of use of ethercat logo. Sorry but I'm an admirer of the harsh reality.
As db1981 says .... for distribution based on etherlab master is enought permission of etherlab .... because we are correct person, and we prefer a correct world.
But nobody forbids us to do it all over again adapting it better to lcnc Grotius format .... that can be named GLinuxcnc
)
regards
bkt
A right solution can be qt model licensing .... so lpg2 was enought strict and permit some "businnes exception" like ubuntu do.
So why so hard debian way? why not mint (because ubuntu seems to be not appreciate from dev in general) ..... because not think debian group can change licensing model ...... about fedora ... some industrial dev not love at all ..... why? not know because never use.... anyhow, my time is very little but because ethercat give me more i'm happy to help if i'can in some manner (my ability was little).
About etg group ... essentially was maketing ... so only really advantage was free of use of ethercat logo. Sorry but I'm an admirer of the harsh reality.
As db1981 says .... for distribution based on etherlab master is enought permission of etherlab .... because we are correct person, and we prefer a correct world.
But nobody forbids us to do it all over again adapting it better to lcnc Grotius format .... that can be named GLinuxcnc
regards
bkt
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
4 years 6 months ago #239611
by rodw
Replied by rodw on topic Lets get Ethercat into the Linuxcnc distribution. Need technical people to help
The migration to Debian before my time was due to Ubuntu's lawyers refusing to allow Linuxcnc to distribute ISOs in terms of their license..
It really is academic now to discuss other platforms as all going well in about 5 days Linuxcnc master will be in the Debian Testing branch which will become Bookworm version 12 on the next release.
Ultimately this will mean linuxcnc will end up in Mint and other Debian based distros when they eventually adopt the Bookworm repos.
So with the IgH Ethercat repos being available and tested as working by a few now, the only code to compile is Sittner's ethercat driver. So with the patches now in master branch, our efforts should be turned to making it a deb for a truly codeless install and getting it into Debian...
It really is academic now to discuss other platforms as all going well in about 5 days Linuxcnc master will be in the Debian Testing branch which will become Bookworm version 12 on the next release.
Ultimately this will mean linuxcnc will end up in Mint and other Debian based distros when they eventually adopt the Bookworm repos.
So with the IgH Ethercat repos being available and tested as working by a few now, the only code to compile is Sittner's ethercat driver. So with the patches now in master branch, our efforts should be turned to making it a deb for a truly codeless install and getting it into Debian...
The following user(s) said Thank You: tommylight, Unlogic
Please Log in or Create an account to join the conversation.
- bkt
- Offline
- Platinum Member
-
Less
More
- Posts: 1111
- Thank you received: 114
4 years 6 months ago #239724
by bkt
Replied by bkt on topic Lets get Ethercat into the Linuxcnc distribution. Need technical people to help
really ubuntu lawyers moove for that?? ... seems really absurds .... but if they did ... they did.
But you are at the end of work think my help is too late ... or not?
regards
But you are at the end of work think my help is too late ... or not?
regards
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
4 years 6 months ago #239726
by rodw
Replied by rodw on topic Lets get Ethercat into the Linuxcnc distribution. Need technical people to help
A couple of ways to help.
If you knew how to (or could learn how to) build a deb file, fork sittners repo github.com/sittner/linuxcnc-ethercat and package that in a way it could be included into Linuxcnc or Debian... I was planning to try to learn how to do this.
I have started on a custom homing module for cia402 drives with sqmathelete. I'm trying to base it on Dominic'a cia402.comp github.com/dbraun1981/hal-cia402 .
We are using then new homecomp user buildable homing modules.
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
Its nowhere near working but I put what I've done to date on git hub here earlier today.
github.com/rodw-au/ciahome
We have not added any of the homing stuff yet, just trying to get the rest of the structure right on the cia402 side. Help here would be another avenue to help the cause...
If you knew how to (or could learn how to) build a deb file, fork sittners repo github.com/sittner/linuxcnc-ethercat and package that in a way it could be included into Linuxcnc or Debian... I was planning to try to learn how to do this.
I have started on a custom homing module for cia402 drives with sqmathelete. I'm trying to base it on Dominic'a cia402.comp github.com/dbraun1981/hal-cia402 .
We are using then new homecomp user buildable homing modules.
linuxcnc.org/docs/devel/html/man/man9/homecomp.9.html
Its nowhere near working but I put what I've done to date on git hub here earlier today.
github.com/rodw-au/ciahome
We have not added any of the homing stuff yet, just trying to get the rest of the structure right on the cia402 side. Help here would be another avenue to help the cause...
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
4 years 6 months ago #239789
by andypugh
The actual problem was that Ubuntu's conditions changed to require that _all_ Ubuntu branding was removed from a distribution such as ours. But they wouldn't provide any guidance to which files were "branded" so it was basically impossible to comply.
Replied by andypugh on topic Lets get Ethercat into the Linuxcnc distribution. Need technical people to help
really ubuntu lawyers moove for that?? ... seems really absurds
The actual problem was that Ubuntu's conditions changed to require that _all_ Ubuntu branding was removed from a distribution such as ours. But they wouldn't provide any guidance to which files were "branded" so it was basically impossible to comply.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.780 seconds