Re: [U-Boot] [PATCH 5/7] dfu:cmd: Support for DFU u-boot command

2012-07-25 Thread Lukasz Majewski
Hi Mike, On Monday 23 July 2012 12:01:04 Lukasz Majewski wrote: Dear Mike, On Tuesday 03 July 2012 05:38:09 Lukasz Majewski wrote: --- /dev/null +++ b/common/cmd_dfu.c +int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) static It can be

Re: [U-Boot] [PATCH] usb: fallback safely when a configuration descriptor is too large

2012-07-25 Thread Simon Glass
Hi Vincent, On Tue, Jul 24, 2012 at 6:12 PM, Vincent Palatin vpala...@chromium.org wrote: When a USB configuration descriptor was larger than our USB buffer (512 bytes), we were skipping the full descriptor reading but then we were still parsing and using it, triggering memory corruptions.

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-25 Thread Stefano Babic
On 24/07/2012 22:11, Joe Hershberger wrote: Previously u-boot would initialize the network interface for every network operation and then shut it down again. This makes sense for most operations where the network in not known to be needed soon after the operation is complete. In the case of

Re: [U-Boot] RFC - PatchTrack Specification (revised)

2012-07-25 Thread Andy Pont
Wolfgang wrote... A revised version of the spec (sorry, I would have used reply-to but something went amiss with gmail and I've lost the original) http://www.denx.de/wiki/U-Boot/ToolsPatchTracking updated. I have been and had a look at the specification that you have posted and am happy

Re: [U-Boot] RFC - PatchTrack Specification (revised)

2012-07-25 Thread Wolfgang Denk
Dear Andy, In message 004e01cd6a51$57d5ff70$0781fe50$@p...@sdcsystems.com you wrote: I have been and had a look at the specification that you have posted and am happy to get my hands dirty helping with implement and test this. Thanks in advance. I know that a good proportion (possibly

Re: [U-Boot] Query on S3C2412

2012-07-25 Thread Chander Kashyap
ccng'g to minkyu On 25 July 2012 17:07, Subash Patel subash.ramasw...@linaro.org wrote: Hi Chander, Do you or Minku or someone in SLSI maintain mainline u-boot for old SoC's like S3C24XX? Your answer may be useful to Jose. Regards, Subash On 07/25/2012 04:42 PM, José Miguel Gonçalves

Re: [U-Boot] RFC - PatchTrack Specification (revised)

2012-07-25 Thread Graeme Russ
Hi Wolfgang, On Wed, Jul 25, 2012 at 9:00 PM, Wolfgang Denk w...@denx.de wrote: Dear Andy, In message 004e01cd6a51$57d5ff70$0781fe50$@p...@sdcsystems.com you wrote: I have been and had a look at the specification that you have posted and am happy to get my hands dirty helping with implement

[U-Boot] [PATCH 2/2] GPIO: pca953x: fix error reporting

2012-07-25 Thread Laurence Withers
Use the standard CMD_RET_* constants to clearly report errors from the pca953x command. In addition, print error messages when I2C communication fails. Signed-off-by: Laurence Withers lwith...@guralp.com --- drivers/gpio/pca953x.c | 49 ++- 1 files

[U-Boot] [PATCH 1/2] GPIO: pca953x: fix spelling in help

2012-07-25 Thread Laurence Withers
Signed-off-by: Laurence Withers lwith...@guralp.com --- drivers/gpio/pca953x.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c index 359fdee..64c7797 100644 --- a/drivers/gpio/pca953x.c +++ b/drivers/gpio/pca953x.c @@

Re: [U-Boot] [PATCH 11/13] i.MX28: Add battery boot components to SPL

2012-07-25 Thread Lauri Hintsala
Hi Marek, On 05/02/2012 12:09 AM, Marek Vasut wrote: From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Detlev Zundel d...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de ---

Re: [U-Boot] [PATCH 11/13] i.MX28: Add battery boot components to SPL

2012-07-25 Thread Lauri Hintsala
On 07/25/2012 05:17 PM, Lauri Hintsala wrote: Hi Marek, On 05/02/2012 12:09 AM, Marek Vasut wrote: From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Detlev Zundel d...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Stefano Babic

[U-Boot] [U-BOOT]: Add support for numonyx spi flash.

2012-07-25 Thread jagan
Hi, We have a numonyx spi flash (N25Q128) on my target. I tried using u-boot stmicro.c driver as numonyx and stmicro have same manufacturing ID's. The driver detects M25P128 as below ID table { .idcode1 = 0x18, .page_size = 256, .pages_per_sector

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 15:38:55 Horst Kronstorfer wrote: On 07/24/2012 05:28 PM, Mike Frysinger wrote: On Tuesday 24 July 2012 06:11:04 Horst Kronstorfer wrote: On 07/19/2012 05:22 AM, Mike Frysinger wrote: On Friday 13 July 2012 09:03:40 Horst Kronstorfer wrote: Add '-undef' to

Re: [U-Boot] [PATCH] net: Make the netconsole buffer size configurable

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 16:10:56 Joe Hershberger wrote: --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c -static char input_buffer[512]; +#ifdef CONFIG_NETCONSOLE_BUFFER_SIZE +#define BUFFER_SIZE CONFIG_NETCONSOLE_BUFFER_SIZE +#else +#define BUFFER_SIZE 512 +#endif +

Re: [U-Boot] [PATCH] net: Make netconsole src and dest ports configurable

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 16:11:05 Joe Hershberger wrote: --- a/tools/netconsole +++ b/tools/netconsole +board_in_port=${3:-$board_out_port} board_in_port=${3:-${board_out_port}} +echo Board out port: $board_out_port +echo Board in port: $board_in_port echo Board out port:

[U-Boot] [PATCH v4 3/4] kirkwood: implement kw_sdram_size_adjust

2012-07-25 Thread Gerlando Falauto
Size of the SDRAM chips might differ between any two (otherwise identical) instances of the same board. So add a function kw_sdram_size_adjust() which reads out the current ram size for a given bank, and adjusts the Kirkwood's SDRAM window size register accordingly. Signed-off-by: Gerlando

[U-Boot] [PATCH v4 4/4] arm/km: use kw_sdram_size_adjust to adjust SDRAM size

2012-07-25 Thread Gerlando Falauto
From: Holger Brunck holger.bru...@keymile.com Some boards may differ only in the SDRAM size. This function allows to fix the size accordingly and we can use the same u-boot binary for both boards. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Gerlando Falauto

[U-Boot] Binary file header

2012-07-25 Thread Thiago De Quadros
Hey everyone, I'm trying to find the structure of the binary file header that's created after the u-boot compilation. For example, I already found several informations about the image header structure, and I know that a file u-boot.im is actually the file u-boot.bin with an extra header of

Re: [U-Boot] [PATCH v3 6/8] net/bootp: add VCI support for BOOTP also

2012-07-25 Thread Ilya Yanok
Hi Joe, On Wed, Jul 25, 2012 at 3:29 AM, Joe Hershberger joe.hershber...@gmail.comwrote: +#define put_vci(e, str)\ + do {\ + *e++ = 60; \ Please keep the comment on the magic

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-25 Thread Mike Frysinger
On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -131,8 +131,17 @@ static void nc_send_packet(const char *buf, int len) } if (eth-state != ETH_STATE_ACTIVE) { - if (eth_init(gd-bd) 0) -

Re: [U-Boot] [PATCH 11/13] i.MX28: Add battery boot components to SPL

2012-07-25 Thread Marek Vasut
Dear Lauri Hintsala, On 07/25/2012 05:17 PM, Lauri Hintsala wrote: Hi Marek, On 05/02/2012 12:09 AM, Marek Vasut wrote: From: Marek Vasut marek.va...@gmail.com Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Detlev Zundel d...@denx.de Cc: Fabio Estevam

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2012-07-25 Thread Tom Rini
On Mon, Jul 23, 2012 at 08:16:12AM +0200, Wolfgang Denk wrote: [snip] Running a full MAKEALL for all architectures and boards, for all ( 40) repositories, every 24 hours, requires more CPU and I/O cycles that we can currently afford. MAKEALL is indeed consuming. But I wanted to follow up

Re: [U-Boot] powerdown can't work (mx28)

2012-07-25 Thread Marek Vasut
Dear alex, Hi: I find that mx28_powerdown function can't power down mx28, and continue to load kernel I don't know whether this issue is on your side. My board is changed frommx28evk. Was mx28_powerdown function tested? Best I think this question was here already. What do you expect

[U-Boot] [PATCH] powerpc/85xx: use CONFIG_SYS_FSL_PCIE_COMPAT macro when setting the PCI LIODNs

2012-07-25 Thread Timur Tabi
The SET_PCI_LIODN() macro takes a compatible property string as a parameter, so that it knows which PCI device tree node to look for. The calls to these macros are using a hard-coded string, but we already have the CONFIG_SYS_FSL_PCIE_COMPAT macro which contains the same string, so we should

Re: [U-Boot] powerdown can't work (mx28)

2012-07-25 Thread alex
The poweroff function in kernel can work. The similar code can be found in bootlet from FSL, and it also can work . After poweroff the system, press pswitch key and the board can startup. At 2012-07-26 04:42:28,Marek Vasut marek.va...@gmail.com wrote: Dear alex, Hi: I find that

Re: [U-Boot] [PATCH 0/3] mmc: sdhci: fixed some problems for Exynos

2012-07-25 Thread Jaehoon Chung
Hi, This patch-set need to merge for Exynos. Maybe didn't work eMMC at Exynos board in now. Best Regards, Jaehoon Chung On 07/20/2012 01:59 PM, Jaehoon Chung wrote: To use SDHCI for Samsung-SoC, Some problem is fixed. See the below mmcinfo message: 1. eMMC card: Device: SAMSUNG SDHCI

[U-Boot] [PATCH 0/4] arm: rmobile: kzm9g: update

2012-07-25 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Hi, Iwamatsu-san These are minor bug fixes for kzm9g board. Tetsuyuki Kobayashi (4): arm: rmobile: kzm9g: add NFS_TIMEOUT in config file arm: rmobile: kzm9g: remove unrelated config arm: rmobile: kzm9g: fix CPU info arm: rmobile: kzm9g:

[U-Boot] [PATCH 4/4] arm: rmobile: kzm9g: separate cpu_rev to integer and fraction

2012-07-25 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp According to SoC document, revision info is separated to integer part and fracton part. So I separete rmobile_get_cpu_rev() to rmobile_get_cpu_rev_integer() and rmobile_get_cpu_rev_fraction(). Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp ---

[U-Boot] [PATCH 1/4] arm: rmobile: kzm9g: add NFS_TIMEOUT in config file

2012-07-25 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Set NFS_TIMEOUT to 10,000 msec. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- This patch needs net: nfs: make NFS_TIMEOUT configurable, which is applied in u-boot-master next branch, to take effect. include/configs/kzm9g.h |1 + 1 file

[U-Boot] [PATCH 3/4] arm: rmobile: kzm9g: fix CPU info

2012-07-25 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp CPU info register was read wrongly by mistake. And function rmobile_get_cpu_rev() was not called properly. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- arch/arm/cpu/armv7/rmobile/cpu_info-sh73a0.c |6 +++---

[U-Boot] [PATCH 2/4] arm: rmobile: kzm9g: remove unrelated config

2012-07-25 Thread Tetsuyuki Kobayshi
From: Tetsuyuki Kobayashi k...@kmckk.co.jp Remove CONFIG_INTEGRATOR and CONFIG_ARCH_CINTEGRATOR. These are not for kzm9g. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- include/configs/kzm9g.h |2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/kzm9g.h