Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-10 Thread Simon Glass
Hi, On Jul 10, 2013 11:04 PM, "Sughosh Ganu" wrote: > > On Wed, Jul 10, 2013 at 3:21 PM, Sughosh Ganu wrote: > > > hi Tom, > > > > On Tue Jul 09, 2013 at 05:19:32PM -0400, Tom Rini wrote: > > > > > > > > > > Yes, I am not really comfortable with this. I will see if I can write > > some > > > > sa

Re: [U-Boot] [PATCH 3/7] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-07-10 Thread Sourav Poddar
On Thursday 11 July 2013 05:28 AM, Nishanth Menon wrote: [...] diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h index 338a241..2441c55 100644 --- a/board/ti/dra7xx/mux_data.h +++ b/board/ti/dra7xx/mux_data.h @@ -53,5 +53,15 @@ const struct pad_conf_entry core_padconf_array_e

Re: [U-Boot] [PATCH V2] p1020rdb-pd: platform support

2013-07-10 Thread Zhang Haijun-B42677
Hi, scott I had update this patch. Did I need any other changes? If need let me know. Thanks. Regards Haijun. > -Original Message- > From: Zhang Haijun-B42677 > Sent: Friday, June 28, 2013 10:47 AM > To: Fleming Andy-AFLEMING > Cc: u-boot@lists.denx.de; Zhang Haijun-B42677; Huang Chan

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-10 Thread Sourav Poddar
On Wednesday 10 July 2013 07:13 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/10/2013 09:23 AM, Nishanth Menon wrote: On Wed, Jul 10, 2013 at 6:25 AM, Sourav Poddar wrote: From: Matt Porter I think it's good form to update folks addresses, Matt is now matt.por...@l

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-10 Thread Sourav Poddar
On Wednesday 10 July 2013 07:10 PM, Lokesh Vutla wrote: On Wednesday 10 July 2013 04:55 PM, Sourav Poddar wrote: From: Matt Porter Add QSPI definitions and clock configuration support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- arch/arm/cpu/armv7/omap5/hw_data.c |7 +

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-10 Thread Sourav Poddar
On Wednesday 10 July 2013 06:53 PM, Nishanth Menon wrote: On Wed, Jul 10, 2013 at 6:25 AM, Sourav Poddar wrote: From: Matt Porter Add QSPI definitions and clock configuration support. OMAP54xx does not have QSPI. DRA7 has QSPI? Yes. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar

[U-Boot] [PATCH 1/4] bootm: Remove extra OK message

2013-07-10 Thread Simon Glass
This is not needed as we already print 'OK' later in all cases. Signed-off-by: Simon Glass --- common/cmd_bootm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index a783cea..7a7c760 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -396,7 +

[U-Boot] [PATCH 0/4] Correct some remaining bootm problems

2013-07-10 Thread Simon Glass
The tortuous refactoring of bootm and fit_image_load() has thrown up four more issues: - Support for bootm (without arguments) on many OSes is broken since the OS functions do not handle the PREP stage, which is now required - In the case of loading a FIT image with a bootm-selected kernel configu

[U-Boot] [PATCH 4/4] bootm: Correct the arguments for the ELF image loader

2013-07-10 Thread Simon Glass
The arguments were out of place since commit 983c72f, since this file was missed and not tested. Correct this. Signed-off-by: Simon Glass --- common/cmd_elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_elf.c b/common/cmd_elf.c index ab9c7e3..f741f6b 1006

[U-Boot] [PATCH 2/4] blackfin: x86: bootm: Handle PREP stage of bootm

2013-07-10 Thread Simon Glass
The OS function is now always called with the PREP stage. Adjust the remaining bootm OS functions to deal with this correctly. Signed-off-by: Simon Glass --- arch/blackfin/lib/boot.c | 2 ++ arch/x86/lib/bootm.c | 2 ++ common/cmd_bootm.c | 16 3 files changed, 20 in

[U-Boot] [PATCH 3/4] bootm: Use selected configuration for ramdisk and fdt

2013-07-10 Thread Simon Glass
If a specific configuraion is selected by the bootm command, e.g. with 'bootm 8400#recoveryconf' we must honour this for not just the kernel, but also the ramdisk and FDT. In the conversion to using a common fit_image_load() function for loading images from FITs (commits a51ec63 and 53f375f) t

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-10 Thread Sughosh Ganu
On Wed, Jul 10, 2013 at 3:21 PM, Sughosh Ganu wrote: > hi Tom, > > On Tue Jul 09, 2013 at 05:19:32PM -0400, Tom Rini wrote: > > > > > > Yes, I am not really comfortable with this. I will see if I can write > some > > > sandbox tests for the other image types today and post my results. I > guess >

Re: [U-Boot] twister: usb host support

2013-07-10 Thread Tapani
Stefano, Jeroen, On Wed, 10 Jul 2013 18:04:04 +0200 Jeroen Hofstee wrote: > Hello Stefano / Tapani, > > On 07/10/2013 04:27 PM, Stefano Babic wrote: > > On 09/07/2013 21:46, Jeroen Hofstee wrote: > >> I cannot find any document mentioning gpio_25 though. > >> Any reason for this usage? > > Th

Re: [U-Boot] Separately compile Master boot loader

2013-07-10 Thread Rajdeep Vaghasia
Hi Albert, I would like to explain you my exact idea. For that, The Partition layout is: 1) Master u-boot 2) u-boot-1 3) u-boot-2 4) kernel 5) filesystem 6) data Sometimes, When we may require to update with a new u-boot(to provide some additional support), we have to overwrite the existing u-boo

Re: [U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-10 Thread Lokesh Vutla
On Thursday 11 July 2013 01:35 AM, Dan Murphy wrote: > * Enable the OMAP5 EHCI host clocks > * Add OMAP5 EHCI register definitions > * Add OMAP5 ES2 host revision > > Signed-off-by: Dan Murphy > --- > arch/arm/cpu/armv7/omap5/hw_data.c | 13 ++ > arch/arm/include/asm/arch-omap5/cl

Re: [U-Boot] [PATCH 3/7] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-07-10 Thread Nishanth Menon
[...] diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h index 338a241..2441c55 100644 --- a/board/ti/dra7xx/mux_data.h +++ b/board/ti/dra7xx/mux_data.h @@ -53,5 +53,15 @@ const struct pad_conf_entry core_padconf_array_essential[] = { {UART1_RTSN, (IEN | PTU | PDIS | M3

Re: [U-Boot] [[PATCH v3 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-10 Thread Nishanth Menon
On 07/10/2013 03:06 PM, Dan Murphy wrote: Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c | 21 + board/ti/omap5_uevm/mux_data.h |2 ++ include/configs/omap5_uevm.h

[U-Boot] [PATCH] image: Don't relocate ramdisk to highmem

2013-07-10 Thread Thierry Reding
From: Thierry Reding The Linux kernel cannot unpack a ramdisk that's stored in high memory. Unless the initrd_high environment variable is explicitly set, abide by that restriction using the getenv_bootm_low() and getenv_bootm_mapsize() helpers. Signed-off-by: Thierry Reding --- common/image.c

Re: [U-Boot] [[PATCH v2 1/6] omap5: uevm: Change the board name to correct name

2013-07-10 Thread Nishanth Menon
On 07/10/2013 03:05 PM, Dan Murphy wrote: Change the board name for the sys info to 5432 uEVM Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index 90046e8..00

Re: [U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-10 Thread Dan Murphy
On 07/10/2013 05:20 PM, Marek Vasut wrote: > Dear Dan Murphy, > >> Add a __weak function that can be overridden to reset devices >> attached to an ehci devices after the FEAT_POWER has been submitted >> >> Signed-off-by: Dan Murphy >> --- >> drivers/usb/host/ehci-hcd.c |7 +++ >> 1 file c

Re: [U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-10 Thread Marek Vasut
Dear Dan Murphy, > Add a __weak function that can be overridden to reset devices > attached to an ehci devices after the FEAT_POWER has been submitted > > Signed-off-by: Dan Murphy > --- > drivers/usb/host/ehci-hcd.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/us

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

2013-07-10 Thread Albert ARIBAUD
Hello Tom, The following changes since commit fbf87b1823dd5ebc2a384711ea2c677543019ece: arm: optimize relocate_code routine (2013-06-21 23:05:50 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to 630aacb0859c6e26b2b0311d8e245da

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

2013-07-10 Thread Albert ARIBAUD
Hi Minkyu, On Wed, 10 Jul 2013 21:24:47 +0900, Minkyu Kang wrote: > Dear Albert, > > The following changes since commit 7737c994609ffb50194d5ddb67467ae0fcd8f775: > > net2big_v2: initialize LEDs at startup (2013-06-20 14:01:23 +0530) > > are available in the git repository at: > > git://g

Re: [U-Boot] [PATCH v3] bootm: Handle errors consistently

2013-07-10 Thread Simon Glass
Hi Tom, On Wed, Jul 10, 2013 at 6:25 AM, Tom Rini wrote: > From: Simon Glass > > A recent bootm fix left the error path incomplete. If CONFIG_TRACE is > set it may still not be a supported command, so cover that with the > unsupported subcommand print. Once we handle BOOTM_STATE_OS_GO, we can

[U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-10 Thread Dan Murphy
Add a __weak function that can be overridden to reset devices attached to an ehci devices after the FEAT_POWER has been submitted Signed-off-by: Dan Murphy --- drivers/usb/host/ehci-hcd.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host

[U-Boot] [[PATCH v3 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-10 Thread Dan Murphy
Add the tca642x gpio expander driver Datasheet: http://www.ti.com/product/tca6424a Signed-off-by: Dan Murphy --- drivers/gpio/Makefile |1 + drivers/gpio/tca642x.c | 322 include/tca642x.h | 66 ++ 3 files changed, 389 insert

[U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-10 Thread Dan Murphy
* Enable the OMAP5 EHCI host clocks * Add OMAP5 EHCI register definitions * Add OMAP5 ES2 host revision Signed-off-by: Dan Murphy --- arch/arm/cpu/armv7/omap5/hw_data.c | 13 ++ arch/arm/include/asm/arch-omap5/clock.h |6 + arch/arm/include/asm/arch-omap5/ehci.h | 43 ++

[U-Boot] [[PATCH v2 6/6] ARM: OMAP5-uevm: Add USB ehci support for the uEVM

2013-07-10 Thread Dan Murphy
Add the USB ehci support for the OMAP5 uEVM. Configure the uEVM mux data Add the flags to build the appropriate modules Add the usb call backs to initialize the EHCI controller Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c | 58 board/ti

[U-Boot] [[PATCH v3 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-10 Thread Dan Murphy
Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c | 21 + board/ti/omap5_uevm/mux_data.h |2 ++ include/configs/omap5_uevm.h |5 + 3 files changed, 28 insertions(+)

[U-Boot] [[PATCH v2 4/6] ARM: OMAP: USB: Fix linker error when ULPI is not defined

2013-07-10 Thread Dan Murphy
Fix the linker error for missing ulpi_reset when ulpi is not defined in the board config. Signed-off-by: Dan Murphy --- drivers/usb/host/ehci-omap.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 17f2214..bd7191c 10

[U-Boot] [[PATCH v2 1/6] omap5: uevm: Change the board name to correct name

2013-07-10 Thread Dan Murphy
Change the board name for the sys info to 5432 uEVM Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index 90046e8..00bd72d 100644 --- a/board/ti/omap5_uevm/evm.c +

[U-Boot] OMAP5 USB EHCI

2013-07-10 Thread Dan Murphy
The V2 patchset is based off the V1 patchset submitted below: http://patchwork.ozlabs.org/patch/257607/ http://patchwork.ozlabs.org/patch/257606/ http://patchwork.ozlabs.org/patch/257604/ There was a request to break the patches out into logical incremental patches which is what is done below. Al

[U-Boot] [[PATCH v2 2/6] ARM: OMAP5: Power: Add USB LDO9 enable interface

2013-07-10 Thread Dan Murphy
Add an interface to the palmas driver to enable the LDO9 power supply for the USB hub IC. Signed-off-by: Dan Murphy --- drivers/power/palmas.c | 34 ++ include/palmas.h |1 + 2 files changed, 35 insertions(+) diff --git a/drivers/power/palmas.c b/driv

Re: [U-Boot] [PATCH 3/3] HACK: ehci-omap: do gpio toggle after port power is set

2013-07-10 Thread Dan Murphy
On 07/09/2013 04:59 AM, Roger Quadros wrote: > On 07/08/2013 11:59 PM, Dan Murphy wrote: >> Need to check why gpio toggling in ehci-omap is not >> working and works only from ehci-hcd. > do you mean HSIC detection is not working? > > GPIO toggling has to work from anywhere. GPIO toggling does work.

[U-Boot] [PULL] u-boot-usb/master

2013-07-10 Thread Marek Vasut
The following changes since commit 225fd8c5d4556547896a5d32ee092a258f3df638:

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-10 Thread Sughosh Ganu
hi Albert, On Wed Jul 10, 2013 at 02:30:30PM +0200, Albert ARIBAUD wrote: > > > You are correct re the other policies of the DDI0198E (ARM926EJ-S > > > TRM) MMU -- page 3-11, bits 3-2 of the section descriptor. Note however > > > that you may have to refer to your specific SoC's TRM or equivalent

Re: [U-Boot] [PATCH 0/7] USB: XHCI: Add xHCI host controller stack driver

2013-07-10 Thread Dan Murphy
Vivek On 07/03/2013 06:15 AM, Vivek Gautam wrote: > Dear Dan, > > Please suggest on how you are planning going ahead and merging the two > versions of xHCI stack. > Sorry for the delay on the reply US holiday. I need to dive into your code and see exactly what you were doing and how to meld the

Re: [U-Boot] twister: usb host support

2013-07-10 Thread Jeroen Hofstee
Hello Stefano / Tapani, On 07/10/2013 04:27 PM, Stefano Babic wrote: On 09/07/2013 21:46, Jeroen Hofstee wrote: I cannot find any document mentioning gpio_25 though. Any reason for this usage? That is right. There is no written documentation by Technexion about this pin. I have added in CC Tap

Re: [U-Boot] [PATCH 1/2] cmd_bootm.c: Make bootz consume 'bootz' from argv, decrement argc

2013-07-10 Thread Stephen Warren
On 07/10/2013 03:53 AM, Simon Glass wrote: > On Tue, Jul 9, 2013 at 9:59 PM, Stephen Warren > wrote: > > On 07/09/2013 01:34 PM, Tom Rini wrote: > > Like 'bootm', 'bootz' needs to consume 'bootz' so that the rest of the > > state functions will work. > >

Re: [U-Boot] [PATCH v5 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-10 Thread Stephen Warren
On 07/09/2013 09:48 PM, Jim Lin wrote: > On Tue, 2013-07-09 at 06:17 +0800, Joe Hershberger wrote: >> Hi Jim and Stephen, >> >> On Wed, Jul 3, 2013 at 11:01 PM, Jim Lin wrote: >>> TFTP booting is slow when a USB keyboard is installed and >>> CONFIG_USB_KEYBOARD is defined. >>> This fix is to chang

Re: [U-Boot] [PATCH] OMAP5: USB_EHCI: Enable ehci support for omap5

2013-07-10 Thread Dan Murphy
Lokesh On 07/08/2013 10:21 PM, Lokesh Vutla wrote: > Hi Dan, > On Tuesday 09 July 2013 02:29 AM, Dan Murphy wrote: >> From: "Govindraj.R" >> >> * Enable all usb ehci related clocks. >> * Add ehci support to omap5 board file and arch specific >> sysc reg mask values. >> * Enable config options fo

Re: [U-Boot] [PATCH] OMAP5: USB_EHCI: Enable ehci support for omap5

2013-07-10 Thread Dan Murphy
Lokesh On 07/08/2013 10:21 PM, Lokesh Vutla wrote: > Hi Dan, > On Tuesday 09 July 2013 02:29 AM, Dan Murphy wrote: >> From: "Govindraj.R" >> >> * Enable all usb ehci related clocks. >> * Add ehci support to omap5 board file and arch specific >> sysc reg mask values. >> * Enable config options fo

Re: [U-Boot] twister: usb host support

2013-07-10 Thread Stefano Babic
Hi Jeroen, On 09/07/2013 21:46, Jeroen Hofstee wrote: > Hello Stefano, > > The twister always had a fragile usb support in u-boot > in the past. Since some floating patches mentioned > alternating success after usb hub resets, I had a look > if these patches fixed the twister as well, they don't

Re: [U-Boot] [PATCH 3/7] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-07-10 Thread Lokesh Vutla
On Wednesday 10 July 2013 04:55 PM, Sourav Poddar wrote: > From: Matt Porter > > Enables support for SPI SPL, QSPI and Spansion serial flash device > on the EVM. Configures pin muxes for QSPI mode. > > Signed-off-by: Matt Porter > Signed-off-by: Sourav Poddar > --- > board/ti/dra7xx/mux_data.

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-10 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/10/2013 09:23 AM, Nishanth Menon wrote: > On Wed, Jul 10, 2013 at 6:25 AM, Sourav Poddar > wrote: >> From: Matt Porter I think it's good form to update folks addresses, Matt is now matt.por...@linaro.org >> Add QSPI definitions and clock con

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-10 Thread Lokesh Vutla
On Wednesday 10 July 2013 04:55 PM, Sourav Poddar wrote: > From: Matt Porter > > Add QSPI definitions and clock configuration support. > > Signed-off-by: Matt Porter > Signed-off-by: Sourav Poddar > --- > arch/arm/cpu/armv7/omap5/hw_data.c |7 ++- > arch/arm/cpu/armv7/omap5/prcm-r

Re: [U-Boot] [RFC][PATCH] arm: Fix flush_dcache_range() on arm926

2013-07-10 Thread Marek Vasut
Hi Albert, > Hi Marek, > > On Wed, 10 Jul 2013 02:30:29 +0200, Marek Vasut wrote: > > The flush_dcache_range() on arm926 did not work as expected on i.MX28. > > > > This can be observed during the operation of the FEC ethernet driver > > where the driver did occasionally fail with timeout tryin

[U-Boot] [PATCH v3] bootm: Handle errors consistently

2013-07-10 Thread Tom Rini
From: Simon Glass A recent bootm fix left the error path incomplete. If CONFIG_TRACE is set it may still not be a supported command, so cover that with the unsupported subcommand print. Once we handle BOOTM_STATE_OS_GO, we can just move into the error handler itself, no need for a goto there. S

Re: [U-Boot] [PATCH] video: Allocate the MXSFB framebuffer aligned

2013-07-10 Thread Stefano Babic
On 10/07/2013 02:52, Marek Vasut wrote: > Allocate the framebuffer aligned so it can be flushed > and the flush_dcache_range() function won't complain. > > Signed-off-by: Marek Vasut > Cc: Anatolij Gustschin > Cc: Fabio Estevam > Cc: Otavio Salvador > Cc: Stefano Babic > --- > drivers/video/

Re: [U-Boot] [PATCH]mx6qsabresd: Add splash screen support via HDMI

2013-07-10 Thread Stefano Babic
Hi Pardeep, On 09/07/2013 23:58, Pardeep Kumar Singla wrote: > Signed-off-by: Pardeep Kumar Singla > --- > board/freescale/mx6qsabresd/mx6qsabresd.c | 92 > - > include/configs/mx6qsabre_common.h|3 +- > include/configs/mx6qsabresd.h | 13

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-10 Thread Nishanth Menon
On Wed, Jul 10, 2013 at 6:25 AM, Sourav Poddar wrote: > From: Matt Porter > > Add QSPI definitions and clock configuration support. > OMAP54xx does not have QSPI. DRA7 has QSPI? > Signed-off-by: Matt Porter > Signed-off-by: Sourav Poddar > --- > arch/arm/cpu/armv7/omap5/hw_data.c |7

Re: [U-Boot] [PATCH 1/2] cmd_bootm.c: Make bootz consume 'bootz' from argv, decrement argc

2013-07-10 Thread Tom Rini
On Tue, Jul 09, 2013 at 03:34:56PM -0400, Tom Rini wrote: > Like 'bootm', 'bootz' needs to consume 'bootz' so that the rest of the > state functions will work. > > Signed-off-by: Tom Rini This and 2/2 have now been applied to u-boot/master. -- Tom signature.asc Description: Digital signatur

Re: [U-Boot] [PATCH v2 2/5] bootm: Disable interrupts only when loading

2013-07-10 Thread Tom Rini
On Thu, Jul 04, 2013 at 01:26:08PM -0700, Simon Glass wrote: > With the move of the interrupt code to earlier in the sequence, we > exposed a problem where the interrupts are disabled at each bootm > stage. This is not correct - it should be done only once. Let's disable > interrupts in the LOAD s

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-10 Thread Tom Rini
On Thu, Jul 04, 2013 at 01:17:07PM -0700, Simon Glass wrote: > A recent bootm fix left the error path incomplete. Reinstate this so that > failures in bootm stages are handled properly. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Correct checking in the no-error case > > common/c

Re: [U-Boot] [RFC][PATCH] arm: Fix flush_dcache_range() on arm926

2013-07-10 Thread Albert ARIBAUD
Hi Marek, On Wed, 10 Jul 2013 02:30:29 +0200, Marek Vasut wrote: > The flush_dcache_range() on arm926 did not work as expected on i.MX28. > > This can be observed during the operation of the FEC ethernet driver > where the driver did occasionally fail with timeout trying to transmit > a frame.

Re: [U-Boot] [PATCH v3 4/7] ARM: switch to non-secure state during bootm execution

2013-07-10 Thread Nikolay Nikolaev
Hello Andre, On Wed, Jul 10, 2013 at 2:54 AM, Andre Przywara wrote: > To actually trigger the non-secure switch we just implemented, call > the switching routine from within the bootm command implementation. > This way we automatically enable this feature without further user > intervention. > >

Re: [U-Boot] [PATCH v3 3/7] ARM: add assembly routine to switch to non-secure state

2013-07-10 Thread Nikolay Nikolaev
Hello Andre, On Wed, Jul 10, 2013 at 2:54 AM, Andre Przywara wrote: > While actually switching to non-secure state is one thing, another > part of this process is to make sure that we still have full access > to the interrupt controller (GIC). > The GIC is fully aware of secure vs. non-secure st

Re: [U-Boot] Pull request: u-boot-video/master (updated)

2013-07-10 Thread Tom Rini
On Mon, Jul 08, 2013 at 09:19:08PM +0200, Anatolij Gustschin wrote: > Hey Tom, > > here is an updated pull request, please pull. Thanks! > > Anatolij > > The following changes since commit e6bf18dba2a21bebf2c421b1c2e188225f6485a1: > > Prepare v2013.07-rc2 (2013-06-28 18:03:51 -0400) > > are

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-10 Thread Albert ARIBAUD
Hi Sughosh, On Wed, 10 Jul 2013 15:35:10 +0530, Sughosh Ganu wrote: > hi Albert, > > On Tue Jul 09, 2013 at 10:28:13AM +0200, Albert ARIBAUD wrote: > > > > > The arm926ej-s data cache does not have a single fixed policy, and > > > > does not have a bypass-on-write policy, only write-through an

[U-Boot] please pull u-boot-samsung master

2013-07-10 Thread Minkyu Kang
Dear Albert, The following changes since commit 7737c994609ffb50194d5ddb67467ae0fcd8f775: net2big_v2: initialize LEDs at startup (2013-06-20 14:01:23 +0530) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to 1ae76d438b602fe8be1f0e

Re: [U-Boot] Separately compile Master boot loader

2013-07-10 Thread Albert ARIBAUD
Hi Rajdeep, On Wed, 10 Jul 2013 15:04:12 +0530, Rajdeep Vaghasia wrote: > Waiting for a reply. Well, maybe if you had not e-mailed your 8:32 AM answer to me but to the list... :) Here it is, with my comments. > On Tue, Jul 9, 2013 at 5:31 PM, Albert ARIBAUD > wrote: > > > Hi Rajdeep, > > >

Re: [U-Boot] [PATCH V2 1/1] EXYNOS: Resolve the i2c compilation error for

2013-07-10 Thread Minkyu Kang
On 10/07/13 14:12, amar_g wrote: > This patch resolves the below mentioned compilation error of i2c driver > for non-FDT case > > Compilation error: > s3c24x0_i2c.c: In function 'board_i2c_init': > s3c24x0_i2c.c:544:18: error: 'CONFIG_MAX_I2C_NUM' undeclared (first use > in this function) s3c24x0

Re: [U-Boot] net, phy: wrong 1000BASE detection with a lan9303 switch

2013-07-10 Thread Heiko Schocher
Hello Wolfgang, Am 10.07.2013 13:15, schrieb Wolfgang Denk: Dear Heiko, In message<51dd3d92.8050...@denx.de> you wrote: Would this be an acceptable patch for it: ... @@ -300,6 +300,10 @@ int genphy_parse_link(struct phy_device *phydev) * both PHYs in the link

[U-Boot] [PATCH 7/7] README: qspi usecase and testing documentation.

2013-07-10 Thread Sourav Poddar
Contains documentation and testing details for qspi flash interface. Signed-off-by: Sourav Poddar --- doc/README.ti_qspi_dra_test | 38 ++ doc/README.ti_qspi_flash| 47 +++ 2 files changed, 85 insertions(+), 0 deleti

[U-Boot] [RFC/PATCH 5/7] drivers: mtd: qspi: Add quad read support

2013-07-10 Thread Sourav Poddar
From: Ravikumar Kattekola Add Quad read mode (6 pin interface) support to spi flash and ti qspi driver. Quad mode (0x6bh on spansion) uses two extra pins (D2 and D3) for data transfer apart from the usual D0 and D1 pins thus transfering 4 bits per cycle. Signed-off-by: Ravikumar Kattekola Sign

[U-Boot] [PATCH 2/7] spi: add TI QSPI driver

2013-07-10 Thread Sourav Poddar
From: Matt Porter Adds a SPI master driver for the TI QSPI peripheral. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- drivers/spi/Makefile |1 + drivers/spi/ti_qspi.c | 262 + 2 files changed, 263 insertions(+), 0 deletions(-)

[U-Boot] [RFC/PATCH 6/7] driver: spi: Add memory mapped read support

2013-07-10 Thread Sourav Poddar
Qspi controller has a memory mapped port which can be used for data transfers. First controller need to be configured through configuration port, then for data read switch the controller to memory mapped and read from the predefined location. Signed-off-by: Sourav Poddar --- drivers/mtd/spi/span

[U-Boot] [PATCH 3/7] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-07-10 Thread Sourav Poddar
From: Matt Porter Enables support for SPI SPL, QSPI and Spansion serial flash device on the EVM. Configures pin muxes for QSPI mode. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- board/ti/dra7xx/mux_data.h | 10 ++ include/configs/dra7xx_evm.h | 22

[U-Boot] [RFC/PATCH 4/7] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-07-10 Thread Sourav Poddar
Reading using the already supported read command is causing regression even while reading 4k bytes, as a result doing a page by page read. At the end of the write sequence, write enable latch should be disabled and re enabled while doing the next page programming. Looking for help from community

[U-Boot] [PATCH 0/7] qspi controller: Normal, quad and memory mapped read support

2013-07-10 Thread Sourav Poddar
This patch series add uboot ti qspi controller driver. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for accessing data form external spi devices. SPI mode --- SPI mod

[U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-10 Thread Sourav Poddar
From: Matt Porter Add QSPI definitions and clock configuration support. Signed-off-by: Matt Porter Signed-off-by: Sourav Poddar --- arch/arm/cpu/armv7/omap5/hw_data.c |7 ++- arch/arm/cpu/armv7/omap5/prcm-regs.c |1 + arch/arm/include/asm/arch-omap5/omap.h |3 +++ arch/a

[U-Boot] [PATCH 0/7] qspi controller: Normal, quad and memory mapped read support

2013-07-10 Thread Sourav Poddar
This patch series add uboot ti qspi controller driver. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for accessing data form external spi devices. SPI mode --- SPI mod

Re: [U-Boot] net, phy: wrong 1000BASE detection with a lan9303 switch

2013-07-10 Thread Wolfgang Denk
Dear Heiko, In message <51dd3d92.8050...@denx.de> you wrote: > > Would this be an acceptable patch for it: ... > @@ -300,6 +300,10 @@ int genphy_parse_link(struct phy_device *phydev) > * both PHYs in the link > */ > gblp

Re: [U-Boot] net, phy: wrong 1000BASE detection with a lan9303 switch

2013-07-10 Thread Heiko Schocher
Hello, Am 10.07.2013 12:09, schrieb Heiko Schocher: Hello, I have problems with a lan9303 switch on an am335x based board, which does not support 1000FD/HD modes, but as it set BMSR_ERCAP bit in BMSR and returns 0x for reads on the MII_STAT1000 and MII_CTRL1000 registers, u-boot code detect

[U-Boot] net, phy: wrong 1000BASE detection with a lan9303 switch

2013-07-10 Thread Heiko Schocher
Hello, I have problems with a lan9303 switch on an am335x based board, which does not support 1000FD/HD modes, but as it set BMSR_ERCAP bit in BMSR and returns 0x for reads on the MII_STAT1000 and MII_CTRL1000 registers, u-boot code detects SPEED_1000 in drivers/net/phy/phy.c genphy_parse_lin

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-10 Thread Simon Glass
[snip] I will tidy up my tests and submit these also at some point. Coverage now > includes FIT and legacy images, with bootm commands and subcommands. For > the record there is still a lot of test code missing: > (sorry, sent the last email by mistake - here is a list that I compiled when writin

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-10 Thread Simon Glass
Hi Tom, On Tue, Jul 9, 2013 at 2:19 PM, Tom Rini wrote: > On Tue, Jul 09, 2013 at 01:04:58PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, Jul 9, 2013 at 12:05 PM, Tom Rini wrote: > > > > > On Tue, Jul 09, 2013 at 12:00:00PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-10 Thread Simon Glass
Hi Sughosh, On Wed, Jul 10, 2013 at 2:51 AM, Sughosh Ganu wrote: > hi Tom, > > On Tue Jul 09, 2013 at 05:19:32PM -0400, Tom Rini wrote: > > > > > > Yes, I am not really comfortable with this. I will see if I can write > some > > > sandbox tests for the other image types today and post my results

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-10 Thread Sughosh Ganu
hi Tom, On Tue Jul 09, 2013 at 05:19:32PM -0400, Tom Rini wrote: > > Yes, I am not really comfortable with this. I will see if I can write some > > sandbox tests for the other image types today and post my results. I guess > > this bootm code has built up over a long time and it is hard to know

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-10 Thread Sughosh Ganu
hi Albert, On Tue Jul 09, 2013 at 10:28:13AM +0200, Albert ARIBAUD wrote: > > > The arm926ej-s data cache does not have a single fixed policy, and > > > does not have a bypass-on-write policy, only write-through and > > > copy-back. > > > > > > Other, more complex, policies may be defined, but a

Re: [U-Boot] [PATCH 1/2] cmd_bootm.c: Make bootz consume 'bootz' from argv, decrement argc

2013-07-10 Thread Simon Glass
On Tue, Jul 9, 2013 at 9:59 PM, Stephen Warren wrote: > On 07/09/2013 01:34 PM, Tom Rini wrote: > > Like 'bootm', 'bootz' needs to consume 'bootz' so that the rest of the > > state functions will work. > > I found that the Raspberry Pi was randomly crashing with recent > u-boot/master (bisect poin

Re: [U-Boot] Separately compile Master boot loader

2013-07-10 Thread Rajdeep Vaghasia
Waiting for a reply. On Tue, Jul 9, 2013 at 4:12 PM, Rajdeep Vaghasia wrote: > Hi > I am working on one board with an arm11 based cpu, NOR flash and DDR2 > SDRAM. > When I compile u-boot source code, I get u-boot.bin image generated. > This image has primary(second stage) and secondary(third st

[U-Boot] [PATCH 1/5] Licenses: introduce SPDX Unique Lincense Identifiers

2013-07-10 Thread Wolfgang Denk
Like many other projects, U-Boot has a tradition of including big blocks of License headers in all files. This not only blows up the source code with mostly redundant information, but also makes it very difficult to generate License Clearing Reports. An additional problem is that even the same li