Re: [U-Boot] [PATCH 0/4] enable USB OHCI on sam9x5ek boards

2012-11-28 Thread Richard Genoud
2012/11/28 Bo Shen voice.s...@atmel.com: Thanks for your work. I think if enable EHCI instead of OHCI will be better? Yes, I tried it, and it's working great. I'll resend the serie with EHCI enable. Richard. ___ U-Boot mailing list

Re: [U-Boot] [PATCH 2/9] Fix bug when both DFU ETHER are defined

2012-11-28 Thread Pantelis Antoniou
Hi Marek, On Nov 28, 2012, at 4:43 AM, Marek Vasut wrote: Dear Pantelis Antoniou, When both CONFIG_USB_GADGET CONFIG_USB_ETHER are defined the makefile links objects twice. Detect this and fix it with a not very elegant way in the makefile. Revisit and clean it later. Signed-off-by:

Re: [U-Boot] [PATCH 3/9] Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Pantelis Antoniou
Hi Marek, On Nov 28, 2012, at 4:45 AM, Marek Vasut wrote: Dear Pantelis Antoniou, USB initialization shouldn't happen for all the boards. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- common/cmd_dfu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [U-Boot] [PATCH 5/9] Generate appropriate responses for DFU

2012-11-28 Thread Pantelis Antoniou
Hi Marek, On Nov 28, 2012, at 4:46 AM, Marek Vasut wrote: Dear Pantelis Antoniou, Make sure appropriate responses for the DFU protocal are generated. I dont understand this patch, please explain it properly in the commit message. Turns out this is not even quite correct... Updated

Re: [U-Boot] [PATCH 6/9] Properly zero out timeout value

2012-11-28 Thread Pantelis Antoniou
Hi Marek, On Nov 28, 2012, at 4:46 AM, Marek Vasut wrote: Dear Pantelis Antoniou, Zero out timeout value; letting it filled with undefined values ends up with the dfu host hanging. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/f_dfu.c | 3 +++ 1

Re: [U-Boot] [PATCH 7/9] Add a partition type target

2012-11-28 Thread Pantelis Antoniou
Hi Marek, On Nov 28, 2012, at 4:48 AM, Marek Vasut wrote: Dear Pantelis Antoniou, Dealing with raw block numbers with the dfu is very annoying. Introduce a partition method. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/dfu/dfu_mmc.c | 29

Re: [U-Boot] [PATCH 9/9] Add DFU config

2012-11-28 Thread Pantelis Antoniou
On Nov 28, 2012, at 5:04 AM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/27/12 21:52, Marek Vasut wrote: Dear Pantelis Antoniou, Add configuration for using DFU on the am335x_evm boards Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ---

[U-Boot] [PATCH V2] gpio: add gpio_is_valid() to omap_gpio API

2012-11-28 Thread Nikita Kiryanov
Add gpio_is_valid() to omap_gpio API Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- Changes in V2: - Changed the function to act as a predicate arch/arm/include/asm/omap_gpio.h |7 +++ drivers/gpio/omap_gpio.c

[U-Boot] [PATCH 1/2] cfi_flash: Add manufact_match helper function

2012-11-28 Thread Stefan Roese
Consolidate manufacturer matching into the function manufact_match() and use it. Signed-off-by: Stefan Roese s...@denx.de --- drivers/mtd/cfi_flash.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index

[U-Boot] [PATCH 2/2] cfi_flash: Read PPB sector protection from device for AMD/Spansion chips

2012-11-28 Thread Stefan Roese
Patch 66863b05 [cfi_flash: add support for Spansion flash PPB sector protection] introduced the PPB (Persistent Protection Bit) locking for Spansion chips. But right now the sector protection status (locked vs unlocked) is set to unlocked for all sectors upon bootup. The real sector protection

Re: [U-Boot] [PATCH 7/9] Add a partition type target

2012-11-28 Thread Marek Vasut
Dear Pantelis Antoniou, Hi Marek, On Nov 28, 2012, at 4:48 AM, Marek Vasut wrote: Dear Pantelis Antoniou, Dealing with raw block numbers with the dfu is very annoying. Introduce a partition method. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ---

Re: [U-Boot] [PATCH 0/2] [RFC] DEBUG: relocate to fixed address

2012-11-28 Thread Wolfgang Denk
Dear Henrik Nordström, In message 1354059376.5475.6.ca...@home.hno.se you wrote: How am I going to script gdb to figure out the relocation address when I'm just running it on the image to get symbols, not actually connecting to the target? It can be calculated from ram size and

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message 1354066303-29762-2-git-send-email-troy.ki...@boundarydevices.com you wrote: The mx53 ROM will truncate the length at a multiple of 512. Transferring too much is not a problem, so round up. What about other SoCs using the same code? +#define ALIGN(a, b) (((a) +

Re: [U-Boot] [PATCH V4 00/11] imximage series

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message 1354066303-29762-1-git-send-email-troy.ki...@boundarydevices.com you wrote: This series make the file imximage.c easier to read, as well as produces a slightly smaller file. Only the 1st two patches are different from version 3. The 1st is a new patch which

Re: [U-Boot] [PATCH V4 04/11] imximage: prepare to move static variables to struct data_src

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message 1354066303-29762-5-git-send-email-troy.ki...@boundarydevices.com you wrote: Need to move accesses to the static variables to a function where struct data_src is used. Could you please elucidate why exactly this is _needed_? + /* Be able to detect if the cfg

Re: [U-Boot] [PATCH V4 08/11] imximage: enable word writes for version2 header

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message 1354066303-29762-9-git-send-email-troy.ki...@boundarydevices.com you wrote: Before, only 1 write_dcd_command table was built. Now, a new table is built when the size changes. I cannot see how the Subject: and the actual commit message (and code) are related. Best

Re: [U-Boot] [PATCH V4 09/11] tools: add parse_helper file

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message 1354066303-29762-10-git-send-email-troy.ki...@boundarydevices.com you wrote: This file can help you parse configuration files. If this is intended to be useful, you need to add documentation, for example what your definition of configuration files is, and which

[U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Pantelis Antoniou
usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/f_dfu.c | 1 - include/g_dnl.h| 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadget/f_dfu.c

[U-Boot] [PATCH 00/10] USB: Gadget DFU related fixes

2012-11-28 Thread Pantelis Antoniou
Various bugfixes, g_dnl DFU updates. Pantelis Antoniou (10): usb: Remove obsolete header file usb: Fix bug when both DFU ETHER are defined g_dnl: Issue connect/disconnect as appropriate g_dnl: Properly terminate string list. dfu: Only perform DFU board_usb_init() for TRATS dfu: Fix

[U-Boot] [PATCH 03/10] g_dnl: Issue connect/disconnect as appropriate

2012-11-28 Thread Pantelis Antoniou
Call usb_gadget_connect/usb_gadget_disconnect in g_dnl_bind/g_dnl_unbind. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/g_dnl.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/g_dnl.c

[U-Boot] [PATCH 04/10] g_dnl: Properly terminate string list.

2012-11-28 Thread Pantelis Antoniou
Well, not terminating the list causes very interesting crashes. As in changing the vendor product ID crashes. Fun. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/g_dnl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/g_dnl.c

[U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Pantelis Antoniou
USB initialization shouldn't happen for all the boards. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- common/cmd_dfu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c index 01d6b3a..327c738 100644 --- a/common/cmd_dfu.c +++

[U-Boot] [PATCH 06/10] dfu: Fix crash when wrong number of arguments given

2012-11-28 Thread Pantelis Antoniou
Fix obvious crash when not enough arguments are given to the dfu command. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- common/cmd_dfu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c index 327c738..83ef324 100644 ---

[U-Boot] [PATCH 08/10] dfu: Properly zero out timeout value

2012-11-28 Thread Pantelis Antoniou
Zero out timeout value; letting it filled with undefined values ends up with the dfu host hanging. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/f_dfu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/f_dfu.c

[U-Boot] [PATCH 07/10] dfu: Send correct DFU response from composite_setup

2012-11-28 Thread Pantelis Antoniou
DFU is a bit peculiar. It needs to hook to composite setup and return it's function descriptor. So when get-descriptor request comes with a type of DFU_DT_FUNC we iterate over the configs, and functions, and when we find the DFU function we call the setup method which is prepared to return the

[U-Boot] [PATCH 09/10] dfu: Add a partition type target

2012-11-28 Thread Pantelis Antoniou
Dealing with raw block numbers with the dfu is very annoying. Introduce a partition method. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/dfu/dfu_mmc.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/dfu/dfu_mmc.c

[U-Boot] [PATCH 10/10] dfu: Support larger than memory transfers.

2012-11-28 Thread Pantelis Antoniou
We didn't support upload/download larger than available memory. This is pretty bad when you have to update your root filesystem for example. This patch removes the limitation (and the crashes when you transfered any file larger than 4MB). On top of that reduces the huge dfu buffer from 4MB to

[U-Boot] [PATCH] mmc: Add an mmcsilent option

2012-11-28 Thread Pantelis Antoniou
When using MMC commands for dfu there is considerable noise. Suppress mmc messages when mmcsilent is set. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- common/cmd_mmc.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/cmd_mmc.c

[U-Boot] [PATCH 02/10] usb: Fix bug when both DFU ETHER are defined

2012-11-28 Thread Pantelis Antoniou
When both CONFIG_USB_GADGET CONFIG_USB_ETHER are defined the makefile links objects twice. Detect this and fix it with a not very elegant way in the makefile. Revisit and clean it later. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/Makefile | 13

[U-Boot] [PATCH 0/2] AM335x_EVM DFU support

2012-11-28 Thread Pantelis Antoniou
This patchset enables DFU for the AM335x_EVM family of boards. Pantelis Antoniou (2): am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE am335x_evm: Add DFU config include/configs/am335x_evm.h | 26 ++ 1 file changed, 26 insertions(+) -- 1.7.12

[U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE

2012-11-28 Thread Pantelis Antoniou
drivers/usb/gadget/composite.c requires that this is defined early. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index

[U-Boot] [PATCH 2/2] am335x_evm: Add DFU config

2012-11-28 Thread Pantelis Antoniou
Add configuration for using DFU on the am335x_evm boards Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- include/configs/am335x_evm.h | 24 1 file changed, 24 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index

[U-Boot] [PATCH 2/2] net: add ICPlus PHY driver

2012-11-28 Thread yegorslists
From: Yegor Yefremov yegorsli...@googlemail.com The driver code was taken from Linux kernel source: drivers/net/phy/icplus.c Signed-off-by: Yegor Yefremov yegorsli...@googlemail.com --- drivers/net/phy/Makefile |1 + drivers/net/phy/icplus.c | 90

[U-Boot] [PATCH 1/2] phy: export genphy_parse_link()

2012-11-28 Thread yegorslists
From: Yegor Yefremov yegorsli...@googlemail.com Signed-off-by: Yegor Yefremov yegorsli...@googlemail.com --- drivers/net/phy/phy.c |2 +- include/phy.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index

Re: [U-Boot] [RFC] export genphy_parse_link()

2012-11-28 Thread Yegor Yefremov
On Tue, Nov 27, 2012 at 7:55 AM, Yegor Yefremov yegorsli...@googlemail.com wrote: On Tue, Nov 27, 2012 at 3:57 AM, Marek Vasut ma...@denx.de wrote: Dear Yegor Yefremov, I'm porting a phy driver from Linux to u-boot and was able to use genphy_parse_link() without a problem. As mentioned in

Re: [U-Boot] [PATCH 6/9] Properly zero out timeout value

2012-11-28 Thread Marek Vasut
Dear Pantelis Antoniou, Hi Marek, On Nov 28, 2012, at 4:46 AM, Marek Vasut wrote: Dear Pantelis Antoniou, Zero out timeout value; letting it filled with undefined values ends up with the dfu host hanging. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ---

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 01/11] imximage: mx53 needs

Re: [U-Boot] [PATCH V4 05/11] imximage: change parameters for set_dcd_val/set_imx_hdr

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 05/11] imximage: change

Re: [U-Boot] [PATCH V4 06/11] imximage: move set_imx_hdr to struct data_src

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 06/11] imximage: move set_imx_hdr

Re: [U-Boot] [PATCH V4 07/11] imximage: move set_dcd_val to struct data_src

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 07/11] imximage: move set_dcd_val

Re: [U-Boot] [PATCH V4 09/11] tools: add parse_helper file

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 09/11] tools: add parse_helper

Re: [U-Boot] [PATCH V4 10/11] imximage: use parse_helper functions

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 10/11] imximage: use parse_helper

Re: [U-Boot] [PATCH V4 11/11] parse_helper: add expression evaluation

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 11/11] parse_helper: add

Re: [U-Boot] [PATCH V4 02/11] imximage: make header variable length

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 02/11] imximage: make header

Re: [U-Boot] [PATCH V4 03/11] imximage: remove static imximage_version

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 03/11] imximage: remove static

Re: [U-Boot] [PATCH V4 08/11] imximage: enable word writes for version2 header

2012-11-28 Thread Liu Hui-R64343
-Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] Sent: Wednesday, November 28, 2012 9:32 AM To: sba...@denx.de Cc: dirk.be...@googlemail.com; u-boot@lists.denx.de; Liu Hui-R64343; feste...@gmail.com; Troy Kisky Subject: [PATCH V4 08/11] imximage: enable word

[U-Boot] [PATCHv2 0/4]enable USB OHCI on sam9x5ek boards

2012-11-28 Thread Richard Genoud
This small patchset is based on current master ( 178d0cc1a4c73c3341afbeb2a93b172de8c96bd1 ) It enables usb on at91sam9x5ek boards. Tested on at91sam9x5ek with a sam9g35 CPU (+ usb key and mouse) By default the 3 USB 1.1 ports (A, B and C) are enabled. If CONFIG_USB_EHCI is defined, the 2 USB 2.0

[U-Boot] [PATCHv2 1/4] usb documentation: fix typo

2012-11-28 Thread Richard Genoud
Signed-off-by: Richard Genoud richard.gen...@gmail.com --- doc/README.usb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/README.usb b/doc/README.usb index ef1d6ba..b4c3ef5 100644 --- a/doc/README.usb +++ b/doc/README.usb @@ -63,7 +63,7 @@ Common USB Commands:

[U-Boot] [PATCHv2 2/4] at91sam9x5: enable USB support for 9x5ek board.

2012-11-28 Thread Richard Genoud
Signed-off-by: Richard Genoud richard.gen...@gmail.com --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 10 ++ arch/arm/include/asm/arch-at91/at91sam9x5.h |2 ++ board/atmel/at91sam9x5ek/at91sam9x5ek.c |3 +++ drivers/usb/host/ohci-at91.c

[U-Boot] [PATCHv2 3/4] at91sam9x5ek: regroup FAT/DOS features

2012-11-28 Thread Richard Genoud
Signed-off-by: Richard Genoud richard.gen...@gmail.com --- include/configs/at91sam9x5ek.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index 71f765b..5e5f9c1 100644 ---

[U-Boot] [PATCHv2 4/4] at91sam9x5ek: add USB configuration

2012-11-28 Thread Richard Genoud
Signed-off-by: Richard Genoud richard.gen...@gmail.com --- include/configs/at91sam9x5ek.h | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index 5e5f9c1..fd2586d 100644 ---

Re: [U-Boot] [GIT PULL] u-boot-mips/master

2012-11-28 Thread Tom Rini
On Wed, Nov 28, 2012 at 12:19:39AM +0100, Daniel Schwierzeck wrote: Hi Tom, please pull a fix for MIPS timers. Thanks, Daniel The following changes since commit 178d0cc1a4c73c3341afbeb2a93b172de8c96bd1: Merge branch 'master' of git://git.denx.de/u-boot-video (2012-11-19

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

2012-11-28 Thread Tom Rini
On Wed, Nov 28, 2012 at 01:39:06AM -0600, Andy Fleming wrote: The following changes since commit 66dc452bfe13b0e276adddf3997b9c5abc00115d: Remove obsolete header file (2012-11-27 09:41:10 -0700) are available in the git repository at: git://www.denx.de/git/u-boot-mpc85xx.git master

Re: [U-Boot] U-Boot for MIPS AR7161

2012-11-28 Thread Drassal, Allan
-Original Message- From: Daniel Schwierzeck [mailto:daniel.schwierz...@gmail.com] Sent: Wednesday, November 28, 2012 9:16 AM To: Drassal, Allan Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] U-Boot for MIPS AR7161 Hi Allan, 2012/11/27 Drassal, Allan dra...@wsu.edu: I am

[U-Boot] [PATCH] cm-t35: add USB host support

2012-11-28 Thread Nikita Kiryanov
Add support for USB host ports on cm-t3530 and cm-t3730. Signed-off-by: Nikita Kiryanov nik...@compulab.co.il Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- board/cm_t35/cm_t35.c| 77 ++ include/configs/cm_t35.h |8 - 2 files

Re: [U-Boot] [Patch 1/2] MIPS: fix a latent bug on initialize $gp

2012-11-28 Thread Daniel Schwierzeck
2012/11/26 Zhi-zhou Zhang zhizhou...@gmail.com: On Sun, Nov 25, 2012 at 09:30:54PM +0100, Daniel Schwierzeck wrote: 2012/11/24 Zhi-zhou Zhang zhizhou...@gmail.com: If bal is 8 bytes aligned, the _gp will not be 8 bytes aligned. then the following ld insntrustion generates a Adel exception.

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

2012-11-28 Thread Tom Rini
On Wed, Nov 28, 2012 at 08:04:48AM -0500, Tom Rini wrote: On Wed, Nov 28, 2012 at 01:39:06AM -0600, Andy Fleming wrote: The following changes since commit 66dc452bfe13b0e276adddf3997b9c5abc00115d: Remove obsolete header file (2012-11-27 09:41:10 -0700) are available in the git

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

2012-11-28 Thread Tom Rini
On Tue, Nov 27, 2012 at 05:50:48PM -0600, Andy Fleming wrote: The following changes since commit 66dc452bfe13b0e276adddf3997b9c5abc00115d: Remove obsolete header file (2012-11-27 09:41:10 -0700) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master

[U-Boot] bug in mmc driver

2012-11-28 Thread Ben-tal, Omer
Hi Denk, I think I found a small bug in u-boot mmc driver (ver 2012.10). Not sure how to submit it. Any suggestions? Thanks Omer - Intel Israel (74) Limited This e-mail and any attachments may contain confidential material

Re: [U-Boot] [PATCH 14/14] fdt: Set kernaddr if fdt indicates a kernel is present

2012-11-28 Thread Dennis Lan (dlan)
hi simon: found a small bug?(not sure) which introduced by this commit. this line not inldue FDT option #if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || defined(CONFIG_CMDLINE_EDITING) DECLARE_GLOBAL_DATA_PTR; #endif main.c: In function 'process_fdt_options': main.c:341:31:

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. After applying this patch, I cannot build trats target anymore. If I remember correctly both files (usbdescriptors.h and linux/usb/ch9.h) are necessary. The usbdescriptors.h declares e.g.: struct usb_device_descriptor

Re: [U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, USB initialization shouldn't happen for all the boards. The board_usb_init() follows u-boot policy, that SoC IPs (USB) are enabled and configured just before their usage. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- common/cmd_dfu.c | 3 +++ 1 file

Re: [U-Boot] [PATCH 14/14] fdt: Set kernaddr if fdt indicates a kernel is present

2012-11-28 Thread Simon Glass
Hi Dennis, On Wed, Nov 28, 2012 at 6:30 AM, Dennis Lan (dlan) dennis.y...@gmail.com wrote: hi simon: found a small bug?(not sure) which introduced by this commit. this line not inldue FDT option #if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || defined(CONFIG_CMDLINE_EDITING)

Re: [U-Boot] [PATCH 06/10] dfu: Fix crash when wrong number of arguments given

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, Fix obvious crash when not enough arguments are given to the dfu command. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- common/cmd_dfu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c index

Re: [U-Boot] [PATCH 04/10] g_dnl: Properly terminate string list.

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, Well, not terminating the list causes very interesting crashes. As in changing the vendor product ID crashes. Fun. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/g_dnl.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 08/10] dfu: Properly zero out timeout value

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, Zero out timeout value; letting it filled with undefined values ends up with the dfu host hanging. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/usb/gadget/f_dfu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH] fdt: Correct global_data condition in main

2012-11-28 Thread Simon Glass
We need an extra condition here in case we want to use fdt without the silent console/cmdline editing/post options. Note: It might be acceptable instead to just always declare this here. From what I can tell it has no code size impact to declare it on any architecture. Signed-off-by: Simon Glass

Re: [U-Boot] [Patch 1/2] MIPS: fix a latent bug on initialize $gp

2012-11-28 Thread Zhi-zhou Zhang
On Wed, Nov 28, 2012 at 02:33:10PM +0100, Daniel Schwierzeck wrote: 2012/11/26 Zhi-zhou Zhang zhizhou...@gmail.com: On Sun, Nov 25, 2012 at 09:30:54PM +0100, Daniel Schwierzeck wrote: 2012/11/24 Zhi-zhou Zhang zhizhou...@gmail.com: If bal is 8 bytes aligned, the _gp will not be 8 bytes

[U-Boot] arm-linux-ld: assertion failure

2012-11-28 Thread Quentin Strydom
Hi, I'm trying to build u-boot for a igep0020 nand board but failing, here are my last few lines of output: fs/libfs.o: In function `do_load': /home/qstrydom/CSI3/BPC/u-boot/fs/fs.c:297: undefined reference to `get_timer' /home/qstrydom/CSI3/BPC/u-boot/fs/fs.c:299: undefined reference to

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 09:40, Lukasz Majewski wrote: Hi Pantelis, usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. After applying this patch, I cannot build trats target anymore. Had you also merged u-boot-usb? Locally, trats builds now (which

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Lukasz Majewski
Hi Tom, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 09:40, Lukasz Majewski wrote: Hi Pantelis, usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. After applying this patch, I cannot build trats target anymore. Had you also merged u-boot-usb? Locally,

Re: [U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 09:47, Lukasz Majewski wrote: Hi Pantelis, USB initialization shouldn't happen for all the boards. The board_usb_init() follows u-boot policy, that SoC IPs (USB) are enabled and configured just before their usage.

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Lukasz Majewski
Hi Tom, Hi Pantelis, usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. After rebasing on u-boot-usb/next below comment apply: After applying this patch, I cannot build trats target anymore. With u-boot-usb/master I can compile the u-boot for trats board with no warnings and

Re: [U-Boot] [PATCH] mmc: Add an mmcsilent option

2012-11-28 Thread Wolfgang Denk
Dear Pantelis Antoniou, In message 1354174469-5625-1-git-send-email-pa...@antoniou-consulting.com you wrote: When using MMC commands for dfu there is considerable noise. Suppress mmc messages when mmcsilent is set. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com ---

Re: [U-Boot] [PATCH] fdt: Correct global_data condition in main

2012-11-28 Thread Wolfgang Denk
Dear Simon Glass, In message 1354116325-2567-1-git-send-email-...@chromium.org you wrote: We need an extra condition here in case we want to use fdt without the silent console/cmdline editing/post options. Note: It might be acceptable instead to just always declare this here. From what I

Re: [U-Boot] arm-linux-ld: assertion failure

2012-11-28 Thread Wolfgang Denk
Dear Quentin Strydom, In message 50b62e22.6090...@yahoo.co.uk you wrote: I'm trying to build u-boot for a igep0020 nand board but failing, here are my last few lines of output: ... arm-linux-ld: BFD (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022 - Linaro GCC 2012.10) 2.22 assertion fail

Re: [U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Lukasz Majewski
Hi Tom, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 09:47, Lukasz Majewski wrote: Hi Pantelis, USB initialization shouldn't happen for all the boards. The board_usb_init() follows u-boot policy, that SoC IPs (USB) are enabled and configured just before their

Re: [U-Boot] [PATCH] mmc: Add an mmcsilent option

2012-11-28 Thread Andy Fleming
On Thu, Nov 29, 2012 at 1:34 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: When using MMC commands for dfu there is considerable noise. Suppress mmc messages when mmcsilent is set. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com I'm not familiar with DFU mode,

Re: [U-Boot] [PATCH] mmc: Add an mmcsilent option

2012-11-28 Thread Pantelis Antoniou
Hi Andy, On Nov 28, 2012, at 6:49 PM, Andy Fleming wrote: On Thu, Nov 29, 2012 at 1:34 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: When using MMC commands for dfu there is considerable noise. Suppress mmc messages when mmcsilent is set. Signed-off-by: Pantelis

Re: [U-Boot] [PATCH] fdt: Correct global_data condition in main

2012-11-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 11:06, Wolfgang Denk wrote: Dear Simon Glass, In message 1354116325-2567-1-git-send-email-...@chromium.org you wrote: We need an extra condition here in case we want to use fdt without the silent console/cmdline editing/post

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Pantelis Antoniou
Hi Lukasz, On Nov 28, 2012, at 6:01 PM, Lukasz Majewski wrote: Hi Tom, Hi Pantelis, usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. After rebasing on u-boot-usb/next below comment apply: After applying this patch, I cannot build trats target anymore. With

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, Hi Lukasz, On Nov 28, 2012, at 6:01 PM, Lukasz Majewski wrote: Hi Tom, Hi Pantelis, usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. After rebasing on u-boot-usb/next below comment apply: After applying this patch, I cannot build trats target

[U-Boot] [PATCH 2/3] tegra: add LCD into default TEGRA_DEVICE_SETTINGS

2012-11-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com If LCD support is enabled, ensure that stdout and stderr are sent to the LCD too. Signed-off-by: Stephen Warren swar...@nvidia.com --- include/configs/tegra-common-post.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 1/3] tegra: only define TEGRA_DEVICE_SETTINGS if not already defined

2012-11-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com seaboard.h attempts to undefine TEGRA_DEVICE_SETTINGS and provide a custom value. This worked when the pre included tegra20-common.h provided the default. However, changes in the main U-Boot repo removed this default from the pre included tegra20-common.h

[U-Boot] [PATCH 3/3] tegra: seaboard: remove custom TEGRA_DEVICE_SETTINGS

2012-11-28 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Now that tegra-common-post.h includes lcd in the default value for TEGRA_DEVICE_SETTINGS, there is no need for seaboard.h to provide a custom value. Signed-off-by: Stephen Warren swar...@nvidia.com --- include/configs/seaboard.h |5 - 1 file

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Pantelis Antoniou
Hi Lukasz, On Nov 28, 2012, at 7:46 PM, Lukasz Majewski wrote: Hi Pantelis, Hi Lukasz, On Nov 28, 2012, at 6:01 PM, Lukasz Majewski wrote: Hi Tom, Hi Pantelis, usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. After rebasing on u-boot-usb/next below comment apply:

[U-Boot] [PATCH v2] fdt: Correct global_data condition in main

2012-11-28 Thread Simon Glass
We need an extra condition here in case we want to use fdt without the silent console/cmdline editing/post options. It is easier to just remove the #ifdef. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Remove the #ifdef as it is getting out of hand common/main.c |2 -- 1

Re: [U-Boot] [PATCH 2/2 v2] tegra: enable LCD on PAZ00

2012-11-28 Thread Tom Warren
Thanks, Marc. This series applied to u-boot-tegra/next. Tom On Tue, Nov 27, 2012 at 9:55 AM, Marc Dietrich marvi...@gmx.de wrote: This adds LCD panel descriptions to the device tree of PAZ00 and enables LCD support in the configuration. Signed-off-by: Marc Dietrich marvi...@gmx.de ---

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:27 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message 1354066303-29762-2-git-send-email-troy.ki...@boundarydevices.com you wrote: The mx53 ROM will truncate the length at a multiple of 512. Transferring too much is not a problem, so round up. What about other SoCs using the

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:27 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message 1354066303-29762-2-git-send-email-troy.ki...@boundarydevices.com you wrote: The mx53 ROM will truncate the length at a multiple of 512. Transferring too much is not a problem, so round up. What about other SoCs using the

Re: [U-Boot] [PATCH V4 00/11] imximage series

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:30 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message 1354066303-29762-1-git-send-email-troy.ki...@boundarydevices.com you wrote: This series make the file imximage.c easier to read, as well as produces a slightly smaller file. Only the 1st two patches are different from

Re: [U-Boot] [PATCH V4 04/11] imximage: prepare to move static variables to struct data_src

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:38 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message 1354066303-29762-5-git-send-email-troy.ki...@boundarydevices.com you wrote: Need to move accesses to the static variables to a function where struct data_src is used. Could you please elucidate why exactly this is

Re: [U-Boot] [PATCH 1/5] x86: Fix compilation on 64-bit build machines

2012-11-28 Thread Simon Glass
Hi Graeme, On Tue, Nov 27, 2012 at 5:38 PM, Simon Glass s...@chromium.org wrote: From: Graeme Russ graeme.r...@gmail.com Signed-off-by: Graeme Russ graeme.r...@gmail.com Signed-off-by: Simon Glass s...@chromium.org --- Makefile |1 + arch/x86/cpu/config.mk |

[U-Boot] Please pull u-boot-x86.git

2012-11-28 Thread Simon Glass
Hi Tom, (This is my first pull request for x86, so please view it with suspicion and let me know of any steps I have missed, etc.) The following changes since commit d41b3cc16fd97da23900f79e8fefdeedeebde8f6: Merge branch 'master' of git://git.denx.de/u-boot-mips (2012-11-27 20:34:51 -0700)

Re: [U-Boot] Reg Bootstrapping on x86-64 for tizen

2012-11-28 Thread Simon Glass
Hi, On Tue, Nov 27, 2012 at 3:22 AM, manohar.bet...@smartplayin.com wrote: Dear All, I am Manohar ,have compiled the u-boot on x86 64 bit machine using coreboot-x86. Please help me / send me the procedure of bootstrapping steps of it for Tizen kernel. Do you have coreboot working

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message 50b65583.1070...@boundarydevices.com you wrote: Oddly enough, I originally called it ROUND_UP. But then I saw these lines in include/common.h And why didn't you find (and use) ROUND() in include/common.h ? Best regards, Wolfgang Denk -- DENX Software

Re: [U-Boot] [PATCH V4 04/11] imximage: prepare to move static variables to struct data_src

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message 50b659ad.9090...@boundarydevices.com you wrote: Could you please elucidate why exactly this is _needed_? My goal was to reduce the number of static variables, but strictly speaking it has little benefit other than giving me a warm fuzzy feeling. I'm not that

Re: [U-Boot] [PATCH V4 08/11] imximage: enable word writes for version2 header

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:39 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message 1354066303-29762-9-git-send-email-troy.ki...@boundarydevices.com you wrote: Before, only 1 write_dcd_command table was built. Now, a new table is built when the size changes. I cannot see how the Subject: and the actual

Re: [U-Boot] [PATCH 3/3] tegra: Enable LCD on TEC

2012-11-28 Thread Simon Glass
Hi Thierry, On Fri, Nov 23, 2012 at 2:58 AM, Thierry Reding thierry.red...@avionic-design.de wrote: The TEC ships with a 7 LCD panel that provides a resolution of 800x480 pixels. Add a corresponding panel description to the device tree and enable LCD support in the configuration.

Re: [U-Boot] [PATCH 2/3] tegra: Enable LCD on Medcom-Wide

2012-11-28 Thread Simon Glass
On Fri, Nov 23, 2012 at 2:58 AM, Thierry Reding thierry.red...@avionic-design.de wrote: The Medcom-Wide has a 15 LCD panel with a resolution of 1366x768 pixels. Add a corresponding panel description to the device tree and enable LCD support in the configuration. Signed-off-by: Thierry Reding

  1   2   >