Lazyweb, anyone know good tricks for discovering the kernel .config used on a device (old dev board) where /proc/config.gz was omitted and source was probably published but it's not clear where the relevant version is?
Conversation
Replying to
It's possible that CONFIG_IKCONFIG=y is enabled without CONFIG_IKCONFIG_PROC=y in which case you could use github.com/torvalds/linux. I don't really see a way of accurately figuring it out from the kernel itself, although if they have a standard toolchain you could compare builds.
i.e. build the same sources with the same toolchain and compare it to make sure the only differences are the expected ones. I always start by reproducing the standard builds when supporting mobile devices to make sure I'm using the exact same sources, configuration and toolchain.
Replying to
You should check /proc/version since scripts/setlocalversion sets the version based on git describe. It might have a commit hash to help with finding the correct version of the sources and hopefully the kernel configuration. I'm used to a defconfig in sources but it isn't always.
1
Show replies

