* State of dylan branch in meta-ti
@ 2013-10-25 10:12 Volker Vogelhuber
2013-10-25 10:30 ` Denys Dmytriyenko
0 siblings, 1 reply; 10+ messages in thread
From: Volker Vogelhuber @ 2013-10-25 10:12 UTC (permalink / raw)
To: meta-ti
[-- Attachment #1.1: Type: text/plain, Size: 1635 bytes --]
I just checked out the dylan branch of the yocto core and the meta-ti
repository.
It seems like the state of the meta-ti branch is not yet consistent to
work out of the box.
I currently had to remove the update-modules part from the ti recipes
and had to add
RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
Did I miss something or the dylan branch just not yet in a consistent state?
Regards,
Volker
--
*Volker Vogelhuber*| Softwareentwickler
*PENTAX**MEDICA**L
*/Excellence in Focus//^TM /
Tel: +49(0)821-650566-18
v.vogelhuber@DigitalEndoscopy.de <mailto:v.vogelhuber@DigitalEndoscopy.de>
Hoya Corporation - Pentax Medical Division
*Digital**Endoscopy GmbH*
Paul-Lenz-Str. 5
86316 Friedberg - Germany
pentaxmedical.com
Handelsregister HRB 27226
Amtsgericht Augsburg
Geschäftsführer: Michael Drexel, Marc Henzler
Sitz: Paul-Lenz-Str. 5, 86316 Friedberg, Germany
_____________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
[-- Attachment #1.2: Type: text/html, Size: 6173 bytes --]
[-- Attachment #2: update-modules.patch --]
[-- Type: text/x-patch, Size: 1819 bytes --]
Author: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de> 2013-10-23 15:29:37
Committer: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de> 2013-10-23 15:29:37
Parent: f61008a20340373247ebfd8f381e377b21f11afe (linux-ti-staging: update to 3.12-rc5 and latest merges of feature trees)
Child: 2d25a3c6b181894c57d71c3a132a39ef9ed89374 (Merge)
Branch: dylan
Follows: v2012.05-yocto1.2
Precedes:
- remove update-modules as it has been removed from yocto
---------------------- recipes-ti/dsplink/ti-dsplink.inc ----------------------
index ce7cbf9..fa1c9dd 100644
@@ -187,22 +187,6 @@ do_install () {
PACKAGES =+ "ti-dsplink-module"
FILES_ti-dsplink-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/dsplinkk.ko"
-RDEPENDS_ti-dsplink-module += "update-modules"
-
-pkg_postinst_ti-dsplink-module () {
-#!/bin/sh
-if [ -n "$D" ]; then
- exit 1
-fi
-
-depmod -a
-update-modules || true
-}
-
-pkg_postrm_ti-dsplink-module () {
-#!/bin/sh
-update-modules || true
-}
PACKAGES += "ti-dsplink-examples"
RDEPENDS_ti-dsplink-examples_append = " ti-dsplink-module"
---------- recipes-ti/local-power-manager/ti-local-power-manager.inc ----------
index 9155c76..2f2b525 100644
@@ -113,19 +113,6 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
PACKAGES += "ti-lpm-module"
FILES_ti-lpm-module = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*lpm*ko"
RDEPENDS_ti-lpm-module += "ti-dsplink-module"
-RDEPENDS_ti-lpm-module += "update-modules"
-
-pkg_postinst_ti-lpm-module_append () {
- if [ -n "$D" ]; then
- exit 1
- fi
- depmod -a
- update-modules || true
-}
-
-pkg_postrm_ti-lpm-module_append () {
- update-modules || true
-}
PACKAGES += "ti-lpm-utils"
RDEPENDS_ti-lpm-utils += "ti-lpm-module"
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 10:12 State of dylan branch in meta-ti Volker Vogelhuber
@ 2013-10-25 10:30 ` Denys Dmytriyenko
2013-10-25 10:54 ` Volker Vogelhuber
0 siblings, 1 reply; 10+ messages in thread
From: Denys Dmytriyenko @ 2013-10-25 10:30 UTC (permalink / raw)
To: Volker Vogelhuber; +Cc: meta-ti
On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
> I just checked out the dylan branch of the yocto core and the
> meta-ti repository.
> It seems like the state of the meta-ti branch is not yet consistent
> to work out of the box.
>
> I currently had to remove the update-modules part from the ti
> recipes and had to add
> RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
>
> Did I miss something or the dylan branch just not yet in a consistent state?
It's in great shape - better than ever! What you don't mention is what
platform you are using. You do mention dsplink though, but that is long since
unsupported. As a matter of fact, most of the old DSP related recipes are not
supported [1]. The new replacements are not ready yet. Other than that, it
provides great BSP support for platforms listed in the conf/ directory.
[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
--
Denys
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 10:30 ` Denys Dmytriyenko
@ 2013-10-25 10:54 ` Volker Vogelhuber
2013-10-25 10:58 ` Dmytriyenko, Denys
0 siblings, 1 reply; 10+ messages in thread
From: Volker Vogelhuber @ 2013-10-25 10:54 UTC (permalink / raw)
Cc: meta-ti
[-- Attachment #1: Type: text/plain, Size: 2950 bytes --]
On 25.10.2013 12:30, Denys Dmytriyenko wrote:
> On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
>> I just checked out the dylan branch of the yocto core and the
>> meta-ti repository.
>> It seems like the state of the meta-ti branch is not yet consistent
>> to work out of the box.
>>
>> I currently had to remove the update-modules part from the ti
>> recipes and had to add
>> RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
>>
>> Did I miss something or the dylan branch just not yet in a consistent state?
> It's in great shape - better than ever! What you don't mention is what
> platform you are using. You do mention dsplink though, but that is long since
> unsupported. As a matter of fact, most of the old DSP related recipes are not
> supported [1]. The new replacements are not ready yet. Other than that, it
> provides great BSP support for platforms listed in the conf/ directory.
>
> [1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
Thanks for the link, actually I did not read that notice yet indeed.
I'm currently using a TAO-3530 board from technexion.
We used to work with the denzil branch for some time, but after updating
to ubuntu
13.10 there were a lot of errors that I tried to fix with the dylan
branch. And indeed after
patching some small problems (next to the patches for the meta-ti
branch), it does create
a rootfs image at least, but have to flash it and test if it has some
additional problems.
I only wonder why the problem with the kernel-module- package name does
only occure with the
dsplink and not with the e.g. libgles modules as they seem to provide
wrong package names as well.
Regards,
Volker
--
*Volker Vogelhuber*| Softwareentwickler
*PENTAX**MEDICA**L
*/Excellence in Focus//^TM /
Tel: +49(0)821-650566-18
v.vogelhuber@DigitalEndoscopy.de <mailto:v.vogelhuber@DigitalEndoscopy.de>
Hoya Corporation - Pentax Medical Division
*Digital**Endoscopy GmbH*
Paul-Lenz-Str. 5
86316 Friedberg - Germany
pentaxmedical.com
Handelsregister HRB 27226
Amtsgericht Augsburg
Geschäftsführer: Michael Drexel, Marc Henzler
Sitz: Paul-Lenz-Str. 5, 86316 Friedberg, Germany
_____________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
[-- Attachment #2: Type: text/html, Size: 7880 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 10:54 ` Volker Vogelhuber
@ 2013-10-25 10:58 ` Dmytriyenko, Denys
2013-10-25 11:08 ` Volker Vogelhuber
0 siblings, 1 reply; 10+ messages in thread
From: Dmytriyenko, Denys @ 2013-10-25 10:58 UTC (permalink / raw)
To: v.vogelhuber@digitalendoscopy.de; +Cc: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 3169 bytes --]
What do you mean by the wrong package name?
Denys
-----Original Message-----
From: Volker Vogelhuber [v.vogelhuber@digitalendoscopy.de]
Received: Friday, 25 Oct 2013, 11:55
CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
Subject: Re: [meta-ti] State of dylan branch in meta-ti
On 25.10.2013 12:30, Denys Dmytriyenko wrote:
On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
I just checked out the dylan branch of the yocto core and the
meta-ti repository.
It seems like the state of the meta-ti branch is not yet consistent
to work out of the box.
I currently had to remove the update-modules part from the ti
recipes and had to add
RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
Did I miss something or the dylan branch just not yet in a consistent state?
It's in great shape - better than ever! What you don't mention is what
platform you are using. You do mention dsplink though, but that is long since
unsupported. As a matter of fact, most of the old DSP related recipes are not
supported [1]. The new replacements are not ready yet. Other than that, it
provides great BSP support for platforms listed in the conf/ directory.
[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
Thanks for the link, actually I did not read that notice yet indeed.
I'm currently using a TAO-3530 board from technexion.
We used to work with the denzil branch for some time, but after updating to ubuntu
13.10 there were a lot of errors that I tried to fix with the dylan branch. And indeed after
patching some small problems (next to the patches for the meta-ti branch), it does create
a rootfs image at least, but have to flash it and test if it has some additional problems.
I only wonder why the problem with the kernel-module- package name does only occure with the
dsplink and not with the e.g. libgles modules as they seem to provide wrong package names as well.
Regards,
Volker
--
Volker Vogelhuber | Softwareentwickler
PENTAX MEDICAL
Excellence in FocusTM
Tel: +49(0)821-650566-18
v.vogelhuber@DigitalEndoscopy.de<mailto:v.vogelhuber@DigitalEndoscopy.de>
Hoya Corporation - Pentax Medical Division
Digital Endoscopy GmbH
Paul-Lenz-Str. 5
86316 Friedberg - Germany
pentaxmedical.com
Handelsregister HRB 27226
Amtsgericht Augsburg
Geschäftsführer: Michael Drexel, Marc Henzler
Sitz: Paul-Lenz-Str. 5, 86316 Friedberg, Germany
_____________________________________
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
[-- Attachment #2: Type: text/html, Size: 6729 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 10:58 ` Dmytriyenko, Denys
@ 2013-10-25 11:08 ` Volker Vogelhuber
2013-10-25 11:11 ` Dmytriyenko, Denys
0 siblings, 1 reply; 10+ messages in thread
From: Volker Vogelhuber @ 2013-10-25 11:08 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 3261 bytes --]
On 25.10.2013 12:58, Dmytriyenko, Denys wrote:
> On 25.10.2013 12:30, Denys Dmytriyenko wrote:
>>>> On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
>>>>> I just checked out the dylan branch of the yocto core and the
>>>>> meta-ti repository.
>>>>> It seems like the state of the meta-ti branch is not yet consistent
>>>>> to work out of the box.
>>>>>
>>>>> I currently had to remove the update-modules part from the ti
>>>>> recipes and had to add
>>>>> RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
>>>>>
>>>>> Did I miss something or the dylan branch just not yet in a consistent state?
>>>> It's in great shape - better than ever! What you don't mention is what
>>>> platform you are using. You do mention dsplink though, but that is long since
>>>> unsupported. As a matter of fact, most of the old DSP related recipes are not
>>>> supported [1]. The new replacements are not ready yet. Other than that, it
>>>> provides great BSP support for platforms listed in the conf/ directory.
>>>>
>>>> [1]http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
>>
>> Thanks for the link, actually I did not read that notice yet indeed.
>> I'm currently using a TAO-3530 board from technexion.
>> We used to work with the denzil branch for some time, but after
>> updating to ubuntu
>> 13.10 there were a lot of errors that I tried to fix with the dylan
>> branch. And indeed after
>> patching some small problems (next to the patches for the meta-ti
>> branch), it does create
>> a rootfs image at least, but have to flash it and test if it has some
>> additional problems.
>>
>> I only wonder why the problem with the kernel-module- package name
>> does only occure with the
>> dsplink and not with the e.g. libgles modules as they seem to provide
>> wrong package names as well.
>
>
> What do you mean by the wrong package name?
In the hello-mod_0.1bb script under meta-skeleton within the dylan
branch of the yocto repository
there is the following notice:
# Kernel module packages MUST begin with 'kernel-module-', otherwise
# multilib image generation can fail.
#
# The following line is only necessary if the recipe name does not begin
# with kernel-module-.
#
PKG_${PN} = "kernel-module-${PN}"
I guess because there is a new bbclass within dylan called
kernel-module-split.bbclass
that has the following lines adding dependencies automatically.
...
if modules:
metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
the do_split_packages method called before that code gets executed seems
to automatcally create
a list with kernel modules that all start with kernel-module-%s. I did
not check what modules this method recognized. Maybe dsplinkk.ko was the
only one and that's why the other modules did not
cause an error. Actually I did not spent to much time digging into the
reason for introducing this bbclass at all.
So to answer your question, all the module recipes within the meta-ti
repository don't seem to be named with a "kernel-module-" prefix, but
only the dsplinkk.ko module result in an error.
[-- Attachment #2: Type: text/html, Size: 5237 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 11:08 ` Volker Vogelhuber
@ 2013-10-25 11:11 ` Dmytriyenko, Denys
2013-10-25 11:14 ` Dmytriyenko, Denys
2013-10-25 11:20 ` Volker Vogelhuber
0 siblings, 2 replies; 10+ messages in thread
From: Dmytriyenko, Denys @ 2013-10-25 11:11 UTC (permalink / raw)
To: v.vogelhuber@DigitalEndoscopy.de; +Cc: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 3565 bytes --]
Because they don't have to be called that. The only extra thing the new class does is sets up the dependencies. So even when a custom module name is used, it will work fine.
Denys
-----Original Message-----
From: Volker Vogelhuber [v.vogelhuber@DigitalEndoscopy.de]
Received: Friday, 25 Oct 2013, 12:08
To: Dmytriyenko, Denys [denys@ti.com]
CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
Subject: Re: [meta-ti] State of dylan branch in meta-ti
On 25.10.2013 12:58, Dmytriyenko, Denys wrote:
On 25.10.2013 12:30, Denys Dmytriyenko wrote:
On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
I just checked out the dylan branch of the yocto core and the
meta-ti repository.
It seems like the state of the meta-ti branch is not yet consistent
to work out of the box.
I currently had to remove the update-modules part from the ti
recipes and had to add
RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
Did I miss something or the dylan branch just not yet in a consistent state?
It's in great shape - better than ever! What you don't mention is what
platform you are using. You do mention dsplink though, but that is long since
unsupported. As a matter of fact, most of the old DSP related recipes are not
supported [1]. The new replacements are not ready yet. Other than that, it
provides great BSP support for platforms listed in the conf/ directory.
[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
Thanks for the link, actually I did not read that notice yet indeed.
I'm currently using a TAO-3530 board from technexion.
We used to work with the denzil branch for some time, but after updating to ubuntu
13.10 there were a lot of errors that I tried to fix with the dylan branch. And indeed after
patching some small problems (next to the patches for the meta-ti branch), it does create
a rootfs image at least, but have to flash it and test if it has some additional problems.
I only wonder why the problem with the kernel-module- package name does only occure with the
dsplink and not with the e.g. libgles modules as they seem to provide wrong package names as well.
What do you mean by the wrong package name?
In the hello-mod_0.1bb script under meta-skeleton within the dylan branch of the yocto repository
there is the following notice:
# Kernel module packages MUST begin with 'kernel-module-', otherwise
# multilib image generation can fail.
#
# The following line is only necessary if the recipe name does not begin
# with kernel-module-.
#
PKG_${PN} = "kernel-module-${PN}"
I guess because there is a new bbclass within dylan called kernel-module-split.bbclass
that has the following lines adding dependencies automatically.
...
if modules:
metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
the do_split_packages method called before that code gets executed seems to automatcally create
a list with kernel modules that all start with kernel-module-%s. I did not check what modules this method recognized. Maybe dsplinkk.ko was the only one and that's why the other modules did not
cause an error. Actually I did not spent to much time digging into the reason for introducing this bbclass at all.
So to answer your question, all the module recipes within the meta-ti repository don't seem to be named with a "kernel-module-" prefix, but only the dsplinkk.ko module result in an error.
[-- Attachment #2: Type: text/html, Size: 5113 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 11:11 ` Dmytriyenko, Denys
@ 2013-10-25 11:14 ` Dmytriyenko, Denys
2013-10-25 11:20 ` Volker Vogelhuber
1 sibling, 0 replies; 10+ messages in thread
From: Dmytriyenko, Denys @ 2013-10-25 11:14 UTC (permalink / raw)
To: v.vogelhuber@DigitalEndoscopy.de, Dmytriyenko, Denys
Cc: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 4053 bytes --]
For example:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/commit/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb?id=f3c7afb5a3f762894fb0476081d862cb3d54e2dd
Denys
-----Original Message-----
From: Dmytriyenko, Denys [denys@ti.com]
Received: Friday, 25 Oct 2013, 12:11
To: v.vogelhuber@DigitalEndoscopy.de [v.vogelhuber@DigitalEndoscopy.de]
CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
Subject: Re: [meta-ti] State of dylan branch in meta-ti
Because they don't have to be called that. The only extra thing the new class does is sets up the dependencies. So even when a custom module name is used, it will work fine.
Denys
-----Original Message-----
From: Volker Vogelhuber [v.vogelhuber@DigitalEndoscopy.de]
Received: Friday, 25 Oct 2013, 12:08
To: Dmytriyenko, Denys [denys@ti.com]
CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
Subject: Re: [meta-ti] State of dylan branch in meta-ti
On 25.10.2013 12:58, Dmytriyenko, Denys wrote:
On 25.10.2013 12:30, Denys Dmytriyenko wrote:
On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
I just checked out the dylan branch of the yocto core and the
meta-ti repository.
It seems like the state of the meta-ti branch is not yet consistent
to work out of the box.
I currently had to remove the update-modules part from the ti
recipes and had to add
RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
Did I miss something or the dylan branch just not yet in a consistent state?
It's in great shape - better than ever! What you don't mention is what
platform you are using. You do mention dsplink though, but that is long since
unsupported. As a matter of fact, most of the old DSP related recipes are not
supported [1]. The new replacements are not ready yet. Other than that, it
provides great BSP support for platforms listed in the conf/ directory.
[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
Thanks for the link, actually I did not read that notice yet indeed.
I'm currently using a TAO-3530 board from technexion.
We used to work with the denzil branch for some time, but after updating to ubuntu
13.10 there were a lot of errors that I tried to fix with the dylan branch. And indeed after
patching some small problems (next to the patches for the meta-ti branch), it does create
a rootfs image at least, but have to flash it and test if it has some additional problems.
I only wonder why the problem with the kernel-module- package name does only occure with the
dsplink and not with the e.g. libgles modules as they seem to provide wrong package names as well.
What do you mean by the wrong package name?
In the hello-mod_0.1bb script under meta-skeleton within the dylan branch of the yocto repository
there is the following notice:
# Kernel module packages MUST begin with 'kernel-module-', otherwise
# multilib image generation can fail.
#
# The following line is only necessary if the recipe name does not begin
# with kernel-module-.
#
PKG_${PN} = "kernel-module-${PN}"
I guess because there is a new bbclass within dylan called kernel-module-split.bbclass
that has the following lines adding dependencies automatically.
...
if modules:
metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
the do_split_packages method called before that code gets executed seems to automatcally create
a list with kernel modules that all start with kernel-module-%s. I did not check what modules this method recognized. Maybe dsplinkk.ko was the only one and that's why the other modules did not
cause an error. Actually I did not spent to much time digging into the reason for introducing this bbclass at all.
So to answer your question, all the module recipes within the meta-ti repository don't seem to be named with a "kernel-module-" prefix, but only the dsplinkk.ko module result in an error.
[-- Attachment #2: Type: text/html, Size: 5838 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 11:11 ` Dmytriyenko, Denys
2013-10-25 11:14 ` Dmytriyenko, Denys
@ 2013-10-25 11:20 ` Volker Vogelhuber
2013-10-25 11:27 ` Dmytriyenko, Denys
1 sibling, 1 reply; 10+ messages in thread
From: Volker Vogelhuber @ 2013-10-25 11:20 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 4671 bytes --]
On 25.10.2013 13:11, Dmytriyenko, Denys wrote:
>> On 25.10.2013 12:58, Dmytriyenko, Denys wrote:
>>> On 25.10.2013 12:30, Denys Dmytriyenko wrote:
>>>>>> On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
>>>>>>> I just checked out the dylan branch of the yocto core and the
>>>>>>> meta-ti repository.
>>>>>>> It seems like the state of the meta-ti branch is not yet consistent
>>>>>>> to work out of the box.
>>>>>>>
>>>>>>> I currently had to remove the update-modules part from the ti
>>>>>>> recipes and had to add
>>>>>>> RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
>>>>>>>
>>>>>>> Did I miss something or the dylan branch just not yet in a consistent state?
>>>>>> It's in great shape - better than ever! What you don't mention is what
>>>>>> platform you are using. You do mention dsplink though, but that is long since
>>>>>> unsupported. As a matter of fact, most of the old DSP related recipes are not
>>>>>> supported [1]. The new replacements are not ready yet. Other than that, it
>>>>>> provides great BSP support for platforms listed in the conf/ directory.
>>>>>>
>>>>>> [1]http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
>>>>
>>>> Thanks for the link, actually I did not read that notice yet indeed.
>>>> I'm currently using a TAO-3530 board from technexion.
>>>> We used to work with the denzil branch for some time, but after
>>>> updating to ubuntu
>>>> 13.10 there were a lot of errors that I tried to fix with the dylan
>>>> branch. And indeed after
>>>> patching some small problems (next to the patches for the meta-ti
>>>> branch), it does create
>>>> a rootfs image at least, but have to flash it and test if it has
>>>> some additional problems.
>>>>
>>>> I only wonder why the problem with the kernel-module- package name
>>>> does only occure with the
>>>> dsplink and not with the e.g. libgles modules as they seem to
>>>> provide wrong package names as well.
>>>
>>>
>>> What do you mean by the wrong package name?
>> In the hello-mod_0.1bb script under meta-skeleton within the dylan
>> branch of the yocto repository
>> there is the following notice:
>>
>> # Kernel module packages MUST begin with 'kernel-module-', otherwise
>> # multilib image generation can fail.
>> #
>> # The following line is only necessary if the recipe name does not begin
>> # with kernel-module-.
>> #
>> PKG_${PN} = "kernel-module-${PN}"
>>
>> I guess because there is a new bbclass within dylan called
>> kernel-module-split.bbclass
>> that has the following lines adding dependencies automatically.
>>
>> ...
>> if modules:
>> metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
>> d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
>>
>> the do_split_packages method called before that code gets executed
>> seems to automatcally create
>> a list with kernel modules that all start with kernel-module-%s. I
>> did not check what modules this method recognized. Maybe dsplinkk.ko
>> was the only one and that's why the other modules did not
>> cause an error. Actually I did not spent to much time digging into
>> the reason for introducing this bbclass at all.
>>
>> So to answer your question, all the module recipes within the meta-ti
>> repository don't seem to be named with a "kernel-module-" prefix, but
>> only the dsplinkk.ko module result in an error.
>>
> Because they don't have to be called that. The only extra thing the
> new class does is sets up the dependencies. So even when a custom
> module name is used, it will work fine.
Well then I don't understand why compiling the dsplink module causes an
error during creation of the
RootFS when not adding the RPROVIDES_${PN} += "kernel-module-dsplinkk"
to ti-dsplink.inc
Error log follows:
Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
|
| The following packages have unmet dependencies:
| ti-dsplink : Depends: kernel-module-dsplinkk but it is not installable
| E: Unable to correct problems, you have held broken packages.
Or is that error by design to avoid people using the dsplink module
within dylan?
As mentioned, I did not test the resulting firmware image yet, so maybe
there is indeed a problem with the modules, although I can't imagine why
it shouldn't work as the used kernel is still the same.
[-- Attachment #2: Type: text/html, Size: 7559 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 11:20 ` Volker Vogelhuber
@ 2013-10-25 11:27 ` Dmytriyenko, Denys
2013-10-25 11:35 ` Volker Vogelhuber
0 siblings, 1 reply; 10+ messages in thread
From: Dmytriyenko, Denys @ 2013-10-25 11:27 UTC (permalink / raw)
To: v.vogelhuber@DigitalEndoscopy.de; +Cc: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 4661 bytes --]
FILES_ti-dsplink-module is causing the problem...
Denys
-----Original Message-----
From: Volker Vogelhuber [v.vogelhuber@DigitalEndoscopy.de]
Received: Friday, 25 Oct 2013, 12:20
To: Dmytriyenko, Denys [denys@ti.com]
CC: meta-ti@yoctoproject.org [meta-ti@yoctoproject.org]
Subject: Re: [meta-ti] State of dylan branch in meta-ti
On 25.10.2013 13:11, Dmytriyenko, Denys wrote:
On 25.10.2013 12:58, Dmytriyenko, Denys wrote:
On 25.10.2013 12:30, Denys Dmytriyenko wrote:
On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
I just checked out the dylan branch of the yocto core and the
meta-ti repository.
It seems like the state of the meta-ti branch is not yet consistent
to work out of the box.
I currently had to remove the update-modules part from the ti
recipes and had to add
RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
Did I miss something or the dylan branch just not yet in a consistent state?
It's in great shape - better than ever! What you don't mention is what
platform you are using. You do mention dsplink though, but that is long since
unsupported. As a matter of fact, most of the old DSP related recipes are not
supported [1]. The new replacements are not ready yet. Other than that, it
provides great BSP support for platforms listed in the conf/ directory.
[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
Thanks for the link, actually I did not read that notice yet indeed.
I'm currently using a TAO-3530 board from technexion.
We used to work with the denzil branch for some time, but after updating to ubuntu
13.10 there were a lot of errors that I tried to fix with the dylan branch. And indeed after
patching some small problems (next to the patches for the meta-ti branch), it does create
a rootfs image at least, but have to flash it and test if it has some additional problems.
I only wonder why the problem with the kernel-module- package name does only occure with the
dsplink and not with the e.g. libgles modules as they seem to provide wrong package names as well.
What do you mean by the wrong package name?
In the hello-mod_0.1bb script under meta-skeleton within the dylan branch of the yocto repository
there is the following notice:
# Kernel module packages MUST begin with 'kernel-module-', otherwise
# multilib image generation can fail.
#
# The following line is only necessary if the recipe name does not begin
# with kernel-module-.
#
PKG_${PN} = "kernel-module-${PN}"
I guess because there is a new bbclass within dylan called kernel-module-split.bbclass
that has the following lines adding dependencies automatically.
...
if modules:
metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
the do_split_packages method called before that code gets executed seems to automatcally create
a list with kernel modules that all start with kernel-module-%s. I did not check what modules this method recognized. Maybe dsplinkk.ko was the only one and that's why the other modules did not
cause an error. Actually I did not spent to much time digging into the reason for introducing this bbclass at all.
So to answer your question, all the module recipes within the meta-ti repository don't seem to be named with a "kernel-module-" prefix, but only the dsplinkk.ko module result in an error.
Because they don't have to be called that. The only extra thing the new class does is sets up the dependencies. So even when a custom module name is used, it will work fine.
Well then I don't understand why compiling the dsplink module causes an error during creation of the
RootFS when not adding the RPROVIDES_${PN} += "kernel-module-dsplinkk" to ti-dsplink.inc
Error log follows:
Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
|
| The following packages have unmet dependencies:
| ti-dsplink : Depends: kernel-module-dsplinkk but it is not installable
| E: Unable to correct problems, you have held broken packages.
Or is that error by design to avoid people using the dsplink module within dylan?
As mentioned, I did not test the resulting firmware image yet, so maybe there is indeed a problem with the modules, although I can't imagine why it shouldn't work as the used kernel is still the same.
[-- Attachment #2: Type: text/html, Size: 6649 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: State of dylan branch in meta-ti
2013-10-25 11:27 ` Dmytriyenko, Denys
@ 2013-10-25 11:35 ` Volker Vogelhuber
0 siblings, 0 replies; 10+ messages in thread
From: Volker Vogelhuber @ 2013-10-25 11:35 UTC (permalink / raw)
Cc: meta-ti@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 5523 bytes --]
On 25.10.2013 13:27, Dmytriyenko, Denys wrote:
>> On 25.10.2013 13:11, Dmytriyenko, Denys wrote:
>>>> On 25.10.2013 12:58, Dmytriyenko, Denys wrote:
>>>>> On 25.10.2013 12:30, Denys Dmytriyenko wrote:
>>>>>>>> On Fri, Oct 25, 2013 at 12:12:35PM +0200, Volker Vogelhuber wrote:
>>>>>>>>> I just checked out the dylan branch of the yocto core and the
>>>>>>>>> meta-ti repository.
>>>>>>>>> It seems like the state of the meta-ti branch is not yet consistent
>>>>>>>>> to work out of the box.
>>>>>>>>>
>>>>>>>>> I currently had to remove the update-modules part from the ti
>>>>>>>>> recipes and had to add
>>>>>>>>> RPROVIDES_${PN} += "kernel-module-dsplinkk" to the ti-dsplink.inc
>>>>>>>>>
>>>>>>>>> Did I miss something or the dylan branch just not yet in a consistent state?
>>>>>>>> It's in great shape - better than ever! What you don't mention is what
>>>>>>>> platform you are using. You do mention dsplink though, but that is long since
>>>>>>>> unsupported. As a matter of fact, most of the old DSP related recipes are not
>>>>>>>> supported [1]. The new replacements are not ready yet. Other than that, it
>>>>>>>> provides great BSP support for platforms listed in the conf/ directory.
>>>>>>>>
>>>>>>>> [1]http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/README?h=dylan
>>>>>>
>>>>>> Thanks for the link, actually I did not read that notice yet indeed.
>>>>>> I'm currently using a TAO-3530 board from technexion.
>>>>>> We used to work with the denzil branch for some time, but after
>>>>>> updating to ubuntu
>>>>>> 13.10 there were a lot of errors that I tried to fix with the
>>>>>> dylan branch. And indeed after
>>>>>> patching some small problems (next to the patches for the meta-ti
>>>>>> branch), it does create
>>>>>> a rootfs image at least, but have to flash it and test if it has
>>>>>> some additional problems.
>>>>>>
>>>>>> I only wonder why the problem with the kernel-module- package
>>>>>> name does only occure with the
>>>>>> dsplink and not with the e.g. libgles modules as they seem to
>>>>>> provide wrong package names as well.
>>>>>
>>>>>
>>>>> What do you mean by the wrong package name?
>>>> In the hello-mod_0.1bb script under meta-skeleton within the dylan
>>>> branch of the yocto repository
>>>> there is the following notice:
>>>>
>>>> # Kernel module packages MUST begin with 'kernel-module-', otherwise
>>>> # multilib image generation can fail.
>>>> #
>>>> # The following line is only necessary if the recipe name does not
>>>> begin
>>>> # with kernel-module-.
>>>> #
>>>> PKG_${PN} = "kernel-module-${PN}"
>>>>
>>>> I guess because there is a new bbclass within dylan called
>>>> kernel-module-split.bbclass
>>>> that has the following lines adding dependencies automatically.
>>>>
>>>> ...
>>>> if modules:
>>>> metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
>>>> d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
>>>>
>>>> the do_split_packages method called before that code gets executed
>>>> seems to automatcally create
>>>> a list with kernel modules that all start with kernel-module-%s. I
>>>> did not check what modules this method recognized. Maybe
>>>> dsplinkk.ko was the only one and that's why the other modules did not
>>>> cause an error. Actually I did not spent to much time digging into
>>>> the reason for introducing this bbclass at all.
>>>>
>>>> So to answer your question, all the module recipes within the
>>>> meta-ti repository don't seem to be named with a "kernel-module-"
>>>> prefix, but only the dsplinkk.ko module result in an error.
>>>>
>>> Because they don't have to be called that. The only extra thing the
>>> new class does is sets up the dependencies. So even when a custom
>>> module name is used, it will work fine.
>>
>> Well then I don't understand why compiling the dsplink module causes
>> an error during creation of the
>> RootFS when not adding the RPROVIDES_${PN} +=
>> "kernel-module-dsplinkk" to ti-dsplink.inc
>>
>> Error log follows:
>>
>> Some packages could not be installed. This may mean that you have
>> | requested an impossible situation or if you are using the unstable
>> | distribution that some required packages have not yet been created
>> | or been moved out of Incoming.
>> | The following information may help to resolve the situation:
>> |
>> | The following packages have unmet dependencies:
>> | ti-dsplink : Depends: kernel-module-dsplinkk but it is not installable
>> | E: Unable to correct problems, you have held broken packages.
>>
>> Or is that error by design to avoid people using the dsplink module
>> within dylan?
>> As mentioned, I did not test the resulting firmware image yet, so
>> maybe there is indeed a problem with the modules, although I can't
>> imagine why it shouldn't work as the used kernel is still the same.
>>
> FILES_ti-dsplink-module is causing the problem...
Removing this line (as it seems to be done in
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/commit/recipes-bsp/ti-ocf-crypto-module/ti-ocf-crypto-module_1.0.bb?id=f3c7afb5a3f762894fb0476081d862cb3d54e2dd)
results in the following error message:
Package ti-dsplink-module is not available, but is referred to by
another package.
| This may mean that the package is missing, has been obsoleted, or
| is only available from another source
|
| E: Package 'ti-dsplink-module' has no installation candidate
[-- Attachment #2: Type: text/html, Size: 9947 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-10-25 11:35 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 10:12 State of dylan branch in meta-ti Volker Vogelhuber
2013-10-25 10:30 ` Denys Dmytriyenko
2013-10-25 10:54 ` Volker Vogelhuber
2013-10-25 10:58 ` Dmytriyenko, Denys
2013-10-25 11:08 ` Volker Vogelhuber
2013-10-25 11:11 ` Dmytriyenko, Denys
2013-10-25 11:14 ` Dmytriyenko, Denys
2013-10-25 11:20 ` Volker Vogelhuber
2013-10-25 11:27 ` Dmytriyenko, Denys
2013-10-25 11:35 ` Volker Vogelhuber
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.