How to get the .config from a Linux kernel image?
Assuming your kernel was built with the IKCONFIG option, you can use the scripts/extract-ikconfig tool to extract the original .config file. Alternately, you can boot that kernel and find the embedded configuration in /proc/config.gz.