Skip to content

Instantly share code, notes, and snippets.

@dmpatel151282
Last active January 5, 2017 05:08
Show Gist options
  • Save dmpatel151282/3ff3e5f05791fbfa7be0d37d853fb964 to your computer and use it in GitHub Desktop.
Save dmpatel151282/3ff3e5f05791fbfa7be0d37d853fb964 to your computer and use it in GitHub Desktop.
Get extract-ikconfig in kernel-source/scripts/
$mkdir extract-uImage
$cd extract-uImage
$cp {kernel-source}/scripts/extract-ikconfig
Dump uImage skip 1024 bytes
$cp {uImage/what/you/want} uImage
$dd if=uImage of=dd_uImage bs=1024 skip=1
$./extract-ikconfig dd_uImage > config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment