Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-04 Thread Christoph Schroeder

Hi again,

looking at the bottom of the mail, the file still seems to be in the
archive:
http://lists.etherlab.org/pipermail/etherlab-users/attachments/20141112/c165be99/attachment-0001.bin
Rename the file extension into tar.bz2 to extract the data. This
contains the debian folder which you can use to start building dkms
packages based on the 1.5.2 release of the EtherCAT master.

Best regards,
Christoph

On 12/04/2017 11:50 AM, Christoph Schroeder wrote:

Hi,

the komaxgroup did debianize the master as dkms packages (see:
http://lists.etherlab.org/pipermail/etherlab-users/2014/002650.html).
Unfortunately the links from 2014 are already down.

Best regards,
Christoph

On 12/04/2017 01:52 AM, Mike O'Connor wrote:

On 2/12/2017 6:13 AM, Jiarui Lian wrote:

Hi everyone, here is my scenario:

   * I want to cross-compile the IgH EtherCAT Master on powerful linux
 host, as it is faster!
   * (And I finished cross-compile on host: “make, make modules”)
   * Then I want to make an .ipk or .deb packages, to be
 copied/installed on embedded target.
   * So how to make .ipk/.deb package for IgH EtherCAT Master?



Thanks!

Jerry


Hi Jerry

There is a GitHub repo to build deb packages
https://github.com/sittner/ec-debianize

This does not create a dkms package, I'm sure there was work done on
this but I can not find it.

Cheers
Mike
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users





Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher
Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende
Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users





Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. 
Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-04 Thread Christoph Schroeder

Hi,

the komaxgroup did debianize the master as dkms packages (see:
http://lists.etherlab.org/pipermail/etherlab-users/2014/002650.html).
Unfortunately the links from 2014 are already down.

Best regards,
Christoph

On 12/04/2017 01:52 AM, Mike O'Connor wrote:

On 2/12/2017 6:13 AM, Jiarui Lian wrote:

Hi everyone, here is my scenario:

   * I want to cross-compile the IgH EtherCAT Master on powerful linux
 host, as it is faster!
   * (And I finished cross-compile on host: “make, make modules”)
   * Then I want to make an .ipk or .deb packages, to be
 copied/installed on embedded target.
   * So how to make .ipk/.deb package for IgH EtherCAT Master?



Thanks!

Jerry


Hi Jerry

There is a GitHub repo to build deb packages
https://github.com/sittner/ec-debianize

This does not create a dkms package, I'm sure there was work done on
this but I can not find it.

Cheers
Mike
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users





Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. 
Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (kommissarisch), Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-03 Thread Mike O'Connor
On 2/12/2017 6:13 AM, Jiarui Lian wrote:
>
> Hi everyone, here is my scenario:
>
>   * I want to cross-compile the IgH EtherCAT Master on powerful linux
> host, as it is faster!
>   * (And I finished cross-compile on host: “make, make modules”)
>   * Then I want to make an .ipk or .deb packages, to be
> copied/installed on embedded target.
>   * So how to make .ipk/.deb package for IgH EtherCAT Master?
>
>  
>
> Thanks!
>
> Jerry
>
Hi Jerry

There is a GitHub repo to build deb packages
https://github.com/sittner/ec-debianize

This does not create a dkms package, I'm sure there was work done on
this but I can not find it.

Cheers
Mike
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-03 Thread Gavin Lambert
Sorry, that should have been "make modules_install".

 

From: Gavin Lambert
Sent: Monday, 4 December 2017 11:49
To: 'Jiarui Lian' <je...@bertec.com>; etherlab-users@etherlab.org
Subject: Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT
Master?

 

There isn't any built-in support for this.  However it's a fairly standard
autotools package so you can follow generic instructions for building a deb
or whatever from an autotools makefile, for the most part.

 

Bear in mind that you need to make sure to build against the kernel headers
from the target system, which might be different from your development
system.  If the two systems are too far different you might have issues with
shared libraries as well.  Consider building using a cloned chroot of the
target system, although that can bring its own set of hassles.

 

You'll want to read up instructions for building a deb from autotools
elsewhere, but there are two key commands that will end up part of it
somehow:

*   DESTDIR=/some/path make install  (will install the user tools to the
specified directory as if it were the root)
*   INSTALL_MOD_PATH=/some/path make module_install  (will install the
kernel modules similarly)

 

These will get you a directory containing the files that need to be
installed, which will be an input to any of the packaging systems.  Or you
can just tar it up and install it manually if you prefer.

 

From: Jiarui Lian
Sent: Saturday, 2 December 2017 08:43
To: etherlab-users@etherlab.org <mailto:etherlab-users@etherlab.org> 
Subject: [etherlab-users] How to make ipk/deb package for IgH EtherCAT
Master?

 

Hi everyone, here is my scenario:

*   I want to cross-compile the IgH EtherCAT Master on powerful linux
host, as it is faster! 
*   (And I finished cross-compile on host: "make, make modules")
*   Then I want to make an .ipk or .deb packages, to be copied/installed
on embedded target.
*   So how to make .ipk/.deb package for IgH EtherCAT Master?

 

Thanks!

Jerry

 

___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-03 Thread Gavin Lambert
There isn't any built-in support for this.  However it's a fairly standard
autotools package so you can follow generic instructions for building a deb
or whatever from an autotools makefile, for the most part.

 

Bear in mind that you need to make sure to build against the kernel headers
from the target system, which might be different from your development
system.  If the two systems are too far different you might have issues with
shared libraries as well.  Consider building using a cloned chroot of the
target system, although that can bring its own set of hassles.

 

You'll want to read up instructions for building a deb from autotools
elsewhere, but there are two key commands that will end up part of it
somehow:

*   DESTDIR=/some/path make install  (will install the user tools to the
specified directory as if it were the root)
*   INSTALL_MOD_PATH=/some/path make module_install  (will install the
kernel modules similarly)

 

These will get you a directory containing the files that need to be
installed, which will be an input to any of the packaging systems.  Or you
can just tar it up and install it manually if you prefer.

 

From: Jiarui Lian
Sent: Saturday, 2 December 2017 08:43
To: etherlab-users@etherlab.org
Subject: [etherlab-users] How to make ipk/deb package for IgH EtherCAT
Master?

 

Hi everyone, here is my scenario:

*   I want to cross-compile the IgH EtherCAT Master on powerful linux
host, as it is faster! 
*   (And I finished cross-compile on host: "make, make modules")
*   Then I want to make an .ipk or .deb packages, to be copied/installed
on embedded target.
*   So how to make .ipk/.deb package for IgH EtherCAT Master?

 

Thanks!

Jerry

 

___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users


[etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-01 Thread Jiarui Lian
Hi everyone, here is my scenario:

  *   I want to cross-compile the IgH EtherCAT Master on powerful linux host, 
as it is faster!
  *   (And I finished cross-compile on host: "make, make modules")
  *   Then I want to make an .ipk or .deb packages, to be copied/installed on 
embedded target.
  *   So how to make .ipk/.deb package for IgH EtherCAT Master?


Thanks!
Jerry


___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users