[U-Boot] [PATCH 4/4] EXYNOS4: Add ORIGEN_QUAD board support

2012-12-11 Thread Jeong Hyeon Kim
From: Jeong-Hyeon Kim ORIGEN_QUAD board is based on Samsung's Exynos4412 SoC. Signed-off-by: Jeong-Hyeon Kim --- Makefile |2 +- board/samsung/origen_quad/Makefile| 59 ++ board/samsung/origen_quad/boot.c | 72 +++ board/samsung

[U-Boot] [PATCH 3/4] EXYNOS4: Add support for Exynos4x12 SoCs

2012-12-11 Thread Jeong Hyeon Kim
From: Jeong-Hyeon Kim This patch adds the support for Exynos4212/4412. Samsung's ARM Cortex-A9 based Exynos4x12 SoCs and Exynos4210 are similar. Address of a few registers are different in CMU part like MPLL. Signed-off-by: Jeong-Hyeon Kim --- arch/arm/cpu/armv7/exynos/clock.c|7 +

[U-Boot] [PATCH 2/4] EXYNOS4: Add pinmux support for I2C

2012-12-11 Thread Jeong Hyeon Kim
From: Jeong-Hyeon Kim This patch adds pinmux support for I2C channels Signed-off-by: Jeong-Hyeon Kim --- arch/arm/cpu/armv7/exynos/pinmux.c | 51 1 file changed, 51 insertions(+) diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c b/arch/arm/cpu/armv7/exyno

[U-Boot] [PATCH 1/4] EXYNOS4: Add pinmux support for UART

2012-12-11 Thread Jeong Hyeon Kim
From: Jeong-Hyeon Kim This patch adds pinmux support for UART channels Signed-off-by: Jeong-Hyeon Kim --- arch/arm/cpu/armv7/exynos/pinmux.c | 41 1 file changed, 41 insertions(+) diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c b/arch/arm/cpu/armv7/exyn

[U-Boot] [PATCH 0/4] Add support for SAMSUNG Exynos4 SoCs and ORIGEN_QUAD board

2012-12-11 Thread Jeong Hyeon Kim
This patch series adds support for Exynos4 SoCs and ORIGEN_QUAD board. Exynos4212/4412 are SAMSUNG's ARM Cortex-A15 boased SoCs and Exynos4 series SoCs. ORIGEN_QUAD board is based on Exynos4212. [PATCH 1/4] EXYNOS4: Add pinmux support for UART [PATCH 2/4] EXYNOS4: Add pinmux support for I2C [PATC

Re: [U-Boot] [PATCH] net: sh_eth: add support for SH7752

2012-12-11 Thread Joe Hershberger
Hi On Wed, Dec 12, 2012 at 12:37 AM, Nobuhiro Iwamatsu wrote: > Hi, Joe. > > Please pick this patch for your repository. Sure thing. Did you recently assign it to me in patchwork? I don't remember seeing it when I pulled patches a few days back. -Joe > Best regards, > Nobuhiro > > On Mon,

Re: [U-Boot] [PATCH] net: sh_eth: add support for SH7752

2012-12-11 Thread Nobuhiro Iwamatsu
Hi, Joe. Please pick this patch for your repository. Best regards, Nobuhiro On Mon, Nov 12, 2012 at 2:52 PM, Nobuhiro Iwamatsu wrote: > On Mon, Nov 5, 2012 at 10:54 AM, Shimoda, Yoshihiro > wrote: >> SH7752 has two fast ethernet controllers and two gigabit ethernet >> controllers. It is simi

Re: [U-Boot] [PATCH 3/4] sf: Add configuration register writing

2012-12-11 Thread Simon Glass
Hi, On Mon, Dec 10, 2012 at 6:42 AM, Jagannadha Sutradharudu Teki wrote: > This patch provides support to program a flash config register. > > Configuration register contains the control bits used to configure > the different configurations and security features of a device. > > User need to set

Re: [U-Boot] [PATCH 4/4] sf: Add Quad-input Page Program(32h) instruction support

2012-12-11 Thread Simon Glass
Hi, On Mon, Dec 10, 2012 at 6:42 AM, Jagannadha Sutradharudu Teki wrote: > This patch provides support to program a flash using > Quad-input Page Program(32h) instruction. > > This will effectively increases the data transfer rate > by up to four times, as compared to the Page Program(PP) instruc

Re: [U-Boot] [PATCH 2/4] sf: Add print message on flash read function

2012-12-11 Thread Simon Glass
Hi, On Mon, Dec 10, 2012 at 6:41 AM, Jagannadha Sutradharudu Teki wrote: > This patch adds a print message on spi_flash_cmd_read_fast() > to make sure that how many bytes read from flash device. > > Signed-off-by: Jagannadha Sutradharudu Teki I have the same verbosity comment on this patch, BTW

Re: [U-Boot] [PATCH 1/4] sf: Enable prints on erase and write functions

2012-12-11 Thread Simon Glass
Hi Jagan, On Mon, Dec 10, 2012 at 10:37 PM, Jagan Teki wrote: > Hi Simon, > > I understand your concern. > > But currently there is no prints a/f reading/writing/erasing the SPI flash. > User's are unable to confirm whether that particular sf commands are > properly done/not. Well if there is no

[U-Boot] [PATCH v5 14/20] env: Add environment variable flags

2012-12-11 Thread Joe Hershberger
Currently just validates variable types as decimal, hexidecimal, boolean, ip address, and mac address. If the entry is not found in the env ".flags", then look in the static one. This allows the env to override the static definitions, but prevents the need to have every definition in the environme

[U-Boot] [PATCH v5 03/20] env: Consolidate common code in hsearch_r()

2012-12-11 Thread Joe Hershberger
The same chunk of code was replicated in two places and the following changes will make that chunk grow a bit, so combine into a static func. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None lib/hashtable.c | 71 +

[U-Boot] [PATCH v5 04/20] env: Refactor apply into change_ok

2012-12-11 Thread Joe Hershberger
Move the read of the old value to inside the check function. In some cases it can be avoided all together and at the least the code is only called from one place. Also name the function and the callback to more clearly describe what it does. Pass the ENTRY instead of just the name for direct acc

[U-Boot] [PATCH v5 15/20] tools/env: Add environment variable flags support

2012-12-11 Thread Joe Hershberger
Currently just validates variable types as decimal, hexidecimal, boolean, ip address, and mac address. Call env_acl_validate_setenv_params() from setenv() in fw_env.c. If the entry is not found in the env .flags, then look in the static one. This allows the env to override the static definitions,

[U-Boot] [PATCH v5 17/20] env: Add support for access control to .flags

2012-12-11 Thread Joe Hershberger
Add support for read-only, write-once, and change-default. Signed-off-by: Joe Hershberger --- Changes in v5: - Fixed out-of-bounds array access in env_flags_parse_varaccess() Changes in v4: None Changes in v3: None Changes in v2: None README| 13 - common/cmd_nvedit.c |

[U-Boot] [PATCH v5 01/20] Make linux kernel string funcs available to tools

2012-12-11 Thread Joe Hershberger
isspace() and strim() are not in the typical user-mode string.h, so put them in a separate compilation unit so that they can be built into tools that need them independent of the other common string functions. This allows code shared by u-boot and the linux user-mode tools to link. Signed-off-by:

[U-Boot] [PATCH v5 07/20] env: Add support for callbacks to environment vars

2012-12-11 Thread Joe Hershberger
Add support for per-variable callbacks to the "hashtable" functions. Signed-off-by: Joe Hershberger !!!fix comment in callback --- Changes in v5: - Add support for CONFIG_NEEDS_MANUAL_RELOC boards - Fixed comment typo Changes in v4: None Changes in v3: - Use Marek's linker lists instead of impl

[U-Boot] [PATCH v5 02/20] env: Refactor do_apply to a flag

2012-12-11 Thread Joe Hershberger
Use a flag in hsearch_r for insert mode passed from import to allow the behavior be different based on use. Now that "do_check" is called for all imports, ensure console init is complete before updating the console on relocation import Signed-off-by: Joe Hershberger --- Changes in v5: None Chang

[U-Boot] [PATCH v5 11/20] env: Add a loadaddr env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded loadaddr handler and use a callback instead Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 12 common/image.c | 21 + include/env_callback.

[U-Boot] [PATCH v5 18/20] env: Add setenv force support

2012-12-11 Thread Joe Hershberger
Now that we have support for permissions, add a way to override them. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: - Add force support to setenv Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 29 +++-- 1 file changed, 23 insertion

[U-Boot] [PATCH v5 19/20] env: Implement the env delete command

2012-12-11 Thread Joe Hershberger
Implement a way to delete more than one variable at a time. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: - Implement delete Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 35 --- 1 file changed, 32 insertions(+), 3 deletio

[U-Boot] [PATCH v5 05/20] env: Use getenv_yesno() more generally

2012-12-11 Thread Joe Hershberger
Move the getenv_yesno() to env_common.c and change most checks for 'y' or 'n' to use this helper. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/lib/board.c| 4 +--- arch/m68k/lib/board.c | 3 +-

[U-Boot] [PATCH v5 0/20] Add environment call-back and flags capability

2012-12-11 Thread Joe Hershberger
When a variable with a registered callback is inserted, deleted, or overwritten the callback is called and gives the system an opportunity to do something in response to the change. It also has the opportunuty to reject the change by returning non-zero. The flags on variables can control their t

[U-Boot] [PATCH v5 08/20] env: Add a command to view callbacks

2012-12-11 Thread Joe Hershberger
The callbacks can be bound, but are otherwise invisible. Add a command to show what callbacks are available. Signed-off-by: Joe Hershberger !!! fix callback command --- Changes in v5: - Fixed callbacks command help - Compare current callback against pre-relocation address manually Changes in v

[U-Boot] [PATCH v5 12/20] env: Add a console env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded console handler and use a callback instead Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 36 +++- common/console.c | 44 +

[U-Boot] [PATCH v5 06/20] env: Hide '.' variables in env print by default

2012-12-11 Thread Joe Hershberger
When printing all variables with env print, don't print variables that begin with '.'. If env print is called with a '-a' switch, then include variables that begin with '.' (just like the ls command). Variables printed explicitly will be printed even without the -a. Signed-off-by: Joe Hershberge

[U-Boot] [PATCH v5 09/20] env: Add a bootfile env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 9 - include/env_callback.h | 1 + net/net.c | 17

[U-Boot] [PATCH v5 20/20] env: Handle write-once ethaddr and serial# generically

2012-12-11 Thread Joe Hershberger
Use the variable access flags to implement the protection for ethaddr and serial# instead of hard-coding them. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/env_flags.c | 19 --- include/env_flags.h | 2

[U-Boot] [PATCH v5 16/20] env: Add a command to display details about env flags

2012-12-11 Thread Joe Hershberger
Similar to the env callback command, this will show details about the options available, the static list, and the currently active variables. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: - Add help text for env flags command Changes in v3: None Changes in v2: None READ

[U-Boot] [PATCH v5 10/20] env: Add a baudrate env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 47 - drivers/serial/serial.c | 70 +

[U-Boot] [PATCH v5 13/20] env: Add a silent env handler

2012-12-11 Thread Joe Hershberger
The silent variable now updates the global data flag anytime it is changed as well as after the env relocation (in case its value is different from the default env in such cases as NAND env) Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in

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

2012-12-11 Thread Joe Hershberger
Hi Thomas, On Tue, Dec 11, 2012 at 5:47 PM, Langer Thomas (LQDE RD ST PON SW) wrote: > Hello Joe, > > These patches for static initialization of the struct eth_ops will break the > drivers on any architecture which needs manual relocation! > > I've send a comment regarding this, please see here:

[U-Boot] [BUGFIX PATCH] mips: serial: Fix busted manual relocation

2012-12-11 Thread Joe Hershberger
serial_initialize() must be called after relocation to adjust the pointers to putc(), getc(), etc. This is busted ever since the serial driver-model-ification series. Signed-off-by: Joe Hershberger --- arch/mips/lib/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/lib/boa

Re: [U-Boot] [PATCH V3 0/7] Add support for NVIDIA Tegra30 SoC

2012-12-11 Thread Allen Martin
On Tue, Dec 11, 2012 at 03:34:11PM -0800, Tom Warren wrote: > This patch series adds basic (boot to cmd prompt) support for Tegra30. > This is based on the Tegra20 SPL, which initializes the AVP (ARM7TDMI) > boot proc) first, then control is transferred to the CPU (A9 quad cluster). > It is based o

Re: [U-Boot] [PATCH v2] m28evk/mx28evk: fix nand_update_full

2012-12-11 Thread Marek Vasut
Dear Scott Wood, > On 12/11/2012 03:36:21 PM, Eric Bénard wrote: > > - since commit 418396e212b59bf907dbccad997ff50f7eb61b16 nand write.raw > > can take the number of page to be written as an argument. > > nand_update_full > > is passing the size (in bytes) to nand write.raw. This value was > > pr

Re: [U-Boot] [PATCH V3 0/7] Add support for NVIDIA Tegra30 SoC

2012-12-11 Thread Allen Martin
On Tue, Dec 11, 2012 at 05:09:45PM -0800, Allen Martin wrote: > On Tue, Dec 11, 2012 at 03:34:11PM -0800, Tom Warren wrote: > > This patch series adds basic (boot to cmd prompt) support for Tegra30. > > This is based on the Tegra20 SPL, which initializes the AVP (ARM7TDMI) > > boot proc) first, the

Re: [U-Boot] [PATCH V3 0/7] Add support for NVIDIA Tegra30 SoC

2012-12-11 Thread Allen Martin
On Tue, Dec 11, 2012 at 03:34:11PM -0800, Tom Warren wrote: > This patch series adds basic (boot to cmd prompt) support for Tegra30. > This is based on the Tegra20 SPL, which initializes the AVP (ARM7TDMI) > boot proc) first, then control is transferred to the CPU (A9 quad cluster). > It is based o

Re: [U-Boot] [PATCH V3 3/7] Tegra30: Add CPU (armv7) files

2012-12-11 Thread Stephen Warren
On 12/11/2012 04:34 PM, Tom Warren wrote: > These files are for code that runs on the CPU (A9) on T30 boards. > At this time, there are no T30-specific ARMV7 files. As T30-specific > run-time code is added, it'll go here. Reviewed-by: Stephen Warren __

Re: [U-Boot] [PATCH V3 2/7] Tegra30: Add AVP (arm720t) files

2012-12-11 Thread Stephen Warren
On 12/11/2012 04:34 PM, Tom Warren wrote: > This provides SPL support for T30 boards - AVP early init, plus > CPU (A9) init/jump to main U-Boot. > > Some changes were made to Tegra20 cpu.c to move common routines > into tegra-common/cpu.c and reduce code duplication. > diff --git a/arch/arm/cpu/a

Re: [U-Boot] [PATCH V3 1/7] Tegra30: Add arch-tegra30 include files

2012-12-11 Thread Stephen Warren
On 12/11/2012 04:34 PM, Tom Warren wrote: > Common Tegra files are in arch-tegra, shared between T20 and T30. > Tegra30-specific headers are in arch-tegra30. Note that some of > these will be filled in as more T30 support is added (drivers, > WB/LP0 support, etc.). A couple of Tegra20 files were ch

[U-Boot] [PATCH V3 3/7] Tegra30: Add CPU (armv7) files

2012-12-11 Thread Tom Warren
These files are for code that runs on the CPU (A9) on T30 boards. At this time, there are no T30-specific ARMV7 files. As T30-specific run-time code is added, it'll go here. Signed-off-by: Tom Warren --- V2: Cleanup whitespace issues V3: Change commit msg arch/arm/cpu/armv7/tegra30/Makefile |

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

2012-12-11 Thread Langer Thomas (LQDE RD ST PON SW)
Hello Joe, > Tomas Hlavacek (67): > net: dm: Pull out ops from struct eth_device > net: 4xx_enet: Pull out init of struct eth_ops > net: altera_tse: Pull out init of struct eth_ops > net: dm9000x: Pull out init of struct eth_ops > net: armada100_fec: Pull out init of

[U-Boot] [PATCH V3 7/7] Tegra30: Add/enable Cardhu build (T30 reference board)

2012-12-11 Thread Tom Warren
This build is stripped down. It boots to the command prompt. GPIO is the only peripheral supported. Others TBD. include/configs/tegra-common.h now holds common config options for Tegra SoCs. Signed-off-by: Tom Warren --- --- V2: * Move pinmux_init to cardhu.c, move pinmux-config header here, too

[U-Boot] [PATCH V3 6/7] Tegra30: Add generic Tegra30 build support

2012-12-11 Thread Tom Warren
This patch adds basic Tegra30 (T30) build support - no specific board is targeted. Signed-off-by: Tom Warren --- V2: * Use generic CONFIG_TEGRA in Makefile instead of specific SOC test * Cleanup a couple of include files due to T20/T30 build differences * Move pinmux_init to board code V3: * No c

[U-Boot] [PATCH V3 5/7] Tegra30: Cardhu: Add DT files

2012-12-11 Thread Tom Warren
These are stripped down for bringup, They'll be filled out later to match-up with the kernel DT contents, and/or as devices are brought up (mmc, usb, spi, etc.). Signed-off-by: Tom Warren --- V2: Reduce to the minimum needed to build/boot to cmd prompt V3: Remove model= from .dtsi, fix memory len

[U-Boot] [PATCH V3 4/7] Tegra30: Add common CPU (shared) files

2012-12-11 Thread Tom Warren
These files are used by both SPL and main U-Boot. Also made minor changes to shared Tegra code to support T30 differences. Signed-off-by: Tom Warren --- V2: * Differentiate between T20 and T30 in ODMDATA and query_sdram_size. * Fix numerous func entries in pingroup table as per Stephen. * Added w

[U-Boot] [PATCH V3 1/7] Tegra30: Add arch-tegra30 include files

2012-12-11 Thread Tom Warren
Common Tegra files are in arch-tegra, shared between T20 and T30. Tegra30-specific headers are in arch-tegra30. Note that some of these will be filled in as more T30 support is added (drivers, WB/LP0 support, etc.). A couple of Tegra20 files were changed to support common headers in arch-tegra, als

[U-Boot] [PATCH V3 2/7] Tegra30: Add AVP (arm720t) files

2012-12-11 Thread Tom Warren
This provides SPL support for T30 boards - AVP early init, plus CPU (A9) init/jump to main U-Boot. Some changes were made to Tegra20 cpu.c to move common routines into tegra-common/cpu.c and reduce code duplication. Signed-off-by: Tom Warren --- V2: * Move common CPU init code to tegra-common/cp

[U-Boot] [PATCH V3 0/7] Add support for NVIDIA Tegra30 SoC

2012-12-11 Thread Tom Warren
This patch series adds basic (boot to cmd prompt) support for Tegra30. This is based on the Tegra20 SPL, which initializes the AVP (ARM7TDMI) boot proc) first, then control is transferred to the CPU (A9 quad cluster). It is based on current u-boot-tegra/next. Some Tegra20 files were changed or move

Re: [U-Boot] [PATCH v2] m28evk/mx28evk: fix nand_update_full

2012-12-11 Thread Scott Wood
On 12/11/2012 03:36:21 PM, Eric Bénard wrote: - since commit 418396e212b59bf907dbccad997ff50f7eb61b16 nand write.raw can take the number of page to be written as an argument. nand_update_full is passing the size (in bytes) to nand write.raw. This value was previously ignored but now breaks t

Re: [U-Boot] [PATCH] mtd: nand: mxs: reset BCH earlier, too, to avoid NAND startup problems

2012-12-11 Thread Scott Wood
On 12/05/2012 02:48:47 PM, Wolfram Sang wrote: It could happen (1 out of 100 times) that NAND did not start up correctly after warm rebooting, so we end up with various failures or DMA timed out due to a stalled BCH. When resetting BCH together with GPMI, the issue could not be observed anym

Re: [U-Boot] [PATCH 2/4] env_nand.c: support falling back to redundant env when writing

2012-12-11 Thread Scott Wood
On 12/10/2012 07:41:43 AM, Phil Sutter wrote: On Fri, Dec 07, 2012 at 11:38:11AM -0600, Scott Wood wrote: > On 12/07/2012 10:58:53 AM, Phil Sutter wrote: > > Hmm. Does not look like CONFIG_ENV_OFFSET_OOB is used to select the > > block(s) within the erase page to save the environment. Looking

Re: [U-Boot] patchwork delegation

2012-12-11 Thread Tom Rini
On Tue, Dec 11, 2012 at 04:34:23PM -0600, Scott Wood wrote: > Is there any way to find out who delegated a patch to me, or get a > history of patchwork actions in general? Not that I know of, but in general, yell at me, I probably did it. > People have been delegating patches to me that are not

Re: [U-Boot] [PATCH] [DFU] Implement NAND dfu support

2012-12-11 Thread Tom Rini
On Tue, Dec 11, 2012 at 04:24:37PM -0600, Scott Wood wrote: > On 12/10/2012 07:16:50 PM, Tom Rini wrote: > >On Mon, Dec 10, 2012 at 07:09:55PM -0600, Scott Wood wrote: > >> On 12/10/2012 09:24:32 AM, Pantelis Antoniou wrote: > >> >+ sprintf(cmd_buf, "nand %s %p %llx %llx", > >> >+ op == DFU

[U-Boot] patchwork delegation

2012-12-11 Thread Scott Wood
Is there any way to find out who delegated a patch to me, or get a history of patchwork actions in general? People have been delegating patches to me that are not NAND-related, such as the series beginning with http://patchwork.ozlabs.org/patch/204177/ I am the NAND custodian (i.e. drivers/nand,

Re: [U-Boot] [PATCH] [DFU] Implement NAND dfu support

2012-12-11 Thread Scott Wood
On 12/10/2012 07:16:50 PM, Tom Rini wrote: On Mon, Dec 10, 2012 at 07:09:55PM -0600, Scott Wood wrote: > On 12/10/2012 09:24:32 AM, Pantelis Antoniou wrote: > >+ sprintf(cmd_buf, "nand %s %p %llx %llx", > >+ op == DFU_OP_READ ? "read" : "write", > >+ buf, start, co

Re: [U-Boot] [PATCH] [DFU] Implement NAND dfu support

2012-12-11 Thread Scott Wood
On 12/11/2012 01:56:25 AM, Lukasz Majewski wrote: Hi Scott, > On 12/10/2012 09:24:32 AM, Pantelis Antoniou wrote: > > + sprintf(cmd_buf, "nand %s %p %llx %llx", > > + op == DFU_OP_READ ? "read" : "write", > > + buf, start, count); > > + > > + debug("%s: %s 0x%p\n

[U-Boot] [PATCH] mx25pdk: Allow booting a device tree kernel

2012-12-11 Thread Fabio Estevam
From: Fabio Estevam Select CONFIG_OF_LIBFDT so that a device tree kernel can be launched. Signed-off-by: Fabio Estevam --- include/configs/mx25pdk.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index bbb3161..c10e78b 100644 --- a/

[U-Boot] [PATCH v2] m28evk/mx28evk: fix nand_update_full

2012-12-11 Thread Eric Bénard
- since commit 418396e212b59bf907dbccad997ff50f7eb61b16 nand write.raw can take the number of page to be written as an argument. nand_update_full is passing the size (in bytes) to nand write.raw. This value was previously ignored but now breaks the write. - this patch updates the default environmen

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

2012-12-11 Thread Joe Hershberger
The following changes since commit ea40a05422bdc87a7af5dc349e8adce59f982e72: MIPS: constify address pointer in test_bit() (2012-12-08 21:48:19 +0100) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to 7680b9a758b257ea272c83518d9c76

Re: [U-Boot] Conflicting commits for seaboard USB keyboard handling

2012-12-11 Thread Allen Martin
On Mon, Dec 10, 2012 at 01:51:40PM -0800, Tom Warren wrote: > Albert, > > > On Sat, Dec 8, 2012 at 11:03 PM, Albert ARIBAUD > > wrote: > >> Hello, > >> > >> It seems like two commits 5ddcc38b (in u-boot, committed by Marek) > >> 29f3e3f2 (in u-boot-arm, committed by Tom from u-boot-tegra) are > >

[U-Boot] [PATCH] env: Fixup typos in callback

2012-12-11 Thread Joe Hershberger
Use the same command guard on the help and make the help accurate. Fix spelling in header. Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c| 6 +++--- include/env_callback.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c

[U-Boot] [PATCH] net: nfs: add dynamic wait period

2012-12-11 Thread Matthias Brugger
This patch tackles the time out problem which leads to break the boot process, when loading file over nfs. The patch does two things. First of all, we just ignore messages that arrive with a rpc_id smaller then the client id. We just interpret this messages as answers to formaly timed out messages

[U-Boot] NFS time out problem

2012-12-11 Thread Matthias Brugger
After reading through the RFC [1] I realized that we have to increment the rpc_id when we resend a message. This patch therefor doesn't change the rpc_id behaviour, but adds a dynamic increment of the "time to wait before time out". Apart we just drop messages which are replies to timed out reques

Re: [U-Boot] [PATCH] [nand] Implement nand_extent_skip_bad

2012-12-11 Thread Pantelis Antoniou
Hi Scott, On Dec 11, 2012, at 7:13 PM, Scott Wood wrote: > On 12/11/2012 03:40:53 AM, Pantelis Antoniou wrote: >> Hi Scott, >> On Dec 11, 2012, at 12:53 AM, Scott Wood wrote: >> >> +/** >> >> + * nand_extent_skip_bad: >> >> + * >> >> + * Find the extent of a chunk, return the offset where it ends

Re: [U-Boot] [PATCH] [nand] Implement nand_extent_skip_bad

2012-12-11 Thread Scott Wood
On 12/11/2012 03:40:53 AM, Pantelis Antoniou wrote: Hi Scott, On Dec 11, 2012, at 12:53 AM, Scott Wood wrote: >> +/** >> + * nand_extent_skip_bad: >> + * >> + * Find the extent of a chunk, return the offset where it ends >> + * Blocks that are marked bad are skipped and the next block is exam

Re: [U-Boot] please pull u-boot-samsung/resolve

2012-12-11 Thread Stephen Warren
On 12/11/2012 04:10 AM, Minkyu Kang wrote: > Dear Albert, > > The following changes since commit fd4d564b3c80b111f18c93adb14233a6a7ddb0e9: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2012-12-07 08:47:59 > -0700) > > are available in the git repository at: > > > git://git.de

Re: [U-Boot] [PATCH] m28evk/mx28evk: fix nand_update_full

2012-12-11 Thread Scott Wood
On 12/11/2012 02:50:37 AM, Eric Bénard wrote: Hi Scott, Le Mon, 10 Dec 2012 16:59:23 -0600, Scott Wood a écrit : > On 12/10/2012 10:41:59 AM, Eric Bénard wrote: > > - commit 418396e212b59bf907dbccad997ff50f7eb61b16 chenged the > > behaviour > > of nand write.raw which now takes a pagecount as

[U-Boot] [PATCH] mx53loco: Fix PMIC name

2012-12-11 Thread Fabio Estevam
commit c73368150 (pmic: Extend PMIC framework to support multiple instances of PMIC devices) has incorrectly passed the PMIC name under the FSL PMIC case. Fix that by passing "FSL_PMIC" as the parameter of pmic_get. Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c |2 +-

Re: [U-Boot] [PATCH v4 0/20] Add environment call-back and flags capability

2012-12-11 Thread Tom Rini
On Tue, Dec 04, 2012 at 07:52:27PM -0600, Joe Hershberger wrote: > > When a variable with a registered callback is inserted, deleted, or > overwritten the callback is called and gives the system an opportunity > to do something in response to the change. It also has the opportunuty > to reject th

Re: [U-Boot] [PATCH v3 6/6] mx25pdk: Add Ethernet support

2012-12-11 Thread Fabio Estevam
Albert, On Sat, Dec 8, 2012 at 9:12 AM, Albert ARIBAUD wrote: > This commit introduced a dependency on the PMIC framework, which has > since been reworked in u-boot/master, leading to a failure to merge > u-boot-arm/master and u-boot/master properly. I have just sent a patch fixing it. Regards

Re: [U-Boot] [PATCH] mx25pdk: Adapt it for the new PMIC framework

2012-12-11 Thread Stefano Babic
On 11/12/2012 15:58, Fabio Estevam wrote: > Make the necessary adaptions for the new PMIC framework, so that mx25pdk can > be built again. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] woodburn: Set gpio value in gpio_direction_output()

2012-12-11 Thread Stefano Babic
On 11/12/2012 17:19, Fabio Estevam wrote: > Set the gpio value in gpio_direction_output() instead of an extra > gpio_set_value > call. > > Signed-off-by: Fabio Estevam > --- > board/woodburn/woodburn.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/board/woodburn

Re: [U-Boot] [PATCH] woodburn: Set gpio value in gpio_direction_output()

2012-12-11 Thread Stefano Babic
On 11/12/2012 17:19, Fabio Estevam wrote: > Set the gpio value in gpio_direction_output() instead of an extra > gpio_set_value > call. > > Signed-off-by: Fabio Estevam > --- > board/woodburn/woodburn.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/board/woodburn

[U-Boot] [PATCH] woodburn: Set gpio value in gpio_direction_output()

2012-12-11 Thread Fabio Estevam
Set the gpio value in gpio_direction_output() instead of an extra gpio_set_value call. Signed-off-by: Fabio Estevam --- board/woodburn/woodburn.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board/woodburn/woodburn.c b/board/woodburn/woodburn.c index 66a0d35..d74f360

Re: [U-Boot] [PATCH] mx25pdk: Adapt it for the new PMIC framework

2012-12-11 Thread Fabio Estevam
On Tue, Dec 11, 2012 at 1:14 PM, Stefano Babic wrote: > Ok - I will merge it soon into u-boot-imx. If we will find some issues > later, we will fix on the top of it. Good, I have managed to get a mx25pdk and I can confirm that with this patch the FEC (which depends on a supply being turned on by

[U-Boot] [PATCH v3 2/2] ARM: OMAP5: redefine arm_setup_identity_mapping

2012-12-11 Thread Vincent Stehlé
We introduce an OMAP5 specific version of arm_setup_identity_mapping(), which makes the first page of the identity mapping invalid. We want to unmap the region near address zero on HS OMAP devices, to avoid speculative accesses. Accessing this region causes security violations, which we want to av

[U-Boot] [PATCH v3 1/2] ARM: cache: introduce weak arm_setup_identity_mapping

2012-12-11 Thread Vincent Stehlé
Separate the MMU identity mapping for ARM in a weak function, to allow redefinition with platform specific function. This is motivated by the need to unmap the region near address zero on HS OMAP devices, to avoid speculative accesses. Accessing this region causes security violations, which we wan

Re: [U-Boot] [PATCH v2] ARM: OMAP5: redefine arm_setup_identity_mapping

2012-12-11 Thread Vincent Stehlé
Tom Rini: > Lets put the extern in arch/arm/include/asm/cache.h and make both files > #include . Sure, here is an updated patches pair: [PATCH v3 1/2] ARM: cache: introduce weak arm_setup_identity_mapping [PATCH v3 2/2] ARM: OMAP5: redefine arm_setup_identity_mapping Thank you for your revie

Re: [U-Boot] [PATCH v2] ARM: OMAP5: redefine arm_setup_identity_mapping

2012-12-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/11/12 10:35, Vincent Stehlé wrote: > We introduce an OMAP5 specific version of > arm_setup_identity_mapping(), which makes the first page of the > identity mapping invalid. > > We want to unmap the region near address zero on HS OMAP devices,

[U-Boot] [PATCH v2] ARM: OMAP5: redefine arm_setup_identity_mapping

2012-12-11 Thread Vincent Stehlé
We introduce an OMAP5 specific version of arm_setup_identity_mapping(), which makes the first page of the identity mapping invalid. We want to unmap the region near address zero on HS OMAP devices, to avoid speculative accesses. Accessing this region causes security violations, which we want to av

Re: [U-Boot] [PATCH] mx25pdk: Adapt it for the new PMIC framework

2012-12-11 Thread Stefano Babic
On 11/12/2012 15:58, Fabio Estevam wrote: > Make the necessary adaptions for the new PMIC framework, so that mx25pdk can > be built again. > > Signed-off-by: Fabio Estevam > --- > Stefano, > > Build tested only, as I did not manage to get access to a mx25pdk. Ok - I will merge it soon into u-b

[U-Boot] [PATCH] mx25pdk: Adapt it for the new PMIC framework

2012-12-11 Thread Fabio Estevam
Make the necessary adaptions for the new PMIC framework, so that mx25pdk can be built again. Signed-off-by: Fabio Estevam --- Stefano, Build tested only, as I did not manage to get access to a mx25pdk. board/freescale/mx25pdk/mx25pdk.c | 13 ++--- include/configs/mx25pdk.h |

Re: [U-Boot] [PATCH v3 6/9] dfu: Send correct DFU response from composite_setup

2012-12-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/10/12 19:47, Marek Vasut wrote: > Dear Lukasz Majewski, > >> Pantelis, > [...] > > Hm hm ... I suspect it'd be nice to have a separate DFU custodian. > That'd leverage some burden from me. I like that idea. I wonder if > it'd be nice to start b

Re: [U-Boot] [PATCH 3/8] EXYNOS5: Power down API for Thermal Management Unit

2012-12-11 Thread Wolfgang Denk
Dear Hatim Ali, In message <1355223289-15685-4-git-send-email-hatim...@samsung.com> you wrote: > From: Akshay Saraswat > > Adding API in power for system shutdown when tripping value is reached > in Exynos Thermal Management Unit. > > Signed-off-by: Akshay Saraswat > Acked-by: Simon Glass If

Re: [U-Boot] [PATCH 2/8] EXYNOS5: TMU: Add driver for Thermal Management Unit

2012-12-11 Thread Wolfgang Denk
Dear Hatim Ali, In message <1355223289-15685-3-git-send-email-hatim...@samsung.com> you wrote: > From: Akshay Saraswat > > Adding Exynos Thermal Management Unit driver to monitor SOC > temperature and take actions corresponding to states of TMU. > System will shutdown if tripping temperature is

Re: [U-Boot] [PATCH 4/8] Add a poll function to monitor events

2012-12-11 Thread Wolfgang Denk
Dear Hatim Ali, In message <1355223289-15685-5-git-send-email-hatim...@samsung.com> you wrote: > From: Akshay Saraswat > > Adding a generic polling function to continuously monitor events and > trigger actions corresponding to them. > > Signed-off-by: Akshay Saraswat > Acked-by: Simon Glass >

Re: [U-Boot] [PATCH 7/8] TMU: Add u-boot command to read current temp

2012-12-11 Thread Wolfgang Denk
Dear Hatim Ali, In message <1355223289-15685-8-git-send-email-hatim...@samsung.com> you wrote: > From: Alim Akhtar > > Adds a new u-boot command to read current temprature from tmu driver. > > Signed-off-by: Alim Akhtar > Acked-by: Simon Glass Do we really need a new command here? We alread

Re: [U-Boot] [PATCH 2/4] S5P: GPIO: Add GPIO pin numbering to driver

2012-12-11 Thread Rajeshwari Birje
Hi Minkyu Kang, Thank you for comments. On Wed, Dec 5, 2012 at 4:51 PM, Minkyu Kang wrote: > Dear Rajeshwari, > > On 05/12/12 19:46, Minkyu Kang wrote: >> API's for GPIO pin numbering support are added to the generic S5P >> gpio driver >> >> Signed-off-by: Leela Krishna Amudala >> Signed-off-by

Re: [U-Boot] [PATCH 4/4] sf: Add Quad-input Page Program(32h) instruction support

2012-12-11 Thread Langer Thomas (LQDE RD ST PON SW)
Hello Jagannadha, I have some remarks and questions, as I currently work on a hw platform, which also would allow to support dual- or quad-io accesses. So my first question: why is this restricted to write only? If you have a hardware, which is capable of supporting this, the read will definit

Re: [U-Boot] [PATCH v3 6/9] dfu: Send correct DFU response from composite_setup

2012-12-11 Thread Robert P. J. Day
On Tue, 11 Dec 2012, Lukasz Majewski wrote: > Hi Pantelis, > > > Tomorrow I will prepare output of USB Ellisys analizer on my side, so > > we could get clue what is going on. > > Please find attached output from USB ellisys analizer. is it really appropriate to post 8M of output to a mailing li

Re: [U-Boot] [PATCH v3 6/9] dfu: Send correct DFU response from composite_setup

2012-12-11 Thread Pantelis Antoniou
Hi Lukasz, I bet transmission is performed, but with the default settings of dfu. The DFU function descriptor is completely ignored. An easy way to verify it is to check if the DFU version of the device is the same one as the one stored in the descriptor. Same with the transmission block size. I

[U-Boot] [PATCH 5/5] video: Modify exynos_fimd driver to support LCD console.

2012-12-11 Thread Ajay Kumar
Currently, exynos FIMD driver is being used to support only TIZEN LOGOs. In order to get LCD console, we need to enable half word swap feature of FIMD and use 16 BPP. Signed-off-by: Ajay Kumar --- drivers/video/exynos_fimd.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) di

[U-Boot] [PATCH 4/5] EXYNOS5: Add support for FIMD and DP

2012-12-11 Thread Ajay Kumar
Add panel_info structure required by LCD driver and DP panel platdata for SMDK5250. Enable FIMD and DP support on SMDK5250. DP Panel size: 2560x1600. We use 16BPP resolution to get LCD console. Signed-off-by: Ajay Kumar --- board/samsung/smdk5250/smdk5250.c | 82 +++

[U-Boot] [PATCH 3/5] video: Fix compilation dependency of exynos_dp and exynos_mipi on exynos_fb

2012-12-11 Thread Ajay Kumar
When only DP is used, we need not enable CONFIG_EXYNOS_MIPI_DSIM. Similarly, when only MIPI is used, we need not enable CONFIG_EXYNOS_DP. But the current structuring of code forces us to enable both CONFIG_EXYNOS_MIPI_DSIM and CONFIG_EXYNOS_DP. This patch adds conditional compilation check to remov

[U-Boot] [PATCH 2/5] EXYNOS5: Add pinmux for LCD

2012-12-11 Thread Ajay Kumar
This patch adds pinmux configuration for backlight, LCD reset and HPD for DP panel on Exynos5 SMDK. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/pinmux.c| 20 arch/arm/include/asm/arch-exynos/periph.h |1 + 2 files changed, 21 insertions(+), 0 deleti

[U-Boot] [PATCH 1/5] EXYNOS5: Change parent clock of FIMD to MPLL

2012-12-11 Thread Ajay Kumar
With VPLL as source clock to FIMD, Exynos DP Initializaton was failing sometimes with unstable clock. Changing FIMD source to resolves this issue. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/cp

Re: [U-Boot] [PATCH v3 6/9] dfu: Send correct DFU response from composite_setup

2012-12-11 Thread Lukasz Majewski
Hi Lukasz, > Tomorrow I will prepare output of USB Ellisys analizer on my side, so > we could get clue what is going on. Since log itself waits for moderator approval, I will be more precise: 1. dfu-util version 0.1+svnexported 2. u-boot-denx master branch: SHA1: d987274e214cbfc7a56504fb3f0

[U-Boot] please pull u-boot-samsung/resolve

2012-12-11 Thread Minkyu Kang
Dear Albert, The following changes since commit fd4d564b3c80b111f18c93adb14233a6a7ddb0e9: Merge branch 'master' of git://git.denx.de/u-boot-x86 (2012-12-07 08:47:59 -0700) are available in the git repository at: git://git.denx.de/u-boot-samsung resolve for you to fetch changes up to fbef

  1   2   >