All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Weber <rjohnweber@gmail.com>
To: meta-freescale@yoctoproject.org
Subject: Re: POSIX message queue does not exist?
Date: Mon, 14 Oct 2013 15:06:16 -0500	[thread overview]
Message-ID: <525C4EB8.30502@gmail.com> (raw)
In-Reply-To: <CAP9ODKqTLhynWsi+WDx-W8DRETF4TvDxprjoOzs4pOvXQ6QdmQ@mail.gmail.com>

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.
>



      parent reply	other threads:[~2013-10-14 20:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525C4EB8.30502@gmail.com \
    --to=rjohnweber@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.