[U-Boot] [PATCH] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-06-25 Thread Frederic Leroy
From: Frédéric Leroy fr...@starox.org With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, which is required to represent block numbers for storage devices that exceed 2TiB (the block size usually is 512B), e.g. recent hard drives We now use lbaint_t for partition offset to reflect

Re: [U-Boot] [PATCH v2 5/5] ARM: at91: atmel_nand: add code to check the ONFI parameter ECC requirement

2013-06-25 Thread Josh Wu
Hi, Dear Scott On 6/21/2013 4:57 AM, Scott Wood wrote: On 06/17/2013 05:51:21 AM, Josh Wu wrote: +static int pmecc_choose_ecc(struct atmel_nand_host *host, +struct nand_chip *chip, +int *cap, int *sector_size) +{ +/* Get ECC requirement from ONFI parameters */ +*cap =

Re: [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-06-25 Thread Lukasz Majewski
Hi Sumit, Hi Lukasz, I put the dfu support into am335x board even i able to download all images from dfu-util, but when i trying to upload images, (from dfu devices to PC), my system failed. Could you tell me what is the problem and where should i look into? Indeed dfu upload

Re: [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-06-25 Thread Sumit Gemini
Hi Lukasz, My dfu version is 1.0 and am using SPI flash NOR. downloading is fine but uploading failed. I am trying lot to upload binary from dfu-device to pc but not able to do that. I am facing following error :- when i apply dfu-util -v -a u-boot -U

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Heiko Schocher
Hello Lokesh, Am 25.06.2013 07:39, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 10:24 AM, Heiko Schocher wrote: Hello Lokesh, Am 25.06.2013 05:48, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 12:42 AM, Heiko Schocher wrote: Hello Lokesh, Am 24.06.2013 15:15,

[U-Boot] [PATCH v5 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-25 Thread Stefan Roese
Fix a problem with a re-assignment of r8 in the SPL version. This patch now moves the call to s_init() to a later stage, right before calling board_init_f(). And makes sure that r8 is correctly initialized before s_init() is called. r8 now is only written in crt0.S. This error was detected on

Re: [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-06-25 Thread Lukasz Majewski
Hi Sumit, Hi Lukasz, My dfu version is 1.0 and am using SPI flash NOR. downloading is fine but uploading failed. I am trying lot to upload binary from dfu-device to pc but not able to do that. I am facing following error :- when i apply

[U-Boot] [PATCH v3] drivers:power:max77686: add function to set voltage and mode

2013-06-25 Thread Piotr Wilczek
This patch add new functions to pmic max77686 to set voltage and mode. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com CC: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Rajeshwari Shinde

[U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
Hello, using dfu-util -l shows different output connecting to an am335x based board and using dfu_nand.c with current u-boot: after resetting the board I get: # dfu-util -l dfu-util 0.5 (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. (C) 2010-2011 Tormod Volden (DfuSe support)

Re: [U-Boot] [PATCH 2/4] arm:goni:dfu Add support for DFU at GONI target

2013-06-25 Thread Sumit Gemini
Hi Lukasz, sorry i just copy and paste that... why dfu-SPL? Not dfu-BOOT dfu-Boot will come instead of dfu-SPL and thanks for help, i talk to Pantelis, Heiko for the same. Thanks Regards ~Sumit Gemini On Tue, Jun 25, 2013 at 1:05 PM, Lukasz Majewski

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Pantelis Antoniou
Heiko, I don't think the gadget is initialized before you issue a dfu call. So that makes sense. Let's wait until Tom wakes up and have an authoritative answer. Regards -- Pantelis On Jun 25, 2013, at 11:08 AM, Heiko Schocher wrote: Hello, using dfu-util -l shows different output

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Lokesh Vutla
Hi Heiko, On Tuesday 25 June 2013 12:35 PM, Heiko Schocher wrote: Hello Lokesh, Am 25.06.2013 07:39, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 10:24 AM, Heiko Schocher wrote: Hello Lokesh, Am 25.06.2013 05:48, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 12:42 AM,

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
Hello Pantelis, Am 25.06.2013 10:16, schrieb Pantelis Antoniou: Heiko, I don't think the gadget is initialized before you issue a dfu call. So that makes sense. ? I call from the host dfu-util -l so the gadget on the board should do the answer ... or? Let's wait until Tom wakes up and

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

2013-06-25 Thread Andre Przywara
On 06/21/2013 04:38 PM, Nikolay Nikolaev wrote: Hello, On Thu, Jun 13, 2013 at 2:01 PM, Andre Przywara andre.przyw...@linaro.org mailto: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

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Lukasz Majewski
Hi Heiko, Hello Pantelis, Am 25.06.2013 10:16, schrieb Pantelis Antoniou: Heiko, I don't think the gadget is initialized before you issue a dfu call. So that makes sense. ? I call from the host dfu-util -l so the gadget on the board should do the answer ... or? The

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
Hello Lukasz, Am 25.06.2013 10:44, schrieb Lukasz Majewski: Hi Heiko, Hello Pantelis, Am 25.06.2013 10:16, schrieb Pantelis Antoniou: Heiko, I don't think the gadget is initialized before you issue a dfu call. So that makes sense. ? I call from the host dfu-util -l so the gadget

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-06-25 Thread Sascha Silbe
Hello Albert, hello Tom, Albert ARIBAUD albert.u.b...@aribaud.net writes: [Move environment to account for increase in U-Boot size] This patch is for 2013.10, not 2013.07, but I prefer raising the issue as early as possible. If there is no way to make things smoother, then I think the

[U-Boot] [PATCH] sf:stmicro: Add support for N25Q512A

2013-06-25 Thread Priyanka Jain
Add support for Micron N25Q512A serial flash memory Features: 64MB size, 1.8V, Multiple I/O, 4KB Sector erase Memory is organised a 1024(64KB) main sectors. Each sector is divided into 256 pages Register set/Opcodes is similar to other N25Q family products Signed-off-by: Priyanka Jain

[U-Boot] [PATCH 1/3] powerpc/srio: Update the SRIO LIODN registers and ID table macro

2013-06-25 Thread Liu Gang
For some PowerPC platforms, LIODN registers for SRIO ports are in SRIO register address space. So the ccsr_rio structure should be updated for those LIODN registers. In addition, add a new macro SET_SRIO_LIODN_BASE to create the SRIO LIODN ID table based on the SRIO LIODN register address.

[U-Boot] [PATCH 3/3] powerpc/t4: Correct LIODN assignment for SRIO

2013-06-25 Thread Liu Gang
For T4 platform, the SRIO LIODN registers are in SRIO address space and not in GUTs. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx/t4240_ids.c |4 ++-- arch/powerpc/include/asm/config_mpc85xx.h |1 + 2 files changed, 3 insertions(+), 2 deletions(-)

[U-Boot] [PATCH 2/3] powerpc/b4860: Correct LIODN assignment for SRIO

2013-06-25 Thread Liu Gang
For B4, the SRIO LIODN registers are in SRIO address space and not in GUTs. Signed-off-by: Liu Gang gang@freescale.com --- arch/powerpc/cpu/mpc85xx/b4860_ids.c |4 ++-- arch/powerpc/include/asm/config_mpc85xx.h |1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 25.06.2013 10:44, schrieb Lukasz Majewski: Hi Heiko, Hello Pantelis, Am 25.06.2013 10:16, schrieb Pantelis Antoniou: Heiko, I don't think the gadget is initialized before you issue a dfu call. So that makes sense. ? I call from the

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Heiko Schocher
Hello Lukasz, Am 25.06.2013 12:29, schrieb Lukasz Majewski: Hi Heiko, Hello Lukasz, Am 25.06.2013 10:44, schrieb Lukasz Majewski: Hi Heiko, Hello Pantelis, Am 25.06.2013 10:16, schrieb Pantelis Antoniou: Heiko, I don't think the gadget is initialized before you issue a dfu call.

Re: [U-Boot] dfu: using dfu-util -l shows different output

2013-06-25 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 25.06.2013 12:29, schrieb Lukasz Majewski: Hi Heiko, Hello Lukasz, Am 25.06.2013 10:44, schrieb Lukasz Majewski: Hi Heiko, Hello Pantelis, Am 25.06.2013 10:16, schrieb Pantelis Antoniou: Heiko, I don't think the gadget is initialized

[U-Boot] [PATCH] usb, dfu gadget: switch to dfu mode in dfu_bind

2013-06-25 Thread Heiko Schocher
- set in to_dfu_mode() f_dfu-dfu_state = DFU_STATE_dfuIDLE as after every to_dfu_mode call this is done, so move this into to_dfu_mode - switch in dfu_bind() into dfu mode: This fixes wrong dfu-util -l output, when calling dfu-util -l after a board reset, without doing a download before.

[U-Boot] Save flash from U-Boot

2013-06-25 Thread Szabolcs Sipos
I have a ZTE ZXV10 H201L, and want to back its flash up for future recovery and for getting the VOIP settings. Since the firmware is modified by the ISP, I have no access to it. It has U-Boot (with serial console) but some commands are missing: =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.06.24

Re: [U-Boot] [PATCH 1/2] board/bsc9132qds: Add DSP side tlb and laws

2013-06-25 Thread Prabhakar Lad
On Tue, Jun 25, 2013 at 10:57 AM, Priyanka Jain priyanka.j...@freescale.com wrote: BSC9132QDS is a Freescale Reference Design Board for BSC9132 SoC which is a integrated device that contains two powerpc e500v2 cores and two DSP starcores. To support DSP starcore -Creating LAW and TLB for

Re: [U-Boot] [PATCH] board/bsc913x: Add config flag for bootdelay

2013-06-25 Thread Rai Harninder-B01044
Hi Albert, (weird way of quoting messages; makes it really hard to see who said what. Can't your mail client use the standard line prefix?) Fixed As for the commit summary, it is fine by me. Scott has commented on the same. Can you please have a look and suggest? Are you not mixing up

Re: [U-Boot] [PATCH] usb, dfu gadget: switch to dfu mode in dfu_bind

2013-06-25 Thread Lukasz Majewski
Hi Heiko, - set in to_dfu_mode() f_dfu-dfu_state = DFU_STATE_dfuIDLE as after every to_dfu_mode call this is done, so move this into to_dfu_mode - switch in dfu_bind() into dfu mode: This fixes wrong dfu-util -l output, when calling dfu-util -l after a board reset, without doing a

[U-Boot] [PATCH] power:bat:trats: Break battery charging with ctrl+C

2013-06-25 Thread Lukasz Majewski
Add support for disabling battery charging with ctrl+C keyboard combination pressed. Moreover the battery update is done more frequently. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Tom Rini tr...@ti.com --- drivers/power/battery/bat_trats.c | 13 +

Re: [U-Boot] [PATCH] sf:stmicro: Add support for N25Q512A

2013-06-25 Thread Jagan Teki
On Tue, Jun 25, 2013 at 3:36 PM, Priyanka Jain priyanka.j...@freescale.com wrote: Add support for Micron N25Q512A serial flash memory Features: 64MB size, 1.8V, Multiple I/O, 4KB Sector erase Memory is organised a 1024(64KB) main sectors. Each sector is divided into 256 pages Register

[U-Boot] [PATCH] SMDK5250: Remove reduntant code

2013-06-25 Thread Rajeshwari Shinde
enum boot_mode is defined twice once in spl.h and also in spl_boot.c, hence removing the same from spl_boot.c and including the header file. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- arch/arm/include/asm/arch-exynos/spl.h |1 + board/samsung/smdk5250/spl_boot.c |

Re: [U-Boot] [PATCH] SMDK5250: Remove reduntant code

2013-06-25 Thread Simon Glass
On Tue, Jun 25, 2013 at 6:47 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: enum boot_mode is defined twice once in spl.h and also in spl_boot.c, hence removing the same from spl_boot.c and including the header file. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com

[U-Boot] [PATCH] drivers:usb: use get|put_unaligned_le16

2013-06-25 Thread Piotr Wilczek
This patch use get|put_unaligned_le16 to access structure data to avoid data abort on some ARM platforms. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Marek Vasut ma...@denx.de --- drivers/usb/gadget/f_mass_storage.c | 10

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Heiko Schocher
Hello Lokesh, Am 25.06.2013 10:17, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 12:35 PM, Heiko Schocher wrote: Hello Lokesh, Am 25.06.2013 07:39, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 10:24 AM, Heiko Schocher wrote: Hello Lokesh, Am 25.06.2013 05:48,

Re: [U-Boot] [PATCH V2 1/9] Validate dtc is new enough

2013-06-25 Thread Stephen Warren
On 06/24/2013 06:45 PM, Simon Glass wrote: Hi Stephen, On Mon, Jun 24, 2013 at 8:43 AM, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com mailto:swar...@nvidia.com Subsequent patches assume that dtc supports various

Re: [U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

2013-06-25 Thread Tom Rini
On Tue, Jun 25, 2013 at 11:09:41AM +0530, Lokesh Vutla wrote: Hi Heiko, On Tuesday 25 June 2013 10:24 AM, Heiko Schocher wrote: Hello Lokesh, Am 25.06.2013 05:48, schrieb Lokesh Vutla: Hi Heiko, On Tuesday 25 June 2013 12:42 AM, Heiko Schocher wrote: Hello Lokesh, Am 24.06.2013 15:15,

Re: [U-Boot] Pull request: u-boot-net.git master

2013-06-25 Thread Tom Rini
On Mon, Jun 24, 2013 at 07:21:25PM -0500, Joe Hershberger wrote: The following changes since commit 348e47f766ac228fb02d1af562b2e9a4c69355db: Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-06-22 07:38:12 -0400) are available in the git repository at:

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

2013-06-25 Thread Tom Rini
On Sun, Jun 23, 2013 at 11:29:11PM +0530, Jagannadha Sutradharudu Teki wrote: Hi Tom, These are the major updates on current spi_flash framework to support all sizes of flashes in 3-byte addressing mode. Tested these changes on stmicro, winbond and spansion flashes. Thanks, Jagan.

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2013-06-25 Thread Tom Rini
On Fri, Jun 21, 2013 at 03:51:37PM -0500, Andy Fleming wrote: The following changes since commit 7315cfd9e1922ee1c3c5f016e5a3b16199122172: NET: Fix system hanging if NET device is not installed (2013-06-19 08:32:44 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH V2 1/9] Validate dtc is new enough

2013-06-25 Thread Simon Glass
Hi Stephen, On Tue, Jun 25, 2013 at 7:47 AM, Stephen Warren swar...@wwwdotorg.orgwrote: On 06/24/2013 06:45 PM, Simon Glass wrote: Hi Stephen, On Mon, Jun 24, 2013 at 8:43 AM, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-06-25 Thread Scott Wood
On 06/25/2013 12:03:56 AM, Prabhakar Kushwaha wrote: CONFIG_SPL_BUILD creates debug TLB entry, so disable it before init_tlbs. CONFIG_SPL_INIT_MINIMAL never creates any debug TLB entry, so no need of disable_tlb(). Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com ---

Re: [U-Boot] [PATCH v2 5/5] ARM: at91: atmel_nand: add code to check the ONFI parameter ECC requirement

2013-06-25 Thread Scott Wood
On 06/25/2013 01:33:32 AM, Josh Wu wrote: Hi, Dear Scott On 6/21/2013 4:57 AM, Scott Wood wrote: On 06/17/2013 05:51:21 AM, Josh Wu wrote: +static int pmecc_choose_ecc(struct atmel_nand_host *host, +struct nand_chip *chip, +int *cap, int *sector_size) +{ +/* Get ECC

Re: [U-Boot] Save flash from U-Boot

2013-06-25 Thread Wolfgang Denk
Dear Szabolcs Sipos, In message 000301ce7196$32f25b20$98d71160$@balfug.com you wrote: I have a ZTE ZXV10 H201L, and want to back its flash up for future recovery and for getting the VOIP settings. Since the firmware is modified by the ISP, I have no access to it. It has U-Boot (with serial

[U-Boot] [PATCH 0/2] add support for LaCie CloudBox

2013-06-25 Thread Frederic Leroy
These patches add support for the network storage LaCie CloudBox. The device shares one sata hardrive via a gigabit ethernet port. It is based on a Marvell Kirkwood 6702 soc. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 1/2] arm: add support for LaCie CloudBox

2013-06-25 Thread Frederic Leroy
From: Frédéric Leroy fr...@starox.org The LaCie CloudBox device is a Kirkwood based nas : - SoC: Marvell 88F6700 1000Mhz - SDRAM memory: 256MB DDR2 400Mhz - Gigabit ethernet: PHY Marvell 88E1318 - Flash memory: SPI NOR 512KB (Macronix MX25L4005A) - 1 push button - 1 reset switch - 1 SATA port -

[U-Boot] [PATCH 2/2] LaCie/common: Fix cloudbox ethernet leds

2013-06-25 Thread Frederic Leroy
From: Frédéric Leroy fr...@starox.org The cloudbox device have a different ethernet phy setup than other ns2 devices. We get initialization value from the GPL LaCie source Signed-off-by: Frédéric Leroy fr...@starox.org --- board/LaCie/common/common.c | 8 1 file changed, 8

Re: [U-Boot] [PATCH V2 1/9] Validate dtc is new enough

2013-06-25 Thread Gerhard Sittig
On Mon, Jun 24, 2013 at 09:43 -0600, Stephen Warren wrote: +checkdtc: + @if test $(call dtc-version) -lt 0104; then \ + echo '*** Your dtc is too old, please upgrade to dtc 1.4 or newer'; \ + false; \ + fi ... and ... --- /dev/null +++

Re: [U-Boot] [PATCH] board/bsc913x: Add config flag for bootdelay

2013-06-25 Thread Scott Wood
On 06/25/2013 07:38:20 AM, Rai Harninder-B01044 wrote: Hi Albert, (weird way of quoting messages; makes it really hard to see who said what. Can't your mail client use the standard line prefix?) Fixed No, it's not fixed.is supposed to go before lines that you're quoting -- not

[U-Boot] Save flash from U-Boot

2013-06-25 Thread Szabolcs Sipos
Dear Wolfgang Denk, Unfortunately the bootloader isn't modified by the ISP, only the main firmware. If a knew that the main firmware was also covered by GPL, I would ask them but I am sure they would tell me nothing, they don't tell even my VOIP password. Szabolcs Sipos -Original

Re: [U-Boot] [PATCH V2 1/9] Validate dtc is new enough

2013-06-25 Thread Stephen Warren
On 06/25/2013 11:22 AM, Gerhard Sittig wrote: On Mon, Jun 24, 2013 at 09:43 -0600, Stephen Warren wrote: +checkdtc: +@if test $(call dtc-version) -lt 0104; then \ +echo '*** Your dtc is too old, please upgrade to dtc 1.4 or newer'; \ +false; \ +fi ...

Re: [U-Boot] Help with Glomation GESBC-9G20

2013-06-25 Thread Larry Baker
On 24 Jun 2013, at 1:22 AM, Bo Shen wrote: Hi Larry Baker, On 6/24/2013 16:02, Larry Baker wrote: I have found why the latest U-Boot does not work on my Glomation GESBC-9G20 board. Two causes: a bad code text segment address (prevents U-Boot from executing) and bad flash partition

Re: [U-Boot] [PATCH 1/2] arm: add support for LaCie CloudBox

2013-06-25 Thread Wolfgang Denk
Dear Frederic Leroy, In message 1372178945-11528-2-git-send-email-fr...@starox.org you wrote: From: Frédéric Leroy fr...@starox.org The LaCie CloudBox device is a Kirkwood based nas : - SoC: Marvell 88F6700 1000Mhz - SDRAM memory: 256MB DDR2 400Mhz - Gigabit ethernet: PHY Marvell 88E1318

Re: [U-Boot] [PATCH 2/2] LaCie/common: Fix cloudbox ethernet leds

2013-06-25 Thread Wolfgang Denk
Dear Frederic Leroy, In message 1372178945-11528-3-git-send-email-fr...@starox.org you wrote: diff --git a/board/LaCie/common/common.c b/board/LaCie/common/common.c index a62bf9f..d828685 100644 --- a/board/LaCie/common/common.c +++ b/board/LaCie/common/common.c ... + #ifndef

Re: [U-Boot] Save flash from U-Boot

2013-06-25 Thread Wolfgang Denk
Dear Szabolcs Sipos, In message 000101ce71cd$34a620a0$9df261e0$@balfug.com you wrote: Unfortunately the bootloader isn't modified by the ISP, only the main firmware. If a knew that the main firmware was also covered by GPL, I would ask them but I am sure they would tell me nothing, they

[U-Boot] [PATCH 07/11] powerpc/mpc8xxx: Set inactive csn_bnds to 0xffffffff

2013-06-25 Thread York Sun
When chip select interleaving is enabled, cs0_bnds is used for address binding. Other csn_bnds are not used. When two controllers interleaving is enabled, cs0_bnds of both controllers are used, other csn_bnds are not. However, the unused csn_bnds may be used internally for calculating addresses

[U-Boot] [PATCH 09/11] powerpc/mpc8xxx: Add x4 DDR device support

2013-06-25 Thread York Sun
On selected platforms, x4 DDR devices can be supported. Using x4 devices may lower the performance, but generally they are available for higher density. Tested on MT36JSF2G72PZ-1G9E1 RDIMM. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c|4

[U-Boot] [PATCH 04/11] powerpc/t4qds: cleanup board header file

2013-06-25 Thread York Sun
CONFIG_PHYS_64BIT is always defined for t4qds. Removed unused #ifdef. Signed-off-by: York Sun york...@freescale.com --- include/configs/t4qds.h | 68 --- 1 file changed, 68 deletions(-) diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h

[U-Boot] [PATCH 01/11] powerpc/corenet: Move CONFIG_FSL_CORENET out of board header file

2013-06-25 Thread York Sun
Move CONFIG_FSL_CORENET define to config_mpc85xx.h. It is not board specific feature and belongs to SoC header. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h |5 + include/configs/B4860QDS.h|1 - include/configs/P2041RDB.h

[U-Boot] [PATCH 02/11] drivers/fm: Fix compiling error if FW location is not defined

2013-06-25 Thread York Sun
FMAN firmware can be in NOR flash, NAND flash, SPI flash, MMC or even remote. In case none of them is defined, set it to null. Signed-off-by: York Sun york...@freescale.com --- drivers/net/fm/fm.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c

[U-Boot] [PATCH 10/11] powerpc/mpc8xxx: Add memory reset control

2013-06-25 Thread York Sun
JEDEC spec requires the clocks to be stable before deasserting reset signal for RDIMMs. Clocks start when any chip select is enabled and clock control register is set. This patch also adds the interface to toggle memory reset signal if needed by the boards. Signed-off-by: York Sun

[U-Boot] [PATCH 05/11] powerpc/corenet: Move RCW print to cpu.c

2013-06-25 Thread York Sun
The RCW print is common for all corenet platforms. Not necessary to ducplicate in each board file. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/cpu/mpc85xx/cpu.c | 23 +++ board/freescale/b4860qds/b4860qds.c | 15 ---

[U-Boot] [PATCH 11/11] powerpc/mpc85xx: Workaround for A-005812

2013-06-25 Thread York Sun
Erratum A-005812 Incorrect reservation clearing in Write Shadow mode can result in invalid atomic operations. For u-boot, this erratum only impacts SoCs running in write shadow mode. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++

[U-Boot] [PATCH 08/11] powerpc/t4240qds: Adjust DDR timing for RDIMM

2013-06-25 Thread York Sun
RDIMM has different timing. Tested RDIMM is MT18JSF1G72PDZ-1G9E1 for dual rank. Single- and quad-rank are not tested due to availability. Signed-off-by: York Sun york...@freescale.com --- board/freescale/t4qds/ddr.h | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-)

[U-Boot] [PATCH 03/11] mpc85xx: Base emulator support

2013-06-25 Thread York Sun
Prepare for emulator support for mpc85xx parts. Disable DDR training and skip wrlvl_cntl_2 and wrlvl_cntl_3 registers. These two registers improve stability but not supported by emulator. Add CONFIG_FSL_TBCLK_EXTRA_DIV for possible adjustment to time base. Signed-off-by: York Sun

Re: [U-Boot] [PATCH] pxa: fix compiler warnings about unused variables

2013-06-25 Thread Marek Vasut
Dear Mike Dunn, Newer gcc versions warn about unused variables. This patch corrects a few of those warnings that popped up in a pxa build. Please split them, so the USB part can go through u-boot-usb and the MTD part through MTD or PXA tree. Best regards, Marek Vasut

Re: [U-Boot] [PATCH v5 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-25 Thread Marek Vasut
Dear Stephen Warren, On 06/21/2013 05:05 AM, Jim Lin wrote: Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. The series, Reviewed-by: Stephen Warren swar...@nvidia.com Also, on Beaver, Cardhu-A04, and Dalmore, I tested

Re: [U-Boot] [PATCH] drivers:usb: use get|put_unaligned_le16

2013-06-25 Thread Marek Vasut
Dear Piotr Wilczek, This patch use get|put_unaligned_le16 to access structure data to avoid data abort on some ARM platforms. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Marek Vasut ma...@denx.de ---

[U-Boot] Save flash from U-Boot

2013-06-25 Thread Szabolcs Sipos
Dear Wolfgang Denk, My ISP doesn't have the source of U-Boot because they left the original one (from ZTE) on the router. They modified the main firmware only. I want to make a dump from the hall flash and then install a new main firmware. I tried md but it made the router restart (except with

Re: [U-Boot] [PATCH v5 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-25 Thread Tom Warren
This is a Tegra change, Marek. I believe it's assigned to me in Patchwork. I'll apply it to u-boot-tegra/next today or tomorrow. Tom -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Tuesday, June 25, 2013 11:49 AM To: u-boot@lists.denx.de Cc: Stephen Warren; Jim

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sascha Silbe
Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: Either orion_spi as it was named originally, or mv_spi as Prafulla suggested. Then move mpp (pinctrl) from kirkwood_spi to corresponding boards, switch to orion_/mv_spi, and remove kirkwood_spi. I suggest orion_spi, but Prafulla

Re: [U-Boot] PPC: MPC5xxx Pull request

2013-06-25 Thread Tom Rini
On Mon, Jun 24, 2013 at 10:35:06PM +0200, Wolfgang Denk wrote: Dear Tom, The following changes since commit e1208c2fe5e07f9a248cfbf9bbb212aa34ad2806: MIPS: asm/errno.h: switch to asm-generic/errno.h (2013-06-08 23:10:10 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sebastian Hesselbarth
On 06/25/2013 09:33 PM, Sascha Silbe wrote: Sebastian Hesselbarthsebastian.hesselba...@gmail.com writes: Either orion_spi as it was named originally, or mv_spi as Prafulla suggested. Then move mpp (pinctrl) from kirkwood_spi to corresponding boards, switch to orion_/mv_spi, and remove

Re: [U-Boot] [PATCH v4 2/3] Add TI816X support

2013-06-25 Thread Tom Rini
On Wed, Jun 19, 2013 at 12:08:20PM +0200, TENART Antoine wrote: [snip] +/* WDT related */ +#define WDT_WDSC (WDT_BASE + 0x010) +#define WDT_WDST (WDT_BASE + 0x014) +#define WDT_WISR (WDT_BASE + 0x018) +#define WDT_WIER (WDT_BASE + 0x01C)

Re: [U-Boot] [PATCH v4 1/3] Prepare for TI816X : reuse existing code from TI814X

2013-06-25 Thread Tom Rini
On Wed, Jun 19, 2013 at 12:08:19PM +0200, TENART Antoine wrote: Rename some CONFIG_TI814X to a more generic CONFIG_81XX Signed-off-by: Antoine Tenart aten...@adeneo-embedded.com Acked-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v4 3/3] Add TI816X evm board support

2013-06-25 Thread Tom Rini
On Wed, Jun 19, 2013 at 12:08:21PM +0200, TENART Antoine wrote: Signed-off-by: Antoine Tenart aten...@adeneo-embedded.com [snip] +#define CONFIG_EXTRA_ENV_SETTINGS \ + verify=yes\0 Do we really want that? [snip] +/* + * Memtest works on 8 MB in DRAM after skipping 32MB + * from start

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sascha Silbe
Hello Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Looks ok to me as per coding style after a quick look. Thanks for the review. [...] Done use the below tag code instead go for spi_alloc_slave() see the sample code on drivers/spi/exynos_spi.c --- TAG+ +

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sascha Silbe
Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: [...] I was under the impression that you resent the patches because you have a CuBox you want to get supported. Exactly. I'd like to see support for CuBox enter mainline U-Boot. However, there's also a limit to the amount of time I

Re: [U-Boot] [PATCH] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-06-25 Thread Sascha Silbe
Frederic Leroy fr...@starox.org writes: [...] disk/part_efi.c| 4 ++-- While testing the CuBox patches using buildman, I noticed a warning in disk/part_iso.c. The following patch should fix it: diff --git a/disk/part_iso.c b/disk/part_iso.c index cc323b0..e15e1b9 100644 ---

Re: [U-Boot] [PATCH 1/2] arm: add support for LaCie CloudBox

2013-06-25 Thread Simon Guinot
On Tue, Jun 25, 2013 at 06:49:04PM +0200, Frederic Leroy wrote: From: Frédéric Leroy fr...@starox.org Hi Frédéric, The LaCie CloudBox device is a Kirkwood based nas : - SoC: Marvell 88F6700 1000Mhz 88F6702 - SDRAM memory: 256MB DDR2 400Mhz - Gigabit ethernet: PHY Marvell 88E1318 -

Re: [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver

2013-06-25 Thread Sebastian Hesselbarth
On 06/25/2013 10:38 PM, Sascha Silbe wrote: Sebastian Hesselbarthsebastian.hesselba...@gmail.com writes: [...] I was under the impression that you resent the patches because you have a CuBox you want to get supported. Exactly. I'd like to see support for CuBox enter mainline U-Boot. However,

Re: [U-Boot] [PATCH 0/11] MIPS: bootm updates

2013-06-25 Thread Daniel Schwierzeck
Hi Thomas, Am 21.06.2013 21:59 schrieb Langer Thomas (LQDE RD ST PON SW) thomas.lan...@lantiq.com: Hello Daniel, sorry for being late with my questions. Daniel Schwierzeck wrote on 2013-06-09: MIPS: bootm: refactor initialisation of kernel cmdline MIPS: bootm: refactor

Re: [U-Boot] [PATCH 2/2] LaCie/common: Fix cloudbox ethernet leds

2013-06-25 Thread Simon Guinot
On Tue, Jun 25, 2013 at 06:49:05PM +0200, Frederic Leroy wrote: From: Frédéric Leroy fr...@starox.org The cloudbox device have a different ethernet phy setup than other ns2 devices. We get initialization value from the GPL LaCie source Signed-off-by: Frédéric Leroy fr...@starox.org ---

Re: [U-Boot] [PATCH 1/2] arm: add support for LaCie CloudBox

2013-06-25 Thread Simon Guinot
On Tue, Jun 25, 2013 at 10:50:56PM +0200, Simon Guinot wrote: On Tue, Jun 25, 2013 at 06:49:04PM +0200, Frederic Leroy wrote: From: Frédéric Leroy fr...@starox.org Hi Frédéric, The LaCie CloudBox device is a Kirkwood based nas : - SoC: Marvell 88F6700 1000Mhz 88F6702 -

Re: [U-Boot] [PATCH 0/11] MIPS: bootm updates

2013-06-25 Thread Daniel Schwierzeck
2013/6/25 Daniel Schwierzeck daniel.schwierz...@gmail.com: Hi Thomas, oops, I hit the send key too early Am 21.06.2013 21:59 schrieb Langer Thomas (LQDE RD ST PON SW) thomas.lan...@lantiq.com: Hello Daniel, sorry for being late with my questions. Daniel Schwierzeck wrote on

Re: [U-Boot] [PATCH 06/11] powerpc/T4240EMU: Add T4240EMU target

2013-06-25 Thread Wolfgang Denk
Dear York Sun, In message 1372185469-14161-6-git-send-email-york...@freescale.com you wrote: Add emulator support for T4240. Emulator has limited peripherals and interfaces. Difference between emulator and T4240QDS includes: ECC for DDR is disabled due the procedure to load images

[U-Boot] [PATCH v5 0/8] Add Marvell Dove and SolidRun CuBox support

2013-06-25 Thread Sascha Silbe
Changes from v4: - some patches got included in master, so they've been dropped from the series - removed Sebastian Hesselbarth's Signed-off-by and MAINTAINERS entry on his request - modified Kirkwood GPIO and SPI drivers rather than duplicating them This version has only been tested

[U-Boot] [PATCH v5 5/8] SPI: add Dove support to Kirkwood SPI driver

2013-06-25 Thread Sascha Silbe
The SPI support on Dove is very similar to that on Kirkwood (and possibly orion5x as well). Instead of duplicating the code, we tweak the Kirkwood driver so it works for Dove, too. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: Modify Kirkwood driver rather than duplicating it.

[U-Boot] [PATCH v5 3/8] GPIO: add Dove support to Kirkwood GPIO driver

2013-06-25 Thread Sascha Silbe
The GPIO support of Dove is very similar to that on Kirkwood (and possibly orion5x as well). Instead of duplicating the code, we tweak the Kirkwood driver so it works for Dove, too. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: Modify Kirkwood driver rather than duplicating it.

[U-Boot] [PATCH v5 4/8] MMC: sdhci: Add support for dove sdhci

2013-06-25 Thread Sascha Silbe
This adds a driver for the sdhci controller found on Dove SoCs. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: no changes arch/arm/include/asm/arch-dove/mmc.h | 27 ++ drivers/mmc/Makefile | 1 + drivers/mmc/dove_sdhci.c | 101

[U-Boot] [PATCH v5 2/8] usb: ehci-marvell: add support for second USB controller

2013-06-25 Thread Sascha Silbe
From: Sascha Silbe sascha-...@silbe.org Marvell 88AP510 (Armada 510, dove) has two separate USB controllers. Use the index parameter that already gets passed in to calculate the base address of the controller. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: no changes

[U-Boot] [PATCH v5 8/8] Boards: Add support for SolidRun CuBox

2013-06-25 Thread Sascha Silbe
With latest support for Marvell Dove SoC, add the SolidRun CuBox as the very first board with that SoC. Three variants are provided: 1. A regular SPI boot image for CuBox (1GiB) The CuBox (without Pro) has 1GiB of memory. 2. A regular SPI boot image for CuBox Pro (2GiB) The CuBox Pro

[U-Boot] [PATCH v5 6/8] block: mvsata: add dove include

2013-06-25 Thread Sascha Silbe
Dove SoC also uses mvsata, therefore add a SoC specific include to allow to reuse the mvsata ide driver. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de Acked-by: Prafulla Wadaskar prafu...@marvell.com --- v4-v5: no changes drivers/block/mvsata_ide.c | 2 ++ 1 file changed, 2 insertions(+)

[U-Boot] [PATCH v5 7/8] NET: mvgbe: avoid unused variable warning when used without phylib support

2013-06-25 Thread Sascha Silbe
Avoid a recently introduced unused variable warning for boards that use mvgbe but not phylib. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v4-v5: Most of the original patch (NET: mvgbe: add phylib support) was merged to master, only this clean-up remains. drivers/net/mvgbe.c

Re: [U-Boot] [PATCH 06/11] powerpc/T4240EMU: Add T4240EMU target

2013-06-25 Thread York Sun
On 06/25/2013 02:24 PM, Wolfgang Denk wrote: Entry to MAINTAINERS missing. And checkpatch reports a number of Didn't know we are enforcing this. Will add. warnings that need to be fixed: - WARNING: quoted string split across lines Noticed. How are we going to balance the long lines vs

Re: [U-Boot] [PATCH 06/11] powerpc/T4240EMU: Add T4240EMU target

2013-06-25 Thread Scott Wood
On 06/25/2013 05:02:58 PM, York Sun wrote: On 06/25/2013 02:24 PM, Wolfgang Denk wrote: Entry to MAINTAINERS missing. And checkpatch reports a number of Didn't know we are enforcing this. Will add. warnings that need to be fixed: - WARNING: quoted string split across lines Noticed. How

Re: [U-Boot] [PATCH v5 3/8] GPIO: add Dove support to Kirkwood GPIO driver

2013-06-25 Thread Sebastian Hesselbarth
On 06/25/2013 11:27 PM, Sascha Silbe wrote: The GPIO support of Dove is very similar to that on Kirkwood (and possibly orion5x as well). Instead of duplicating the code, we tweak the Kirkwood driver so it works for Dove, too. Signed-off-by: Sascha Silbet-ub...@infra-silbe.de --- [...] diff

Re: [U-Boot] [PATCH v5 1/8] ARM: dove: add support for Marvell Dove SoC

2013-06-25 Thread Sebastian Hesselbarth
On 06/25/2013 11:27 PM, Sascha Silbe wrote: This patch adds initial support for the armv7-based Marvell Dove SoC (88AP510). Signed-off-by: Sascha Silbet-ub...@infra-silbe.de --- v4-v5: some adjustments for the GPIO and SPI driver changes [...] diff --git

Re: [U-Boot] [PATCH v5 5/8] SPI: add Dove support to Kirkwood SPI driver

2013-06-25 Thread Sebastian Hesselbarth
On 06/25/2013 11:27 PM, Sascha Silbe wrote: The SPI support on Dove is very similar to that on Kirkwood (and possibly orion5x as well). Instead of duplicating the code, we tweak the Kirkwood driver so it works for Dove, too. Signed-off-by: Sascha Silbet-ub...@infra-silbe.de --- v4-v5: Modify

Re: [U-Boot] [PATCH v5 8/8] Boards: Add support for SolidRun CuBox

2013-06-25 Thread Sebastian Hesselbarth
On 06/25/2013 11:27 PM, Sascha Silbe wrote: With latest support for Marvell Dove SoC, add the SolidRun CuBox as the very first board with that SoC. Three variants are provided: 1. A regular SPI boot image for CuBox (1GiB) The CuBox (without Pro) has 1GiB of memory. 2. A regular SPI boot

  1   2   >