Re: [Qemu-devel] Debugging aarch64 guest running on Foundationv8 model

2014-02-27 Thread Xuebing wang
Hi Jani, The video is about aarch64 (not 32-bit arm). For your original issue, I think you need armv8 MMU support (which is not merged yet), so qemu can not handle guest virtual address like 0xffc000636498. I just tried Peter's branch, using aarch64-qemu + aarch64-gdb to cross-debug arm

Re: [Qemu-devel] Debugging aarch64 guest running on Foundationv8 model

2014-02-27 Thread Jani Kokkonen
Hi Xuebing, In that video the qemu seems use 32-bit ARM cpu model whereas I have need to use 64-bit ARM cpu model as I have specified by "-cpu host" qemu parameter in Foundationv8 model. -Jani 2014-02-27 14:21 GMT+01:00 Xuebing wang : > Hi Jani, > > Is below video similar to what you want? Thi

[Qemu-devel] Debugging aarch64 guest running on Foundationv8 model

2014-02-27 Thread Jani Kokkonen
Hi, I would like to debug a Qemu guest linux kernel under Foundationv8 model and I tried the following setup: 1. Foundationv8 model started with --network=nat and --network-nat-ports=1234=1234 options 2. In Foundationv8 model I started qemu-system-aarch64 with the command line: ./qemu-system-a

Re: [Qemu-devel] Debugging aarch64 guest running on Foundationv8 model

2014-02-27 Thread Xuebing wang
Hi Jani, Is below video similar to what you want? This video shows cross-debug armv8 linux kernel (using armv8-gdb + armv8-qemu). http://www.youtube.com/watch?v=MLu5EzheHIM On 02/27/2014 05:52 PM, Peter Maydell wrote: On 27 February 2014 09:45, Jani Kokkonen wrote: Hi, I would like to de

Re: [Qemu-devel] Debugging aarch64 guest running on Foundationv8 model

2014-02-27 Thread Peter Maydell
On 27 February 2014 09:45, Jani Kokkonen wrote: > Hi, > > I would like to debug a Qemu guest linux kernel under Foundationv8 model and > I tried the following setup: > > 1. Foundationv8 model started with --network=nat and > --network-nat-ports=1234=1234 options > 2. In Foundationv8 model I star