How to extract kernel config from uImage

Get extract-ikconfig in kernel-source/scripts/ [code lang=”bash”] $mkdir extract-uImage $cd extract-uImage $cp {kernel-source}/scripts/extract-ikconfig [/code] Dump uImage skip 1024 bytes [code lang=”bash”] $cp {uImage/what/you/want} uImage $dd if=uImage of=dd_uImage bs=1024 skip=1 $./extract-ikconfig dd_uImage > config [/code]


Get extract-ikconfig in kernel-source/scripts/

[code lang=”bash”]
$mkdir extract-uImage
$cd extract-uImage
$cp {kernel-source}/scripts/extract-ikconfig
[/code]

Dump uImage skip 1024 bytes

[code lang=”bash”]
$cp {uImage/what/you/want} uImage
$dd if=uImage of=dd_uImage bs=1024 skip=1
$./extract-ikconfig dd_uImage > config
[/code]


Leave a Reply

Discover more from Prabhu System Technology

Subscribe now to keep reading and get access to the full archive.

Continue reading