Re: [U-Boot] [PATCH V2] spi: mxs: Configure chipselect after block reset

2013-08-27 Thread Marek Vasut
Dear Stefano Babic, On 26/08/2013 17:45, Marek Vasut wrote: The chipselect must be written into the CTRL0 register after the SSP block is reset, otherwise the block will always use ChipSelect #0. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com

Re: [U-Boot] [PATCH V2] spi: mxs: Configure chipselect after block reset

2013-08-27 Thread Stefano Babic
On 27/08/2013 11:05, Marek Vasut wrote: Dear Stefano Babic, On 26/08/2013 17:45, Marek Vasut wrote: The chipselect must be written into the CTRL0 register after the SSP block is reset, otherwise the block will always use ChipSelect #0. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio

Re: [U-Boot] [PATCH V2] spi: mxs: Configure chipselect after block reset

2013-08-27 Thread Jagan Teki
Hi, On Tue, Aug 27, 2013 at 2:35 PM, Marek Vasut ma...@denx.de wrote: Dear Stefano Babic, On 26/08/2013 17:45, Marek Vasut wrote: The chipselect must be written into the CTRL0 register after the SSP block is reset, otherwise the block will always use ChipSelect #0. Signed-off-by: Marek

Re: [U-Boot] [PATCH] Fix problems in chip select selection in imx23, 28 spi code

2013-08-27 Thread Jagan Teki
Hi, On Tue, Aug 27, 2013 at 4:11 AM, Asok Subramanian a...@vyassoft.com wrote: Fix problems in chip select selection in imx23,28 spi code The spi function code for imx23,28 currently does not work for chip select other than 0. This is because the register HW_SSP_CTRL0 is first reset and

Re: [U-Boot] [Uboot][PATCH] drivers: spi: macronix: Add MX66L51235L data

2013-08-27 Thread Jagan Teki
Hi On Tue, Aug 27, 2013 at 11:15 AM, Sourav Poddar sourav.pod...@ti.com wrote: Add support for macronix MX66L51235L flash device. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/mtd/spi/macronix.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH V2] spi: mxs: Configure chipselect after block reset

2013-08-27 Thread Marek Vasut
Dear Jagan Teki, Hi, On Tue, Aug 27, 2013 at 2:35 PM, Marek Vasut ma...@denx.de wrote: Dear Stefano Babic, On 26/08/2013 17:45, Marek Vasut wrote: The chipselect must be written into the CTRL0 register after the SSP block is reset, otherwise the block will always use ChipSelect

Re: [U-Boot] [PATCH V2] spi: mxs: Configure chipselect after block reset

2013-08-27 Thread Jagan Teki
Hi On Tue, Aug 27, 2013 at 2:51 PM, Marek Vasut ma...@denx.de wrote: Dear Jagan Teki, Hi, On Tue, Aug 27, 2013 at 2:35 PM, Marek Vasut ma...@denx.de wrote: Dear Stefano Babic, On 26/08/2013 17:45, Marek Vasut wrote: The chipselect must be written into the CTRL0 register after the

Re: [U-Boot] [PATCH V2] spi: mxs: Configure chipselect after block reset

2013-08-27 Thread Marek Vasut
Dear Jagan Teki, Hi On Tue, Aug 27, 2013 at 2:51 PM, Marek Vasut ma...@denx.de wrote: Dear Jagan Teki, Hi, On Tue, Aug 27, 2013 at 2:35 PM, Marek Vasut ma...@denx.de wrote: Dear Stefano Babic, On 26/08/2013 17:45, Marek Vasut wrote: The chipselect must be written

Re: [U-Boot] U-Boot mini-summit at ELCE 2013 in Edinburgh - call for participation!

2013-08-27 Thread Jagan Teki
On Tue, Aug 27, 2013 at 1:13 AM, Scott Wood scottw...@freescale.com wrote: On Thu, 2013-08-08 at 11:24 +0200, Wolfgang Denk wrote: Hello all, I think we should bring the upcoming U-Boot mini-summit in Edinburgh back to attention - it's still more than two months, so no reason to panic yet,

Re: [U-Boot] U-Boot mini-summit at ELCE 2013 in Edinburgh - call for participation!

2013-08-27 Thread Michal Simek
Hi, Hi fellow U-Boot developers, people meeting us at our booth at the Embedded World trade show in Nürnberg this year may already have heard rumours about it but now it is official - there will be an U-Boot mini-summit at the Emdedd Linux Conference Europe in Edinburgh, UK [1]. Thanks to

Re: [U-Boot] [PATCH v4 2/8] ARM: add secure monitor handler to switch to non-secure state

2013-08-27 Thread Andre Przywara
On 08/27/2013 02:23 AM, Masahiro Yamada wrote: Hello Andre, +/* the vector table for secure state */ +_monitor_vectors: + .word 0 /* reset */ + .word 0 /* undef */ + adr pc, _secure_monitor + .word 0 + .word 0 + .word 0 + .word 0 + .word 0 +

[U-Boot] GPIO mapping as interrupt, interrupt handler in bootloader

2013-08-27 Thread simhavcs
HI, How to map the gpio as interrupt and write the interrupt handler for it in bootloader? We have mapped the ethernet phy interrupt to gpio of the cpu, we need to handle this interrupt for the link detection. We are using MIPS architecture I had tried using the polling method, by keeping in

[U-Boot] [PATCH] ARM: mxs: Receive r0 and r1 passed from BootROM

2013-08-27 Thread Marek Vasut
Make sure value in register r0 and r1 is preserved and passed to the board_init_ll() and mxs_common_spl_init() where it can be processed further. The value in r0 can be configured during the BootStream generation to arbitary value, r1 contains pointer to return value from CALL'd function. This

[U-Boot] [PATCH] ppc4xx: Fix GPIO handling in lwmon5 and lcd4_lwmon5 BSP

2013-08-27 Thread Stefan Roese
LCD4 needs a slightly different GPIO configuration than the original LWMON5 variant. GPIO49 needs to be configured to a default output value of 0 (permanent voltage supply). Additionally lcd4 also needs to enable the LSB transmitter. Signed-off-by: Stefan Roese s...@denx.de ---

Re: [U-Boot] [PATCH 3/3] cmd_ubi: add write.part command, to write a volume in multiple parts

2013-08-27 Thread Stefan Roese
On 20.08.2013 11:55, Paul Burton wrote: Thanks, I'll fix the style issues and send v2 soon. Yes, please do. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 2/8] ARM: add secure monitor handler to switch to non-secure state

2013-08-27 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/27/2013 05:51 AM, Andre Przywara wrote: On 08/27/2013 02:23 AM, Masahiro Yamada wrote: Hello Andre, +/* the vector table for secure state */ +_monitor_vectors: + .word 0/* reset */ +.word 0 /* undef */ +adr pc, _secure_monitor

Re: [U-Boot] U-Boot mini-summit at ELCE 2013 in Edinburgh - call for participation!

2013-08-27 Thread Tom Rini
On Tue, Aug 27, 2013 at 11:39:50AM +0200, Michal Simek wrote: Hi, Hi fellow U-Boot developers, people meeting us at our booth at the Embedded World trade show in N??rnberg this year may already have heard rumours about it but now it is official - there will be an U-Boot mini-summit at

Re: [U-Boot] [U-boot] zImage_dtb status

2013-08-27 Thread Tom Rini
On Mon, Aug 26, 2013 at 06:12:45PM +0800, tiger...@viatech.com.cn wrote: Hi, experts: Currently, linux kernel could compile zImage with appending dtb binary. Uboot has supported bootz command. So, could bootz be used to boot zImage_dtb image? Has anybody test succefully? Yes,

Re: [U-Boot] SPL boot on iMX6

2013-08-27 Thread Stefano Babic
Hi Eric, On 26/08/2013 16:23, Eric Nelson wrote: Functionally, we still need table(s) for any image which supports either variant so the proper set of pads are configured. See this for an example http://lists.denx.de/pipermail/u-boot/2012-October/136394.html Ok - what I meant is to

Re: [U-Boot] SPL boot on iMX6

2013-08-27 Thread Stefano Babic
Hi Tapani, On 27/08/2013 06:07, Tapani Utriainen wrote: Your suggestion is similar to what I would first think of, but you do the extra kludging to make it work with the current syntax. My approach would be to introduce new namings in parallel to the current ones (similar, if not the same,

Re: [U-Boot] U-Boot mini-summit at ELCE 2013 in Edinburgh - call for participation!

2013-08-27 Thread Jagan Teki
On Tue, Aug 27, 2013 at 5:46 PM, Tom Rini tr...@ti.com wrote: On Tue, Aug 27, 2013 at 11:39:50AM +0200, Michal Simek wrote: Hi, Hi fellow U-Boot developers, people meeting us at our booth at the Embedded World trade show in N??rnberg this year may already have heard rumours about it but

Re: [U-Boot] confused about set/test of EMMC_BOOT-related config settings

2013-08-27 Thread Tom Rini
On Wed, Aug 21, 2013 at 11:25:43AM -0400, Robert P. J. Day wrote: perusing cmd_mmc.c, ran across test for CONFIG_SUPPORT_EMMC_BOOT with which i was unfamiliar so i did a grep to see where it was having an effect and got this: $ grep -r EMMC_BOOT *

Re: [U-Boot] [PATCH] Fix problems in chip select selection in imx23, 28 spi code

2013-08-27 Thread Jagan Teki
On Tue, Aug 27, 2013 at 2:40 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi, On Tue, Aug 27, 2013 at 4:11 AM, Asok Subramanian a...@vyassoft.com wrote: Fix problems in chip select selection in imx23,28 spi code The spi function code for imx23,28 currently does not work for chip select

[U-Boot] [PULL] u-boot-usb/master

2013-08-27 Thread Marek Vasut
The following changes since commit 2b26201a2aef0b310b7c04702b0dba5dea493f77: env_nand.c: support falling back to redundant env when writing (2013-08-22 17:49:47 -0500) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] usb: gadget: Fix data aborts during USB ethernet boot

2013-08-27 Thread Marek Vasut
Dear Joel Fernandes, As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned on 4 byte boundaray causing data aborts in eth_setup - conf_buf during dhcp boot over usb_ether. Fix the issue my aligning control_req buffer to 4-byte boundary. Tested on am335x_evm platform

[U-Boot] [PATCH v4] cmd_sf: let sf update preserve the final part of the last sector

2013-08-27 Thread Jagannadha Sutradharudu Teki
From: Gerlando Falauto gerlando.fala...@keymile.com Since sf update erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left erased, potentially erasing meaningful information. So, as a safety measure, have it rewrite the original content.

Re: [U-Boot] [PATCH v4] cmd_sf: let sf update preserve the final part of the last sector

2013-08-27 Thread Jagan Teki
On 27-08-2013 19:22, Jagannadha Sutradharudu Teki wrote: From: Gerlando Falauto gerlando.fala...@keymile.com Since sf update erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left erased, potentially erasing meaningful information. So, as a

Re: [U-Boot] [PATCH V2] spi: mxs: Configure chipselect after block reset

2013-08-27 Thread Jagan Teki
On 27-08-2013 15:04, Marek Vasut wrote: Dear Jagan Teki, Hi On Tue, Aug 27, 2013 at 2:51 PM, Marek Vasut ma...@denx.de wrote: Dear Jagan Teki, Hi, On Tue, Aug 27, 2013 at 2:35 PM, Marek Vasut ma...@denx.de wrote: Dear Stefano Babic, On 26/08/2013 17:45, Marek Vasut wrote: The

[U-Boot] [PATCH] omap5: Correct include order, drop CONFIG_SYS_PROMPT define

2013-08-27 Thread Tom Rini
With the new include structure for TI platforms, we need to not define our own CONFIG_SYS_PROMPT and also need to include configs/omap5_common.h much sooner, so do both of these. Also drop the unused CONFIG_NET_MULTI Signed-off-by: Tom Rini tr...@ti.com --- include/configs/omap5_uevm.h |7

Re: [U-Boot] SPL boot on iMX6

2013-08-27 Thread Eric Nelson
Hi Tapani, On 08/26/2013 09:07 PM, Tapani Utriainen wrote: On Mon, 26 Aug 2013 15:33:56 +0200 Stefano Babic sba...@denx.de wrote: Hi Tapani, The macros I refer to is the MX6_PAD_ ones. The semantics of them depends on the target cpu. See arch/arm/include/asm/arch-mx6/mx6-pins.h Ok -

[U-Boot] [PATCH v4 5/7] tools: add padding of data image file for imximage

2013-08-27 Thread Stefano Babic
Implement function vrec_header to be able to pad the final data image file according the what has been calculated for boot_data.length. Signed-off-by: Stefano Babic sba...@denx.de --- Changes in v4: - fix crash when imximage_init_loadsize is not set Found during regression tests with boards

Re: [U-Boot] [PATCH v2] usb: new board-specific USB init interface

2013-08-27 Thread Mateusz Zalega
On 08/21/13 10:33, Mateusz Zalega wrote: This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park

Re: [U-Boot] [PATCH 1/1] console: usb: kbd: To fix slow TFTP booting

2013-08-27 Thread Stephen Warren
On 08/26/2013 01:51 PM, Marek Vasut wrote: Dear Jim Lin, TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. My previous patch is expected to be put into

Re: [U-Boot] Albert/Tom -- could we get patch applied or some feedback (was Re: [PATCH v6 1/1] socfpga: Adding configuration for development kit)

2013-08-27 Thread Chin Liang See
Hi guys, Wonder any updates on this? We plan to send the new patches only once these existing patches are accepted. Appreciate for your helps again. Chin Liang On Thu, 2013-08-22 at 13:05 +0200, ZY - pavel wrote: Hi! Albert, Tom this patch has been here for a week, without any

Re: [U-Boot] [PATCH v5 0/4] arm64 patch

2013-08-27 Thread Ian Campbell
On Sat, 2013-08-24 at 09:06 +0800, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Hi David, I don't suppose you have a convenient git tree do you? Thanks, Ian. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v5 0/3] apf27: add support of armadeus apf27

2013-08-27 Thread Philippe Reynes
Difference between v5 and v4: - use spl framework - use script - use SPDX-License-Identifier - use u-boot-with-spl.bin (instead of u-boot-nand.bin) - fix some comments format issue Difference between v4 and v3: - use standard start.S - use part to know u-boot offset - fix some comments format

[U-Boot] [PATCH v5 2/3] apf27: add support for the armadeus APF27 board

2013-08-27 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org Signed-off-by: Nicolas Colombain nicolas.colomb...@armadeus.com --- MAINTAINERS |5 + board/armadeus/apf27/Makefile| 30 ++ board/armadeus/apf27/apf27.c

[U-Boot] [PATCH v5 1/3] mx27: add missing constant for mx27

2013-08-27 Thread Philippe Reynes
Add some missing constant (chip select, ...) Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- arch/arm/cpu/arm926ejs/mx27/asm-offsets.c |5 + arch/arm/include/asm/arch-mx27/imx-regs.h |6 +- 2 files changed, 10

[U-Boot] [PATCH v5 3/3] apf27: add FPGA support for the apf27 board

2013-08-27 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr Signed-off-by: Eric Jarrige eric.jarr...@armadeus.org --- board/armadeus/apf27/Makefile |3 + board/armadeus/apf27/apf27.c |5 + board/armadeus/apf27/fpga.c | 223 + board/armadeus/apf27/fpga.h |

Re: [U-Boot] [PATCH 1/2] fw_env: add redundand env support for MTD_ABSENT

2013-08-27 Thread Oliver Metz
Robert P. J. Day schrieb am 26.08.2013 16:25: On Sun, 25 Aug 2013, Oliver Metz wrote: Signed-off-by: Oliver Metz oli...@freetz.org --- tools/env/fw_env.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 44607b1..65be5f3 100644 ---

[U-Boot] [PATCH 1/3] tools: mxsboot: Staticize functions

2013-08-27 Thread Marek Vasut
Make remaining non-static functions static and the same for vars. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic sba...@denx.de --- tools/mxsboot.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 2/3] tools: mxsboot: Mark the FCB pages as valid

2013-08-27 Thread Marek Vasut
Without this marker, Linux will complain that the NAND pages with FCB are invalid. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic sba...@denx.de --- tools/mxsboot.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH 3/3] ARM: mxs: Fix NAND FCB flashing

2013-08-27 Thread Marek Vasut
Fix the method of flashing FCB blocks into NAND. The new env writes all four FCB blocks and also does not scrub such a big part of the NAND. This fixed complains about busted NAND blocks in Linux. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano

[U-Boot] [PATCH] mail: Fix email address

2013-08-27 Thread Marek Vasut
Fix my email address. Signed-off-by: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com --- doc/git-mailrc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index e3a47c4..1d5eec6 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -22,7

[U-Boot] [PATCH 3/3 V2] ARM: mxs: Fix NAND FCB flashing

2013-08-27 Thread Marek Vasut
Fix the method of flashing FCB blocks into NAND. The new env writes all four FCB blocks and also does not scrub such a big part of the NAND. This fixed complains about busted NAND blocks in Linux. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano

Re: [U-Boot] [PATCH 1/2] fw_env: add redundand env support for MTD_ABSENT

2013-08-27 Thread Luka Perkov
Hi Oliver, On Tue, Aug 27, 2013 at 07:35:57PM +0200, Oliver Metz wrote: But I'm unsure how to comment the changes in fw_env.config since redundant env description is already in the comment at the top. Is something like this enough? diff --git a/tools/env/fw_env.config

Re: [U-Boot] [PATCH 1/2 v2] arm: smdkc100: remove config.mk file

2013-08-27 Thread Minkyu Kang
On 06/08/13 20:57, Minkyu Kang wrote: Since config.mk is deprecated, remove this file, and move CONFIG_SYS_TEXT_BASE define to config file. Signed-off-by: Minkyu Kang mk7.k...@samsung.com Cc: Wolfgang Denk w...@denx.de --- changes for v2: rebased.

Re: [U-Boot] [PATCH v2] CONFIG: EXYNOS5: Replace misnomer SMDK5250 with EXYNOS5250 and update Makefiles

2013-08-27 Thread Minkyu Kang
On 25/07/13 21:58, Inderpal Singh wrote: From: Chander Kashyap chander.kash...@linaro.org Update the Makefiles so that all boards can use the same spl generation tool Signed-off-by: Inderpal Singh inderpal.si...@linaro.org Acked-by: Simon Glass s...@chromium.org --- changes in v2:

Re: [U-Boot] [PATCH 2/2 v2] arm: goni: remove config.mk file

2013-08-27 Thread Minkyu Kang
On 06/08/13 20:57, Minkyu Kang wrote: Since config.mk is deprecated, remove this file, and move CONFIG_SYS_TEXT_BASE define to config file. Signed-off-by: Minkyu Kang mk7.k...@samsung.com --- changes for v2: rebased. board/samsung/goni/config.mk | 18 --

Re: [U-Boot] [U-boot] zImage_dtb status

2013-08-27 Thread TigerLiu
Hi, Rini: Yes, but appended dtb is something (some) kernel developers suggest not relying on. But you don't need to append, for uImage or zImage, just pass ${loadaddr} - ${fdt_addr} Got it! Thanks a lot! Best wishes, ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/6 V2] Sound: WM8994: Support I2S0 channel

2013-08-27 Thread Minkyu Kang
Dear Dani Krishna Mohan, On 04/08/13 15:44, Dani Krishna Mohan wrote: This patch modifies the WM8994 codec to support I2S0 channel in codec slave mode Signed-off-by: Dani Krishna Mohan krishna...@samsung.com --- changes in V2: - None drivers/sound/sound.c|2 +-

Re: [U-Boot] [PATCH 4/6 V2] Sound: I2S: Replacing I2S1 with I2S0 channel.

2013-08-27 Thread Minkyu Kang
On 04/08/13 15:44, Dani Krishna Mohan wrote: This patch makes required changes to make use of I2S0 channel instead of I2S1 channel on exynos5250. Signed-off-by: Dani Krishna Mohan krishna...@samsung.com --- changes in V2: - None arch/arm/include/asm/arch-exynos/i2s-regs.h |6

Re: [U-Boot] [PATCH 6/6 V2] Sound: MAX98095: Support I2S0 channel

2013-08-27 Thread Minkyu Kang
On 04/08/13 15:44, Dani Krishna Mohan wrote: This patch modifies the MAX98095 audio codec to support I2S0 channel in codec slave mode. Signed-off-by: Dani Krishna Mohan krishna...@samsung.com --- changes in V2: - New patch added to V2 drivers/sound/max98095.c | 29

[U-Boot] [PATCH] arm: zynq: Fix timer loadaddress

2013-08-27 Thread Michal Simek
Reload address was written to the counter register instead of load register. The problem happens when timer expires but never reload to ~0UL (it is downcount timer). Reported-by: Stephen MacMahon steph...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com ---