how to uncompress a vmlinuz ARM kernel ?

Getting your soundcard to work, using Debian on non-i386 hardware, etc

how to uncompress a vmlinuz ARM kernel ?

Postby vidocq » 2018-05-27 06:41

Hello,

I'm a longtime Debian's user (lover?) and I just get à Raspberry Pi 3+. I would like to run Debian (instead of Raspbian) on it, I'm using debootstrap to install it on an usbkey. I've tried to boot on it and everything work except that I need to boot on an uncompressed kernel. (for the test I used the Rapsbian kernel but it doesn't match the Debian's modules so...)
The problem is that I can't find a solution to uncompress an ARM vmlinuz kernel :(

Someone can help ? :roll:

Thanks

K.
vidocq
 
Posts: 4
Joined: 2018-05-27 06:30

Re: how to uncompress a vmlinuz ARM kernel ?

Postby debiman » 2018-05-27 07:30

it's just a compressed file, and you uncompress it as you would any other file.
where is the file? show us.
and what have you tried?
User avatar
debiman
 
Posts: 2790
Joined: 2013-03-12 07:18

Re: how to uncompress a vmlinuz ARM kernel ?

Postby vidocq » 2018-05-27 09:19

This is the "best" method I've seen through my researches but it doesn't work with an ARM (only x86) :

https://www.ibm.com/developerworks/comm ... uz?lang=en

When I try to gunzip I got this error : gzip: unknown suffix -- ignored :(
vidocq
 
Posts: 4
Joined: 2018-05-27 06:30

Re: how to uncompress a vmlinuz ARM kernel ?

Postby vidocq » 2018-05-27 09:33

this is the output :

pi@raspberrypi:~/kernel $ od -A d -t x1 vmlinuz-4.9.0-6-armmp | grep "1f 8b 08"
0594192 66 80 18 38 f0 98 5c b6 a1 d2 cb 45 1f 8b 08 4a
pi@raspberrypi:~/kernel $ dd if=vmlinuz-4.9.0-6-armmp bs=1 skip=594204 of=kernel
3115692+0 records in
3115692+0 records out
3115692 bytes (3.1 MB, 3.0 MiB) copied, 21.3488 s, 146 kB/s
pi@raspberrypi:~/kernel $ file kernel
kernel: gzip compressed data, has CRC, was "\003\3359Yw\0172\347<\231\315\362\226\261\261@\354"
pi@raspberrypi:~/kernel $ gunzip kernel
gzip: kernel: unknown suffix -- ignored
pi@raspberrypi:~/kernel $
vidocq
 
Posts: 4
Joined: 2018-05-27 06:30


Return to Hardware

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable