[Bug 908454] get_kernel_version does not support zImage
10 May
2015
10 May
'15
09:31
http://bugzilla.novell.com/show_bug.cgi?id=908454 --- Comment #17 from Ruediger Oertel <ro@suse.com> --- file only tells the type, not the version we are after. for reference: http://morgue.openinkpot.org/wiki/Documentation/ZImageFormat in short: objdump -EL -b binary -D -m armv5t zImage-3.16.7-11-default | grep 8b1f | head -2 4878: 00088b1f andeq r8, r8, pc, lsl fp 5220: 8b1ffd06 blhi 0x804640 4878 hex = 18552 dec dd if=zImage-3.16.7-11-default of=piggy.gz bs=1 skip=18552 # get_kernel_version piggy.gz 3.16.7-11-default no idea yet how to get a simple implementation for this without all the ELF magic -- You are receiving this mail because: You are on the CC list for the bug.
3525
Age (days ago)
3525
Last active (days ago)
0 comments
1 participants
participants (1)
-
bugzilla_noreply@novell.com