Skip to contentSkip to conversation

kernel manual seems to make no mention of "defconfig"

DISCUSSION Robert P. J. Day 4 participants 6 messages Dec 23, 2012 – Jan 7, 2013

lore
Share & tools
lore
#0 lore raw

poking around kern-tools for purpose of documenting some stuff and
ran across this in "updateme":

split_command_line_objects() {
command_line_values=$@

for v in $command_line_values; do
v_base=basename $v
case $v_base in
*.scc) migrate_feature $v
;;
*.cfg) migrate_cfg $v
;;
*.patch|*.diff) migrate_patch $v
;;
defconfig) migrate_cfg $v;;
*) ;;
esac
done
}

AFAICT, there is no mention of a possible "defconfig" entry anywhere
in the current yocto kernel manual.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 22 lines · Robert P. J. Day

poking around kern-tools for purpose of documenting some stuff and
ran across this in "updateme":

split_command_line_objects() {
command_line_values=$@

for v in $command_line_values; do
v_base=basename $v
case $v_base in
*.scc) migrate_feature $v
;;
*.cfg) migrate_cfg $v
;;
*.patch|*.diff) migrate_patch $v
;;
defconfig) migrate_cfg $v;;
*) ;;
esac
done
}

Quoted 3 lines

AFAICT, there is no mention of a possible "defconfig" entry anywhere
in the current yocto kernel manual.

You won't find it there because it isn't specific to the kern-tools, what you see
there is a small wrapper on top of the kernel.bbclass defconfig handling, with
the same end result. So standard yocto/oe-core docs apply here.

Cheers,

Bruce

Quoted 17 lines

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#2 lore raw
Quoted 31 lines · Bruce Ashfield
Quoted 22 lines · Robert P. J. Day

poking around kern-tools for purpose of documenting some stuff and
ran across this in "updateme":

split_command_line_objects() {
command_line_values=$@

for v in $command_line_values; do
v_base=basename $v
case $v_base in
*.scc) migrate_feature $v
;;
*.cfg) migrate_cfg $v
;;
*.patch|*.diff) migrate_patch $v
;;
defconfig) migrate_cfg $v;;
*) ;;
esac
done
}

Quoted 3 lines

AFAICT, there is no mention of a possible "defconfig" entry anywhere
in the current yocto kernel manual.

Quoted 6 lines

You won't find it there because it isn't specific to the kern-tools, what you see
there is a small wrapper on top of the kernel.bbclass defconfig handling, with
the same end result. So standard yocto/oe-core docs apply here.

I also forgot to mention that Darren did cover defconfigs in the yocto kernel
docs that were put together for the 1.4 release (I think they were posted here),
so there's better / additional coverage upcoming!

I'm just not near my normal development systems to confirm, since I'm hiding out for the holidays watching a pack of kids get completely wound up for the big day!

Cheers,

Bruce

Quoted 30 lines

Cheers,

Bruce

Quoted 9 lines

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Quoted 8 lines
Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#3 lore raw
Quoted 39 lines · Bruce Ashfield

On Sun, Dec 23, 2012 at 11:10 PM, Bruce Ashfield <[email protected]> wrote:

On Sun, Dec 23, 2012 at 12:26 PM, Robert P. J. Day <[email protected]> wrote:

  poking around kern-tools for purpose of documenting some stuff and ran across this in "updateme":

split_command_line_objects() {
        command_line_values=$@

        for v in $command_line_values; do v_base=basename $v
            case $v_base in
                *.scc) migrate_feature $v ;;
                *.cfg) migrate_cfg $v ;;
                *.patch|*.diff) migrate_patch $v ;;
                defconfig) migrate_cfg $v;; *) ;;
            esac
        done
}

  AFAICT, there is no mention of a possible "defconfig" entry anywhere in the current yocto kernel manual.

You won't find it there because it isn't specific to the kern-tools, what you see there is a small wrapper on top of the kernel.bbclass defconfig handling, with the same end result. So standard yocto/oe-core docs apply here.

Quoted 4 lines

I also forgot to mention that Darren did cover defconfigs in the yocto kernel  docs that were put together for the 1.4 release (I think they were posted here), so there's better / additional coverage upcoming!

ah, i will go back and check those out, thanks. just trying to
catch up on several days of not reading the list.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#4 lore raw
Quoted 41 lines · Robert P. J. Day
Quoted 39 lines · Bruce Ashfield

On Sun, Dec 23, 2012 at 11:10 PM, Bruce Ashfield <[email protected]> wrote:

On Sun, Dec 23, 2012 at 12:26 PM, Robert P. J. Day <[email protected]> wrote:

poking around kern-tools for purpose of documenting some stuff and
ran across this in "updateme":

split_command_line_objects() {
command_line_values=$@

for v in $command_line_values; do
v_base=basename $v
case $v_base in
*.scc) migrate_feature $v
;;
*.cfg) migrate_cfg $v
;;
*.patch|*.diff) migrate_patch $v
;;
defconfig) migrate_cfg $v;; *) ;;
esac
done
}

AFAICT, there is no mention of a possible "defconfig" entry anywhere
in the current yocto kernel manual.

You won't find it there because it isn't specific to the kern-tools, what you see there is a small wrapper on top of the kernel.bbclass defconfig handling, with the same end result. So standard yocto/oe-core docs apply here.

Quoted 7 lines
Quoted 4 lines

I also forgot to mention that Darren did cover defconfigs in the yocto kernel docs that were put together for the 1.4 release (I think they were posted here), so there's better / additional coverage upcoming!

ah, i will go back and check those out, thanks. just trying to
catch up on several days of not reading the list.

They are in the process of being edited by our tech writer as well as being converted from ascii to docbook. You can see the current state of them here:

http://www.yoctoproject.org/docs/hart/kernel-dev/kernel-dev.html

See Section 2.2.2 and the sections that follow.

Keep in mind these are being actively worked on, so there are some rough edges we're working through still.

Thanks,

Darren

Quoted 10 lines

rday

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
#5 lore raw

This manual has not been merged with yocto-docs/master yet so the book is not available as an "In Progess" book just yet.

Scott

Quoted 99 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Darren Hart
Sent: Monday, January 07, 2013 8:25 AM
To: Robert P. J. Day
Cc: Yocto discussion list
Subject: Re: [yocto] kernel manual seems to make no mention of "defconfig"

Quoted 6 lines · Robert P. J. Day
Quoted 4 lines · Bruce Ashfield

On Sun, Dec 23, 2012 at 11:10 PM, Bruce Ashfield

Quoted 4 lines · <[email protected]> wrote:
Quoted 4 lines


      On Sun, Dec 23, 2012 at 12:26 PM, Robert P. J. Day
Quoted 2 lines · <[email protected]> wrote:
Quoted 2 lines

poking around kern-tools for purpose of documenting

some stuff and

Quoted 20 lines
Quoted 20 lines
            ran across this in "updateme":

            split_command_line_objects() {
                    command_line_values=$@

                    for v in $command_line_values; do
                        v_base=`basename $v`
                        case $v_base in
                            *.scc) migrate_feature $v
                                ;;
                            *.cfg) migrate_cfg $v
                                ;;
                            *.patch|*.diff) migrate_patch $v
                                ;;
                            defconfig) migrate_cfg $v;;
                            *) ;;
                        esac
                    done
            }
Quoted 1 line
Quoted 1 line

AFAICT, there is no mention of a possible "defconfig"

entry anywhere

Quoted 8 lines
Quoted 8 lines

in the current yocto kernel manual.

You won't find it there because it isn't specific to the kern-tools, what you see there is a small wrapper on top of the kernel.bbclass defconfig handling, with the same end result. So standard yocto/oe-core docs apply here.

Quoted 7 lines
Quoted 4 lines

I also forgot to mention that Darren did cover defconfigs in the yocto kernel docs that were put together for the 1.4 release (I think they were posted here), so there's better / additional coverage upcoming!

ah, i will go back and check those out, thanks. just trying to
catch up on several days of not reading the list.

They are in the process of being edited by our tech writer as well as being converted from ascii to docbook. You can see the current state of them here:

http://www.yoctoproject.org/docs/hart/kernel-dev/kernel-dev.html

See Section 2.2.2 and the sections that follow.

Keep in mind these are being actively worked on, so there are some rough edges we're working through still.

Thanks,

Darren

Quoted 10 lines

rday

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto