All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zoran Stojsavljevic <zoran.stojsavljevic@gmail.com>
To: Greg Wilson-Lindberg <GWilson@sakuraus.com>
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: changing kernel config in Morty build
Date: Wed, 3 Oct 2018 10:16:06 +0200	[thread overview]
Message-ID: <CAGAf8LzFnwi_WJUmW__LxgJ4XLgyOCXRARwyQ-dnec1GeKKgzg@mail.gmail.com> (raw)
In-Reply-To: <286078d59ba1400fb6646b0e6057add6@sakuraus.com>

Hello Greg,

Not sure if this can help, since I do Sumo. This works for Sumo, no
idea if ths works for Morty.
https://www.yoctoproject.org/docs/2.5/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file

Hope this helps,
Zoran
_______

On Tue, Oct 2, 2018 at 11:39 PM Greg Wilson-Lindberg
<GWilson@sakuraus.com> wrote:
>
> I'm trying to change some kernel configuration flags in a raspberrypi3 Morty build and I get warnings that it isn't working.
>
>
> Here is the build info and warnings:
>
>
> Build Configuration:
> BB_VERSION        = "1.32.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "universal"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "raspberrypi3"
> DISTRO            = "b2qt"
> DISTRO_VERSION    = "2.2.4"
> TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7"
> TARGET_FPU        = "hard"
> SDKMACHINE        = "x86_64"
> meta
> meta-poky         = "HEAD:df76669bdd70aa0d903c4211dde731221c7e756d"
> meta-raspberrypi  = "HEAD:2a192261a914892019f4f428d7462bb3c585ebac"
> meta-oe
> meta-python
> meta-networking
> meta-initramfs
> meta-multimedia   = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
> meta-boot2qt
> meta-raspberrypi-extras = "<unknown>:<unknown>"
> meta-mingw        = "HEAD:1c2e155111dce94423cc227ea69f7f50f316c78e"
> meta-qt5          = "HEAD:49e9d9a73b5c6e3d6eab88dc0005305e85b1a62d"
> meta-sakura       = "<unknown>:<unknown>"
>
> Initialising tasks: 100% |#############################################################################################################################################| Time: 0:00:00
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: linux-raspberrypi-1_4.4.50+gitAUTOINC+04c8e47067-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:
>
> ---------- CONFIG_SND_SOC_MAX9768 -----------------
> Config: CONFIG_SND_SOC_MAX9768
> From: /home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg
> Requested value:  CONFIG_SND_SOC_MAX9768=y
> Actual value:
>
> Config 'SND_SOC_MAX9768' has the following conditionals:
>
> Dependency values are:
>
>
> ---------- CONFIG_MAX1363 -----------------
> Config: CONFIG_MAX1363
> From: /home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg
> Requested value:  CONFIG_MAX1363=m
> Actual value:     # CONFIG_MAX1363 is not set
>
> Config 'MAX1363' has the following conditionals:
>   I2C (value: "y")
> Dependency values are:
>   I2C [y]
>
> ---------- CONFIG_CAN_EMS_USB -----------------
> Config: CONFIG_CAN_EMS_USB
> From: /home/gwilson/Qt/Qt-5.9.6/Yocto-build-RPi3/build-raspberrypi3/tmp/work-shared/raspberrypi3/kernel-source/.kernel-meta/configs/Scribe.cfg
> Requested value:  CONFIG_CAN_EMS_USB=m
> Actual value:     # CONFIG_CAN_EMS_USB is not set
>
> Config 'CAN_EMS_USB' has the following conditionals:
>   (none)
> Dependency values are:
>
>
> Here is my linux-raspberrypi_4.4.bbappend for the kernel:
>
> # Scribe additions to Kernel configuration
>
> FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:"
> FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/${PN}:"
>
> SRC_URI += "file://Scribe.scc"
> SRC_URI += "file://mcp251x.c.patch"
>
>
> The Scribe.scc file:
>
> # Scribe additions to kernel configuration
> kconf hardware Scribe.cfg
>
>
> And the Scribe.cfg file:
>
> # Scribe additions to kernel configuration
>
> # Enable MAX9768
> #CONFIG_SOC_ALL_CODECS=m
> #CONFIG_COMPILE_TEST=y
> CONFIG_SND_SOC_MAX9768=y
>
> # Enable MAX11606
> #IIO=y
> CONFIG_MAX1363=m
>
> # Enable EMS CPC-USB
> CONFIG_CAN_EMS_USB=m
>
> Here is my directory tree:
>
> Qt-5.9.6
>
>      Yocto-mirror                                                     # Yocto build mirror
>      Yocto-build-RPi3                                              # Yocto build root
>                 build-raspberrypi                                   # build directory
>                 sources                                                 # yocto sources
>                        meta-sakura                                   # our recipes
>                                recipes-kernel                        # directory for kernel changes
>                                        linux                               # directory that contains linux-raspberrypi_4.4.bbappend
>                                               files                         # directory that contains .scc & .cfg files
>
> As seen above none of the changes are accepted although there is nothing that blocks any of them.
>
> Any help understanding this would be greatly appreciated.
>
> Regards,
>
> Greg Wilson-Lindberg
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


  reply	other threads:[~2018-10-03  8:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-02 21:22 changing kernel config in Morty build Greg Wilson-Lindberg
2018-10-03  8:16 ` Zoran Stojsavljevic [this message]
2018-10-04 20:38 ` Greg Wilson-Lindberg
2018-10-05 15:46   ` Bruce Ashfield
2018-10-05 16:23     ` Greg Wilson-Lindberg
2018-10-05 23:26       ` Greg Wilson-Lindberg
2018-10-09  2:50         ` Bruce Ashfield
2018-10-10  3:16         ` Bruce Ashfield
2018-10-10 16:31           ` Greg Wilson-Lindberg
2018-10-10 19:07           ` Greg Wilson-Lindberg
2018-10-10 19:46             ` Bruce Ashfield

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=CAGAf8LzFnwi_WJUmW__LxgJ4XLgyOCXRARwyQ-dnec1GeKKgzg@mail.gmail.com \
    --to=zoran.stojsavljevic@gmail.com \
    --cc=GWilson@sakuraus.com \
    --cc=yocto@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.