Re: Loading kernel from SPI NOR

2013-03-14 Thread Sascha Hauer
Hi Jeff, On Wed, Mar 13, 2013 at 04:28:33PM -0700, Jeff Horn wrote: Hi, I have a custom board based on the i.MX53. We are using barebox 2012.05.0 and booting the Freescale 2.6.35.3 kernel. Our board has SPI NOR (m25p32) and I saw there is a driver in a more recent barebox. I pulled

Re: [RFC PATCH 1/2] AM33XX: Move muxing defines to header file

2013-03-14 Thread Sascha Hauer
Hi Teresa, On Tue, Mar 12, 2013 at 03:04:12PM +0100, Teresa Gámez wrote: The muxing in the am33xx_mux.c file is not generic as the muxing setup does not fit for every board. Move the structs and functions to the mach/am33xx-mux.h so board dependend mux setups can be created. Signed-off-by:

Re: [PATCH 4/5] gadget: possible null pointer dereference fix

2013-03-14 Thread Sascha Hauer
On Wed, Mar 13, 2013 at 02:44:39PM +0100, Cerrato Renaud wrote: This patch fix a possible null pointer dereference exception because of a missing null check on cdev-config Signed-off-by: Cerrato Renaud r.cerr...@til-technologies.fr --- drivers/usb/gadget/composite.c | 23

Re: [PATCH 1/5] at91: debug unit typo fix

2013-03-14 Thread Sascha Hauer
On Wed, Mar 13, 2013 at 02:39:35PM +0100, Cerrato Renaud wrote: This patch fix the debug unit output by correcting a typo into an #ifdef statement. Signed-off-by: Cerrato Renaud r.cerr...@til-technologies.fr --- arch/arm/mach-at91/include/mach/debug_ll.h |2 +- 1 files changed, 1

Re: [PATCH 6/9] omap4_romusb: allow adding usb-serial when not booting from usb

2013-03-14 Thread Sascha Hauer
Hi Vicente, On Sun, Mar 10, 2013 at 12:19:39AM +0100, Vicente Bergas wrote: Signed-off-by: Vicente Bergas vice...@gmail.com --- arch/arm/mach-omap/include/mach/omap4_rom_usb.h | 3 +++ arch/arm/mach-omap/omap4_rom_usb.c | 23 +++

[PATCH] ARM i.MX ESDCTL: Fix default enabled esdctl v2 controller

2013-03-14 Thread Sascha Hauer
On some i.MX SoCs the SDRAM controller has chipselect 2 enabled by reset default. This confuses our SDRAM size detection. We already have a fix for this in place. This patch adds the fix for i.MX35 which needs it aswell. Also since we now detect the SDRAM size in the SoC specific entry functions

Re: [RFC PATCH 1/2] AM33XX: Move muxing defines to header file

2013-03-14 Thread Jan Lübbe
On Thu, 2013-03-14 at 08:30 +0100, Sascha Hauer wrote: Hi Teresa, On Tue, Mar 12, 2013 at 03:04:12PM +0100, Teresa Gámez wrote: The muxing in the am33xx_mux.c file is not generic as the muxing setup does not fit for every board. Move the structs and functions to the mach/am33xx-mux.h so

Re: [PATCH 4/5] gadget: possible null pointer dereference fix

2013-03-14 Thread Cerrato Renaud
For some reasons relative to my company , I'm not able to send emails using git-send-email. I gave up. Thanks. On jeudi 14 mars 2013 08:35:41, Sascha Hauer wrote: On Wed, Mar 13, 2013 at 02:44:39PM +0100, Cerrato Renaud wrote: This patch fix a possible null pointer dereference exception

Re: [PATCH 4/5] gadget: possible null pointer dereference fix

2013-03-14 Thread Sascha Hauer
On Thu, Mar 14, 2013 at 11:01:31AM +0100, Cerrato Renaud wrote: For some reasons relative to my company , I'm not able to send emails using git-send-email. I gave up. What a pitty. I know getting the tools right for sending patches can be quite a high barrier sometimes. Most other Open Source

[PATCH 1/2] ARM: ccmx51: Migrate to defaultenv-2

2013-03-14 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/boards/ccxmx51/env/boot/nand |9 ++ arch/arm/boards/ccxmx51/env/config | 37 arch/arm/boards/ccxmx51/env/config-board | 12

[PATCH] ARM: Add CPU detection macros for ARM720

2013-03-14 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- arch/arm/include/asm/system_info.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/system_info.h b/arch/arm/include/asm/system_info.h index 56ebb11..13171cc 100644 ---

Omap4 DSS clocks

2013-03-14 Thread Christoph Fritz
Hi, Barebox crashes while reading a DSS register: $ md 0x4804 unable to handle paging request at address 0x4804 I suppose this is due to a turned off clock. Any hints? Thanks -- Christoph ___ barebox mailing list

Re: Omap4 DSS clocks

2013-03-14 Thread Alexander Shiyan
Hi, Barebox crashes while reading a DSS register: $ md 0x4804 unable to handle paging request at address 0x4804 I suppose this is due to a turned off clock. Any hints? Probably this is a bug. I reproduced it. Try to specify start end address, like: md -l

Re[2]: Omap4 DSS clocks

2013-03-14 Thread Alexander Shiyan
On Thu, 2013-03-14 at 16:48 +0400, Alexander Shiyan wrote: Barebox crashes while reading a DSS register: $ md 0x4804 unable to handle paging request at address 0x4804 I suppose this is due to a turned off clock. Any hints? Probably this is a bug. I

Re[3]: Omap4 DSS clocks

2013-03-14 Thread Alexander Shiyan
On Thu, 2013-03-14 at 16:48 +0400, Alexander Shiyan wrote: Barebox crashes while reading a DSS register: $ md 0x4804 unable to handle paging request at address 0x4804 I suppose this is due to a turned off clock. Any hints? Probably this is a

Re: Re[3]: Omap4 DSS clocks

2013-03-14 Thread Christoph Fritz
On Thu, 2013-03-14 at 17:11 +0400, Alexander Shiyan wrote: On Thu, 2013-03-14 at 16:48 +0400, Alexander Shiyan wrote: Barebox crashes while reading a DSS register: $ md 0x4804 unable to handle paging request at address 0x4804 I suppose this is due to

Re: Re[3]: Omap4 DSS clocks

2013-03-14 Thread Sascha Hauer
On Thu, Mar 14, 2013 at 02:23:56PM +0100, Christoph Fritz wrote: On Thu, 2013-03-14 at 17:11 +0400, Alexander Shiyan wrote: On Thu, 2013-03-14 at 16:48 +0400, Alexander Shiyan wrote: Barebox crashes while reading a DSS register: $ md 0x4804 unable to handle

Re: Re[3]: Omap4 DSS clocks

2013-03-14 Thread Christoph Fritz
On Thu, 2013-03-14 at 14:33 +0100, Sascha Hauer wrote: On Thu, Mar 14, 2013 at 02:23:56PM +0100, Christoph Fritz wrote: On Thu, 2013-03-14 at 17:11 +0400, Alexander Shiyan wrote: On Thu, 2013-03-14 at 16:48 +0400, Alexander Shiyan wrote: Barebox crashes while reading a DSS

Re: [PATCH 1/1] macb: fix gem_recv circular buffer handling

2013-03-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:13 Wed 13 Mar , Steffen Trumtrar wrote: On Wed, Mar 13, 2013 at 04:39:40PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: as we use a full buffer no need to check the SOF and reset the rx_tail fix at the same time the gem detection so we can have the rx_buffer allocated

[PATCH 07/10] bootsource: use initcall to export bootsource location to environment

2013-03-14 Thread Marc Kleine-Budde
This way the bootsource is exported to the environment, even if unknown. Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- common/bootsource.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/common/bootsource.c b/common/bootsource.c index 2aa0ffa..ebe4407

[PATCH 09/10] bootsource: add definition for usb and eeprom

2013-03-14 Thread Marc Kleine-Budde
Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- common/bootsource.c | 2 ++ include/bootsource.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/common/bootsource.c b/common/bootsource.c index fae554d..599bcd2 100644 --- a/common/bootsource.c +++ b/common/bootsource.c @@ -31,6

[PATCH 10/10] ARM: mxs: add bootsource detection

2013-03-14 Thread Marc Kleine-Budde
For now only the v1.2 i.MX28 silicon is supported. The actual information is read from a magic address within the internal SRAM. Signed-off-by: Marc Kleine-Budde m...@pengutronix.de --- arch/arm/mach-mxs/imx.c | 99 +++

[PATCH 06/10] bootsource: create arch independent bootsource framework

2013-03-14 Thread Marc Kleine-Budde
This patch seperates the imx independent from the arch independent code. The following functions and enums are renamed: - imx_bootsource() - bootsource_get() - imx_set_bootsource() - bootsource_set() - enum imx_bootsource - enum bootsource Signed-off-by: Marc Kleine-Budde m...@pengutronix.de ---