[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/7] Honour reset_sctlr EE/B bits during rese
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/7] Honour reset_sctlr EE/B bits during reset. |
Date: |
Fri, 3 Feb 2017 15:55:38 +0000 |
On 20 January 2017 at 16:30, Julian Brown <address@hidden> wrote:
> This patch uses the reset value of the SCTLR register (e.g. as modified
> by the "cfgend" parameter introduced by the previous patch) to set the
> endianness used by QEMU when it is invoked without a kernel or firmware
> image. The intended use case is loading code via GDB as follows:
>
> (gdb) target remote | qemu-arm-system [options] -cpu=cortex-a15,cfgend=yes
> (gdb) load
> (gdb) [...]
>
> The idea being to start a board in a "reset" state in the selected
> endianness so that communication with GDB works properly. (The previous
> version of the patch used "-kernel /dev/null" for the same purpose:
> this version avoids that, and also avoids fiddling with info->endianness
> setting.)
>
> Signed-off-by: Julian Brown <address@hidden>
> ---
This patch is just working around the bug in patch 1 that I
mention in my comments there, so we can drop it entirely.
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v3 2/7] Honour reset_sctlr EE/B bits during reset.,
Peter Maydell <=