[U-Boot] [PATCH 1/3] arm: atmel: at91sam9x5: cleanup cs configure for spi

2013-12-10 Thread Bo Shen
As the cs for spi is worked in gpio mode, so no need to configure it as peripheral and then configure to gpio. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 28 +- board/atmel/at91sam9x5ek/at91sam9x5ek.c |1

[U-Boot] [PATCH 3/3] arm: atmel: at91sam9x5: move CONFIG_SYS_NO_FLASH to proper position

2013-12-10 Thread Bo Shen
In config_cmd_default.h, it will use CONFIG_SYS_NO_FLASH to decide whether include CONFIG_CMD_FLASH and CONFIG_CMD_IMLS. So, move the CONFIG_SYS_NO_FLASH to proper position, then we don't need to undef these two commands. Signed-off-by: Bo Shen voice.s...@atmel.com ---

[U-Boot] [PATCH 0/3] arm: atmel: clean up for at91sam9x5ek board

2013-12-10 Thread Bo Shen
This patch series do a clean up for at91sam9x5ek board. Bo Shen (3): arm: atmel: at91sam9x5: cleanup cs configure for spi arm: atmel: at91sam9x5: cleanup unneeded undef arm: atmel: at91sam9x5: move CONFIG_SYS_NO_FLASH to proper position arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c |

[U-Boot] [PATCH 2/3] arm: atmel: at91sam9x5: cleanup unneeded undef

2013-12-10 Thread Bo Shen
remove unneeded #undef for at91sam9x5ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/at91sam9x5ek.h |5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index ea9a50e..4eeaf3b 100644 ---

Re: [U-Boot] FW: [PATCH 06/10] video: exynos: fimd: always use 16bpp display mode.

2013-12-10 Thread Przemyslaw Marczak
Hello Donghwa, On 12/10/2013 06:47 AM, Donghwa Lee wrote: Hi, On 3 Dec 2013 18:03, Przemyslaw wrote: This change updates exynos board files too. 16 bpp mode is required by LCD console mode. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/trats/trats.c

Re: [U-Boot] [PATCH 2/7 V3] mmc: Get secure erase information from card

2013-12-10 Thread Pantelis Antoniou
Hi Haijun, On Dec 10, 2013, at 7:39 AM, Haijun Zhang wrote: Read command class from csd register and secure erase support bit from ext csd register. Also calculate the erase timeout and secure erase timeout. If read ext csd error, error status should be returned instead of give some

Re: [U-Boot] [PATCH 3/7 V3] mmc: Enhance erase handling procedure

2013-12-10 Thread Pantelis Antoniou
Hi Haijun, On Dec 10, 2013, at 7:39 AM, Haijun Zhang wrote: This patch enhances the currently implemented erase procedure in u-boot, which has the following problems/missing features... ^ this is exactly what I responded earlier. What are the problems? What are the missing features?

Re: [U-Boot] BCH8 support when we do not have ELM h/w engine.

2013-12-10 Thread Enric Balletbo Serra
2013/12/4 Enric Balletbo Serra eballe...@gmail.com: Dear Pekon, I'm trying to enable the support for BCH8 for platforms that do not have ELM hardware engine. Maybe I'm missing something but my first and quick attempt was applying the following patch: http://pastebin.com/VUjuGChR With

Re: [U-Boot] [PATCH 2/4] usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value

2013-12-10 Thread Lukasz Majewski
Hi Bo, Hi Lukasz, On 12/09/2013 11:20 PM, Lukasz Majewski wrote: diff --git a/drivers/usb/gadget/f_dfu.h b/drivers/usb/gadget/f_dfu.h index cc2c455..0c29954 100644 --- a/drivers/usb/gadget/f_dfu.h +++ b/drivers/usb/gadget/f_dfu.h @@ -82,4 +82,6 @@ struct dfu_function_descriptor {

Re: [U-Boot] [PATCH 4/7 V3] mmc: Update the handling of returned erase block

2013-12-10 Thread Pantelis Antoniou
Hi Haijun, On Dec 10, 2013, at 7:39 AM, Haijun Zhang wrote: If the block rang was not algined, We tried to algined the range, range, aligned, We try to align then erase the block. So the block range erased should be less or equal to the block range sent. If error occured during erase

Re: [U-Boot] [PATCH 2/4] usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value

2013-12-10 Thread Bo Shen
Hi Lukasz, On 12/10/2013 04:27 PM, Lukasz Majewski wrote: Hi Bo, Hi Lukasz, On 12/09/2013 11:20 PM, Lukasz Majewski wrote: diff --git a/drivers/usb/gadget/f_dfu.h b/drivers/usb/gadget/f_dfu.h index cc2c455..0c29954 100644 --- a/drivers/usb/gadget/f_dfu.h +++ b/drivers/usb/gadget/f_dfu.h @@

Re: [U-Boot] BCH8 support when we do not have ELM h/w engine.

2013-12-10 Thread Gupta, Pekon
Hi Enric, Sorry I missed your earlier mail, so din't check this.. From: Enric Balletbo Serra [mailto:eballe...@gmail.com] I saw that the OOB layout is not the same when I flash the rootfs from the u-boot or from the kernel. For example: If the rootfs is flashed from the kernel the OOB data

[U-Boot] [U-boot] the relationship between CONFIG_LCD / CONFIG_VIDEO / CONFIG_CFB_CONSOLE

2013-12-10 Thread TigerLiu
Hi, experts: I am confused by CONFIG_LCD / CONFIG_VIDEO / CONFIG_CFB_CONSOLE. Some board config files defined : CONFIG_VIDEO and CONFIG_CFB_CONSOLE. But not define CONFIG_LCD. It seemed CONFIG_LCD was out of date? Best wishes, ___ U-Boot

Re: [U-Boot] BCH8 support when we do not have ELM h/w engine.

2013-12-10 Thread Enric Balletbo Serra
Hi Pekon, 2013/12/10 Gupta, Pekon pe...@ti.com: Hi Enric, Sorry I missed your earlier mail, so din't check this.. From: Enric Balletbo Serra [mailto:eballe...@gmail.com] I saw that the OOB layout is not the same when I flash the rootfs from the u-boot or from the kernel. For example: If

Re: [U-Boot] [PATCH 06/10] video: exynos: fimd: always use 16bpp display mode.

2013-12-10 Thread Donghwa Lee
On 10 Dec 2013 17:15, Przemyslaw Marczak wrote: Hello Donghwa, On 12/10/2013 06:47 AM, Donghwa Lee wrote: Hi, On 3 Dec 2013 18:03, Przemyslaw wrote: This change updates exynos board files too. 16 bpp mode is required by LCD console mode. Signed-off-by: Przemyslaw Marczak

Re: [U-Boot] FW: [PATCH 06/10] video: exynos: fimd: always use 16bpp display mode.

2013-12-10 Thread Ajay kumar
Hi Marczak, On Tue, Dec 10, 2013 at 1:45 PM, Przemyslaw Marczak p.marc...@samsung.comwrote: Hello Donghwa, On 12/10/2013 06:47 AM, Donghwa Lee wrote: Hi, On 3 Dec 2013 18:03, Przemyslaw wrote: This change updates exynos board files too. 16 bpp mode is required by LCD console mode.

[U-Boot] [PATCH V3 00/14] ARM: AM43xx: Update support for AM4372 SoC

2013-12-10 Thread Lokesh Vutla
This Patch series updates support for AM4372 EPOS and GP EVM boards. AM4372 is a low cost Cortex-A9 based application processor targeted at existing ARM9/ARM11 base of customers that need more processing capabilities. Currently there are two boards with AM4372 SoC: EPOS and GP EVM. Except for few

[U-Boot] [PATCH V3 03/14] ARM: AM43xx: Add L2 Support

2013-12-10 Thread Lokesh Vutla
AM4372 uses PL310 L2 Cache. Enable the configs for the same. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - No change. include/configs/am43xx_evm.h |5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h

[U-Boot] [PATCH V3 01/14] ARM: AM43xx: Update the base addresses of modules

2013-12-10 Thread Lokesh Vutla
PRCM, timer base addresses and offsets are different from AM33xx. Updating the same. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - Dropped updating wrong address for TI81XX arch/arm/include/asm/arch-am33xx/cpu.h | 17 +++--

[U-Boot] [PATCH V3 02/14] ARM: AM43xx: Adapt to ti_armv7_common.h config file

2013-12-10 Thread Lokesh Vutla
Use ti_armv7_common.h config file to inclde the common configs. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes Since V2: - Updated SCRATCH SPACE address. - Updated CONFIG_SPL_MAX_SIZE to end of image downloadable area. arch/arm/include/asm/arch-am33xx/omap.h |2 +-

[U-Boot] [PATCH V3 05/14] ARM: AM43XX: board: add support for reading onboard EEPROM

2013-12-10 Thread Lokesh Vutla
From: Sekhar Nori nsek...@ti.com Add support for reading onboard EEPROM to enable board detection. Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - No change. arch/arm/include/asm/arch-am33xx/omap.h |2 ++

[U-Boot] [PATCH V3 04/14] ARM: AM43xx: Add extra ENV settings

2013-12-10 Thread Lokesh Vutla
Add Extra env settings. This is derived from am335x Extra ENV settings. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - No change. include/configs/am43xx_evm.h | 63 ++ 1 file changed, 63 insertions(+) diff --git

[U-Boot] [PATCH V3 08/14] ARM: AM43xx: Update Current Booting devices list

2013-12-10 Thread Lokesh Vutla
Current Booting devices list is different from that of AM33xx. Updating the same. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - Updated Boot device for CPGMAC. arch/arm/include/asm/arch-am33xx/spl.h | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-)

[U-Boot] [PATCH V3 07/14] ARM: AM43xx: Select clk source for Timer2

2013-12-10 Thread Lokesh Vutla
Selecting the Master osc clk as Timer2 clock source. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - No change. arch/arm/cpu/armv7/am33xx/clock_am43xx.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock_am43xx.c

[U-Boot] [PATCH V3 06/14] ARM: AM43XX: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support

2013-12-10 Thread Lokesh Vutla
From: Sekhar Nori nsek...@ti.com CONFIG_ENV_VARS_UBOOT_CONFIG, CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG and CONFIG_BOARD_LATE_INIT is already set. Adding support to detect the board. These variables are used by findfdt. Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by: Lokesh Vutla

[U-Boot] [PATCH V3 09/14] ARM: AM43xx: mux: Update mux data

2013-12-10 Thread Lokesh Vutla
Updating the mux data for UART, adding data for i2c0 and mmc. And also updating pad_signals structure. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - No change. arch/arm/include/asm/arch-am33xx/mux_am43xx.h | 45 + board/ti/am43xx/mux.c

[U-Boot] [PATCH V3 13/14] ARM: AM43xx: GP_EVM: Add support for DDR3

2013-12-10 Thread Lokesh Vutla
GP EVM has 1GB DDR3 attached(Part no: MT41K512M8RH). Adding details for the same. Below is the brief description of DDR3 init sequence(SW leveling): - Enable VTT regulator - Configure VTP - Configure DDR IO settings - Disable initialization and refreshes until EMIF registers are programmed. -

[U-Boot] [PATCH V3 11/14] ARM: AM33xx+: Update ioregs to pass different values

2013-12-10 Thread Lokesh Vutla
Currently same value is programmed for all ioregs. This is not the case for all SoC's like AM4372. So adding a structure for ioregs and updating in all board files. And also return from config_cmd_ctrl() and config_ddr_data() functions if data is not passed. Signed-off-by: Lokesh Vutla

[U-Boot] [PATCH V3 14/14] ARM: AM43xx: Add Maintainer

2013-12-10 Thread Lokesh Vutla
Adding Maintainer for AM43xx. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Changes since V2: - No change. boards.cfg |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards.cfg b/boards.cfg index e742746..7cd19f7 100644 --- a/boards.cfg +++ b/boards.cfg @@ -263,7

[U-Boot] [PATCH V3 12/14] ARM: AM43xx: EPOS_EVM: Add support for LPDDR2

2013-12-10 Thread Lokesh Vutla
AM4372 EPOS EVM has 1GB LPDDR2(Part no: MT42L256M32D2LG-25 WT:A) Adding LPDDR2 init sequence and register details for the same. Below is the brief description of LPDDR2 init sequence: - Configure VTP - Configure DDR IO settings - Disable initialization and refreshes until EMIF registers are

[U-Boot] [PATCH V3 10/14] ARM: AM43xx: clocks: Update DPLL details

2013-12-10 Thread Lokesh Vutla
Updating the Multiplier and Dividers value for all DPLLs. Safest OPP is read from DEV ATTRIBUTE register. Accoring to the value returned the MPU DPLL is locked. At different OPPs follwoing are the MPU locked frequencies. OPP50 300MHz OPP100 600MHz OPP120 720MHz OPPTB 800MHz OPPNT 1000MHz

[U-Boot] [PATCH] powerpc/p1_p2_rdb_pc: Fix warnings for __iomem pointers

2013-12-10 Thread Claudiu Manoil
Add the __iomem address space marker for the tsec pointers to struct tsec_mii_mng memory mapped register regions. This solves the sparse warnings for mixig normal pointers with __iomem pointers for tsec. p1_p2_rdb_pc.c:373:24: warning: incorrect type in assignment (different address spaces)

[U-Boot] [PATCH 5/7 V4] mmc: Enhance mmcinfo command

2013-12-10 Thread Haijun Zhang
Once mmc initialization was failed has_init should be cleared to 0, prepare for the next initialization. Once mmcinfo command failed, error should be reported instead of printing incorrect mmc device information. Error log: = mmcinfo Device: FSL_SDHC Manufacturer ID: 0 OEM: 0 Name: Tran Speed: 0

[U-Boot] [PATCH 1/7 V4] mmc: Add some usefull macro definition

2013-12-10 Thread Haijun Zhang
From: Haijun Zhang haijun.zh...@freescale.com Add command class define. Add mmc erase and secure erase define. Add secure erase and trim support bit define. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - no changes changes for V3: - No changes

[U-Boot] [PATCH 2/7 V4] mmc: Get secure erase information from card

2013-12-10 Thread Haijun Zhang
Read command class from csd register and secure erase support bit from ext csd register. Also calculate the erase timeout and secure erase timeout. If read ext csd error, error status should be returned instead of giving some incorrect information. Error log: = = mmcinfo Device: FSL_SDHC

[U-Boot] [PATCH 3/7 V4] mmc: Enhance erase handling procedure

2013-12-10 Thread Haijun Zhang
This patch enhances the currently implemented erase procedure in u-boot, Not all cards support secure erase feature. We should make a difference between them. For eMMC card that support erase group feature, check the the command class first, then try to align the erase group size before we

[U-Boot] [PATCH 4/7 V4] mmc: Update the handling of returned erase block

2013-12-10 Thread Haijun Zhang
If the block range was not aligned, we try to align the range size, The block range actually erased should be less or equal to the block range sent. If error occured during erase procedure witch part of them being erased, users should resend the block rang to continue erase the rest of them.

[U-Boot] [PATCH 6/7 V4] Powerpc/esdhc: Add esdhc host version define

2013-12-10 Thread Haijun Zhang
From: Haijun Zhang haijun.zh...@freescale.com Esdhc host version number is incorrect in host capacity register. The value read from was 0x14. Correct it to 0x13. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changes for V4: - no changes

[U-Boot] [PATCH 7/7 V4] powerpc/esdhc: Update esdhc command execution process

2013-12-10 Thread Haijun Zhang
The max timeout value esdhc host can accept is about 2.69 sec. At 50 Mhz SD_CLK period, the max busy timeout value = 2^27 * SD_CLK period ~= 2.69 sec. In case erase command CMD38 timeout is caculated by mult * 300ms * num(unit by erase group), so the time one erase group need should be more than

Re: [U-Boot] [PATCH 04/10] samsung: misc: move display logo function to misc.c file.

2013-12-10 Thread 황형원
I tested this code using TRATS2 board, and it worked well. -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Przemyslaw Marczak Sent: Wednesday, December 04, 2013 3:03 AM To: u-boot@lists.denx.de Cc: Przemyslaw Marczak Subject:

Re: [U-Boot] [PATCH 0/4] dfu: Provide proper Poll Timeout values

2013-12-10 Thread Lukasz Majewski
Hi Heiko, This patch series adds support for DFU's proper Poll Timeout setting. This fixes problem with dying transmission of a large files (like rootfs). Moreover some very simple clean-up patches have been included. I'd have a little request. Please check if those patches doesn't break

Re: [U-Boot] SMDK5250 not booting on latest U-boot-samsung

2013-12-10 Thread Albert ARIBAUD
Hi again Rajeshwari, On Mon, 9 Dec 2013 20:35:18 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Rajeshwari, On Mon, 9 Dec 2013 13:24:28 +0530, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi All, I have tried booting SMDK5250 on the latest U-boot-Samsung branch, It

Re: [U-Boot] [PATCH v3 1/2] arm: rmobile: Add support r8a7790

2013-12-10 Thread Albert ARIBAUD
Hi Nobuhiro, On Tue, 29 Oct 2013 17:39:14 +0900, Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com wrote: Renesas R8A7790 is CPU with Cortex-A7 and A15. This supports the basic register definition and GPIO and framework of PFC. Signed-off-by: Kouei Abe kouei.abe...@renesas.com

Re: [U-Boot] [U-Boot, v3, 4/4] cmd_eeprom: bug fix for i2c read/write

2013-12-10 Thread Alexey Brodkin
On Mon, 2013-12-09 at 12:21 +0100, Heiko Schocher wrote: I thought the v3 patch just rolls things back as patch comment states: Changes for v3: - It turns out that what we did before 2013-11-13 (i.e., cmd_eeprom: fix i2c_{read|write} usage if env is in I2C

Re: [U-Boot] [PATCH v2] net: Add fixed phy driver

2013-12-10 Thread Christian Gmeiner
Hi Joe On Mon, Sep 2, 2013 at 8:16 PM, Andy Fleming aflem...@gmail.com wrote: On Mon, Sep 2, 2013 at 7:30 AM, Christian Gmeiner christian.gmei...@gmail.com wrote: This patch is needed if the MAC is directly connected to a ethernet switch. In my case the FEC MAC is connected to a Micrel

Re: [U-Boot] [PATCH 0/4] dfu: Provide proper Poll Timeout values

2013-12-10 Thread Heiko Schocher
Hello Lukasz, How are you? Am 10.12.2013 10:54, schrieb Lukasz Majewski: Hi Heiko, This patch series adds support for DFU's proper Poll Timeout setting. This fixes problem with dying transmission of a large files (like rootfs). Moreover some very simple clean-up patches have been included.

Re: [U-Boot] [PATCH v2] arm: ep9315: Return back Cirrus Logic EDB9315A board support

2013-12-10 Thread Albert ARIBAUD
Hi Albert, On Mon, 2 Dec 2013 18:30:34 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi sergey.kostanbaev, On Tue, 22 Oct 2013 17:18:45 +0400, sergey.kostanbaev sergey.kostanb...@gmail.com wrote: From: Sergey Kostanbaev sergey.kostanb...@gmail.com This patch returns back

Re: [U-Boot] toolchain problems when building iMX6 mx6qsabreauto (and another bootloader tool)

2013-12-10 Thread Christian Gmeiner
2013/12/4 Måns Rullgård m...@mansr.com: Robert Nelson robertcnel...@gmail.com writes: On Fri, Nov 29, 2013 at 4:28 PM, Wolfgang Denk w...@denx.de wrote: Dear Christian Gmeiner, In message cah9nwweb6s+3s4o25d7cifob9y3_7jmhosjo6o78fijquwz...@mail.gmail.com you wrote: I am running into

Re: [U-Boot] [PATCH v3 1/2] arm: rmobile: Add support r8a7790

2013-12-10 Thread Albert ARIBAUD
On Tue, 10 Dec 2013 11:17:51 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Nobuhiro, On Tue, 29 Oct 2013 17:39:14 +0900, Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com wrote: Renesas R8A7790 is CPU with Cortex-A7 and A15. This supports the basic register definition and

Re: [U-Boot] [PATCH 1/4] dfu: Export allocated dfu buffer size

2013-12-10 Thread Heiko Schocher
Hello Lukasz, Am 09.12.2013 16:20, schrieb Lukasz Majewski: The method for exporting size of allocated buffer is provided. It is afterwards used by USB's dfu function code. Signed-off-by: Lukasz Majewskil.majew...@samsung.com --- drivers/dfu/dfu.c |5 + include/dfu.h |1 +

Re: [U-Boot] [PATCH 3/4] usb: f_dfu: cosmetic: Code cleanup

2013-12-10 Thread Heiko Schocher
Hello Lukasz, Am 09.12.2013 16:20, schrieb Lukasz Majewski: Code cleanup for dfu_bind_config function Signed-off-by: Lukasz Majewskil.majew...@samsung.com --- drivers/usb/gadget/f_dfu.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Tested on the dxr2 board. dfu -l dfu -U

Re: [U-Boot] [PATCH 4/4] ARM: trats: dfu: Enable default Poll Timeout for Trats board

2013-12-10 Thread Heiko Schocher
Hello Lukasz, Am 09.12.2013 16:20, schrieb Lukasz Majewski: Provide default Poll Timeout value for Trats board. Signed-off-by: Lukasz Majewskil.majew...@samsung.com --- include/configs/trats.h |1 + 1 file changed, 1 insertion(+) Tested on the dxr2 board. dfu -l dfu -U and dfu -D

Re: [U-Boot] [PATCH 2/4] usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value

2013-12-10 Thread Heiko Schocher
Hello Lukasz, Am 09.12.2013 16:20, schrieb Lukasz Majewski: It is necessary to deter the host from sending subsequent DFU_GETSTATUS request in the case of e.g. writing the buffer to medium. Here the timeout is increased when we fill up the whole buffer. This delay allows eMMC memory to perform

[U-Boot] [PATCH] am335x, siemens boards: adapt default environment setting

2013-12-10 Thread Heiko Schocher
commit 16297cfb2a20c9d89834cd9e31edac5184a777a1 Author: Mateusz Zalega m.zal...@samsung.com Date: Fri Oct 4 19:22:26 2013 +0200 usb: new board-specific USB init interface introduced a new parameter to the dfu command. Adapt the default environment for the siemens boards. Signed-off-by:

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Mats Kärrman
Hi Alexey, on: Monday, December 09, 2013 3:34 PM, Alexey Smishlayev wrote: I would like to flash the environment variable values to my board, rather than setting them at the prompt. I've founa a tool mkenvimage is made specially for that. I used it to create a binary image of the U-Boot

Re: [U-Boot] [PATCH] serial: zynq: Remove unused #defines

2013-12-10 Thread Albert ARIBAUD
Hi Michal, On Wed, 30 Oct 2013 15:49:32 +0100, Michal Simek michal.si...@xilinx.com wrote: From: Soren Brinkmann soren.brinkm...@xilinx.com Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/serial/serial_zynq.c | 4

Re: [U-Boot] [PATCH] serial: zynq: Remove unused #defines

2013-12-10 Thread Michal Simek
On 12/10/2013 01:06 PM, Albert ARIBAUD wrote: Hi Michal, On Wed, 30 Oct 2013 15:49:32 +0100, Michal Simek michal.si...@xilinx.com wrote: From: Soren Brinkmann soren.brinkm...@xilinx.com Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH] serial: zynq: Remove unused #defines

2013-12-10 Thread Albert ARIBAUD
Hi Michal, On Tue, 10 Dec 2013 13:11:47 +0100, Michal Simek mon...@monstr.eu wrote: On 12/10/2013 01:06 PM, Albert ARIBAUD wrote: Hi Michal, On Wed, 30 Oct 2013 15:49:32 +0100, Michal Simek michal.si...@xilinx.com wrote: From: Soren Brinkmann soren.brinkm...@xilinx.com

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Alexey Smishlayev
Hello, Mats, On 2013.12.10. 13:39, Mats Kärrman wrote: Hi Alexey, I can definitely see the use case in producing a complete flash image, e.g. for production use and maybe be able to select the env image from one of many depending on some factor. Yes, the use case is exactly as you described.

[U-Boot] [PATCH 2/2] net: Merge asm/fsl_enet.h into fsl_mdio.h

2013-12-10 Thread Claudiu Manoil
fsl_enet.h defines the mapping of the usual MII management registers, which are included in the MDIO register block common to Freescale ethernet controllers. So it shouldn't depend on the CPU architecture but it should be actually part of the arch independent fsl_mdio.h. To remove the arch

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Mats Kärrman
On: Tuesday, December 10, 2013 1:32 PM, Alexey Smishlayev wrote: I'm not sure, if that's not something simple, that's why I wrote to this list. I just don't know every little detail about using U-Boot. I was thinking something like: [flash-sector-size] = [U-Boot-configured-env-size] and you

Re: [U-Boot] Creating U-Boot env image

2013-12-10 Thread Alexey Smishlayev
Hello Mats, On 2013.12.10. 15:33, Mats Kärrman wrote: On: Tuesday, December 10, 2013 1:32 PM, Alexey Smishlayev wrote: I'm not sure, if that's not something simple, that's why I wrote to this list. I just don't know every little detail about using U-Boot. I was thinking something like:

[U-Boot] [PATCH 1/2] net: tsec: Fix NULL access in case init_phy() fails

2013-12-10 Thread Claudiu Manoil
If the PHY is not recognized don't access phydev (NULL) and return 0 to signal failure. Signed-off-by: Claudiu Manoil claudiu.man...@freescale.com --- drivers/net/tsec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index e9138f0..65fb2b0 100644

Re: [U-Boot] [PATCH] arm: add IPL support

2013-12-10 Thread Tom Rini
On Mon, Dec 09, 2013 at 04:07:29PM +0800, Kuo-Jung Su wrote: 2013/12/6 Tom Rini tr...@ti.com: On Wed, Dec 04, 2013 at 11:50:48AM +0800, Kuo-Jung Su wrote: Initial Program Loader (IPL) usually runs with .text and .rodata in ROM, while .data and .bss reside in RAM. This patch uses the

Re: [U-Boot] [PATCH] bootm: Reinstate special case for standalone images

2013-12-10 Thread Tom Rini
On Tue, Dec 10, 2013 at 06:37:40AM +0100, Michal Simek wrote: On 12/07/2013 12:26 AM, Simon Glass wrote: For standalone images, bootm had a special case where the OS boot function was NULL but did actually exist. It was just called manually. This was removed by commit 35fc84fa which

Re: [U-Boot] [PATCH 0/4] dfu: Provide proper Poll Timeout values

2013-12-10 Thread Marek Vasut
On Monday, December 09, 2013 at 04:20:12 PM, Lukasz Majewski wrote: This patch series adds support for DFU's proper Poll Timeout setting. This fixes problem with dying transmission of a large files (like rootfs). Moreover some very simple clean-up patches have been included. Test HW:

[U-Boot] [PATCH] fuelgauge: max17042: fix i2c read issue which causes infinity loop.

2013-12-10 Thread Przemyslaw Marczak
Issues: - reading i2c data by passing u16 pointer causes errors in read data. - max17042 status register fields have not only Power On Reset meaning so using proper mask is required. Changes: - read i2c data to type u32 instead of u16 - avoids buffer overflow - compare FG status register using

[U-Boot] patchwork not responding

2013-12-10 Thread York Sun
Is it just me not able to access this server, or the server is down for some reason? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] patchwork not responding

2013-12-10 Thread Joe Hershberger
On Tue, Dec 10, 2013 at 10:24 AM, York Sun york...@freescale.com wrote: Is it just me not able to access this server, or the server is down for some reason? I am also unable to access patchwork. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] board/freescale:Remove use of CONFIG_SPL_NAND_MINIMAL

2013-12-10 Thread Scott Wood
On Tue, 2013-12-10 at 13:12 +0530, Prabhakar Kushwaha wrote: CONFIG_SPL_NAND_MINIMAL should not be used as it was defined for temporary review purpose. So, use CONFIG_SPL_NAND_BOOT config. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com Please add CONFIG_SPL_NAND_BOOT to README.

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread Scott Wood
On Tue, 2013-12-10 at 11:37 +0530, Prabhakar Kushwaha wrote: On 12/9/2013 11:21 PM, Scott Wood wrote: On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote: On 12/7/2013 6:51 AM, Scott Wood wrote: Prabhakar, why did you extend that to other uses? Why are both entries ifdeffed here,

Re: [U-Boot] [PATCH] board_f: explicitly disable console on early boot

2013-12-10 Thread Alexey Brodkin
On Thu, 2013-11-28 at 13:55 +0400, Alexey Brodkin wrote: On Wed, 2013-11-27 at 18:43 -0700, Simon Glass wrote: I have a similar patch locally, but it actually does memset() on the whole structure. Some archs handle this setup differently. For example both ARM and x86 now allocate it in

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

2013-12-10 Thread Albert ARIBAUD
Hi Tom, The following changes since commit f44483b57c49282299da0e5c10073b909cdad979: Merge branch 'serial' of git://git.denx.de/u-boot-microblaze (2013-12-02 08:48:02 -0500) 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] [PATCH] board_f: explicitly disable console on early boot

2013-12-10 Thread Simon Glass
On 10 December 2013 14:47, Alexey Brodkin alexey.brod...@synopsys.com wrote: On Thu, 2013-11-28 at 13:55 +0400, Alexey Brodkin wrote: On Wed, 2013-11-27 at 18:43 -0700, Simon Glass wrote: I have a similar patch locally, but it actually does memset() on the whole structure. Some archs

[U-Boot] [PATCH] spl/Makefile: merge LIBS-y += arch/$(ARCH)/imx-common

2013-12-10 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- spl/Makefile | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spl/Makefile b/spl/Makefile index 2a787af..25f8b3c 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -90,17 +90,13 @@

Re: [U-Boot] [U-Boot, v3, 4/4] cmd_eeprom: bug fix for i2c read/write

2013-12-10 Thread Kuo-Jung Su
2013/12/10 Alexey Brodkin alexey.brod...@synopsys.com: On Mon, 2013-12-09 at 12:21 +0100, Heiko Schocher wrote: I thought the v3 patch just rolls things back as patch comment states: Changes for v3: - It turns out that what we did before 2013-11-13 (i.e.,

Re: [U-Boot] [PATCH v3 1/2] arm: rmobile: Add support r8a7790

2013-12-10 Thread Nobuhiro Iwamatsu
Hi, Albert. Since these patches were taken into your repository from u-boot-sh/rmobile, I have updated the patchwork. This was not a correct change. Sorry about this, and thanks for your work. Best regards, Nobuhiro 2013/12/10 Albert ARIBAUD albert.u.b...@aribaud.net: On Tue, 10 Dec 2013

Re: [U-Boot] [PATCH] fuelgauge: max17042: fix i2c read issue which causes infinity loop.

2013-12-10 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 11/12/13 00:19, Przemyslaw Marczak wrote: Issues: - reading i2c data by passing u16 pointer causes errors in read data. - max17042 status register fields have not only Power On Reset meaning so using proper mask is required. Changes: - read i2c data to type

Re: [U-Boot] [PATCH] arm: add IPL support

2013-12-10 Thread Kuo-Jung Su
2013/12/10 Tom Rini tr...@ti.com: On Mon, Dec 09, 2013 at 04:07:29PM +0800, Kuo-Jung Su wrote: 2013/12/6 Tom Rini tr...@ti.com: On Wed, Dec 04, 2013 at 11:50:48AM +0800, Kuo-Jung Su wrote: Initial Program Loader (IPL) usually runs with .text and .rodata in ROM, while .data and .bss

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread po....@freescale.com
Sorry for late reply since the email system crash. -Original Message- From: Scott Wood [mailto:scottw...@freescale.com] Sent: Saturday, December 07, 2013 9:22 AM To: Liu Po-B43644 Cc: u-boot@lists.denx.de; Sun York-R58495; Kushwaha Prabhakar-B32579 Subject: Re: [PATCH v2

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread po....@freescale.com
-Original Message- From: Scott Wood [mailto:scottw...@freescale.com] Sent: Wednesday, December 11, 2013 2:20 AM To: Kushwaha Prabhakar-B32579 Cc: Liu Po-B43644; u-boot@lists.denx.de; Sun York-R58495 Subject: Re: [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot

Re: [U-Boot] [PATCH 3/7 V3] mmc: Enhance erase handling procedure

2013-12-10 Thread Michael Trimarchi
Hi On Tue, Dec 10, 2013 at 6:39 AM, Haijun Zhang haijun.zh...@freescale.com wrote: This patch enhances the currently implemented erase procedure in u-boot, which has the following problems/missing features... Erass sequence: 1. check if erase command is support by card. If not return. 2.

Re: [U-Boot] [PATCH 3/7 V3] mmc: Enhance erase handling procedure

2013-12-10 Thread haijun.zh...@freescale.com
Regards Thanks. -- Haijun -Original Message- From: Michael Trimarchi [mailto:mich...@amarulasolutions.com] Sent: Wednesday, December 11, 2013 11:10 AM To: Zhang Haijun-B42677 Cc: pa...@antoniou-consulting.com; u-boot@lists.denx.de; Xie Xiaobo- R63061; Sun York-R58495; Tom Rini;

Re: [U-Boot] [PATCH 00/11 V10] EXYNOS5420: Add SMDK5420 board support

2013-12-10 Thread Rajeshwari Birje
Hi Minkyu Kang, Please do let me know if any coments on this patch set. On Mon, Dec 9, 2013 at 2:20 PM, Rajeshwari S Shinde rajeshwar...@samsung.com wrote: This patch adds basic board support for SMDK5420 board. These patches are tested for booting fine on EVT1 SMDK5420. Changes in V2:

Re: [U-Boot] [PATCH] netbsd:fix documentation typo.

2013-12-10 Thread Qais Yousef
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Kees Jongenburger Sent: 09 December 2013 10:28 To: u-boot@lists.denx.de Cc: Kees Jongenburger; Kumar Gala Subject: [U-Boot] [PATCH] netbsd:fix documentation typo. From: Kees

[U-Boot] [PATCH v2] netbsd:fix documentation typo.

2013-12-10 Thread Kees Jongenburger
The documentation suggested the arguments where passed over r3-r6 while the code bellow simply does that over r0-r3. Cc: Kumar Gala ga...@kernel.crashing.org --- common/cmd_bootm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c

[U-Boot] [PATCH][v2] powerpc/mpc85xx: Add support for single source clocking

2013-12-10 Thread Priyanka Jain
Single-source clocking is new feature introduced in T1040. In this mode, a differential clock is supplied to the DIFF_SYSCLK_P/N inputs to the processor, which in turn is used to supply clocks to the sysclock, ddrclock and usbclock. So, both ddrclock and syclock are driven by same differential

[U-Boot] tool for visualizing the map files?

2013-12-10 Thread Abraham V.
Hello, I'm trying to understand the ARM booting process for omap4 systems by studying the linker generated map files and was wondering if some such tool already exists? Specifically, the connection between the linker .lds file and how it is used to generate the .map and .bin files. What I

[U-Boot] [PATCH] ARM: Samsung: Change GONI and Universal_C210 maintainers.

2013-12-10 Thread Lukasz Majewski
Update boards.cfg entries for Samsung's GONI and Universal_C210 maintainers entry. Change-Id: Idac259bdefc8547ec10c7f5b9556be09c2484a3a Signed-off-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- boards.cfg |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread po....@freescale.com
SET_TLB_ENTRY(1, CONFIG_SYS_NAND_BASE, CONFIG_SYS_NAND_BASE_PHYS, - MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, + MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, 0, 5, BOOKE_PAGESZ_64K, 1), No. Without MAS3_SX, the board can't run in booting

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread Prabhakar Kushwaha
On 12/10/2013 11:50 PM, Scott Wood wrote: On Tue, 2013-12-10 at 11:37 +0530, Prabhakar Kushwaha wrote: On 12/9/2013 11:21 PM, Scott Wood wrote: On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote: On 12/7/2013 6:51 AM, Scott Wood wrote: Prabhakar, why did you extend that to other

[U-Boot] [PATCH 1/2] rcar_i2c: Fix receiving wait condition

2013-12-10 Thread Nobuhiro Iwamatsu
From: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- drivers/i2c/rcar_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 2/2] rcar_i2c: Clear status before start master receive

2013-12-10 Thread Nobuhiro Iwamatsu
Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- drivers/i2c/rcar_i2c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c index 01c98d4..50cebd6 100644 ---

[U-Boot] [PATCH 1/3 V2] esdhc: Workaround for card can't be detected on T4240QDS

2013-12-10 Thread Haijun Zhang
Card detection pin is ineffective on T4240QDS Rev1.0. There are two cards can be connected to board. 1. eMMC card is built-in board, can not be removed. so For eMMC card it is always there. 2. Card detecting pin is functional for SDHC card in Rev2.0. This workaround force sdhc driver scan and

[U-Boot] [PATCH 3/3 V2] eSDHC: Calculate envaddr accroding to the address format

2013-12-10 Thread Haijun Zhang
On BSC9131 and BSC9132: For High Capacity SD Cards ( 2 GBytes), the 32-bit source address specifies the memory address in block address format. Block length is fixed to 512 bytes as per the SD High Capacity specification. So we need to convert the block address format to byte address format to

[U-Boot] [PATCH 2/3 V2] esdhc: Detecting 8 bit width before mmc initialization

2013-12-10 Thread Haijun Zhang
The upper 4 data signals of esdhc are shared with spi flash. So detect if the upper 4 pins are assigned to esdhc before enable sdhc 8 bit width. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- changs for V2: - No changes drivers/mmc/fsl_esdhc.c| 5 +

Re: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL

2013-12-10 Thread Prabhakar Kushwaha
On 12/11/2013 8:24 AM, Liu Po-B43644 wrote: -Original Message- From: Scott Wood [mailto:scottw...@freescale.com] Sent: Wednesday, December 11, 2013 2:20 AM To: Kushwaha Prabhakar-B32579 Cc: Liu Po-B43644; u-boot@lists.denx.de; Sun York-R58495 Subject: Re: [PATCH v2 2/2]

[U-Boot] [PATCH][v2] board/freescale:Remove use of CONFIG_SPL_NAND_MINIMAL

2013-12-10 Thread Prabhakar Kushwaha
CONFIG_SPL_NAND_MINIMAL should not be used as it was defined for temporary review purpose. So, use CONFIG_SPL_NAND_BOOT config. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: Incorporated Scott's comments - Add CONFIG_SPL_NAND_BOOT in README README

[U-Boot] [PATCH] powerpc/mpc85xx: Update CONFIG_SYS_FSL_TBCLK_DIV for T1040

2013-12-10 Thread Prabhakar Kushwaha
The default value of CONFIG_SYS_FSL_TBCLK_DIV is 16. So, update its value as default. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git