Re: Wrong relocation with Mini2440

2014-10-09 Thread Sascha Hauer
Hi Luigi, On Fri, Oct 10, 2014 at 12:24:40AM +0200, luigi origa wrote: > I'm trying to have barebox working on my mini2440. After many test, > today i got a jtag interface and after some check i found this: > > - source s3c24x0_nand_boot - > 2: ldr sp, =(TEXT_BASE - SZ_2M) /* Setup a temporary st

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

2014-10-09 Thread Sascha Hauer
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. Applied, thanks Sascha > >

Re: [PATCH] commands: firmwareload: add CMD_GROUP

2014-10-09 Thread Sascha Hauer
On Thu, Oct 09, 2014 at 11:19:28AM +0200, Steffen Trumtrar wrote: > To be able to build the documentation the CMD_GROUP macro needs > to be defined. Without this the firmwareload command breaks "make docs". > > Signed-off-by: Steffen Trumtrar Applied, thanks Sascha > --- > commands/firmwarelo

Wrong relocation with Mini2440

2014-10-09 Thread luigi origa
I'm trying to have barebox working on my mini2440. After many test, today i got a jtag interface and after some check i found this: - source s3c24x0_nand_boot - 2: ldr sp, =(TEXT_BASE - SZ_2M) /* Setup a temporary stack in SDRAM */ /* * We still run at a location we are not linked to. But lets st

[PATCH 2/2] Documentation: mips: add little-endian qemu-malta HOWTO

2014-10-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/boards/mips/qemu-malta.rst | 24 1 file changed, 24 insertions(+) diff --git a/Documentation/boards/mips/qemu-malta.rst b/Documentation/boards/mips/qemu-malta.rst index be89ae3..22da600 100644 --- a/Documentation/boards/mip

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

2014-10-09 Thread Antony Pavlov
We can't just enable SYS_SUPPORTS_LITTLE_ENDIAN for successful little-endian qemu-malta barebox build. Some byte swapping-related macros are missed, e.g.: arch/mips/mach-malta/pci.c: In function 'pcibios_init': arch/mips/mach-malta/pci.c:218:28: error: 'GT_PCI0_CMD_MBYTESWAP_BIT' undec

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

2014-10-09 Thread Antony Pavlov
Antony Pavlov (2): mips: qemu-malta: add little-endian mode support Documentation: mips: add little-endian qemu-malta HOWTO Documentation/boards/mips/qemu-malta.rst | 24 arch/mips/Kconfig| 1 + arch/mips/include/asm/gt64120.h | 7 ++

[PATCH] commands: firmwareload: add CMD_GROUP

2014-10-09 Thread Steffen Trumtrar
To be able to build the documentation the CMD_GROUP macro needs to be defined. Without this the firmwareload command breaks "make docs". Signed-off-by: Steffen Trumtrar --- commands/firmwareload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/firmwareload.c b/commands/firmwareload