[U-Boot] [PATCH] driver/mtd/ifc: Read Status while programming NAND flash

2013-10-03 Thread Prabhakar Kushwaha
as per controller description, While programming a NAND flash, status read should never skipped. Because it may happen that a new command is issued to the NAND Flash, even when the device has not yet finished processing the previous request. This may result in unpredictable behaviour.

Re: [U-Boot] [PATCH v5 7/8] ARM: extend non-secure switch to also go into HYP mode

2013-10-03 Thread Albert ARIBAUD
Hi Andre, On Thu, 19 Sep 2013 18:06:45 +0200, Andre Przywara andre.przyw...@linaro.org wrote: For the KVM and XEN hypervisors to be usable, we need to enter the kernel in HYP mode. Now that we already are in non-secure state, HYP mode switching is within short reach. While doing the

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

2013-10-03 Thread Albert ARIBAUD
Hi Andre, On Thu, 19 Sep 2013 18:06:40 +0200, Andre Przywara andre.przyw...@linaro.org wrote: A prerequisite for using virtualization is to be in HYP mode, which requires the CPU to be in non-secure state first. Add a new file in arch/arm/cpu/armv7 to hold a monitor handler routine which

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-03 Thread Michal Simek
On 10/02/2013 09:43 PM, Albert ARIBAUD wrote: Hi Michal, On Tue, 24 Sep 2013 12:38:38 +0200, Michal Simek mon...@monstr.eu wrote: Hi Albert, On 09/23/2013 04:37 PM, Albert ARIBAUD wrote: Hi Michal, On Mon, 23 Sep 2013 16:19:52 +0200, Michal Simek mon...@monstr.eu wrote: On

Re: [U-Boot] Dual boot Images in Flash

2013-10-03 Thread pshambhu
Hi Wolfgang Denk, Thanks for the feedback, for the customization of u-boot_stub, the main file start.S needs to be changed i guess, the u-boot_stub has to perform only CRC check. after performing it should goto u_boot1/u_boot2 address and then it should start booting.

Re: [U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-03 Thread Leela Krishna Amudala
Hello Lukasz, Thanks for reviewing the patch. On Wed, Oct 2, 2013 at 8:41 PM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Leela, The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-03 Thread Albert ARIBAUD
Hi Michal, On Thu, 03 Oct 2013 08:58:38 +0200, Michal Simek mon...@monstr.eu wrote: On 10/02/2013 09:43 PM, Albert ARIBAUD wrote: Hi Michal, On Tue, 24 Sep 2013 12:38:38 +0200, Michal Simek mon...@monstr.eu wrote: Hi Albert, On 09/23/2013 04:37 PM, Albert ARIBAUD wrote: Hi

[U-Boot] [PATCH 2/2] RFC: exynos: Disable the display controller when starting Linux

2013-10-03 Thread Ajay Kumar
If the exynos display controller is still active when Linux starts, then it will result in a kernel panic while FIMD sysmmu driver is getting probed. Calling exynos_fimd_lcd_disable() before jumping into kernel disables the display controller by switching off the windows, hence resolving the

[U-Boot] [PATCH 1/2] RFC: arm: add call to cleanup things before jumping into kernel

2013-10-03 Thread Ajay Kumar
Add infrasturcture to cleanup any of those architecture related settings done for u-boot, if they can cause problem during kernel boot. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- arch/arm/cpu/armv7/cpu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [U-Boot] [PATCH 2/2] RFC: exynos: Disable the display controller when starting Linux

2013-10-03 Thread Albert ARIBAUD
Hi Ajay, On Thu, 03 Oct 2013 14:34:20 +0530, Ajay Kumar ajaykumar...@samsung.com wrote: If the exynos display controller is still active when Linux starts, then it will result in a kernel panic while FIMD sysmmu driver is getting probed. Calling exynos_fimd_lcd_disable() before jumping into

Re: [U-Boot] [PATCH 1/2] RFC: arm: add call to cleanup things before jumping into kernel

2013-10-03 Thread Albert ARIBAUD
Hi Ajay, On Thu, 03 Oct 2013 14:34:19 +0530, Ajay Kumar ajaykumar...@samsung.com wrote: Add infrasturcture to cleanup any of those architecture related settings done for u-boot, if they can cause problem during kernel boot. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- Regardless

Re: [U-Boot] [PATCH 2/2] RFC: exynos: Disable the display controller when starting Linux

2013-10-03 Thread Ajay kumar
+Simon Glass On Thu, Oct 3, 2013 at 2:25 PM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Ajay, On Thu, 03 Oct 2013 14:34:20 +0530, Ajay Kumar ajaykumar...@samsung.com wrote: If the exynos display controller is still active when Linux starts, then it will result in a kernel panic

Re: [U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-03 Thread Lukasz Majewski
Hi Leela, Hello Lukasz, Thanks for reviewing the patch. On Wed, Oct 2, 2013 at 8:41 PM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Leela, The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true.

Re: [U-Boot] [PATCH 1/2] RFC: arm: add call to cleanup things before jumping into kernel

2013-10-03 Thread Ajay kumar
Hi Albert, On Thu, Oct 3, 2013 at 2:28 PM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Ajay, On Thu, 03 Oct 2013 14:34:19 +0530, Ajay Kumar ajaykumar...@samsung.com wrote: Add infrasturcture to cleanup any of those architecture related settings done for u-boot, if they can cause

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-03 Thread Michal Simek
Hi Albert, On 10/03/2013 10:41 AM, Albert ARIBAUD wrote: Hi Michal, On Thu, 03 Oct 2013 08:58:38 +0200, Michal Simek mon...@monstr.eu wrote: On 10/02/2013 09:43 PM, Albert ARIBAUD wrote: Hi Michal, On Tue, 24 Sep 2013 12:38:38 +0200, Michal Simek mon...@monstr.eu wrote: Hi Albert,

[U-Boot] [PATCH v3 1/3] mtd: Fix function description in part_validate comment

2013-10-03 Thread Otavio Salvador
The part_validate comment had a wrong description of the actions it does and referenced to non-existent functions while in fact it calls 'part_validate_eraseblock()'. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - Fix code comment (dropped 'either') Changes in v2: -

[U-Boot] [PATCH v3 3/3] doc: Fix a typo in the description in doc/README.JFFS2_NAND

2013-10-03 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None doc/README.JFFS2_NAND | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.JFFS2_NAND b/doc/README.JFFS2_NAND index 5018ae8..09788d5 100644 --- a/doc/README.JFFS2_NAND +++

[U-Boot] [PATCH v3 2/3] include/linux/fb.h: Add a missing include for 'list.h'

2013-10-03 Thread Otavio Salvador
The modelist data uses the list definition but the 'list.h' header were not being included. The build failure is bellow: , | In file included from .c:16:0: | .../u-boot/include/linux/fb.h:503:19: error: field 'modelist' has incomplete type | struct list_head modelist; /* mode list */ |

[U-Boot] [PATCH v3 0/3] Trivial patches ready for merging

2013-10-03 Thread Otavio Salvador
Hello, I am resending the patches I think are ready to be applied and are trivial. Please also add: http://patchwork.ozlabs.org/patch/279105/ as it fixes a watchdog to work. Changes in v3: - Fix code comment (dropped 'either') Changes in v2: - rework commit log (Eric Benard) - rework

[U-Boot] [PATCH] imx: Easy enabling of SION per-pin using MUX_MODE_SION helper macro

2013-10-03 Thread Otavio Salvador
The macro allows easy setting in per-pin, as for example: , | imx_iomux_v3_setup_pad(MX6_PAD_NANDF_D1__GPIO_2_1 | MUX_MODE_SION); ` The IOMUX_CONFIG_SION allows for reading PAD value from PSR register. The following quote from the datasheet: , | ... | 28.4.2.2 GPIO Write Mode | The

[U-Boot] [PATCH 00/10] usb: Support for TIZEN's THOR download protocol

2013-10-03 Thread Lukasz Majewski
This patch series provide support for TIZEN's THOR download protocol. Dedicated program for flashing TIZEN developer devices (TRATS, TRATS2) is called lthor (or thor for Windows) and can be found at: git clone git://review.tizen.org/tools/lthor or for git web:

[U-Boot] [PATCH 08/10] cmd:thor: Support for TIZEN's download (thordown) command

2013-10-03 Thread Lukasz Majewski
New command - thordown - has been added to support downloading data via lthor TIZEN program. It is similar to dfu command syntax and reuses its code for flashing data. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/Makefile |1 + common/cmd_thordown.c | 58

[U-Boot] [PATCH 09/10] samsung:common:thor: Define common Samsung code to handle THOR usb descriptor setup

2013-10-03 Thread Lukasz Majewski
Special, common to Samsung, function for altering usb descriptor's idVendor and idProduct has been added. For compatibility reasons (Win vs Linux) the THOR idProduct must be different than the one for DFU/UMS. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang

[U-Boot] [PATCH 03/10] dfu:core: Export dfu_{get|free}_buf functions

2013-10-03 Thread Lukasz Majewski
Define the dfu_get_buf() and dfu_free_buf() as global functions. They are necessary for zero copy buffer management, when DFU backend is used for storing data. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Marek Vasut ma...@denx.de --- drivers/dfu/dfu.c |4 ++-- include/dfu.h |

[U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-03 Thread Lukasz Majewski
The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max packet, not the entire DMA_BUFFER_SIZE. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/usb/gadget/s3c_udc_otg_xfer_dma.c |2 +- 1

[U-Boot] [PATCH 02/10] dfu:core: Find DFU alt setting number by passing its name

2013-10-03 Thread Lukasz Majewski
New function - dfu_get_alt() - has been added to dfu core. If present, it returns alt setting's number corresponding to passed name. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/dfu/dfu.c | 12 include/dfu.h |1 + 2 files

[U-Boot] [PATCH 05/10] usb:g_dnl: Add name parameter to g_dnl_bind_fixup function

2013-10-03 Thread Lukasz Majewski
New parameter, namely *name has been added to g_dnl_bind_fixup(). It is necessary (for compatibility reasons) to assign new USB idProduct and idVendor for different usb functions. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de ---

[U-Boot] [PATCH 10/10] trats: Update TRATS config to support TIZEN download

2013-10-03 Thread Lukasz Majewski
A set of environment variables needs to be updated to provide support for TIZEN download command (tizendown). Since DFU is used as a flashing backend, it is also necessary to extent malloc pool size for DFU buffer allocation. Moreover, for compatibility reasons (Win vs. Lin) new USB idProduct

[U-Boot] [PATCH 04/10] usb:g_dnl: Replace static usb_configuration structure with dynamically allocated one

2013-10-03 Thread Lukasz Majewski
When the usb_configuration structure is declared as static, it is very hard to assure, that relevant fields (as e.g. config-interfaces[]) are cleared out before new call to g_dnl related functions. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Marek Vasut ma...@denx.de ---

[U-Boot] [PATCH 06/10] usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol

2013-10-03 Thread Lukasz Majewski
Implementation of USB download function which supports THOR protocol. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/f_thor.c | 1010 +++

[U-Boot] [PATCH 07/10] usb:g_dnl: Support for TIZEN's THOR function at generic download code

2013-10-03 Thread Lukasz Majewski
Support of thor function at generic download code (g_dnl.c). Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de --- drivers/usb/gadget/g_dnl.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/g_dnl.c

[U-Boot] [PATCH 1/2] mx28evk: Use 512k for fdt partition to align it

2013-10-03 Thread Otavio Salvador
Using 512k for fdt partition allow it to be aligned with the other small partitions and 512k erase block size. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- include/configs/mx28evk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx28evk.h

[U-Boot] [PATCH 2/2] mtd: Fix size overflow

2013-10-03 Thread Otavio Salvador
When using a NAND IC with 4GiB of size, mtdparts go crazy as the 32bit size variables overview resulting in: , | MX28EVK U-Boot mtdparts default | gpmi-nand: partitioning exceeds flash size ` Using a 64bit variable fixes the problem. Signed-off-by: Otavio Salvador

[U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-03 Thread Claudiu Manoil
Currently, the buffer descriptor (BD) fields cannot be correctly accessed by a little endian processor. This patch fixes the issue by making the access of BDs to be portable among different cpu architectures. Use portable data types for the Rx/Tx buffer descriptor fields. Use portable I/O

[U-Boot] [PATCH 1/3 v2] exynos: i2c: Fix i2c driver to handle NACKs properly

2013-10-03 Thread Naveen Krishna Chatradhi
The Exynos5 i2c driver does not handle NACKs properly. This change: - fixes the NACK processing problem (do not continue transaction if address cycle was NACKed) - eliminates a fair amount of duplicate code Signed-off-by: Vadim Bendebury vben...@chromium.org Reviewed-by: Simon Glass

[U-Boot] [PATCH 2/3 v2] exynos: i2c: Change FDT bus setup code to enumerate ports correctly

2013-10-03 Thread Naveen Krishna Chatradhi
From: Simon Glass s...@chromium.org At present the i2c ports are enumerated in a strange way - the fdtdec_find_aliases_for_id() function is used, but then the ID returned is ignored and the ports are renumbered. The effect is the same provided that the device tree has the ports in the same order,

[U-Boot] [PATCH 3/3 v2]: i2c: s3c24xx: add hsi2c controller support

2013-10-03 Thread Naveen Krishna Chatradhi
Add support for hsi2c controller available on exynos5420. Note: driver currently supports only fast speed mode 100kbps Change-Id: I02555b1dc8f4ac21c50aa5158179768563c92f43 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: R. Chandrasekar rc.se...@samsung.com ---

Re: [U-Boot] [PATCH 1/2] Armada100: Adds SD/MMC Register definitions

2013-10-03 Thread Ajay Bhargav
- Pantelis Antoniou pa...@antoniou-consulting.com wrote: Hi Ajay, On Sep 24, 2013, at 11:02 AM, Ajay Bhargav wrote: This patch add SD/MMC interface register difinitions for Armada100 series. Signed-off-by: Ajay Bhargav ajay.bhar...@einfochips.com ---

Re: [U-Boot] [PATCH] imx: Easy enabling of SION per-pin using MUX_MODE_SION helper macro

2013-10-03 Thread Benoît Thébaudeau
Hi Otavio, On Thursday, October 3, 2013 1:46:00 PM, Otavio Salvador wrote: The macro allows easy setting in per-pin, as for example: , | imx_iomux_v3_setup_pad(MX6_PAD_NANDF_D1__GPIO_2_1 | MUX_MODE_SION); ` The IOMUX_CONFIG_SION allows for reading PAD value from PSR register.

Re: [U-Boot] [PATCH] imx: Easy enabling of SION per-pin using MUX_MODE_SION helper macro

2013-10-03 Thread Otavio Salvador
On Thu, Oct 3, 2013 at 9:43 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Hi Otavio, On Thursday, October 3, 2013 1:46:00 PM, Otavio Salvador wrote: The macro allows easy setting in per-pin, as for example: , | imx_iomux_v3_setup_pad(MX6_PAD_NANDF_D1__GPIO_2_1 |

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-03 Thread Claudiu Manoil
On 10/3/2013 1:15 AM, Scott Wood wrote: [snip] Yeah, it doesn't help when both types of accesses show up when searching for the ring, and accessors exist with both possible argument orderings. Especially when a driver has custom accessors. It's OK to use explicit synchronization rather than

Re: [U-Boot] [PATCH 2/2] RFC: exynos: Disable the display controller when starting Linux

2013-10-03 Thread Simon Glass
Hi, On Thu, Oct 3, 2013 at 3:24 AM, Ajay kumar ajayn...@gmail.com wrote: +Simon Glass On Thu, Oct 3, 2013 at 2:25 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Ajay, On Thu, 03 Oct 2013 14:34:20 +0530, Ajay Kumar ajaykumar...@samsung.com wrote: If the exynos display

Re: [U-Boot] [PATCH 1/2] RFC: arm: add call to cleanup things before jumping into kernel

2013-10-03 Thread Simon Glass
Hi Albert, On Thu, Oct 3, 2013 at 2:58 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Ajay, On Thu, 03 Oct 2013 14:34:19 +0530, Ajay Kumar ajaykumar...@samsung.com wrote: Add infrasturcture to cleanup any of those architecture related settings done for u-boot, if they can cause

[U-Boot] [PATCH v2] sf: probe: Add support for EN25S64

2013-10-03 Thread Jagannadha Sutradharudu Teki
From: Priyanka Jain priyanka.j...@freescale.com Add support for EON EN25S64 SPI flash. Signed-off-by: Priyanka Jain priyanka.j...@freescale.com Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v2: - Updated as per new probe code drivers/mtd/spi/sf_probe.c

Re: [U-Boot] [PATCH v2] sf: probe: Add support for EN25S64

2013-10-03 Thread Jagan Teki
Hi, Can you test this patch on u-boot-spi.git with master-probe branch. On Thu, Oct 3, 2013 at 9:11 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: From: Priyanka Jain priyanka.j...@freescale.com Add support for EON EN25S64 SPI flash. Signed-off-by: Priyanka

Re: [U-Boot] [PATCH 1/2] RFC: arm: add call to cleanup things before jumping into kernel

2013-10-03 Thread Albert ARIBAUD
Hi Ajay, On Thu, 3 Oct 2013 14:49:49 +0530, Ajay kumar ajayn...@gmail.com wrote: Hi Albert, On Thu, Oct 3, 2013 at 2:28 PM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Ajay, On Thu, 03 Oct 2013 14:34:19 +0530, Ajay Kumar ajaykumar...@samsung.com wrote: Add

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

2013-10-03 Thread Jagan Teki
Hi Sourav, Can you test this macronix part w.r.t latest code base on u-boot-spi.git with master-probe branch. Please let me know about any issues/concerns. On Tue, Aug 27, 2013 at 2:48 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi On Tue, Aug 27, 2013 at 11:15 AM, Sourav Poddar

Re: [U-Boot] [PATCH] sf: spansion: Add support for S25FL512S_256K

2013-10-03 Thread Jagan Teki
Please try to test your part in u-boot-spi.git with master-probe branch. We have a new probe setup code. Let me know for any issues or concerns. On Thu, Aug 1, 2013 at 5:46 AM, Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com wrote: Hi, Thank you for your review. 2013/7/31 Michal Simek

Re: [U-Boot] [PATCH 10/10] trats: Update TRATS config to support TIZEN download

2013-10-03 Thread Marek Vasut
Dear Lukasz Majewski, A set of environment variables needs to be updated to provide support for TIZEN download command (tizendown). Since DFU is used as a flashing backend, it is also necessary to extent malloc pool size for DFU buffer allocation. Moreover, for compatibility reasons (Win

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

2013-10-03 Thread Marek Vasut
Dear Mateusz Zalega, This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. New API allows selective initialization of USB controllers whenever needed. Signed-off-by: Mateusz Zalega

Re: [U-Boot] [PATCH] usb: Fix error handling in musb_hcd.c

2013-10-03 Thread Marek Vasut
Dear Andrew Murray, The wait_until_[rx|tx]ep_ready functions return a u8 to indicate success containing the value 0, 1 or -1. This patch changes the return type to an int to accommodate the negative return values. These functions are used in the file using calls such as if (!wait_until...

Re: [U-Boot] [PATCH 06/10] usb:g_dnl:f_thor: USB download function to support TIZEN's THOR protocol

2013-10-03 Thread Marek Vasut
Dear Lukasz Majewski, [...] +static struct f_thor *thor_func; +static inline struct f_thor *func_to_thor(struct usb_function *f) +{ + return container_of(f, struct f_thor, usb_function); +} + +DEFINE_CACHE_ALIGN_BUFFER(char, thor_tx_data_buf, sizeof(struct rsp_box));

Re: [U-Boot] [PATCH 01/10] usb:udc:s3c: Reduce dcache invalidate range for UDC receive buffer

2013-10-03 Thread Marek Vasut
Dear Lukasz Majewski, The s3c udc driver sends data in a max packet size. Therefore the dcache invalidate range shall be equal to max packet, not the entire DMA_BUFFER_SIZE. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de ---

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-03 Thread Albert ARIBAUD
Hi Michal, On Thu, 3 Oct 2013 11:56:20 +0200, Michal Simek michal.si...@xilinx.com wrote: Hi Albert, On 10/03/2013 10:41 AM, Albert ARIBAUD wrote: Hi Michal, On Thu, 03 Oct 2013 08:58:38 +0200, Michal Simek mon...@monstr.eu wrote: On 10/02/2013 09:43 PM, Albert ARIBAUD wrote:

Re: [U-Boot] [PATCH 2/6] power: Explicitly select pmic device's bus

2013-10-03 Thread Lukasz Majewski
Hi Heiko, Sorry for a late reply. Hello Lukasz, Am 02.10.2013 17:11, schrieb Lukasz Majewski: Hi Leela, The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to be true. Therefore, select the proper bus before

Re: [U-Boot] [UBOOT][PATCHv3 0/7] mtd/spi: add quad/memory mapped read support, add ti qspi controller.

2013-10-03 Thread Jagan Teki
Hi Sourav, Can you rebase your changes w.r.t u-boot-spi.git with master-probe branch. Sorry for the delay, try to send the patches without quad related stuff. I will prepare a thread for this quad after this release as we did lot of work last few months back. Thanks for your help.!!! On Wed,

Re: [U-Boot] [UBOOT][PATCHv3 5/7] spi: add TI QSPI driver

2013-10-03 Thread Jagan Teki
Hi Sourav, Please try to code the driver as specified in below thread! http://lists.denx.de/pipermail/u-boot/2013-August/160472.html On Fri, Sep 20, 2013 at 8:21 AM, Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com wrote: Hi, 2013/9/18 Sourav Poddar sourav.pod...@ti.com: From: Matt Porter

Re: [U-Boot] [PATCH v3] spi: Add support SH Quad SPI driver

2013-10-03 Thread Jagannadha Sutradharudu Teki
Have you verified this on hw? Sorry for the late response. Can you RESEND the patch again- I couldn't find it on patchwork. Thanks, Jagan. -Original Message- From: Nobuhiro Iwamatsu [mailto:iwama...@nigauri.org] On Behalf Of Nobuhiro Iwamatsu Sent: Thursday, August 22, 2013 7:25 AM

Re: [U-Boot] [UBOOT][PATCHv3 0/7] mtd/spi: add quad/memory mapped read support, add ti qspi controller.

2013-10-03 Thread Jagan Teki
Thanks, On Thu, Oct 3, 2013 at 11:55 PM, Sourav Poddar sourav.pod...@ti.com wrote: On Thursday 03 October 2013 11:13 PM, Jagan Teki wrote: Hi Sourav, Can you rebase your changes w.r.t u-boot-spi.git with master-probe branch. Sorry for the delay, try to send the patches without quad related

Re: [U-Boot] [UBOOT][PATCHv3 5/7] spi: add TI QSPI driver

2013-10-03 Thread Sourav Poddar
On Thursday 03 October 2013 11:19 PM, Jagan Teki wrote: Hi Sourav, Please try to code the driver as specified in below thread! http://lists.denx.de/pipermail/u-boot/2013-August/160472.html Ok. On Fri, Sep 20, 2013 at 8:21 AM, Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com wrote: Hi,

Re: [U-Boot] [UBOOT][PATCHv3 0/7] mtd/spi: add quad/memory mapped read support, add ti qspi controller.

2013-10-03 Thread Sourav Poddar
On Thursday 03 October 2013 11:13 PM, Jagan Teki wrote: Hi Sourav, Can you rebase your changes w.r.t u-boot-spi.git with master-probe branch. Sorry for the delay, try to send the patches without quad related stuff. Ok. I will rebase and send only ti qspi and memory mapped part. I will

Re: [U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

2013-10-03 Thread Scott Wood
On Thu, 2013-10-03 at 14:48 +0300, Claudiu Manoil wrote: +static inline u16 read_txbd_stat(uint idx) +{ + return in_be16((u16 __iomem *)txbd[idx].status); +} + +static inline void write_txbd_stat(uint idx, u16 status) +{ + out_be16((u16 __iomem *)txbd[idx].status, status); +} +

[U-Boot] [UBOOT]: Mcspi/qspi conflicting configs leading to build failure.

2013-10-03 Thread Sourav Poddar
Hi Jagan, If you see the mcspi defconfig(CONFIG_OMAP3_SPI), it is moved to common file include/configs/ti_armv7_common.h . But with this, now after adding qspi the build breaks like this.. ti_qspi.o: In function `spi_cs_is_valid': /home/a0131647/clone/u-boot/drivers/spi/ti_qspi.c:108: multiple

Re: [U-Boot] [UBOOT]: Mcspi/qspi conflicting configs leading to build failure.

2013-10-03 Thread Jagan Teki
On Fri, Oct 4, 2013 at 12:07 AM, Sourav Poddar sourav.pod...@ti.com wrote: Hi Jagan, If you see the mcspi defconfig(CONFIG_OMAP3_SPI), it is moved to common file include/configs/ti_armv7_common.h . But with this, now after adding qspi the build breaks like this.. ti_qspi.o: In function

[U-Boot] : Discussion on Serial Flash Discoverable Parameters (SFDP): JESD216A

2013-10-03 Thread Jagan Teki
Hi All, As all we know that the spi_flash is a day-by-day developing hardware where each vendor has followed their own standard to get the best to come out. I see SFDP looks like a common standard where most of the vendors were following to get the flash parameter information at runtime. I have

Re: [U-Boot] [PATCH v5 7/8] ARM: extend non-secure switch to also go into HYP mode

2013-10-03 Thread Christoffer Dall
On Thu, Oct 03, 2013 at 08:24:57AM +0200, Albert ARIBAUD wrote: Hi Andre, On Thu, 19 Sep 2013 18:06:45 +0200, Andre Przywara andre.przyw...@linaro.org wrote: For the KVM and XEN hypervisors to be usable, we need to enter the kernel in HYP mode. Now that we already are in non-secure

Re: [U-Boot] [PATCH v5 7/8] ARM: extend non-secure switch to also go into HYP mode

2013-10-03 Thread Albert ARIBAUD
Hi Christoffer, On Thu, 3 Oct 2013 19:55:15 +0100, Christoffer Dall christoffer.d...@linaro.org wrote: On Thu, Oct 03, 2013 at 08:24:57AM +0200, Albert ARIBAUD wrote: Hi Andre, On Thu, 19 Sep 2013 18:06:45 +0200, Andre Przywara andre.przyw...@linaro.org wrote: For the KVM and XEN

Re: [U-Boot] [PATCH v5 0/8] ARMv7: Add HYP mode switching support

2013-10-03 Thread Albert ARIBAUD
Hi Andre, On Thu, 19 Sep 2013 18:06:38 +0200, Andre Przywara andre.przyw...@linaro.org wrote: (for GIT URL and Changelog see below) ARM CPUs with the virtualization extension have a new mode called HYP mode, which allows hypervisors to safely control and monitor guests. The current

[U-Boot] [PATCH v4] spi: Add support SH Quad SPI driver

2013-10-03 Thread Jagannadha Sutradharudu Teki
From: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com This patch adds a driver for Renesas SoC's Quad SPI bus. This supports with 8 bits per transfer to use with SPI flash. Signed-off-by: Kouei Abe kouei.abe...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com

Re: [U-Boot] [PATCH v3] spi: Add support SH Quad SPI driver

2013-10-03 Thread Jagan Teki
Ignore this I found. On Thu, Oct 3, 2013 at 11:28 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: Have you verified this on hw? Sorry for the late response. Can you RESEND the patch again- I couldn't find it on patchwork. Thanks, Jagan. -Original

Re: [U-Boot] [PATCH v4] spi: Add support SH Quad SPI driver

2013-10-03 Thread Jagan Teki
Hi Nobuhiro Iwamatsu, I have send your patch for v4. Eliminated few checks see on change log: Please fix below comments and try to apply the same on u-boot-spi.git repo with master-probe branch. On Fri, Oct 4, 2013 at 1:04 AM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com

Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2013-10-03 Thread Jagan Teki
Any update on this. On Wed, Jun 12, 2013 at 9:25 PM, Armando Visconti armando.visco...@st.com wrote: On 06/12/2013 05:29 PM, Jagan Teki wrote: On Wed, Jun 12, 2013 at 8:49 PM, Armando Visconti armando.visco...@st.com wrote: But if you prefer to be on safer side I think we need to re-do

Re: [U-Boot] [PATCH v2 05/12] spi: add Faraday FTSPI010 SPI controller support

2013-10-03 Thread Jagan Teki
Any update on this. On Mon, Aug 12, 2013 at 6:07 AM, Kuo-Jung Su dant...@gmail.com wrote: Please see the comments on below patch http://patchwork.ozlabs.org/patch/265683/ -- Got it, thanks -- Best wishes, Kuo-Jung Su -- Thanks, Jagan. Jagannadha Sutradharudu Teki, E:

Re: [U-Boot] [PATCH 2/2 V3] spi: exynos: Support a delay after deactivate

2013-10-03 Thread Jagan Teki
Any update on this! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] : SPI patches

2013-10-03 Thread Jagan Teki
Hi Rajeswari, Below is a list of pending patches on my queue: http://patchwork.ozlabs.org/patch/247461/ http://patchwork.ozlabs.org/patch/247457/ http://patchwork.ozlabs.org/patch/247452/ http://patchwork.ozlabs.org/patch/247451/ http://patchwork.ozlabs.org/patch/247450/ Request you to fix my

[U-Boot] Pull request: u-boot-arm/master

2013-10-03 Thread Albert ARIBAUD
Hello Tom, The following changes since commit f04c53762962280365005c9db12ab561a18f2692: Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-10-02 14:53:27 +0200) are available in the git repository at: git://git.denx.De/u-boot-arm master for you to fetch changes up to

Re: [U-Boot] [U-Boot, u-boot, RFC, v1] sdp4430: Initialize board id using CONFIG_MACH_TYPE

2013-10-03 Thread Albert ARIBAUD
Hi Tom, On Wed, 28 Aug 2013 14:25:25 -0400, Tom Rini tr...@ti.com wrote: On Tue, Aug 06, 2013 at 02:03:27PM +0300, Oleksandr Tyshchenko wrote: Use CONFIG_MACH_TYPE generic macro to set the machine type number in the common arm code instead of setting it in the board code.

[U-Boot] [RFC] ARM: U-boot and 2 GiB of ram with get_ram_size only being long

2013-10-03 Thread Oliver Schinagl
Hey all, I just yesterday received my CubieTruck (cubieboard3) with 2 GiB of Ram and added support for it to the sunxi-u-boot branch. While I know this isn't merged into the main u-boot tree (yet), I ran into the following problem. At the end of the dram init code, it is customary to call

Re: [U-Boot] [PATCH v2] Merge and reformat boards.cfg and MAINTAINERS

2013-10-03 Thread Albert ARIBAUD
Hi Masahiro, On Fri, 27 Sep 2013 20:05:35 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello Albert I set the board state in the new board.cfg to Orphan if and only if the board was listed in such an unknown / orphan section, and to Active in any other case. This implies

Re: [U-Boot] Dual boot Images in Flash

2013-10-03 Thread Wolfgang Denk
Dear pshambhu, In message 1380783611628-164588.p...@n7.nabble.com you wrote: Thanks for the feedback, for the customization of u-boot_stub, the main file start.S needs to be changed i guess, the u-boot_stub has to perform only CRC check. after performing it should

Re: [U-Boot] [PATCH 1/2] mx28evk: Use 512k for fdt partition to align it

2013-10-03 Thread Wolfgang Denk
Dear Otavio Salvador, In message 1380801056-11923-1-git-send-email-ota...@ossystems.com.br you wrote: Using 512k for fdt partition allow it to be aligned with the other small partitions and 512k erase block size. Signed-off-by: Otavio Salvador ota...@ossystems.com.br ---

Re: [U-Boot] [PATCH 1/2] mx28evk: Use 512k for fdt partition to align it

2013-10-03 Thread Otavio Salvador
On Thu, Oct 3, 2013 at 6:48 PM, Wolfgang Denk w...@denx.de wrote: Dear Otavio Salvador, In message 1380801056-11923-1-git-send-email-ota...@ossystems.com.br you wrote: Using 512k for fdt partition allow it to be aligned with the other small partitions and 512k erase block size.

Re: [U-Boot] [PATCH v13 1/6] core support of arm64

2013-10-03 Thread York Sun
On 10/03/2013 02:51 PM, Rob Herring wrote: On 10/03/2013 04:35 PM, Rob Herring wrote: On 09/26/2013 08:35 AM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- arch/arm/config.mk |4 + FYI,

Re: [U-Boot] [PATCH v13 1/6] core support of arm64

2013-10-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/2013 05:54 PM, York Sun wrote: On 10/03/2013 02:51 PM, Rob Herring wrote: On 10/03/2013 04:35 PM, Rob Herring wrote: On 09/26/2013 08:35 AM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng

Re: [U-Boot] [U-Boot, u-boot, RFC, v1] sdp4430: Initialize board id using CONFIG_MACH_TYPE

2013-10-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/2013 05:15 PM, Albert ARIBAUD wrote: Hi Tom, On Wed, 28 Aug 2013 14:25:25 -0400, Tom Rini tr...@ti.com wrote: On Tue, Aug 06, 2013 at 02:03:27PM +0300, Oleksandr Tyshchenko wrote: Use CONFIG_MACH_TYPE generic macro to set the

Re: [U-Boot] [PATCH v13 1/6] core support of arm64

2013-10-03 Thread Rob Herring
On 10/03/2013 04:35 PM, Rob Herring wrote: On 09/26/2013 08:35 AM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- arch/arm/config.mk |4 + FYI, some recent mainline changes to config.mk

Re: [U-Boot] [PATCH v13 6/6] add weak entry definition

2013-10-03 Thread Rob Herring
On 09/26/2013 08:35 AM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- include/linux/linkage.h |4 1 file changed, 4 insertions(+) This patch should come before adding core v8 support. Rob diff --git

[U-Boot] [PATCH 1/4] arm64: Add tool to statically apply RELA relocations

2013-10-03 Thread Scott Wood
ARM64 uses the newer RELA-style relocations rather than the older REL. RELA relocations have an addend in the relocation struct, rather than expecting the loader to read a value from the location to be updated. While this is beneficial for ordinary program loading, it's problematic for U-Boot

[U-Boot] [PATCH 4/4] arm64: Make checkarmreloc accept arm64 relocations

2013-10-03 Thread Scott Wood
Signed-off-by: Scott Wood scottw...@freescale.com --- Makefile | 14 +- arch/arm/config.mk | 2 -- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 1938f60..20d48e9 100644 --- a/Makefile +++ b/Makefile @@ -805,12 +805,16 @@ tools:

[U-Boot] [PATCH 2/4] arm64: Turn u-boot.bin back into an ELF file after relocate-rela

2013-10-03 Thread Scott Wood
While performing relocations on u-boot.bin should be good enough for booting on real hardware, some simulators insist on booting an ELF file (and yet don't perform ELF relocations), so convert the relocated binary back into an ELF file. This can go away in the future if we change relocate-rela to

[U-Boot] [PATCH 0/4] arm64: rela relocation

2013-10-03 Thread Scott Wood
This lets us remove the manual relocation stuff from the arm64 patchset (the symbol itself is removed by this patchset, but not all the new manual relocations added by the arm64 patchset). I'm not terribly happy with the way relocate-rela is now, versus something cleaner that operates on the ELF

[U-Boot] [PATCH 3/4] arm64: Non-manual relocation

2013-10-03 Thread Scott Wood
This turns off CONFIG_NEEDS_MANUAL_RELOC and turns on -pie. The bss part of the linker script is changed to be more like arm32, as the previous arm64 approach was generating bad relocations (even readelf didn't like them). relocate_64.S is made to look more like relocate.S, and then changed to

Re: [U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-03 Thread Simon Glass
Hi, On Thu, Sep 26, 2013 at 5:51 AM, Masahiro Yamada yamad...@jp.panasonic.comwrote: In every sub directory, Makefile is like follows: include $(TOPDIR)/config.mk LIB = $(obj)libfoo.o COBJS := ... COBJS += ... SOBJS := ... SRCS:= $(SOBJS:.o=.S)

Re: [U-Boot] [PATCH v2 17/19] sandbox: convert makefiles to Kbuild style

2013-10-03 Thread Simon Glass
On Thu, Sep 26, 2013 at 5:51 AM, Masahiro Yamada yamad...@jp.panasonic.comwrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Simon Glass s...@chromium.org --- Changes for v2 - No change arch/sandbox/cpu/Makefile | 23 +-- arch/sandbox/lib/Makefile

Re: [U-Boot] [PATCH] config.mk: Add -Wundef to CFLAGS

2013-10-03 Thread Simon Glass
Hi, On Wed, Oct 2, 2013 at 1:27 PM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Masahiro, On Wed, 21 Aug 2013 13:33:19 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hello, Albert and U-Boot developers. The current status of this patch is Changes Requested. I

Re: [U-Boot] [PATCH v3 0/6] Second step towards Kbuild: Descend down like Kbuild

2013-10-03 Thread Simon Glass
Hi Masahiro, On Mon, Sep 30, 2013 at 2:23 AM, Masahiro Yamada yamad...@jp.panasonic.comwrote: Note: Update for v3 is the only patch subjects. The patch body is the same as v2. I have been just wondering why the U-Boot top Makefile is so dirty. It is sprinkled with SoC-specific code as

Re: [U-Boot] [PATCH 7/9] net: tsec: Use portable types and accessors for BDs

2013-10-03 Thread Timur Tabi
On Mon, Sep 30, 2013 at 4:44 AM, Claudiu Manoil claudiu.man...@freescale.com wrote: +#define GET_BD_STAT(T, i) be16_to_cpu((__force __be16)T##BD(i).status) +#define SET_BD_STAT(T, i, v) T##BD(i).status = (__force __u16)cpu_to_be16(v) +#define GET_BD_BLEN(T, i) be16_to_cpu((__force

Re: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

2013-10-03 Thread Vipin Kumar
On 10/4/2013 1:22 AM, Jagan Teki wrote: Any update on this. This should already be in u-boot mainline Regards Vipin On Wed, Jun 12, 2013 at 9:25 PM, Armando Visconti armando.visco...@st.com wrote: On 06/12/2013 05:29 PM, Jagan Teki wrote: On Wed, Jun 12, 2013 at 8:49 PM, Armando

[U-Boot] [PATCH 3/3][v5] board/c29xpcie: Add support of 8K page size NAND flash

2013-10-03 Thread Prabhakar Kushwaha
Defines constants required to support 8K page size NAND flash. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2:Sending as it is Changes for v3:Sending as it is Changes for v4:Sending as it is Changes for v5:Sending as it is include/configs/C29XPCIE.h | 10

[U-Boot] [PATCH 2/3][v5] mtd/ifc: Add support of 8K page size NAND flash

2013-10-03 Thread Prabhakar Kushwaha
Current IFC driver supports till 4K page size NAND flash. Add support of 8K NAND flash - Program Spare region size in csor_ext - Add nand_ecclayout for 4 bit 8 bit ecc - Defines constants - Add support of 8K NAND boot. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com CC: Liu Po

  1   2   >