Part Number: AM3352
Tool/software: Linux
Hello,
I'm having a rather difficult time trying to get the linux-ti-staging-4.9 kernel configured using my own defconfig for a custom am3352 board.
I've set up my meta-arago centralized build environment using the steps found on Arago's Setting Up Build Environment page, with the exception that I'm using the Linaro 6.2.1-2016 toolchain instead of the Linaro 5.3-2016 toolchain and I used the arago-morty-next-config for the layer configuration.
I've also added a custom layer for my board (which I created with the yocto project's yocto-bsp tool, that is located in a different directory), named meta-custom, and have added my defconfig (which is actually a full .config that I made for the 4.9.10 kernel) and board-specific patch to meta-custom/recipes-kernel/linux/linux-ti-staging-4.9. My linux-ti-staging_4.9.bbappend file at meta-custom/recipes-kernel/linux looks like this:
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
SRC_URI += "file://defconfig"
SRC_URI += "file://0001-Added-support-for-my-board.patch"
For my custom.conf machine configuration in meta-custom/conf/machine/, I require the ti33x.inc from meta-ti/conf/machine/include. I believe that this is where most of my problems are stemming from because this include declares SOC_FAMILY = "ti33x", which appears to force the defconfig at meta-ti/recipes-kernel/linux/linux-ti-staging-4.9/ti33x/. From there, it looks like the defconfig (and ultimately the .config) gets built from the defconfig fragments at tisdk/build/arago-tmp-external-linaro-toolchain/work/custom-linux-gnueabi/linux-ti-staging/4.9.10+gitblahblahblah/build/source/ti_config_fragments/ using the defconfig_builder.sh script.
In my layer.conf for my layer, I changed BBFILE_PRIORITY_custom to equal "11" and have also added my layer to the end of the BBLAYERS variable in the bblayers.conf file in tisdk/build/conf/
I'm able to successfully complete the bitbake core-image-minimal build for my board, but the .config file in the work directory for the kernel isn't anything like my defconfig, which I believe is due to the defconfig_builder.sh script overwriting my defconfig, and therefore doesn't produce the correct kernel for my board. Can anyone help me rectify this situation?
Thank you,
Jon