* POSIX message queue does not exist?
@ 2013-10-11 18:13 Joshua Kurland
2013-10-12 18:30 ` Otavio Salvador
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Joshua Kurland @ 2013-10-11 18:13 UTC (permalink / raw)
To: meta-freescale
How can I enable POSIX message queues for the imx6 wandboard-quad
kernel? Do I need to add something to my recipe, or is their a
setting in the kernel menuconfig? My current kernel version is
3.0.35-4.0.0-wandboard+g929768a.
Thanks for the help
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: POSIX message queue does not exist?
2013-10-11 18:13 POSIX message queue does not exist? Joshua Kurland
@ 2013-10-12 18:30 ` Otavio Salvador
2013-10-13 15:00 ` Krakora Randy-B37740
2013-10-14 19:26 ` Joshua Kurland
2 siblings, 0 replies; 9+ messages in thread
From: Otavio Salvador @ 2013-10-12 18:30 UTC (permalink / raw)
To: Joshua Kurland; +Cc: meta-freescale@yoctoproject.org
On Fri, Oct 11, 2013 at 3:13 PM, Joshua Kurland
<joshua.kurland@adtecdigital.net> wrote:
> How can I enable POSIX message queues for the imx6 wandboard-quad
> kernel? Do I need to add something to my recipe, or is their a
> setting in the kernel menuconfig? My current kernel version is
> 3.0.35-4.0.0-wandboard+g929768a.
It seems you need to research a bit about the Linux build/config.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: POSIX message queue does not exist?
2013-10-11 18:13 POSIX message queue does not exist? Joshua Kurland
2013-10-12 18:30 ` Otavio Salvador
@ 2013-10-13 15:00 ` Krakora Randy-B37740
2013-10-14 19:26 ` Joshua Kurland
2 siblings, 0 replies; 9+ messages in thread
From: Krakora Randy-B37740 @ 2013-10-13 15:00 UTC (permalink / raw)
To: Joshua Kurland; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 658 bytes --]
1. CONFIG_POSIX_MQUEUE perhaps?
Regards,
Randy Krakora
On Oct 11, 2013, at 2:13 PM, "Joshua Kurland" <joshua.kurland@adtecdigital.net<mailto:joshua.kurland@adtecdigital.net>> wrote:
How can I enable POSIX message queues for the imx6 wandboard-quad
kernel? Do I need to add something to my recipe, or is their a
setting in the kernel menuconfig? My current kernel version is
3.0.35-4.0.0-wandboard+g929768a.
Thanks for the help
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org<mailto:meta-freescale@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale
[-- Attachment #2: Type: text/html, Size: 1452 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: POSIX message queue does not exist?
2013-10-11 18:13 POSIX message queue does not exist? Joshua Kurland
2013-10-12 18:30 ` Otavio Salvador
2013-10-13 15:00 ` Krakora Randy-B37740
@ 2013-10-14 19:26 ` Joshua Kurland
2013-10-14 19:51 ` Otavio Salvador
2 siblings, 1 reply; 9+ messages in thread
From: Joshua Kurland @ 2013-10-14 19:26 UTC (permalink / raw)
To: meta-freescale
I have posix mqueue enabled in the defconfig file in
source/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
I used menuconfig to set the posix mqflags (bitbake -c menuconfig
linux-imx), the copied the .config from
tmp/work/wandboard_quad-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git
to the defconfig file mentioned above. I then ran bitbake -c
cleansstate linux-imx followed by bitbake myBuild. After I loaded the
image onto an SD card and booted the board, I used mq_overview to see
if posix message queue had been added properly (mkdir mqueuetest,
mount -t mqueue none mqueuetest). It was not found.
Am I missing a step? My target board is the Wandboard-quad.
On Fri, Oct 11, 2013 at 2:13 PM, Joshua Kurland
<joshua.kurland@adtecdigital.net> wrote:
> How can I enable POSIX message queues for the imx6 wandboard-quad
> kernel? Do I need to add something to my recipe, or is their a
> setting in the kernel menuconfig? My current kernel version is
> 3.0.35-4.0.0-wandboard+g929768a.
>
> Thanks for the help
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: POSIX message queue does not exist?
2013-10-14 19:26 ` Joshua Kurland
@ 2013-10-14 19:51 ` Otavio Salvador
2013-10-14 19:58 ` Joshua Kurland
2013-10-14 20:06 ` John Weber
0 siblings, 2 replies; 9+ messages in thread
From: Otavio Salvador @ 2013-10-14 19:51 UTC (permalink / raw)
To: Joshua Kurland; +Cc: meta-freescale@yoctoproject.org
On Mon, Oct 14, 2013 at 4:26 PM, Joshua Kurland
<joshua.kurland@adtecdigital.net> wrote:
> I have posix mqueue enabled in the defconfig file in
> source/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q
>
> CONFIG_POSIX_MQUEUE=y
> CONFIG_POSIX_MQUEUE_SYSCTL=y
>
> I used menuconfig to set the posix mqflags (bitbake -c menuconfig
> linux-imx), the copied the .config from
> tmp/work/wandboard_quad-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git
> to the defconfig file mentioned above. I then ran bitbake -c
> cleansstate linux-imx followed by bitbake myBuild. After I loaded the
> image onto an SD card and booted the board, I used mq_overview to see
> if posix message queue had been added properly (mkdir mqueuetest,
> mount -t mqueue none mqueuetest). It was not found.
>
> Am I missing a step? My target board is the Wandboard-quad.
Yes; you should change the linux-wandboard recipe, not linux-imx.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: POSIX message queue does not exist?
2013-10-14 19:51 ` Otavio Salvador
@ 2013-10-14 19:58 ` Joshua Kurland
2013-10-14 20:00 ` Otavio Salvador
2013-10-14 20:06 ` John Weber
1 sibling, 1 reply; 9+ messages in thread
From: Joshua Kurland @ 2013-10-14 19:58 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
I had a feeling you were going to say that. I just finished my try
with that instead. So the steps I took were:
bitbake -c menuconfig linux-wandboard
(changed kernel stuff)
cp .config meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q/defconfig
bitbake -c cleansstate linux-wandboard
bitbake myBuild
Am I copying the .config to the wrong directory? Should I have a
linux-wandboard directory somewhere (and if so, where is it)?
On Mon, Oct 14, 2013 at 3:51 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Mon, Oct 14, 2013 at 4:26 PM, Joshua Kurland
> <joshua.kurland@adtecdigital.net> wrote:
>> I have posix mqueue enabled in the defconfig file in
>> source/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q
>>
>> CONFIG_POSIX_MQUEUE=y
>> CONFIG_POSIX_MQUEUE_SYSCTL=y
>>
>> I used menuconfig to set the posix mqflags (bitbake -c menuconfig
>> linux-imx), the copied the .config from
>> tmp/work/wandboard_quad-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git
>> to the defconfig file mentioned above. I then ran bitbake -c
>> cleansstate linux-imx followed by bitbake myBuild. After I loaded the
>> image onto an SD card and booted the board, I used mq_overview to see
>> if posix message queue had been added properly (mkdir mqueuetest,
>> mount -t mqueue none mqueuetest). It was not found.
>>
>> Am I missing a step? My target board is the Wandboard-quad.
>
> Yes; you should change the linux-wandboard recipe, not linux-imx.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: POSIX message queue does not exist?
2013-10-14 19:58 ` Joshua Kurland
@ 2013-10-14 20:00 ` Otavio Salvador
2013-10-14 20:09 ` Joshua Kurland
0 siblings, 1 reply; 9+ messages in thread
From: Otavio Salvador @ 2013-10-14 20:00 UTC (permalink / raw)
To: Joshua Kurland; +Cc: meta-freescale@yoctoproject.org
On Mon, Oct 14, 2013 at 4:58 PM, Joshua Kurland
<joshua.kurland@adtecdigital.net> wrote:
> I had a feeling you were going to say that. I just finished my try
> with that instead. So the steps I took were:
>
> bitbake -c menuconfig linux-wandboard
> (changed kernel stuff)
> cp .config meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q/defconfig
> bitbake -c cleansstate linux-wandboard
> bitbake myBuild
>
> Am I copying the .config to the wrong directory? Should I have a
> linux-wandboard directory somewhere (and if so, where is it)?
linux-wandboard is at meta-fsl-arm-extra; please check your tmp/work/
and look for log.do_unpack for your recipe. This will show were it
looks for the defconfig file.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: POSIX message queue does not exist?
2013-10-14 20:00 ` Otavio Salvador
@ 2013-10-14 20:09 ` Joshua Kurland
0 siblings, 0 replies; 9+ messages in thread
From: Joshua Kurland @ 2013-10-14 20:09 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
That would explain it, thank you.
On Mon, Oct 14, 2013 at 4:00 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> On Mon, Oct 14, 2013 at 4:58 PM, Joshua Kurland
> <joshua.kurland@adtecdigital.net> wrote:
>> I had a feeling you were going to say that. I just finished my try
>> with that instead. So the steps I took were:
>>
>> bitbake -c menuconfig linux-wandboard
>> (changed kernel stuff)
>> cp .config meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q/defconfig
>> bitbake -c cleansstate linux-wandboard
>> bitbake myBuild
>>
>> Am I copying the .config to the wrong directory? Should I have a
>> linux-wandboard directory somewhere (and if so, where is it)?
>
> linux-wandboard is at meta-fsl-arm-extra; please check your tmp/work/
> and look for log.do_unpack for your recipe. This will show were it
> looks for the defconfig file.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: POSIX message queue does not exist?
2013-10-14 19:51 ` Otavio Salvador
2013-10-14 19:58 ` Joshua Kurland
@ 2013-10-14 20:06 ` John Weber
1 sibling, 0 replies; 9+ messages in thread
From: John Weber @ 2013-10-14 20:06 UTC (permalink / raw)
To: meta-freescale
Nice catch Otavio.
Also, a slightly better workflow (as opposed to directly modifying the defconfig
in the metadata) might be:
bitbake virtual/kernel -c cleansstate
bitbake virtual/kernel -c configure (unpack, patch, configure, etc.)
bitbake virtual/kernel -c menuconfig (make your changes to the kernel config here)
bitbake virtual/kernel (build the kernel)
This allows you to configure the kernel with the correct defconfig, then modify
that using the menuconfig (which takes care of any dependencies). You can hack
away at that until you get it right (just don't bitbake clean it or your changes
will be wiped out).
When you're done reconfiguring:
bitbake virtual/kernel -c devshell -> takes you to the kernel source tree
unset LDFLAGS
make savedefconfig -> creates a reduced form of the defconfig
cp defconfig
fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-wandboard-3.0.35
John
On 10/14/13 2:51 PM, Otavio Salvador wrote:
> On Mon, Oct 14, 2013 at 4:26 PM, Joshua Kurland
> <joshua.kurland@adtecdigital.net> wrote:
>> I have posix mqueue enabled in the defconfig file in
>> source/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6q
>>
>> CONFIG_POSIX_MQUEUE=y
>> CONFIG_POSIX_MQUEUE_SYSCTL=y
>>
>> I used menuconfig to set the posix mqflags (bitbake -c menuconfig
>> linux-imx), the copied the .config from
>> tmp/work/wandboard_quad-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git
>> to the defconfig file mentioned above. I then ran bitbake -c
>> cleansstate linux-imx followed by bitbake myBuild. After I loaded the
>> image onto an SD card and booted the board, I used mq_overview to see
>> if posix message queue had been added properly (mkdir mqueuetest,
>> mount -t mqueue none mqueuetest). It was not found.
>>
>> Am I missing a step? My target board is the Wandboard-quad.
> Yes; you should change the linux-wandboard recipe, not linux-imx.
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-10-14 20:09 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 18:13 POSIX message queue does not exist? Joshua Kurland
2013-10-12 18:30 ` Otavio Salvador
2013-10-13 15:00 ` Krakora Randy-B37740
2013-10-14 19:26 ` Joshua Kurland
2013-10-14 19:51 ` Otavio Salvador
2013-10-14 19:58 ` Joshua Kurland
2013-10-14 20:00 ` Otavio Salvador
2013-10-14 20:09 ` Joshua Kurland
2013-10-14 20:06 ` John Weber
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.