Re: [PATCH] i.MX: SPI: Respect SPI_LSB_FIRST flag in mode settings

2015-01-05 Thread Sascha Hauer
Hi Andrey, On Wed, Dec 31, 2014 at 07:10:55AM -0800, Andrey Smirnov wrote: Add code to support SPI transfers that have data shifted out least significant bit first. This is useful in many cases, but specifically it is needed for drivers/firmware/altera_serial.c to work on i.MX platform.

Re: beagle bone black: problem of boot from eMMC

2015-01-05 Thread Teresa Gámez
Hello Manuel, Am Mittwoch, den 31.12.2014, 14:52 + schrieb manuelcur...@eaton.com: After, I wanted to boot from the the internal eMMC. So after boot from sd card, I mounted the eMMC (mount /dev/mmc1.0) and copied the MLO and barebox.bin in the /mnt/mmc1.0 folder. When I try to boot

Re: beagle bone black: problem of boot from eMMC

2015-01-05 Thread Sascha Hauer
On Wed, Dec 31, 2014 at 02:52:39PM +, manuelcur...@eaton.com wrote: Hi, From the lasted Barebox version (barebox-2014.12.0): I generated a MLO and a barebox.bin for the BeagleBone (am335x_defconfigam335x_mlo_defconfig config file) with the modification of : [PATCH] net: cpsw: Fix

Re: [PATCH 9/9] defaultenv-2: create a specific defaultenv for splash

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: This will allow to factorize splash init Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- common/Kconfig | 5 + defaultenv/Makefile

Re: [PATCH 6/9] console: factorize kfifo input support

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:55PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: handle input fifo at console framework level instead of driver Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- common/Kconfig | 3 ++ common/console.c

Re: [REGRESSION BUG] at91 is broken on barebox

2015-01-05 Thread Sascha Hauer
On Fri, Dec 26, 2014 at 10:51:43AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: HI, since the switch to ERR_PTR co for dev_get_resource_by_name others the at91 is broken as on barebox we use a 1:1 mapping and the check of the IS_ERR is ((unsigned

Re: [PATCH 2/9] efika-mx-smartbook: enable led hearbeat on mail

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:51PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boards/efika-mx-smartbook/board.c | 2 ++ 1 file changed, 2 insertions(+) Applied, thanks Sascha -- Pengutronix e.K.

Re: [PATCH 3/9] grapric_utils: set_pixel only write 16bit in 16bit mode

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:52PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- lib/gui/graphic_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K.

Re: [PATCH 4/9] versatilepb: move barebox to 32 MiB and use zImage

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:53PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boards/versatile/env/config | 4 ++-- arch/arm/mach-versatile/Kconfig | 3 +++ 2 files changed, 5 insertions(+), 2

Re: [PATCH 5/9] versatilepb: switch to defaultenv-2

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:54PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: - Boot from NOR - enable UBI - use PBL Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/boards/versatile/env/boot.d/001-nor | 1 +

Re: [PATCH 7/9] poller: allow to restrict the poller frequency

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:56PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: so we do not slow down barebox on too much polling specialy on USB drivers Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- common/poller.c | 11 ++- include/poller.h | 3

Re: [PATCH] mtd: nand: add pxa3xx-nand driver

2015-01-05 Thread robert . jarzmik
- Mail original - De: Ezequiel Garcia ezequiel.gar...@free-electrons.com À: Robert Jarzmik robert.jarz...@free.fr, barebox@lists.infradead.org Envoyé: Dimanche 4 Janvier 2015 19:50:55 Objet: Re: [PATCH] mtd: nand: add pxa3xx-nand driver Hi Robert, If my memory doesn't fail me, the NAND

Re: [PATCH 8/9] console: allow to specify the device id

2015-01-05 Thread Sascha Hauer
On Tue, Dec 23, 2014 at 07:21:57PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: so we can use dynamic number id with specific devname Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- common/console.c | 2 +- drivers/usb/gadget/u_serial.c | 1 +

Re: [RFC, PATCH] i.MX6: phytec: Do not hardcode default environment

2015-01-05 Thread Sascha Hauer
Hi Andrey, On Wed, Dec 31, 2014 at 08:49:50AM -0800, Andrey Smirnov wrote: By default i.MX6 phytec image hardcodes its default environment in initialization code. Define phytec specific defonfig and use CONFIG_DEFAULT_ENVIRONMENT_PATH instead. Signed-off-by: Andrey Smirnov

Re: [PATCH 0/3] kbuild: drop redundant code

2015-01-05 Thread Sascha Hauer
Hi Masahiro, On Wed, Dec 24, 2014 at 01:20:59PM +0900, Masahiro Yamada wrote: Masahiro Yamada (3): kbuild: remove redundant -include include/generated/autoconf.h kbuild: do not create symbolic link include/asm kbuild: do not create include2 directory Very nice stuff. It has some

Re: [PATCH 0/6] ARM: introduce debug_ll_pl011.h

2015-01-05 Thread Sascha Hauer
On Sat, Dec 27, 2014 at 02:56:23AM +0300, Antony Pavlov wrote: Antony Pavlov (6): ARM: introduce debug_ll_pl011.h ARM: vexpress: debug_ll.h: switch to debug_ll_pl011.h ARM: highbank: debug_ll.h: switch to debug_ll_pl011.h ARM: versatile: enable missed HAS_DEBUG_LL ARM: versatile:

Re: [REGRESSION BUG] at91 is broken on barebox

2015-01-05 Thread Simon Aittamaa
Since I also ran into this issue just before the holidays, I thought I'd provide my 0.02$. On 5 January 2015 at 11:23, Sascha Hauer s.ha...@pengutronix.de wrote: On Fri, Dec 26, 2014 at 10:51:43AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: HI, since the switch to ERR_PTR co

Re: [PATCH] net: rtl8169: remove unnecessary cache maintenance

2015-01-05 Thread Sascha Hauer
On Sun, Jan 04, 2015 at 10:09:05PM +0100, Lucas Stach wrote: The buffer descriptors are allocated from coherent memory, so there is no cache maintenance needed. Only tell the compiler that the descriptors can be modified by the hardware. Signed-off-by: Lucas Stach d...@lynxeye.de Applied,

Re: [PATCH] mtd: nand: add pxa3xx-nand driver

2015-01-05 Thread Sascha Hauer
Hi Robert, On Mon, Jan 05, 2015 at 11:44:38AM +0100, robert.jarz...@free.fr wrote: - Mail original - De: Ezequiel Garcia ezequiel.gar...@free-electrons.com À: Robert Jarzmik robert.jarz...@free.fr, barebox@lists.infradead.org Envoyé: Dimanche 4 Janvier 2015 19:50:55 Objet: Re:

Re: [PATCH] net: smc1111: fix memory congestions

2015-01-05 Thread Sascha Hauer
On Thu, Jan 01, 2015 at 09:04:22PM +0100, Robert Jarzmik wrote: As the SMC has a shared pool of 2k memory buckets for both transmission and reception, and as there are variants which have as few as 4 buckets in total, the memory pool can be hogged by unclaimed receptions, and impeed any

Re: [PATCH] net: smc1111: move print_packet function

2015-01-05 Thread Sascha Hauer
On Thu, Jan 01, 2015 at 09:04:23PM +0100, Robert Jarzmik wrote: Fix for a compiler complaint, because print_packet is needed by a function before it is declared. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Applied, thanks Sascha -- Pengutronix e.K. |

Re: [PATCH] commands: loady: fix bug with netconsole

2015-01-05 Thread Sascha Hauer
On Thu, Jan 01, 2015 at 09:04:21PM +0100, Robert Jarzmik wrote: Netconsole doesn't have a baudrate. Loady supposes a console has one, and tries to compute the console's baudrate variable value, regardless of its existence. This triggers a NULL pointer dereference on netconsole. If attempting

Re: [PATCH v2] i2c: omap: fix fclk_rate for ti,omap4-i2c

2015-01-05 Thread Jan Weitzel
On Thu, Dec 11, 2014 at 10:47:59AM +0100, Jan Weitzel wrote: The compatible ti,omap4-i2c don't help to get fclk_rate. So set it acording to cpu compatible: ti,am33xx and ti,omap4 Signed-off-by: Jan Weitzel j.weit...@phytec.de --- v2: set i2c_data directly -9.0.1.i586.deb ping Jan

Re: [PATCH] net: cpsw: Fix crashes on beaglebone black

2015-01-05 Thread Teresa Gámez
Hello Philippe, Am Samstag, den 27.12.2014, 15:39 +0100 schrieb ledphili...@gmail.com: Hello, The current version (2014.12.0-00116-ge91702b) crashes on the beaglebone black if the ethernet driver is enabled. Here is the trace: barebox 2014.12.0-00116-ge91702b #15 Sat Dec 27 15:30:25

Re: [PATCH v2 1/2] ARM: pxa: add pxa3xx architecture

2015-01-05 Thread Sascha Hauer
On Sun, Jan 04, 2015 at 10:41:05AM +0100, Robert Jarzmik wrote: Add the pxa3xx architecture, for pxa300, pxa310 and pxa320 SoCs. This includes : - the registers - the cpu type - the reset source handling - a minimal set of clocks - pin control definitions In this last case, the big

[PATCH 1/2] arm: system_info fix CPU_IS_ARM1176

2015-01-05 Thread Jean-Christophe PLAGNIOL-VILLARD
we need to apply the mask Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- arch/arm/include/asm/system_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/system_info.h b/arch/arm/include/asm/system_info.h index

Re: [PATCH] net: smc1111: fix memory congestions

2015-01-05 Thread robert . jarzmik
- Mail original - De: Sascha Hauer s.ha...@pengutronix.de À: Robert Jarzmik robert.jarz...@free.fr Cc: barebox@lists.infradead.org Envoyé: Lundi 5 Janvier 2015 13:11:50 Objet: Re: [PATCH] net: smc: fix memory congestions I don't know the hardware (not anymore, fortunately ;), but

Re: [PATCH] net: rtl8169: remove unnecessary cache maintenance

2015-01-05 Thread Lucas Stach
Am Montag, den 05.01.2015, 20:19 +0300 schrieb Antony Pavlov: On Sun, 4 Jan 2015 22:09:05 +0100 Lucas Stach d...@lynxeye.de wrote: I suppose that this patch can make problems on MIPS with explicid cache handling. How would it? This driver is ARM only for now (as we are using ARM MMU

Re: [PATCH] mtd: nand: add pxa3xx-nand driver

2015-01-05 Thread Robert Jarzmik
Ezequiel Garcia ezequiel.gar...@free-electrons.com writes: On 01/05/2015 05:32 PM, Robert Jarzmik wrote: I have an idea here : as barebox is not performance oriented, and as the timings are minimum guaranteed times between signal swaps, let me try to hard encode all timing with their

Re: [PATCH 9/9] defaultenv-2: create a specific defaultenv for splash

2015-01-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:50 Mon 05 Jan , Sascha Hauer wrote: On Tue, Dec 23, 2014 at 07:21:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: This will allow to factorize splash init Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- common/Kconfig

Re: [PATCH] mtd: nand: add pxa3xx-nand driver

2015-01-05 Thread Robert Jarzmik
Sascha Hauer s.ha...@pengutronix.de writes: Hi Robert, Things like mtd-writesize, mtd-erasesize, and mtd-size should be initialized after calling nand_scan_ident(). These are currently overwritten by the pxa nand driver, but normally you should be able to remove this. You're right, the

Re: [PATCH v2 1/2] ARM: pxa: add pxa3xx architecture

2015-01-05 Thread Robert Jarzmik
Sascha Hauer s.ha...@pengutronix.de writes: On Sun, Jan 04, 2015 at 10:41:05AM +0100, Robert Jarzmik wrote: +#ifdef CONFIG_ARCH_PXA2XX pxa_suspend(PWRMODE_DEEPSLEEP); +#endif +#ifdef CONFIG_ARCH_PXA3XX +pxa3xx_suspend(PXA3xx_PM_S3D4C4); +#endif if (cpu_is_*()) instead of