qemu-arm
[Top][All Lists]
Advanced

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

Booting Android (Samsung) Kernel in QEMU


From: Marcin Kozlowski
Subject: Booting Android (Samsung) Kernel in QEMU
Date: Wed, 6 Nov 2019 19:01:48 +0100

Hi list,

Trying to boot a Samsung S7 Edge Kernel 3.18.x using QEMU

/usr/local/bin/qemu-system-aarch64  -M virt -cpu cortex-a57  -kernel $HOME/s7boot/boot.emmc.win-zImage -initrd $HOME/s7boot/boot.emmc.win-ramdisk.gz -nographic

Nothing happens

Screen remains as it was.

CPU is at 100% for QEMU process

Using QEMU:

/usr/local/bin/qemu-system-aarch64 --version
QEMU emulator version 4.1.0
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers

Trying it with -s -S

 /usr/local/bin/qemu-system-aarch64  -M virt -cpu cortex-a57  -kernel $HOME/s7boot/boot.emmc.win-zImage -initrd $HOME/s7boot/boot.emmc.win-ramdisk.gz -nographic -s -S

GDB

Type "apropos word" to search for commands related to "word".
(gdb) target remote:1234
Remote debugging using :1234
warning: while parsing target description (at line 1): Target description specified unknown architecture "aarch64"
warning: Could not load XML target description; ignoring
0x00000000 in ?? ()
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x40080000 in ?? ()
(gdb) cont
Continuing.

So I guess it get stuck at 0x4008000

Anyway .... I tried several Kernels (downloaded from device, LineageOS, Some other custom, also compiled one from Samsung Sources) with no luck.

Question:

Anybody booted  Android Kernel/Samsung in QEMU?


Thanks,

P.S Also asked this on StackOverflow here:
https://stackoverflow.com/questions/58688656/booting-android-samsung-kernel-in-qemu



reply via email to

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