[poky] Defconfig mods, Zynq-zx3 netmodule
Khem Raj
raj.khem at gmail.com
Wed Oct 30 20:07:30 PDT 2013
On Wed, Oct 30, 2013 at 7:17 PM, Michael Davis
<mdavis at planetaryresources.com> wrote:
> Hi David,
>
>
>
> I am currently using the netmodule meta layer in yocto to build a kernel and
> ramdisk for my zynq zx3 on a starter board. I need to enable kernel
> function tracing and a few other configurations in my build. I need help on
> the correct way to enable kernel configurations (specifically I need
> CONFIG_FTRACE and CONFIG_PROFILING) using the meta layer.
>
> My attempts have been based on the KERNEL_DEFCONFIG_zynq_zx3_starter
> variable in recipes-kernel/linux/linux-zynq-git.bb. I have tried specifying
> my own patch to create this file as well as pointing it to my own modified
> copy of the defconfig created by the patches in meta-netmodule. After
> building, the modified defconfig file with the flags shows up in my work
> directory as .config but no changes ever appear in /proc/config.gz after
> booting my image. I am able to verify that the ‘make zynq_zx3_defconfig’
> step was run. I wonder if the steps to do this are different here using the
> linux-zynq recipe as opposed to linux-yocto. Any input on the correct way
> to do this would be greatly appreciated.
looking at the layer it seems that you have to store it in defconfig
for the machine you are interested in. There are few ways to go about
it. So go to the configured kernel tree and use make menuconfig to add
options you need to add and then do 'make savedefconfig' which should
create a new defconfig with your changes in it which then you can save
along side other machine defconfigs in kernel tree via a patch or may
be keep it in metadata
and add changes to recipe to use it for your machine.
>
> Thanks for the help in advance.
>
>
>
> -Mike
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
More information about the poky
mailing list