1. Run "diffconfig not_working_defconf working_defconf" from kernel source on two kernel configs to get a file named compare.defconfig with all changes.
2. Name the not_working config "defconfig_clean"
3. Run this script to produce a file called "defconfig".