On 20 January 2017 at 16:30, Julian Brown <jul...@codesourcery.com> 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 <jul...@codesourcery.com> > ---
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