[PATCH 0/2] mips: qemu-malta: add little-endian mode support

Antony Pavlov antonynpavlov at gmail.com
Fri Oct 10 01:43:11 PDT 2014


On Fri, 10 Oct 2014 08:38:21 +0200
Sascha Hauer <s.hauer at pengutronix.de> wrote:

> On Fri, Oct 10, 2014 at 12:08:55AM +0400, Antony Pavlov wrote:
> > Antony Pavlov (2):
> >   mips: qemu-malta: add little-endian mode support
> >   Documentation: mips: add little-endian qemu-malta HOWTO
> 
> Hm, nice. Adding big endian support to Arm would not be that simple.

Actually most of mips chips supported by barebox are little-endian only
(bcm47xx, loongson, xburst). So all little-endian support work was
already done before.

Malta is bi-endian but I suppose little-endian mode is more popular
so it is handy to have real working little-endian qemu-malta support.
Nevertheless I prefer to use big-endian qemu-malta most of the time
as it does not need this odd boot image file byte swapping (see
Documentation-related second patch in this series).


> > 
> >  Documentation/boards/mips/qemu-malta.rst | 24 ++++++++++++++++++++++++
> >  arch/mips/Kconfig                        |  1 +
> >  arch/mips/include/asm/gt64120.h          |  7 +++++++
> >  3 files changed, 32 insertions(+)
> > 
> > -- 
> > 2.1.1
> > 
> > 
> > _______________________________________________
> > barebox mailing list
> > barebox at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox
> > 
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


-- 
-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list