* QEMU kernel defconfigs
@ 2018-11-15 17:29 Jon Mason
2018-11-15 20:08 ` Bruce Ashfield
0 siblings, 1 reply; 3+ messages in thread
From: Jon Mason @ 2018-11-15 17:29 UTC (permalink / raw)
To: Yocto discussion list
I'm having difficulty determining where the kernel defconfigs are
defined and located. I'm specifically looking for the qemuarm and
qemuarm64 kernel defconfigs. I've looked at the relevant
documentation, https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file
and
no SRC_URI with defconfig or KBUILD_DEFCONFIG_KMACHINE defined in
meta/recipes-kernel/linux/linux-yocto_4.18.bb
What am I missing?
Also, "A defconfig file is simply a .config renamed to "defconfig"."
is not correct. A properly created defconfig is created by `make
savedefconfig` and is a minimal file which only has the delta between
the desired config and defaults from the Kconfig files.
https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#creating-a-defconfig-file
Thanks,
Jon
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: QEMU kernel defconfigs
2018-11-15 17:29 QEMU kernel defconfigs Jon Mason
@ 2018-11-15 20:08 ` Bruce Ashfield
2018-11-15 22:46 ` Scott Rifenbark
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2018-11-15 20:08 UTC (permalink / raw)
To: Jon Mason, Yocto discussion list
On 2018-11-15 12:29 p.m., Jon Mason wrote:
> I'm having difficulty determining where the kernel defconfigs are
> defined and located. I'm specifically looking for the qemuarm and
> qemuarm64 kernel defconfigs. I've looked at the relevant
> documentation, https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file
> and
> no SRC_URI with defconfig or KBUILD_DEFCONFIG_KMACHINE defined in
> meta/recipes-kernel/linux/linux-yocto_4.18.bb
>
> What am I missing?
The reference machines with linux-yocto don't use defconfigs at all.
They are fully assembled from the configuration fragments in the
kernel-cache repo.
You'll see the location of the kernel-cache, and the routines that
gather up the fragments in the linux-yocto* recipes.
The kernel development manual has that detail as well:
https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#kernel-dev-advanced
Bruce
>
> Also, "A defconfig file is simply a .config renamed to "defconfig"."
> is not correct. A properly created defconfig is created by `make
> savedefconfig` and is a minimal file which only has the delta between
> the desired config and defaults from the Kconfig files.
> https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#creating-a-defconfig-file
>
> Thanks,
> Jon
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: QEMU kernel defconfigs
2018-11-15 20:08 ` Bruce Ashfield
@ 2018-11-15 22:46 ` Scott Rifenbark
0 siblings, 0 replies; 3+ messages in thread
From: Scott Rifenbark @ 2018-11-15 22:46 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: Yocto discussion list
[-- Attachment #1: Type: text/plain, Size: 1803 bytes --]
On Thu, Nov 15, 2018 at 12:08 PM Bruce Ashfield <
bruce.ashfield@windriver.com> wrote:
> On 2018-11-15 12:29 p.m., Jon Mason wrote:
> > I'm having difficulty determining where the kernel defconfigs are
> > defined and located. I'm specifically looking for the qemuarm and
> > qemuarm64 kernel defconfigs. I've looked at the relevant
> > documentation,
> https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#using-an-in-tree-defconfig-file
> > and
> > no SRC_URI with defconfig or KBUILD_DEFCONFIG_KMACHINE defined in
> > meta/recipes-kernel/linux/linux-yocto_4.18.bb
> >
> > What am I missing?
>
> The reference machines with linux-yocto don't use defconfigs at all.
> They are fully assembled from the configuration fragments in the
> kernel-cache repo.
>
> You'll see the location of the kernel-cache, and the routines that
> gather up the fragments in the linux-yocto* recipes.
>
> The kernel development manual has that detail as well:
>
>
> https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#kernel-dev-advanced
>
> Bruce
>
> >
> > Also, "A defconfig file is simply a .config renamed to "defconfig"."
> > is not correct. A properly created defconfig is created by `make
> > savedefconfig` and is a minimal file which only has the delta between
> > the desired config and defaults from the Kconfig files.
> >
> https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#creating-a-defconfig-file
> >
> > Thanks,
> > Jon
>
Jon - see
https://www.yoctoproject.org/docs/2.5.1/kernel-dev/kernel-dev.html#creating-a-defconfig-file
for some re-phrasing.
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
[-- Attachment #2: Type: text/html, Size: 3199 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-15 22:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15 17:29 QEMU kernel defconfigs Jon Mason
2018-11-15 20:08 ` Bruce Ashfield
2018-11-15 22:46 ` Scott Rifenbark
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.