next xenomai release
Hi Roland,
the next release of Xenomai should happen soon. The changes which may impact the Debian packaging are:
* changes in the configure script option, actually simplifications;
- --enable-smp is no longer needed on x86, powerpc and arm
- as a reminder, on the ARM architecture, passing --enable-arm-arch or --enable-arm-eabi is not needed either since 2.6.0, so in fact, no option is needed when running the configure script for the arm architecture. Passing the correct -march to the CFLAGS is recommended to generate optimized code, but starting with the future release, is not even mandatory.
- this release support ARM user-space built with the thumb instruction set (-mthumb added to the CFLAGS, or enabled by default in the toolchain configuration)
* small changes in the documentation, we introduced some asciidoc (I would have wanted to also move the manual pages to asciidoc, and update them, but it will be for the next release), the visible change is that an HTML version of the README.INSTALL and TROUBLESHOOTING files are now installed by the "make install" command in the html directory.
I would also like to setup an apt repository to provide pre-compiled kernels, at least for the x86 architecture (say, for instance, i486 UP, i686 SMP, x86_64 SMP), as well as the user-space packages, so, would be interested in documentation URLs.
Regards.
Signature · 1 line
Gilles.
Hi Gilles,
Quoted 10 lines · Gilles Chanteperdrix
the next release of Xenomai should happen soon. The changes which may impact the Debian packaging are:
* changes in the configure script option, actually simplifications;
- --enable-smp is no longer needed on x86, powerpc and arm
- as a reminder, on the ARM architecture, passing --enable-arm-arch or --enable-arm-eabi is not needed either since 2.6.0, so in fact, no option is needed when running the configure script for the arm architecture. Passing the correct -march to the CFLAGS is recommended to generate optimized code, but starting with the future release, is not even mandatory.
Quoted 8 lines
- this release support ARM user-space built with the thumb instruction set (-mthumb added to the CFLAGS, or enabled by default in the toolchain configuration)
* small changes in the documentation, we introduced some asciidoc (I would have wanted to also move the manual pages to asciidoc, and update them, but it will be for the next release), the visible change is that an HTML version of the README.INSTALL and TROUBLESHOOTING files are now installed by the "make install" command in the html directory.
Thank you for the note! This really simplified my update in Debian.
I just tested a snapshot from git.xenomai.org (using xenomai-head.git and building a test tarball with ./configure && make dist) - looks good so far.
Quoted 4 lines
I would also like to setup an apt repository to provide pre-compiled kernels, at least for the x86 architecture (say, for instance, i486 UP, i686 SMP,
x86_64SMP), as well as the user-space packages, so, would be interested in documentation URLs.
For setting up an apt-repository, I recommend using the "reprepro" package (from Debian) which helps setting up and maintaining an apt repo. You just need to provide individual .deb, .changes, or .dsa files on the command line and it adds them automatically to our new repo. Just ask if you need assistance here.
For building the packages for this repo, you ideally just build the default Debian packages with dpkg-buildpackage and follow the instructions in
/usr/share/doc/linux-patch-xenomai/README.Debian
to build kernels.
There is also
http://www.xenomai.org/index.php/Building_Debian_packages
I hope this answers your questions?
Looking forward to the xenomai release.
Thanks in advance,
Roland
A Diumenge 16 Desembre 2012, Roland Stigge va escriure:
Quoted 22 lines
Hi Gilles,
Quoted 10 lines · Gilles Chanteperdrix
the next release of Xenomai should happen soon. The changes which may impact the Debian packaging are:
* changes in the configure script option, actually simplifications;
- --enable-smp is no longer needed on x86, powerpc and arm
- as a reminder, on the ARM architecture, passing --enable-arm-arch or --enable-arm-eabi is not needed either since 2.6.0, so in fact, no option is needed when running the configure script for the arm architecture. Passing the correct -march to the CFLAGS is recommended to generate optimized code, but starting with the future release, is not even mandatory.Quoted 8 lines
- this release support ARM user-space built with the thumb instruction set (-mthumb added to the CFLAGS, or enabled by default in the toolchain configuration)
* small changes in the documentation, we introduced some asciidoc (I would have wanted to also move the manual pages to asciidoc, and update them, but it will be for the next release), the visible change is that an HTML version of the README.INSTALL and TROUBLESHOOTING files are now installed by the "make install" command in the html directory.
Quoted 5 lines
Thank you for the note! This really simplified my update in Debian.
I just tested a snapshot from git.xenomai.org (using xenomai-head.git and building a test tarball with ./configure && make dist) - looks good so far.
well,
there's a bug, and I must admit that I don't know if it's deliberated (*) or not. This bug comes from some time ago. In the /ksrc/arch/x86/patches directory, there's a patch for the 3.2.21 kernel:
ipipe-core-3.2.21-x86-1.patch
this patch, in the build process is not included in the root directory: the /scripts/prepare-patch.sh script executes:
find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch"
that is incorrect because the ipipe-core* patch is not found. The correct one would be:
----------------------------------------------------------------
$ diff -u xenomai-2.6.git/scripts/prepare-patch.sh xenomai- head/scripts/prepare-patch.sh --- xenomai-2.6.git/scripts/prepare-patch.sh 2012-11-06 11:17:56.722698342 +0100 +++ xenomai-head/scripts/prepare-patch.sh 2012-12-17 09:23:31.912258850 +0100 @@ -148,7 +148,7 @@
cd $xenomai_root
-find $xenomai_root/ksrc/ -name "*ipipe*$supported_arch-*.patch" | +find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch" |
while read f ; do
file=basename $f
----------------------------------------------------------------
so, please could you clarified if you put this patch or not?
(*) Deliberated in the way that maybe it's not sufficient stable yet to include it and upstream prefers to not include it by default.
Quoted 15 lines
Quoted 4 lines
I would also like to setup an apt repository to provide pre-compiled kernels, at least for the x86 architecture (say, for instance, i486 UP, i686 SMP,
x86_64SMP), as well as the user-space packages, so, would be interested in documentation URLs.For setting up an apt-repository, I recommend using the "reprepro" package (from Debian) which helps setting up and maintaining an apt repo. You just need to provide individual .deb, .changes, or .dsa files on the command line and it adds them automatically to our new repo. Just ask if you need assistance here.
For building the packages for this repo, you ideally just build the default Debian packages with dpkg-buildpackage and follow the instructions in
Quoted 8 lines
/usr/share/doc/linux-patch-xenomai/README.Debianto build kernels.
There is also
I agree.
Also, I can mirror the repo at my University.
Regards,
Leo
Signature · 3 lines
-- Linux User 152692 Catalonia
Quoted 22 lines · Leopold Palomo-Avellaneda
there's a bug, and I must admit that I don't know if it's deliberated (*) or not. This bug comes from some time ago. In the /ksrc/arch/x86/patches directory, there's a patch for the 3.2.21 kernel:
ipipe-core-3.2.21-x86-1.patch
this patch, in the build process is not included in the root directory: the /scripts/prepare-patch.sh script executes:
find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch"
that is incorrect because the ipipe-core* patch is not found. The correct one would be:
----------------------------------------------------------------
$ diff -u xenomai-2.6.git/scripts/prepare-patch.sh xenomai- head/scripts/prepare-patch.sh --- xenomai-2.6.git/scripts/prepare-patch.sh 2012-11-06 11:17:56.722698342 +0100 +++ xenomai-head/scripts/prepare-patch.sh 2012-12-17 09:23:31.912258850 +0100
Review
Quoted 10 lines
(quoted diff) +1
-2@@ -148,7 +148,7 @@ cd $xenomai_root -find $xenomai_root/ksrc/ -name "*ipipe*$supported_arch-*.patch" | +find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch" | while read f ; do file=`basename $f` ----------------------------------------------------------------
I guess this is a reverse patch?
Quoted 1 line
so, please could you clarified if you put this patch or not?
I'm not too sure about the official patch naming, but generally, patches should be included, yes!
So this bug should be fixed, if it is a bug.
Thanks,
Roland
A Dilluns 17 Desembre 2012, Roland Stigge va escriure:
Quoted 2 lines · Leopold Palomo-Avellaneda
Quoted 1 line
there's a bug, and I must admit that I don't know if it's deliberated (*)
or
Quoted 6 lines
Quoted 6 lines
not. This bug comes from some time ago. In the /ksrc/arch/x86/patches directory, there's a patch for the 3.2.21 kernel:
ipipe-core-3.2.21-x86-1.patch
this patch, in the build process is not included in the root directory:
the
Quoted 5 lines
Quoted 5 lines
/scripts/prepare-patch.sh script executes:
find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch"
that is incorrect because the ipipe-core* patch is not found. The correct
one
Quoted 6 lines
Quoted 6 lines
would be:
----------------------------------------------------------------
$ diff -u xenomai-2.6.git/scripts/prepare-patch.sh xenomai- head/scripts/prepare-patch.sh --- xenomai-2.6.git/scripts/prepare-patch.sh 2012-11-06
11:17:56.722698342
Quoted 2 lines
Quoted 2 lines
+0100
+++xenomai-head/scripts/prepare-patch.sh2012-12-17
09:23:31.912258850
Quoted 7 lines
Review line 151
Quoted 7 lines
+0100
(quoted diff) +1
-1@@ -148,7 +148,7 @@ cd $xenomai_root -find $xenomai_root/ksrc/ -name "*ipipe*$supported_arch-*.patch" | +find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-
*.patch" |
Quoted 7 lines
Review
Quoted 5 lines
(quoted diff) +0
-1while read f ; do file=`basename $f` ----------------------------------------------------------------I guess this is a reverse patch?
:-)
yes, the order is inverse. Sorry.
Leo
Signature · 3 lines
-- Linux User 152692 Catalonia
Quoted 39 lines · Leopold Palomo-Avellaneda
A Dilluns 17 Desembre 2012, Roland Stigge va escriure:
Quoted 2 lines · Leopold Palomo-Avellaneda
Quoted 1 line
there's a bug, and I must admit that I don't know if it's deliberated (*)
or
Quoted 6 lines
Quoted 6 lines
not. This bug comes from some time ago. In the /ksrc/arch/x86/patches directory, there's a patch for the 3.2.21 kernel:
ipipe-core-3.2.21-x86-1.patch
this patch, in the build process is not included in the root directory:
the
Quoted 5 lines
Quoted 5 lines
/scripts/prepare-patch.sh script executes:
find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch"
that is incorrect because the ipipe-core* patch is not found. The correct
one
Quoted 6 lines
Quoted 6 lines
would be:
----------------------------------------------------------------
$ diff -u xenomai-2.6.git/scripts/prepare-patch.sh xenomai- head/scripts/prepare-patch.sh --- xenomai-2.6.git/scripts/prepare-patch.sh 2012-11-0611:17:56.722698342
Quoted 2 lines
Quoted 2 lines
+0100
+++xenomai-head/scripts/prepare-patch.sh2012-12-1709:23:31.912258850
Quoted 7 lines
Review line 151
Quoted 7 lines
+0100
(quoted diff) +1
-1@@ -148,7 +148,7 @@ cd $xenomai_root -find $xenomai_root/ksrc/ -name "*ipipe*$supported_arch-*.patch" | +find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch" |
Quoted 4 lines
Quoted 4 lines
(quoted diff) +0
-0while read f ; do file=`basename $f`
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
----------------------------------------------------------------
I guess this is a reverse patch?
:-)
yes, the order is inverse. Sorry.
OK, should be fixed. Can't find the change in xenomai 2.6.2, unfortunately.
Roland
Quoted 42 lines · Roland Stigge
Quoted 41 lines · Leopold Palomo-Avellaneda
A Dilluns 17 Desembre 2012, Roland Stigge va escriure:
Quoted 2 lines · Leopold Palomo-Avellaneda
Quoted 1 line
there's a bug, and I must admit that I don't know if it's deliberated (*)
or
Quoted 6 lines
Quoted 6 lines
not. This bug comes from some time ago. In the /ksrc/arch/x86/patches directory, there's a patch for the 3.2.21 kernel:
ipipe-core-3.2.21-x86-1.patch
this patch, in the build process is not included in the root directory:
the
Quoted 5 lines
Quoted 5 lines
/scripts/prepare-patch.sh script executes:
find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch"
that is incorrect because the ipipe-core* patch is not found. The correct
one
Quoted 6 lines
Quoted 6 lines
would be:
----------------------------------------------------------------
$ diff -u xenomai-2.6.git/scripts/prepare-patch.sh xenomai- head/scripts/prepare-patch.sh --- xenomai-2.6.git/scripts/prepare-patch.sh 2012-11-0611:17:56.722698342
Quoted 2 lines
Quoted 2 lines
+0100
+++xenomai-head/scripts/prepare-patch.sh2012-12-1709:23:31.912258850
Quoted 7 lines
Review line 151
Quoted 7 lines
+0100
(quoted diff) +1
-1@@ -148,7 +148,7 @@ cd $xenomai_root -find $xenomai_root/ksrc/ -name "*ipipe*$supported_arch-*.patch" | +find $xenomai_root/ksrc/ -name "adeos-ipipe-2.6.*-$supported_arch-*.patch" |
Quoted 6 lines
Quoted 5 lines
(quoted diff) +0
-1while read f ; do file=`basename $f` ----------------------------------------------------------------
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
I guess this is a reverse patch?
:-)
yes, the order is inverse. Sorry.
OK, should be fixed. Can't find the change in xenomai 2.6.2, unfortunately.
I am working on generating the debian packages now, there are a few other issues, I will push a commit when they are fixed, and maybe another xenomai release.
Quoted 8 lines
Roland
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai
Signature · 1 line
Gilles.
[Xenomai] Another dpkg build issue for Xenomai 2.6.2
When building dpkgs on Ubuntu 12.04, this line in the debian/rules file gives me trouble because there are no longer any adeos-ipipe-*.patch files for the x86 architecture:
cp adeos-ipipe-*.patch $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
As a workaround, I did this before building:
touch ./ksrc/arch/x86/patches/adeos-ipipe-2.6.0-x86-dummy.patch
-Jeff
Re: [Xenomai] Another dpkg build issue for Xenomai 2.6.2
Quoted 7 lines · Jeff Webb
When building dpkgs on Ubuntu 12.04, this line in the debian/rules file gives me trouble because there are no longer any adeos-ipipe-*.patch files for the x86 architecture:
cp adeos-ipipe-*.patch $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
As a workaround, I did this before building:
touch
./ksrc/arch/x86/patches/adeos-ipipe-2.6.0-x86-dummy.patch
That is one of the "other issues".
Signature · 1 line
Gilles.
Re: [Xenomai] Another dpkg build issue for Xenomai 2.6.2
In reply to a message not in the archiveQuoted 9 lines · Jeff Webb
Quoted 8 lines · Gilles Chanteperdrix
Quoted 6 lines · Jeff Webb
When building dpkgs on Ubuntu 12.04, this line in the debian/rules file gives me trouble because there are no longer any adeos-ipipe-*.patch files for the x86 architecture:
cp adeos-ipipe-*.patch $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
As a workaround, I did this before building:
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
touch
./ksrc/arch/x86/patches/adeos-ipipe-2.6.0-x86-dummy.patchThat is one of the "other issues".
Thanks, Gilles.
You can try the following commit:
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=89ff2edf76dae49e4a3643f17e118954b68a692e
Signature · 1 line
Gilles.
Re: [Xenomai] Another dpkg build issue for Xenomai 2.6.2
Quoted 14 lines · Gilles Chanteperdrix
Quoted 12 lines · Jeff Webb
Quoted 11 lines · Gilles Chanteperdrix
Quoted 7 lines · Jeff Webb
When building dpkgs on Ubuntu 12.04, this line in the debian/rules file gives me trouble because there are no longer any adeos-ipipe-*.patch files for the x86 architecture:
cp adeos-ipipe-*.patch $(CURDIR)/debian/linux-patch-xenomai/usr/src/kernel-patches/diffs/xenomai
As a workaround, I did this before building:
touch
./ksrc/arch/x86/patches/adeos-ipipe-2.6.0-x86-dummy.patch
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
That is one of the "other issues".
Thanks, Gilles.
You can try the following commit:
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=89ff2edf76dae49e4a3643f17e118954b68a692e
That works for me. Thanks.
-Jeff
Quoted 5 lines · Roland Stigge
Thank you for the note! This really simplified my update in Debian.
I just tested a snapshot from git.xenomai.org (using xenomai-head.git and building a test tarball with ./configure && make dist) - looks good so far.
Hi Roland,
it turned out that a little more work was needed to check whether the release was ready for generating debian packages, as, you may have follow, the 2.6.2 release was completely broken in this regard.
Quoted 4 lines
There is also
The information on this page is outdated, as support for dkms was removed from the xenomai package, so, the "apply" script does not exist.
Thanks for the pointers.
Regards.
Signature · 1 line
Gilles.