[PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses

2012-05-11 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- commands/i2c.c | 26 +- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/commands/i2c.c b/commands/i2c.c index 39bae35..1eaa968 100644 --- a/commands/i2c.c +++ b/commands/i2c.c @@ -74,10 +74,10 @@ static int do_i2c_writ

[PATCH 1/2] i2c: Fix barebox crash when 'count' is not set for i2c_read command

2012-05-11 Thread Alexander Shiyan
Running i2c_read without the 'count' setting causes an error and reboots. barebox@Phytec phyCORE-i.MX27:/ i2c_read -b 1 -a 0x4a -r 0x00 ERROR: out of memory no stack data available Signed-off-by: Alexander Shiyan --- commands/i2c.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) di

Re: [PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses

2012-05-11 Thread Sascha Hauer
On Fri, May 11, 2012 at 10:58:49PM +0400, Alexander Shiyan wrote: > --- > commands/i2c.c | 26 +- > 1 files changed, 17 insertions(+), 9 deletions(-) > Applied and realized afterwards that you forgot to sign off your patches. Please resend this one, I'll replace it. Sa

Re: [PATCH] fix typo addreee -> address

2012-05-11 Thread Sascha Hauer
On Wed, May 09, 2012 at 04:39:17PM +0200, Uwe Kleine-König wrote: > Signed-off-by: Uwe Kleine-König Applied, thanks Sascha > --- > arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S|2 +- > arch/arm/boards/freescale-mx25-3-stack/lowlevel_init.S |2 +- > arch/arm/boards/freescale-m

Re: barebox, omap3530_beagle_xload and qemu-linaro

2012-05-11 Thread Sascha Hauer
On Sat, May 05, 2012 at 11:02:10PM +0200, Carlo Caione wrote: > Hi, > I was trying to run barebox (omap3530_beagle_xload) under qemu-linaro > (-M beagle). This is what I get: > > carlo@belfagor:~/projects/barebox-img$ qemu-system-arm -M beagle > -nographic -sd sd.img > qemu: fatal: Trying to execu

Re: [PATCH] ARM: Shutdown barebox (MMU) before setting ATAGS to avoid page #0 fault.

2012-05-11 Thread Sascha Hauer
Hi Krzysztof, On Sat, May 05, 2012 at 11:38:15PM +0200, Krzysztof Halasa wrote: > This doesn't fix the "md" issue. > > Signed-off-by: Krzysztof Hałasa > > diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c > index a167036..847fefa 100644 > --- a/arch/arm/lib/armlinux.c > +++ b/arch/

[PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses

2012-05-11 Thread Alexander Shiyan
--- commands/i2c.c | 26 +- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/commands/i2c.c b/commands/i2c.c index 39bae35..1eaa968 100644 --- a/commands/i2c.c +++ b/commands/i2c.c @@ -74,10 +74,10 @@ static int do_i2c_write(int argc, char *argv[]) {

Re: [PATCH] NOR flash: reduce size of cfiword_t if not using 64-bit bus.

2012-05-11 Thread Sascha Hauer
Hi Krzysztof, On Sat, May 05, 2012 at 11:35:10PM +0200, Krzysztof Halasa wrote: > Signed-off-by: Krzysztof Hałasa > > diff --git a/drivers/nor/cfi_flash.h b/drivers/nor/cfi_flash.h > index df482b6..fec0894 100644 > --- a/drivers/nor/cfi_flash.h > +++ b/drivers/nor/cfi_flash.h > @@ -30,7 +30,17 @

Re: [PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses

2012-05-11 Thread Sascha Hauer
On Fri, May 11, 2012 at 10:17:25PM +0400, Alexander Shiyan wrote: > Fri, 11 May 2012 20:15:08 +0200 от Sascha Hauer : > > On Fri, May 11, 2012 at 07:42:19PM +0400, Alexander Shiyan wrote: > > > --- > > > printf("0x%02x ", *(buf + i)); > > > @@ -135,7 +138,8 @@ static const __maybe

Re[2]: [PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses

2012-05-11 Thread Alexander Shiyan
Fri, 11 May 2012 20:15:08 +0200 от Sascha Hauer : > On Fri, May 11, 2012 at 07:42:19PM +0400, Alexander Shiyan wrote: > > --- > > printf("0x%02x ", *(buf + i)); > > @@ -135,7 +138,8 @@ static const __maybe_unused char cmd_i2c_write_help[] = > > "write to i2c device.\n" > > "

Re: [PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses

2012-05-11 Thread Sascha Hauer
On Fri, May 11, 2012 at 07:42:19PM +0400, Alexander Shiyan wrote: > --- > printf("0x%02x ", *(buf + i)); > @@ -135,7 +138,8 @@ static const __maybe_unused char cmd_i2c_write_help[] = > "write to i2c device.\n" > " -a 0x i2c device address\n" > " -b i2c bus number (def

Re: [PATCH 1/2] i2c: Fix barebox crash when 'count' is not set for i2c_read command

2012-05-11 Thread Sascha Hauer
On Fri, May 11, 2012 at 07:42:18PM +0400, Alexander Shiyan wrote: > Running i2c_read without the 'count' setting causes an error and reboots. > Applied to master. Thanks Sascha > barebox@Phytec phyCORE-i.MX27:/ i2c_read -b 1 -a 0x4a -r 0x00 > ERROR: out of memory > no stack data available > --

[PATCH 1/2] i2c: Fix barebox crash when 'count' is not set for i2c_read command

2012-05-11 Thread Alexander Shiyan
Running i2c_read without the 'count' setting causes an error and reboots. barebox@Phytec phyCORE-i.MX27:/ i2c_read -b 1 -a 0x4a -r 0x00 ERROR: out of memory no stack data available --- commands/i2c.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/commands/i2c.c b/comman

[PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses

2012-05-11 Thread Alexander Shiyan
--- commands/i2c.c | 26 +- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/commands/i2c.c b/commands/i2c.c index 39bae35..1eaa968 100644 --- a/commands/i2c.c +++ b/commands/i2c.c @@ -74,10 +74,10 @@ static int do_i2c_write(int argc, char *argv[]) {

[PATCH 1/1] linux/types.h: define phys_size_t

2012-05-11 Thread Renaud Barbier
Add this definition in preparation for the introduction of the mpc85xx support. Signed-off-by: Renaud Barbier --- include/linux/types.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/types.h b/include/linux/types.h index 16cc3ce..76c6b67 100644 --- a/incl

Re: [RFC 1/5] MIPS: add common header file for DEBUG_LL via NS16550

2012-05-11 Thread Antony Pavlov
On 11 May 2012 11:20, Sascha Hauer wrote: > On Thu, May 10, 2012 at 01:32:06PM +0400, Antony Pavlov wrote: >> Signed-off-by: Antony Pavlov >> --- >>  arch/mips/include/debug_ll_common.h |   40 >> +++ >>  1 file changed, 40 insertions(+) >>  create mode 100644 arch

Re: [RFC 0/5] MIPS: add XBurst processor family support

2012-05-11 Thread Sascha Hauer
On Thu, May 10, 2012 at 01:32:05PM +0400, Antony Pavlov wrote: > This patch series introduce XBurst processor family support to barebox. > > XBurst is an CPU family developed by Ingenic Semiconductor > to address the requirements of mobile devices. XBurst processors > are used in mobile gaming con

Re: [RFC] MIPS: initial modules support

2012-05-11 Thread Sascha Hauer
On Thu, May 10, 2012 at 01:33:42PM +0400, Antony Pavlov wrote: > This code does not work correctly. > > insmod got unaligned access exception during apply_r_mips_32_rel I can't say much to this patch, it looks sane. Of course it should work before applying it ;) > +static int apply_r_mips_32_rel

Re: [RFC 1/5] MIPS: add common header file for DEBUG_LL via NS16550

2012-05-11 Thread Sascha Hauer
On Thu, May 10, 2012 at 01:32:06PM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > arch/mips/include/debug_ll_common.h | 40 > +++ > 1 file changed, 40 insertions(+) > create mode 100644 arch/mips/include/debug_ll_common.h > > diff --git a/a

Re: [PATCH 1/1] ppc reloc.S: use a common trap relocation function

2012-05-11 Thread Sascha Hauer
On Thu, May 10, 2012 at 02:56:46PM +0100, Renaud Barbier wrote: > The trap relocation function trap_reloc can be used across several PPC > platforms and is added to the ppc library. Accordingly, the definition > of trap_reloc is removed from mach-mpc5xxx/start.S > > Signed-off-by: Renaud Barbier

Re: [PATCH 1/1] ppc io.h: update following MMIO primitives fix

2012-05-11 Thread Sascha Hauer
On Thu, May 10, 2012 at 02:54:31PM +0100, Renaud Barbier wrote: > Following the MMIO primitives fix, the definitions of __raw_* function > is sourced from Linux and added. > > Signed-off-by: Renaud Barbier Applied, thanks Sascha > --- > arch/ppc/include/asm/io.h | 28 +++

Re: [RFCv2 1/2] MIPS: start.S: add "barebox" label at _start + 0x10

2012-05-11 Thread Sascha Hauer
On Thu, May 10, 2012 at 01:35:11PM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov Applied (both) Thanks Sascha > --- > arch/mips/boot/start.S | 12 > 1 file changed, 12 insertions(+) > > diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S > index b756d40..