qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] ARM/vexpress-a9 and kexec


From: Kristian Amlie
Subject: [Qemu-discuss] ARM/vexpress-a9 and kexec
Date: Mon, 14 Aug 2017 16:33:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Has anybody attempted to use kexec with QEMU and -machine vexpress-a9?
I'm getting this:

--------------------------
address@hidden:~# kexec --load --command-line="$(cat /proc/cmdline)"
 --dtb=/boot/vexpress-v2p-ca9.dtb /boot/zImage-4.1.42-yocto-standard --debug
Try gzip decompression.
Try LZMA decompression.
lzma_decompress_file: read on /boot/zImage-4.1.42-yocto-standard of
65536 bytes failed
kernel: 0xb6a34008 kernel_size: 0x3561a0
MEMORY RANGES
0000000060000000-0000000067ffffff (0)
zImage header: 0x016f2818 0x00000000 0x003561a0
zImage size 0x3561a0, file size 0x3561a0
kexec_load: entry = 0x60008000 flags = 0x280000
nr_segments = 2
segment[0].buf   = 0xb6a34008
segment[0].bufsz = 0x3561a0
segment[0].mem   = 0x60008000
segment[0].memsz = 0x357000
segment[1].buf   = 0x56840
segment[1].bufsz = 0x37fa
segment[1].mem   = 0x610b8000
segment[1].memsz = 0x4000

address@hidden:~# kexec --exec --debug
[  105.499955] kexec: Starting new kernel
[  105.505925] Disabling non-boot CPUs ...
[  105.506919] Bye!
--------------------------

And it hangs there forever. I've experimented with some different
address ranges, but this didn't help and they look quite similar to what
U-Boot uses.

This works if I try the same thing on the Beaglebone-hardware, so the
kexec mechanism itself must be in decent shape.

-- 
Kristian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]