Re: [U-Boot] [PATCH] mtest: Disable dcache during test

2012-08-10 Thread Mike Frysinger
On Friday 10 August 2012 15:16:15 Benoît Thébaudeau wrote: > mtest is supposed to test many types of memory accesses in many different > conditions. If dcache is enabled, memory accesses are likely bursts, and > some memory accesses are simply skipped. Hence, dcache should be disabled > during mtes

Re: [U-Boot] [PATCH] armv7: Move save_boot_params_default() to start.S

2012-08-10 Thread Tom Rini
On 08/10/2012 04:12 PM, Benoît Thébaudeau wrote: > On Sat, Aug 11, 2012 at 12:44:34 AM +0200, Tom Rini wrote: >> On Fri, Aug 10, 2012 at 11:59:09PM +0200, Benoît Thébaudeau wrote: >> >>> save_boot_params() is called by start.S, so move its default >>> implementation to >>> this file too. This is al

Re: [U-Boot] Using u-boot to update the kernel and root-file system on NAND chip on imx28evk from USB memory stick

2012-08-10 Thread Otavio Salvador
On Fri, Aug 10, 2012 at 8:26 PM, Scott Wood wrote: > On 08/08/2012 04:33 PM, Bill wrote: >> All, >> >> I'm needing the ability to upgrade the kernel and root-filesystem on >> the NAND chip on the imx28evk from new files that reside on a USB memory >> stick. That is I want to partition the NAN

Re: [U-Boot] [PATCH] tegra: enable NAND on Harmony

2012-08-10 Thread Scott Wood
On 07/30/2012 12:37 PM, Stephen Warren wrote: > From: Stephen Warren > > Signed-off-by: Stephen Warren > --- > board/nvidia/dts/tegra20-harmony.dts | 10 ++ > include/configs/harmony.h|9 - > 2 files changed, 18 insertions(+), 1 deletions(-) > > diff --git a/b

Re: [U-Boot] [V3 08/15] S3C6400: Adopt SPL framwork to support spl for nand flash

2012-08-10 Thread Scott Wood
On 07/28/2012 04:35 AM, Zhong Hongbo wrote: > From: Zhong Hongbo > > Adopt the new SPL framework to implement the SPL booting of > the nand flash for S3C6400. > > Signed-off-by: Zhong Hongbo > --- > Change for V3: > - None. > Change for V2: > - seprate some code. > --- This breaks

Re: [U-Boot] Using u-boot to update the kernel and root-file system on NAND chip on imx28evk from USB memory stick

2012-08-10 Thread Scott Wood
On 08/08/2012 04:33 PM, Bill wrote: > All, > > I'm needing the ability to upgrade the kernel and root-filesystem on > the NAND chip on the imx28evk from new files that reside on a USB memory > stick. That is I want to partition the NAND (mtd) into 3 sections that > contain u-boot, kernel, ro

Re: [U-Boot] [PATCH] armv7: Move save_boot_params_default() to start.S

2012-08-10 Thread Benoît Thébaudeau
On Sat, Aug 11, 2012 at 12:44:34 AM +0200, Tom Rini wrote: > On Fri, Aug 10, 2012 at 11:59:09PM +0200, Benoît Thébaudeau wrote: > > > save_boot_params() is called by start.S, so move its default > > implementation to > > this file too. This is also useful for boards willing to use > > nand_spl sin

Re: [U-Boot] [PATCH] armv7: Move save_boot_params_default() to start.S

2012-08-10 Thread Tom Rini
On Fri, Aug 10, 2012 at 11:59:09PM +0200, Beno??t Th??baudeau wrote: > save_boot_params() is called by start.S, so move its default implementation to > this file too. This is also useful for boards willing to use nand_spl since > cpu.c is not built in this case. > > Signed-off-by: Beno??t Th??bau

Re: [U-Boot] [PATCH] u-boot: Update yaffs2 file system

2012-08-10 Thread Wolfgang Denk
Dear Charles, In message <20120809213931.755ad204...@gemini.denx.de> I wrote: > > In message <1336618517-2947-1-git-send-email-cdhmann...@gmail.com> you wrote: > > This patch updates the yaffs2 in u-boot to correspond to > > git://www.aleph1.co.uk/yaffs2 > > commit id 9ee5d0643e559568dbe62215f76e

[U-Boot] [PATCH 3/6] powerpc/85xx: introduce function serdes_device_from_fm_port()

2012-08-10 Thread Timur Tabi
In order to figure out which SerDes lane a given Fman port is connected to, we need a function that maps the fm_port namespace to the srds_prtcl namespace. Signed-off-by: Timur Tabi --- board/freescale/common/fman.c | 40 board/freescale/common/fman.h |

[U-Boot] [PATCH 5/6] powerpc/85xx: get rid of enum board_slots in P4080 MDIO driver

2012-08-10 Thread Timur Tabi
enum board_slots contained six values, where SLOT1 == 1, SLOT2 == 2, and so on. This is pointless, so remove it. Also move the lane_to_slot[] array to the top of the file so that it can be used by other functions. Signed-off-by: Timur Tabi --- board/freescale/corenet_ds/eth_p4080.c | 59

[U-Boot] [PATCH 4/6] fm-eth: use fdt_status_disabled() function in ft_fixup_port()

2012-08-10 Thread Timur Tabi
We have a dedicated function for setting the node status now, so use it. Also improve a comment and fix the type of the phandle variable. Signed-off-by: Timur Tabi --- drivers/net/fm/init.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/net/fm/init.c b

Re: [U-Boot] [PATCH v4] tx25: Use generic gpio_* calls

2012-08-10 Thread Anatolij Gustschin
Hi, On Sat, 16 Jun 2012 22:46:17 +0530 Vikram Narayanan wrote: > Instead of manipulating gpio registers directly, use the calls > from the gpio library. > > Signed-off-by: Vikram Narayanan > Acked-by: Stefano Babic > Cc: John Rigby > Cc: Fabio Estevam > --- > Changes from v3: > Use gpio_set

[U-Boot] [PATCH 6/6] powerpc/85xx: update P4080DS MDIO bus multiplexer support

2012-08-10 Thread Timur Tabi
The Freescale P4080DS has a complex multiplexed MDIO bus, where the muxing varies per SerDes protocol. This is because the protocol determines in which PCI slot the various SGMII and XGMII interface cards belong, as well as whether the RGMII ports are enabled. The Freescale SDK includes support f

[U-Boot] [PATCH 1/6] powerpc/85xx: add support for FM2 DTSEC5

2012-08-10 Thread Timur Tabi
Unlike previous SOCs, the Freescale P5040 has a fifth DTSEC on the second Fman, so add the Fman and SerDes macros for that DTSEC. Signed-off-by: Timur Tabi --- arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.c |6 ++ arch/powerpc/include/asm/fsl_serdes.h |1 + arch/powerpc/includ

[U-Boot] [PATCH 2/6] fm-eth: add function fm_info_get_phy_address()

2012-08-10 Thread Timur Tabi
Function fm_info_get_phy_address() returns the PHY address for a given Fman port. This is handy when the MDIO code needs to fixup the Ethernet nodes in the device tree to point to PHY nodes for a specific PHY address. Signed-off-by: Timur Tabi --- drivers/net/fm/init.c | 16

[U-Boot] [PATCH] armv7 cpu_init_crit: Simplify code

2012-08-10 Thread Benoît Thébaudeau
We don't need to return to cpu_init_crit after calling lowlevel_init, so lowlevel_init can directly return to the caller of cpu_init_crit. Signed-off-by: Benoît Thébaudeau Cc: Albert Aribaud --- .../arch/arm/cpu/armv7/start.S |5 + 1 file changed, 1 insertion(+), 4 d

Re: [U-Boot] [PATCH, v2] dts/Makefile: Turn off some predefined macros

2012-08-10 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message <1343337995-1291-1-git-send-email-hkron...@frequentis.com> you wrote: > Add '-ansi' to DTS_CPPFLAGS to avoid unwanted expansion of dts content > that matches some predefined macros. > > Example: A number of PowerPC related *.dts files in the kernel define a > pr

[U-Boot] [PATCH] armv7: Move save_boot_params_default() to start.S

2012-08-10 Thread Benoît Thébaudeau
save_boot_params() is called by start.S, so move its default implementation to this file too. This is also useful for boards willing to use nand_spl since cpu.c is not built in this case. Signed-off-by: Benoît Thébaudeau Cc: Albert Aribaud --- .../arch/arm/cpu/armv7/cpu.c

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

2012-08-10 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message <1342184620-31448-1-git-send-email-hkron...@frequentis.com> you wrote: > Add '-undef' to DTS_CPPFLAGS to avoid unwanted expansion of dts content > that matches system-specific or gcc-specific predefined macros. > > Example: A number of PowerPC related *.dts fil

Re: [U-Boot] [PATCH] Add support for DS1388.

2012-08-10 Thread Wolfgang Denk
Dear Kenth Eriksson, In message <1342159184-16651-1-git-send-email-kenth.eriks...@transmode.com> you wrote: > Support for DS1388 is added by extending the DS1337 driver. DS1388 is similar > to DS1337. The time registers are offset by 1 (due to support for hundreds of > seconds), and there is no

Re: [U-Boot] [PATCH] dts/Makefile: Check for empty $(LDSCRIPT)

2012-08-10 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message <1342097912-8652-1-git-send-email-hkron...@frequentis.com> you wrote: > Make sure that $(LDSCRIPT) is not empty before calling process_lds > with 'cat $(LDSCRIPT)' else cat will block waiting for input from > stdin. > > Signed-off-by: Horst Kronstorfer > --- >

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Marek Vasut
Dear Anatolij Gustschin, > Hello Wolfgang, > > On Fri, 10 Aug 2012 22:45:54 +0200 > Wolfgang Denk wrote: > ... > > > > applied to my staging branch, thanks! > > > > Please undo. This patch does not meet formal requirements. It > > contains code copied from Linux without sufficient attributio

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Anatolij Gustschin
Hello Wolfgang, On Fri, 10 Aug 2012 22:45:54 +0200 Wolfgang Denk wrote: ... > > applied to my staging branch, thanks! > > Please undo. This patch does not meet formal requirements. It > contains code copied from Linux without sufficient attribution. OK, dropped for now. This series also needs

Re: [U-Boot] [PATCH 3/3] COMMON: Use __stringify() instead of MK_STR()

2012-08-10 Thread Marek Vasut
Dear Anatolij Gustschin, > Hi Marek, > > On Wed, 8 Aug 2012 12:52:19 +0200 > Marek Vasut wrote: > ... > > > diff --git a/common/env_common.c b/common/env_common.c > > index d9e990d..39e1792 100644 > > --- a/common/env_common.c > > +++ b/common/env_common.c > > @@ -37,8 +37,6 @@ DECLARE_GLOBAL_

Re: [U-Boot] [PATCH v2 3/3] Makefile: cosmetic: optimize usage of LIBS-y

2012-08-10 Thread Wolfgang Denk
Dear daniel.schwierz...@gmail.com, In message <1342741198-9105-1-git-send-email-daniel.schwierz...@gmail.com> you wrote: > From: Daniel Schwierzeck > > Signed-off-by: Daniel Schwierzeck > > --- > Changes for v2: > - optimized HAVE_VENDOR_COMMON_LIB macro as suggested by Mike > - optimized HAV

Re: [U-Boot] [PATCH 3/3] COMMON: Use __stringify() instead of MK_STR()

2012-08-10 Thread Anatolij Gustschin
Hi Marek, On Wed, 8 Aug 2012 12:52:19 +0200 Marek Vasut wrote: ... > diff --git a/common/env_common.c b/common/env_common.c > index d9e990d..39e1792 100644 > --- a/common/env_common.c > +++ b/common/env_common.c > @@ -37,8 +37,6 @@ DECLARE_GLOBAL_DATA_PTR; > /***

Re: [U-Boot] [PATCH 2/3] Makefile: replace LIBS by LIBS-y

2012-08-10 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <1340901921-9868-3-git-send-email-daniel.schwierz...@gmail.com> you wrote: > Synchronize with ALL-y handling and code in spl/Makefile. > > Signed-off-by: Daniel Schwierzeck > --- > Makefile | 134 > +++

Re: [U-Boot] [PATCH 1/3] Makefile: allow appending to LIB in sub-makefiles

2012-08-10 Thread Wolfgang Denk
Dear Daniel Schwierzeck, In message <1340901921-9868-2-git-send-email-daniel.schwierz...@gmail.com> you wrote: > The top Makefile and the SPL Makefile have lines like those: > > ifneq > ($(CONFIG_AM33XX)$(CONFIG_OMAP34XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),) > LIBS += $(CPUDIR)/omap-common/lib

[U-Boot] [PATCH] fsl_esdhc: Add no-snoop config for default init

2012-08-10 Thread Benoît Thébaudeau
cfg->no_snoop was available only through custom fsl_esdhc_mmc init functions. Add a config options to make it available also through the default init. Signed-off-by: Benoît Thébaudeau Cc: Andy Fleming Cc: Stefano Babic Cc: Kim Phillips --- .../drivers/mmc/fsl_esdhc.c|

[U-Boot] [PATCH] powerpc/mpc8xxx: Remove P1015 and P1016 from CPU list

2012-08-10 Thread York Sun
P1015 is the same as P1011 and P1016 is the same as P1012 from software point of view. They have different packages but share SVRs. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc85xx/Makefile |4 arch/powerpc/cpu/mpc85xx/speed.c |3 +-- arch/powerpc/cpu/mpc8xxx/cp

Re: [U-Boot] [PATCH v3 4/4] c6x: Add support c6745-som board

2012-08-10 Thread Wolfgang Denk
Dear Dmitry Bondar, In message <1340647361-23387-5-git-send-email-b...@inmys.ru> you wrote: > Add support board c6745-som (http://inmys.ru/?_=/products/som_c6745) with > C6745 cpu. > > Signed-off-by: Dmitry Bondar > Cc: Tom Rini ... > +#define LINUX_BOOT_PARAM_ADDR(PHYS_SDRAM_1 + 0x100

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Anatolij Gustschin, > > In message <20120810222104.1e6c4afc@wker> you wrote: > > Hi, > > > > On Wed, 8 Aug 2012 12:52:17 +0200 > > > > Marek Vasut wrote: > > > This function converts static number to string in preprocessor. > > > This is useful as it allows higher u

[U-Boot] [PATCH 1/3 V2] COMMON: Add __stringify() function

2012-08-10 Thread Marek Vasut
Copied from Linux kernel include/linux/stringify.h: commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4 Date: Wed Apr 8 16:58:57 2009 +0800 This function converts static number to string in preprocessor. This is useful as it allows higher usage of puts() in favour of printf() Signed-off-by: Marek V

Re: [U-Boot] [PATCH] config: Always use GNU ld

2012-08-10 Thread Anatolij Gustschin
Hi, On Thu, 2 Aug 2012 13:19:34 -0300 Otavio Salvador wrote: > From: Khem Raj > > This patch makes sure that we always use the GNU ld. U-Boot uses certain > construct e.g. OVERLAY which are not implemented in gold therefore it > always needs GNU ld for linking. > > It works well if default l

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <20120810222104.1e6c4afc@wker> you wrote: > Hi, > > On Wed, 8 Aug 2012 12:52:17 +0200 > Marek Vasut wrote: > > > This function converts static number to string in preprocessor. > > This is useful as it allows higher usage of puts() in favour of printf() > >

Re: [U-Boot] [PATCH v3] Consolidate bootcount code into drivers/bootcount

2012-08-10 Thread Wolfgang Denk
Dear Stefan Roese, In message <1338878275-1918-1-git-send-email...@denx.de> you wrote: > This patch moves all bootcount implementations into a common > directory: drivers/bootcount. The generic bootcount driver > is now usable not only by powerpc platforms, but others as well. > > Signed-off-by:

Re: [U-Boot] [PATCH 3/3] COMMON: Use __stringify() instead of MK_STR()

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 8 Aug 2012 12:52:19 +0200 Marek Vasut wrote: > Kill multiple occurances and redeclaration of MK_STR > in favor of __stringify(). > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > --- > arch/blackfin/include/asm/config-pre.h |2 - > arch/blackfin/lib/board.c |

Re: [U-Boot] [PATCH 2/3] COMMON: Use __stringify() instead of xstr()

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 8 Aug 2012 12:52:18 +0200 Marek Vasut wrote: > Kill multiple occurances and redeclaration of xstr in favor of __stringify(). > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > --- > include/configs/MPC8308RDB.h|9 +++-- > include/configs/amcc-common.h |

Re: [U-Boot] [PATCH 1/3] COMMON: Add __stringify() function

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 8 Aug 2012 12:52:17 +0200 Marek Vasut wrote: > This function converts static number to string in preprocessor. > This is useful as it allows higher usage of puts() in favour of printf() > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > --- > include/common.h |1 +

Re: [U-Boot] Pull request: u-boot-nds32

2012-08-10 Thread Wolfgang Denk
Dear Macpaul Lin, In message you wrote: > Dear Wolfgang, > > Please pull the following 3 patches from u-boot-nds32 into your tree. > > Thanks! > Macpaul Lin. > > The following changes since commit 4d3c95f5ea7c737a21cd6b9c59435ee693b3f127: > > zfs: Add ZFS filesystem support (2012-08-09 23:

[U-Boot] arm: omap: Fix switching back to nandecc sw.

2012-08-10 Thread Jeroen Hofstee
Switching back to nandecc sw fails to write correctly. A fix for this is already mentioned in the thread below, lets fix it. mentioned in http://lists.denx.de/pipermail/u-boot/2012-February/119002.html Signed-off-by: Jeroen Hofstee --- drivers/mtd/nand/omap_gpmc.c |1 + 1 file changed, 1 i

Re: [U-Boot] [PATCH] tools: add kwboot binary to .gitignore file

2012-08-10 Thread Anatolij Gustschin
Hi, On Sun, 15 Jul 2012 18:29:38 +0200 Luka Perkov wrote: > > Signed-off-by: Luka Perkov > --- > > tools/.gitignore |1 + > 1 file changed, 1 insertion(+) applied to my staging branch, thanks! Anatolij ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v4 0/7] ehci: Improve performance

2012-08-10 Thread Marek Vasut
Dear Benoît Thébaudeau, > Hi all, > > This series aims at improving EHCI performance. There is also some code > cleanup BTW. > > Best regards, > Benoît Applied all but 5/7 and pushed. Since we all have vacations etc etc, this will appear in the mainline around start of september. Thanks a lot

Re: [U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-10 Thread Wolfgang Denk
Dear Tom, In message <20120810161021.GG3306@bill-the-cat> you wrote: > > To try and ease the backlog of ARM changes, I've taken the liberty of > grabbing the Snowball and Raspberry Pi model B board support patches and > putting them into the staging tree. Both of these series have been > posted

Re: [U-Boot] [PATCH v2] fdt: Include arch specific gpio.h instead of asm-generic/gpio.h

2012-08-10 Thread Anatolij Gustschin
Hi, On Wed, 11 Jul 2012 14:26:38 +0200 Michal Simek wrote: > Include arch specific gpio.h instead of asm-generic/gpio.h > because several architectures (Microblaze, Blackfin, Nios2, OpenRISC) > define gpio functions in header file. > asm-generic/gpio.h can be included in arch specific gpio.h > (

[U-Boot] [PATCH] avr32: Remove redundant LDSCRIPT definition

2012-08-10 Thread Benoît Thébaudeau
AVR32's LD script uses a standard location that is now automatically detected by the main Makefile, so its definition in AVR32's config.mk is now obsolete and redundant. Signed-off-by: Benoît Thébaudeau Cc: Andreas Bießmann --- .../arch/avr32/config.mk |2 -- 1 fil

Re: [U-Boot] [PATCH] serial: CONSOLE macro is not used

2012-08-10 Thread Anatolij Gustschin
Hi, On Fri, 10 Aug 2012 09:04:28 +0200 Michal Simek wrote: > Signed-off-by: Michal Simek > --- > drivers/serial/serial.c |3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) Applied to my staging branch, thanks! Anatolij ___ U-Boot mailin

Re: [U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Marek Vasut
Dear Benoît Thébaudeau, > Hi Ilya, > > On Fri, Aug 10, 2012 at 8:34:14 PM, Ilya Yanok wrote: > > Hi Benoit, > > > > On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau < > > > > benoit.thebaud...@advansee.com > wrote: > > > diff --git u-boot-usb-4f8254e.orig/common/usb_storage.c > > > u-boot-usb

[U-Boot] [PATCH] mtest: Disable dcache during test

2012-08-10 Thread Benoît Thébaudeau
mtest is supposed to test many types of memory accesses in many different conditions. If dcache is enabled, memory accesses are likely bursts, and some memory accesses are simply skipped. Hence, dcache should be disabled during mtest operation so that what mtest actually tests is not masked by dcac

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

2012-08-10 Thread Joe Hershberger
Hi Mike, On Fri, Aug 3, 2012 at 3:59 PM, 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 c

[U-Boot] [PATCH] mmcinfo: Fix help message

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Andy Fleming --- .../common/cmd_mmc.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git u-boot-4d3c95f.orig/common/cmd_mmc.c u-boot-4d3c95f/common/cmd_mmc.c index 750509d..79a1088 100644 --- u-boot-4d3c95f.or

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-10 Thread Ilya Yanok
Argh, sorry. could = could not. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-10 Thread Ilya Yanok
Marek, Wolfgang, On Fri, Aug 10, 2012 at 9:56 PM, Ilya Yanok wrote: > Dear Marek, Wolfgang, > > On Thu, Aug 9, 2012 at 11:23 PM, Wolfgang Denk wrote: > >> >> > I hate to say it ... but given that this will cause duplication of >> code, I'm >> > somehow inclined to push you to do a complete repla

[U-Boot] Fail to compile a DEBUG version of u-boot.bin for Freescale MPC8536DS

2012-08-10 Thread Yuming Chen
Hi, I tried to build a u-boot.bin for Freescale MPC8526DS with original version 2010.12 source code, it succeeds if I do not define DEBUG in the MPC8536DS.h file. But after I added #define DEBUG in include/configs/MPC8536DS.h to turn on many printf, the build of the uboot fails as follows, /el

[U-Boot] [PATCH] mmc_get_dev: Return error if mmc_init fails

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Andy Fleming --- .../drivers/mmc/mmc.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git u-boot-4d3c95f.orig/drivers/mmc/mmc.c u-boot-4d3c95f/drivers/mmc/mmc.c index c1c2862..c0b969c 100644 --- u-boot-4d3c95f

[U-Boot] [PATCH] mxc_spi: Round up clock divider

2012-08-10 Thread Benoît Thébaudeau
Since the input frequency of the API is a maximum that should not be exceeded in order for the devices to operate properly, the SPI clock divider should be rounded up, not truncated. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Cc: Stefano Babic --- .../drivers/spi/mxc_spi.c

Re: [U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Benoît Thébaudeau
Hi Ilya, On Fri, Aug 10, 2012 at 8:34:14 PM, Ilya Yanok wrote: > Hi Benoit, > On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau < > benoit.thebaud...@advansee.com > wrote: > > diff --git u-boot-usb-4f8254e.orig/common/usb_storage.c > > u-boot-usb-4f8254e/common/usb_storage.c > > > index 0cd639

Re: [U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Ilya Yanok
Hi Benoit, On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau < benoit.thebaud...@advansee.com> wrote: > diff --git u-boot-usb-4f8254e.orig/common/usb_storage.c > u-boot-usb-4f8254e/common/usb_storage.c > index 0cd6399..822bd64 100644 > --- u-boot-usb-4f8254e.orig/common/usb_storage.c > +++ u-boo

Re: [U-Boot] [PATCH v4 5/7] usb_storage: Adjust time-outs

2012-08-10 Thread Benoît Thébaudeau
Hi Ilya, On Fri, Aug 10, 2012 at 8:03:12 PM, Ilya Yanok wrote: > Hi Benoit, > On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau < > benoit.thebaud...@advansee.com > wrote: > > Adjust time-out value for the new EHCI mechanism. > > Could you please be a bit more specific? ;) > How this timeout

Re: [U-Boot] [PATCH v5 1/1] zfs: Add ZFS filesystem support

2012-08-10 Thread Wolfgang Denk
Dear Jorgen Lundman, In message <5024f981.2040...@lundman.net> you wrote: > > That is the best news ever, thanks! Also thanks to Graeme for all the help. Thanks for your hard work, it's highly appreciated (even though it sometimes doesn't look like that - it really is). Best regards, Wolfgang D

Re: [U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-08-10 Thread Wolfgang Denk
Dear Holger, In message <5024cc15.8010...@keymile.com> you wrote: > > due to the fact that Gerlando is in his vacations and has therefore only > little > time to do updates here I propose the following. I could prepare a branch as > you > suggested based on current denx master with this changes

Re: [U-Boot] [PATCH v4 5/7] usb_storage: Adjust time-outs

2012-08-10 Thread Ilya Yanok
Hi Benoit, On Fri, Aug 10, 2012 at 8:23 PM, Benoît Thébaudeau < benoit.thebaud...@advansee.com> wrote: > Adjust time-out value for the new EHCI mechanism. > Could you please be a bit more specific? ;) How this timeout is related to the new mechanism? Is it really EHCI specific? If it is, that's

Re: [U-Boot] [PATCH v4 1/5] net/bootp: add VCI support for BOOTP also

2012-08-10 Thread Ilya Yanok
Hi Joe, On Mon, Aug 6, 2012 at 1:21 AM, Ilya Yanok wrote: > Vendor Class Identifier option is common to BOOTP and DHCP and > can be useful without PXE. So send VCI in both BOOTP and DHCP > requests if CONFIG_BOOTP_VCI_STRING is defined. > > Signed-off-by: Ilya Yanok > > --- > Changes in v4: > -

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-10 Thread Ilya Yanok
Dear Marek, Wolfgang, On Thu, Aug 9, 2012 at 11:23 PM, Wolfgang Denk wrote: > > > I hate to say it ... but given that this will cause duplication of code, > I'm > > somehow inclined to push you to do a complete replacement of the old > musb code, > > remove it and add this. > > > Agreed, we shou

[U-Boot] [PATCH] eth_write_hwaddr: Return error for invalid MACs

2012-08-10 Thread Benoît Thébaudeau
If dev->enetaddr was supposed to be set with dev->write_hwaddr() but the MAC address was not valid, return an error. Signed-off-by: Benoît Thébaudeau Cc: Joe Hershberger --- {u-boot-4d3c95f.orig => u-boot-4d3c95f}/net/eth.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff -

[U-Boot] [PATCH 5/5] Add env var giving the board revision

2012-08-10 Thread Benoît Thébaudeau
The board revision can be a useful env var, like its serial number. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- {u-boot-4d3c95f.orig => u-boot-4d3c95f}/README | 21 ++-- .../common/cmd_nvedit.c|5 +++-- .../tools/env/fw_env.c

[U-Boot] [PATCH 4/5] README: The ver env var is not read-only

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- {u-boot-4d3c95f.orig => u-boot-4d3c95f}/README |1 - 1 file changed, 1 deletion(-) diff --git u-boot-4d3c95f.orig/README u-boot-4d3c95f/README index fb9d904..369ea9c 100644 --- u-boot-4d3c95f.orig/README +++ u-boot-4d3c95f/README @@ -90

[U-Boot] [PATCH 3/5] env import/export: Remove from help if disabled

2012-08-10 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../common/cmd_nvedit.c|4 1 file changed, 4 insertions(+) diff --git u-boot-4d3c95f.orig/common/cmd_nvedit.c u-boot-4d3c95f/common/cmd_nvedit.c index fd05e72..0f320cc 100644 --- u-boot-4d3c95f.orig/com

[U-Boot] [PATCH 2/5] env_common: Add missing ethprime

2012-08-10 Thread Benoît Thébaudeau
The ethprime env var was missing from env_common. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../common/env_common.c|3 +++ 1 file changed, 3 insertions(+) diff --git u-boot-4d3c95f.orig/common/env_common.c u-boot-4d3c95f/common/env_common.c index d

[U-Boot] [PATCH 1/5] fw_env: Add env vars describing U-Boot target board

2012-08-10 Thread Benoît Thébaudeau
Commit 5e724ca did the same thing for env_common and env_embedded, but forgot fw_env. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk --- .../tools/env/fw_env.c | 11 +++ 1 file changed, 11 insertions(+) diff --git u-boot-4d3c95f.orig/tools/env/fw_env.c

[U-Boot] [PATCH 0/5] Cleanup and extend env vars

2012-08-10 Thread Benoît Thébaudeau
Hi all, This series does some cleanup regarding env vars, and it adds a new env var for the board revision. Best regards, Benoît ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Pull request: u-boot-nds32

2012-08-10 Thread Macpaul Lin
Dear Wolfgang, Please pull the following 3 patches from u-boot-nds32 into your tree. Thanks! Macpaul Lin. The following changes since commit 4d3c95f5ea7c737a21cd6b9c59435ee693b3f127: zfs: Add ZFS filesystem support (2012-08-09 23:42:20 +0200) are available in the git repository at: git://

Re: [U-Boot] [PATCH 3/3] nds32: fix unused pmu_init warning

2012-08-10 Thread Macpaul Lin
Hi Mike, 2012/8/7 Mike Frysinger : > Fixes the build-time warning: > board.c: At top level: > board.c:106: warning: 'pmu_init' defined but not used > > This makes the ifdef logic at the call site match the logic at the > function definition. > > Signed-off-by: Mike Frysinger Appl

Re: [U-Boot] [PATCH 2/3] nds32: delete unused local variable

2012-08-10 Thread Macpaul Lin
Hi Mike, 2012/8/7 Mike Frysinger : > Fixes the build-time warning: > board.c: In function 'board_init_r': > board.c:304: warning: unused variable 's' > > Signed-off-by: Mike Frysinger Applied to u-boot-nds32.git/master Thanks. -- Best regards, Macpaul Lin __

Re: [U-Boot] [PATCH 1/3] nds32: drop bi_enetaddr from global data

2012-08-10 Thread Macpaul Lin
Hi Mike, 2012/8/7 Mike Frysinger : > Nothing is using this, so punt it from the gd. Seems to just be a copy > & paste wart from the initial port. > > Signed-off-by: Mike Frysinger > --- > arch/nds32/include/asm/u-boot.h |1 - > 1 file changed, 1 deletion(-) Applied to u-boot-nds32.git/mast

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

2012-08-10 Thread Stefano Babic
On 03/08/2012 22:59, 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

[U-Boot] [PATCH v4 7/7] ehci: Optimize qTD allocations

2012-08-10 Thread Benoît Thébaudeau
Relax the qTD transfer alignment constraints in order to need less qTDs for buffers that are aligned to 512 bytes but not to pages. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc: Stefan Herbrechtsmeier --- Changes for v2: N/A. Changes for v3: - New patch. Changes for v4:

[U-Boot] [PATCH v4 6/7] usb_stor_BBB_transport: Do not delay when not required

2012-08-10 Thread Benoît Thébaudeau
There is a 5-ms delay in usb_stor_BBB_transport, which occurs every 10 kiB of data for fragmented fatload usb, i.e. roughly 500 ms of delay per MiB. This adds up to quite a bit of delay if you're loading a large ramdisk. The purpose of this delay should be to debounce the 5-V/100-mA USB power up.

[U-Boot] [PATCH v4 3/7] usb_storage: Restore non-EHCI support

2012-08-10 Thread Benoît Thébaudeau
The commit 5dd95cf made the MSC driver EHCI-specific. This patch restores a basic support of non-EHCI HCDs, like before that commit. The fallback transfer size is certainly not optimal, but at least it should work like before. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc:

[U-Boot] [PATCH v4 5/7] usb_storage: Adjust time-outs

2012-08-10 Thread Benoît Thébaudeau
Adjust time-out value for the new EHCI mechanism. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc: Stefan Herbrechtsmeier --- Changes for v2: None. Changes for v3: None. Changes for v4: None. .../common/usb_storage.c |2 +- 1 file changed, 1 i

[U-Boot] [PATCH v4 4/7] usb_storage: Remove EHCI constraints

2012-08-10 Thread Benoît Thébaudeau
Now that the EHCI driver allocates its qTDs from the heap, the MSC driver is only limited by the SCSI commands it uses. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc: Stefan Herbrechtsmeier --- Changes for v2: None. Changes for v3: - Patch swapped with the currently prece

Re: [U-Boot] [PATCH v4 0/7] ehci: Improve performance

2012-08-10 Thread Benoît Thébaudeau
Benoît Thébaudeau Application Engineer benoit.thebaud...@advansee.com +33 2 40 50 21 73 ADVANSEE SARL 9, rue Alfred Kastler CS 30750 44307 Nantes CEDEX 3 France - Original Message - > From: "Benoît Thébaudeau" > To: u-boot@lists.denx.de > Cc: "Marek Vasut" , "Ilya Yanok" > , "Stefan He

[U-Boot] [PATCH v4 2/7] ehci-hcd: Boost transfer speed

2012-08-10 Thread Benoît Thébaudeau
This patch takes advantage of the hardware EHCI qTD queuing mechanism to avoid software and transfer splitting overhead so as to make transfers as fast as possible. The only drawback is a call to memalign. However, this is fast compared to the transfer timings, and the heap size to allocate is sma

[U-Boot] [PATCH v4 1/7] ehci: cosmetic: Define used constants

2012-08-10 Thread Benoît Thébaudeau
Make some light cosmetic code cleanup by the way. Signed-off-by: Benoît Thébaudeau Cc: Marek Vasut Cc: Ilya Yanok Cc: Stefan Herbrechtsmeier --- Changes for v2: N/A. Changes for v3: - New patch. Changes for v4: - Use accessor macros rather than offsets and masks. - More code cleanup. .../

Re: [U-Boot] [PATCH] microblaze: Call spi_init function

2012-08-10 Thread Stephan Linz
Am Freitag, den 10.08.2012, 09:09 +0200 schrieb Michal Simek: > Initialization spi. > > Signed-off-by: Michal Simek Acked-by: Stephan Linz > --- > arch/microblaze/lib/board.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/lib/board.c b/arch

[U-Boot] [PATCH v4 0/7] ehci: Improve performance

2012-08-10 Thread Benoît Thébaudeau
Hi all, This series aims at improving EHCI performance. There is also some code cleanup BTW. Best regards, Benoît ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-10 Thread Tom Rini
Hello Albert and Wolfgang, To try and ease the backlog of ARM changes, I've taken the liberty of grabbing the Snowball and Raspberry Pi model B board support patches and putting them into the staging tree. Both of these series have been posted for some time and been reviewed. Wolfgang, if you wo

Re: [U-Boot] [PATCH 01/11 v2] snowball: Add support for ux500 based snowball board

2012-08-10 Thread Tom Rini
On Fri, Aug 03, 2012 at 03:05:12PM -0600, mathieu.poir...@linaro.org wrote: > From: "Mathieu J. Poirier" > > Signed-off-by: Mathieu Poirier > Signed-off-by: John Rigby [snip] > diff --git a/MAINTAINERS b/MAINTAINERS > index fd0c65c..8a16b12 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -

Re: [U-Boot] [PATCH 00/11] Support for ST-Ericsson snowball board

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:22PM -0600, mathieu.poir...@linaro.org wrote: > From: "Mathieu J. Poirier" > > This set adds support for the ST-Ericsson u8500 based > snowball board. Doing so it moves u8500-href code around > to allow for code reuse between boards. > > It was sent out during the

Re: [U-Boot] [PATCH 09/11] u8500: Separating mmc config parameters from driver

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:31PM -0600, mathieu.poir...@linaro.org wrote: > From: John Rigby > > Configuration in vexpress and u8500.v1 is different from what > is needed in u8500.v2. As such, card configuration specifics need > to reside in the board file rather than the driver. > > Signed-

Re: [U-Boot] [PATCH 08/11] u8500: Enabling power to MMC device on AB8500 V2

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:30PM -0600, mathieu.poir...@linaro.org wrote: > From: "Mathieu J. Poirier" > > Register mapping has changed on power control chip between > the first and second revision. > > Signed-off-by: Mathieu Poirier > Signed-off-by: John Rigby I've added in the cpu_is_u85

Re: [U-Boot] [PATCH 07/11] u8500: Moving processor-specific functions to cpu area.

2012-08-10 Thread Tom Rini
On Tue, Jul 31, 2012 at 12:59:29PM -0600, mathieu.poir...@linaro.org wrote: > From: "Mathieu J. Poirier" > > Functions such as providing power to the MMC device and reading > the processor version register should be in the cpu area for > access by multiple u8500-based boards. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-08-10 Thread Stephen Warren
On 08/10/2012 03:36 AM, Jim Lin wrote: > Add support for command line "usb reset" or "usb start" to initialize > , "usb stop" to stop multiple USB controllers at once. > Other command like "usb tree" also supports multiple controllers. I assume these were reposted because you rebased on the latest

Re: [U-Boot] [PATCH V4 1/4] README: fix references to config_cmd_default.h

2012-08-10 Thread Tom Rini
On Sun, Aug 05, 2012 at 08:07:19PM -0600, Stephen Warren wrote: > All usage of config_cmd_default.h uses <> for the include statement. > Update the README to do the same, rather than using "". > > Signed-off-by: Stephen Warren I've applied the whole series to u-boot-staging/tr...@ti.com, thanks

Re: [U-Boot] [PATCH 2/2] powerpc/mpc85xx/p1_p2_rdb: add all LAWs during SPL

2012-08-10 Thread Scott Wood
On 08/10/2012 01:54 AM, Huang Changming-R66093 wrote: > This maybe cause the overlap error: > > powerpc-linux-gnu-ld: section .resetvec loaded at > [ff800ffc,ff800fff] overlaps section .data loaded at > [ff800ec8,ff80102f] What tree and toolchain are you using? Did

Re: [U-Boot] Why no cache flushing in do_go_exec()

2012-08-10 Thread Mike Frysinger
On Thursday 09 August 2012 22:38:09 Charles Manning wrote: > I'm helping to work through an issue where some code is loaded into RAM this is generally where cache is supposed to be flushed. you didn't describe how exactly the code is being loaded into RAM though. > and "go xxx" is issued to the

Re: [U-Boot] [PATCH] serial: CONSOLE macro is not used

2012-08-10 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] arm: rmobile: Add support Renesas SH73A0

2012-08-10 Thread Mike Frysinger
On Friday 10 August 2012 03:41:17 Nobuhiro Iwamatsu wrote: > --- a/arch/arm/cpu/armv7/rmobile/Makefile > +++ b/arch/arm/cpu/armv7/rmobile/Makefile > > +clean: > + rm -f $(SOBJS) $(OBJS) > + dead code -> delete -mike signature.asc Description: This is a digitally signed message part. ___

Re: [U-Boot] [PATCH] sf: stmicro: Add support for N25Q128A

2012-08-10 Thread Mike Frysinger
On Friday 10 August 2012 08:21:46 Michal Simek wrote: > Add support for Numonyx N25Q128A SPI flash. thanks, merged into my sf branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de

  1   2   >