[PATCH RFT] ARM: bcm2835: enable all bcm2835-relevant in defconfig
swarren at wwwdotorg.org
Tue Oct 20 19:32:20 PDT 2015
On 10/15/2015 02:47 PM, Stefan Wahren wrote:
> Rebuild bcm2835_defconfig using "make bcm2835_defconfig;
> make savedefconfig", and add the following features:
> * Enable all bcm2835-relevant drivers (MBOX, WDT, DMA,
> PWM, SND)
> * Re-enable some features to keep the current settings
> (stackprotector, LED GPIO, LED triggers)
Can you explain that second bullet a bit more?
When regenerating defconfig files, it is quite common for entries not
related to your changes to appear or disappear due to other changes in
the kernel or some of the remove options being selected by some of the
new options you enabled.
To check what's going on, I usually do the following when editing defconfig:
1) Rebuild bcm2835_defconfig without editing the .config file at all
(make bcm2835_defconfig; make savedefconfig; mv defconfig
arch/arm/configs/bcm2835_defconfig; git commit). This allows me to see
all the unrelated changes that will happen simply due to rebuilding the
defconfig. You should double-check these, but likely ignore them.
2) Now edit the .config (e.g. make menuconfig) and re-generate the
defconfig and commit. This change should now only include changes that
are a direct result of your .config edits.
To submit the patch, I often squash the two together after the separate
More information about the linux-arm-kernel