Skip to contentSkip to conversation

should i have known about "use-kernel-config"?

DISCUSSION Robert P. J. Day 1 participant 2 messages Apr 23, 2013

lore
Share & tools
lore
#0 lore raw

condensed version: i want to define a new machine for the MIPS
SEAD3, which is 32-bit, little endian, and it seemed pretty straightforward, using the routerstation pro as a starting point and making the appropriate tweaks.

i chose to base off of linux-yocto-3.8, and chose the
standard/mti-malta32 branch, then wanted to make sure i had an appropriate defconfig. turns out there *is* a arch/mips/configs/sead3_defconfig file in that branch, with exactly the two settings i cared most about right at the top:

CONFIG_MIPS_SEAD3=y
CONFIG_CPU_LITTLE_ENDIAN=y

so all i wanted was to say, "use *that* as the defconfig", but i saw nothing in the kernel guide that explained how until i tripped over this in one of the meta-arago defconfig files:

use-kernel-config=am335x_evm_defconfig

does that do what i *think* it does? because it's certainly not
mentioned anywhere in the yocto docs. and it's kind of handy.

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 15 lines · Robert P. J. Day

condensed version: i want to define a new machine for the MIPS
SEAD3, which is 32-bit, little endian, and it seemed pretty straightforward, using the routerstation pro as a starting point and making the appropriate tweaks.

i chose to base off of linux-yocto-3.8, and chose the
standard/mti-malta32 branch, then wanted to make sure i had an appropriate defconfig. turns out there *is* a arch/mips/configs/sead3_defconfig file in that branch, with exactly the two settings i cared most about right at the top:

CONFIG_MIPS_SEAD3=y
CONFIG_CPU_LITTLE_ENDIAN=y

Quoted 8 lines

so all i wanted was to say, "use *that* as the defconfig", but i saw nothing in the kernel guide that explained how until i tripped over this in one of the meta-arago defconfig files:

use-kernel-config=am335x_evm_defconfig

does that do what i *think* it does? because it's certainly not
mentioned anywhere in the yocto docs. and it's kind of handy.

oh, wait, i see that it's apparently a TI extension defined in
meta-ti's setup-defconfig.inc. never mind. carry on.

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