Re: [U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-06 Thread Wolfgang Denk
Dear Benoît Thébaudeau, In message <1362596377-5827-15-git-send-email-benoit.thebaud...@advansee.com> you wrote: > > + # ... and from configs defined from other configs > + s/="\(CONFIG_[A-Za-z0-9_][A-Za-z0-9_]*\)"/=$(\1)/; Should we not remove the lower case letters here? Such are not

Re: [U-Boot] mtdparts not agreeing wiht fw_printenv

2013-03-06 Thread Wolfgang Denk
Dear John Stile, In message <1362532855.20183.135.camel@genx> you wrote: > I am quite confused about partitions in my NAND flash. > > Linux can mount my rootfs, so partitions make sense to the kernel, but > from the shell fw_printenv can't read the uboot environment, not matter > what I use in /e

Re: [U-Boot] [PATCH v6 07/31] Define CONFIG_SYS_LEGACY_BOARD everywhere

2013-03-06 Thread Wolfgang Denk
Dear Simon Glass, In message <1362530405-10824-8-git-send-email-...@chromium.org> you wrote: > We are introducing a new unified board setup and we want this to > be the default. So we need to opt all architectures out first. ... > +- CONFIG_SYS_GENERIC_BOARD ... > +CONFIG_SYS_LEGACY_BOARD := y Do

Re: [U-Boot] [PATCH 4/5 v4] gen: Add ACE acceleration to hash

2013-03-06 Thread Simon Glass
Hi Kim, On Wed, Mar 6, 2013 at 5:22 PM, Kim Phillips wrote: > On Tue, 5 Mar 2013 22:22:09 -0800 > Simon Glass wrote: > >> On Tue, Mar 5, 2013 at 9:04 PM, Kim Phillips >> wrote: >> > On Tue, 5 Mar 2013 17:51:00 -0800 >> > Simon Glass wrote: >> > >> [snip for Kim] > > and others too, I hope. >

Re: [U-Boot] [PATCH 4/5 v4] gen: Add ACE acceleration to hash

2013-03-06 Thread Kim Phillips
On Wed, 6 Mar 2013 10:29:46 -0500 Akshay Saraswat wrote: > I have removed "tested with" in the new set of patches. And I tested those > patches with that command > before mailing for review. I have tested them for various sizes this time > which includes 8 MB as well. > I have shared benchmark

Re: [U-Boot] [PATCH 3/4 v5] gen: Add ACE acceleration to hash

2013-03-06 Thread Kim Phillips
On Wed, 6 Mar 2013 09:18:55 -0500 Akshay Saraswat wrote: > ACE H/W acceleration support is added to hash > which can be used to test SHA 256 hash algorithm. > > Signed-off-by: ARUN MANKUZHI > Signed-off-by: Akshay Saraswat > --- this doesn't even apply any more: Applying: gen: Add ACE accele

Re: [U-Boot] [PATCH 4/5 v4] gen: Add ACE acceleration to hash

2013-03-06 Thread Kim Phillips
On Tue, 5 Mar 2013 22:22:09 -0800 Simon Glass wrote: > On Tue, Mar 5, 2013 at 9:04 PM, Kim Phillips > wrote: > > On Tue, 5 Mar 2013 17:51:00 -0800 > > Simon Glass wrote: > > > [snip for Kim] and others too, I hope. > >> >> Changes sice v3: > >> >> - Changed command names to lower case

[U-Boot] [PATCH v3 3/5] usb: usbeth: smsc95xx: remove EEPROM loaded check

2013-03-06 Thread Simon Glass
From: Michael Spang [port of Linux kernel commit bcd218be5aeb by Steve Glendinning] The eeprom read & write commands currently check the E2P_CMD_LOADED_ bit is set before allowing any operations. This prevents any reading or writing unless a correctly programmed EEPROM is installed. Signed-off

[U-Boot] [PATCH v3 4/5] usb: Add multiple controllers support for EHCI PCI

2013-03-06 Thread Simon Glass
From: Vincent Palatin Use the ability to have several active EHCI controller on a system in the PCI EHCI controller implementation. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Add blank line before function return drivers/usb/host/ehci-pci.c | 52 ++

[U-Boot] [PATCH v3 5/5] x86: Enable USB features for coreboot

2013-03-06 Thread Simon Glass
Enable PCI EHCI, storage, keyboard and Ethernet for USB. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None include/configs/coreboot.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index c7f36ff

[U-Boot] [PATCH v3 2/5] usb: ehci: Fix aliasing issue in EHCI interrupt code

2013-03-06 Thread Simon Glass
From: Vincent Palatin The interrupt endpoint handling code stores the buffer pointer in the QH padding field. We need to make it the size of a pointer to avoid strict aliasing issue with the compiler. Signed-off-by: Vincent Palatin Signed-off-by: Simon Glass --- Changes in v3: None Changes in

[U-Boot] [PATCH v3 1/5] usb: ehci: Support interrupt transfers via periodic list

2013-03-06 Thread Simon Glass
From: Patrick Georgi Interrupt transfers aren't meant to be used from the async list (the EHCI spec indicates trouble with low/full-speed intr on async). Build a periodic list instead, and provide an API to make use of it. Then, use that API from the existing interrupt transfer API. This provid

[U-Boot] [PATCH v3 0/5] Various USB improvements

2013-03-06 Thread Simon Glass
This series adds a few USB improvements for Marek: - Support for interupt transfers - Basic 64-bit controller support (used by x86) - Multiple controller support for EHCI PCI Changes in v3: - Set last pointer to correct position in create_int_queue() - Set S-mask bit always, not just on low-speed

[U-Boot] [PATCH] Tegra30: Cardhu: Add pad config tables/code based on pinmux code

2013-03-06 Thread Tom Warren
Pad config registers exist in APB_MISC_GP space, and control slew rate, drive strengh, schmidt, high-speed, and low-power modes for all of the pingroups in Tegra30. This builds off of the pinmux way of constructing init tables to configure select pads (SDIOCFG, for instance) during pinmux_init().

[U-Boot] driver for davicom dm9601 usb-ethernet NIC

2013-03-06 Thread Beagle board
Hello Everyone, I'm working on Beagleboard C3, and i'm trying to do an nfs-boot. Please find below my bootup log. I'm getting the below error. After digging into the details of the error, could make out that my Ethernet NIC is not there in the supported drivers list of U-Boot {drivers/usb/eth/}

Re: [U-Boot] [PATCH v2 4/7] usb: ehci: Fix aliasing issue in EHCI interrupt code

2013-03-06 Thread Simon Glass
+Julius Hi Marek, On Thu, Dec 13, 2012 at 6:21 PM, Simon Glass wrote: > From: Vincent Palatin > > The interrupt endpoint handling code stores the buffer pointer in the QH > padding field. We need to make it the size of a pointer to avoid strict > aliasing issue with the compiler. > > Signed-off

Re: [U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-06 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/06/2013 01:59 PM, Benoît Thébaudeau wrote: > Give more flexibility to define configs that can be interpreted by > make, e.g. to define fallback values of configs like in the example > below. > > Before this change, the config lines: #define CONF

Re: [U-Boot] [PATCH v9 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-03-06 Thread Scott Wood
On 03/06/2013 12:59:07 PM, Benoît Thébaudeau wrote: From: Fabio Estevam Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller drivers could use it when a 16-bit NAND is deployed. drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just rename it, so that other NAN

[U-Boot] [PATCH v9 28/30] arm: Remove deprecated and now unused NAND SPL

2013-03-06 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/config.mk |2 -- arch/arm/cpu/arm1176/start.S | 12

[U-Boot] [PATCH v9 24/30] imx: Add u-boot-with-nand-spl.imx make target

2013-03-06 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header, the FCB and U-Boot. For i.MX25/35/51, the FCB is ignored by the boot ROM, so this image is just useful because it can be programmed on a NAND Flash page boundary. For i.MX53, the FCB is required by the boot ROM. This does not support i.MX6 so far

[U-Boot] [PATCH v9 23/30] imx: Add u-boot-with-spl.imx make target

2013-03-06 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header and U-Boot. This is a convenient way of having a single image to program on some boot devices. The i.MX header has to be added to the SPL before appending U-Boot, so that the boot ROM loads only the SPL. Signed-off-by: Benoît Thébaudeau --- Change

[U-Boot] [PATCH v9 26/30] Revert "mkconfig: start deprecating Makefile config targets"

2013-03-06 Thread Benoît Thébaudeau
This reverts commit 1285a2808a254f3d1a809c1a541f0c0f746e03d7 since the migration of boards from Makefile to boards.cfg is now complete. Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4:

[U-Boot] [PATCH v9 30/30] arm: Make all linker scripts compatible with per-symbol sections

2013-03-06 Thread Benoît Thébaudeau
Let all ARM linker scripts handle properly -ffunction-sections and -fdata-sections. This will be useful for future changes in order to create symbol-specific sections in common .S files. Signed-off-by: Benoît Thébaudeau --- Changes in v9: - Reword following the removal of "arm: Remove duplicated

[U-Boot] [PATCH v9 21/30] Makefile: Move SHELL setup to config.mk

2013-03-06 Thread Benoît Thébaudeau
make never uses the SHELL variable from the environment. Instead, it uses /bin/sh, or the value assigned to the SHELL variable by the Makefile. This makes the export of the SHELL variable useless for sub-makes (but still useful for the environment of recipes). However, we want all makes to use the

[U-Boot] [PATCH v9 29/30] arm1176: Remove unused MMU setup from start.S

2013-03-06 Thread Benoît Thébaudeau
Following the removal of the smdk6400 board, the MMU setup code in arm1176/start.S becomes unused, so remove it. It will still be possible to restore it later from the Git history if necessary, in which case it should be moved out of the relocate_code() function. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v9 25/30] arm: Remove support for smdk6400

2013-03-06 Thread Benoît Thébaudeau
The migration of boards from Makefile to boards.cfg was due for v2012.03, but smdk6400 did not follow, and it does not build, so move it to scrapyard. It will still be possible to restore it from the Git history before fixing it. Signed-off-by: Benoît Thébaudeau --- Changes in v9: - Rebase follo

[U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-03-06 Thread Benoît Thébaudeau
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by: Benoît Thébaudeau Tested-by: Fabio Estevam --- Changes in v9: None Changes in v8: - Update doc/README.arm-relocation. - Drop useless line feed at end of inline

[U-Boot] [PATCH v9 20/30] arm: Remove unused relocate_code() parameters

2013-03-06 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: - Update the function prototype in start.

[U-Boot] [PATCH v9 22/30] .gitignore: Add /SPL

2013-03-06 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .gitignore |1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore

[U-Boot] [PATCH v9 19/30] arm926ejs: Remove deprecated and now unused NAND SPL

2013-03-06 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/start.S | 10 -- 1 file changed, 10 deletions(-) diff -

[U-Boot] [PATCH v9 17/30] imx: Fix automatic make targets for imx images

2013-03-06 Thread Benoît Thébaudeau
Automatically build the 'u-boot.imx' (i.e. imx header + u-boot.bin) and 'SPL' (i.e. imx header + u-boot-spl.bin) make targets for all imx processors supporting this header, so for arm926ejs, arm1136 and armv7. Some combinations were missing. At the same time, fix the build of SPL targets not suppo

[U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-06 Thread Benoît Thébaudeau
Give more flexibility to define configs that can be interpreted by make, e.g. to define fallback values of configs like in the example below. Before this change, the config lines: #define CONFIG_SPL_MAX_SIZE2048 #define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE would have been changed in au

[U-Boot] [PATCH v9 16/30] Makefile: Change CONFIG_SPL_PAD_TO to image offset

2013-03-06 Thread Benoît Thébaudeau
Change CONFIG_SPL_PAD_TO from a link address to an image offset since this is more handy and closer to the purpose of this config. Automatically define CONFIG_SPL_PAD_TO to CONFIG_SPL_MAX_SIZE (or 0 without CONFIG_SPL_MAX_SIZE). Test that CONFIG_SPL_PAD_TO >= CONFIG_SPL_MAX_SIZE if CONFIG_SPL_PAD

[U-Boot] [PATCH v9 13/30] arm: relocate_code(): Use __image_copy_end for end of relocation

2013-03-06 Thread Benoît Thébaudeau
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca72, but applied to all ARM start.S. This is a more appropriate symbol naming for an image copy & relocate feature, and this also saves a useless copy of data put between __image_copy_e

[U-Boot] [PATCH v9 14/30] arm: crt0.S: Remove bogus .globl

2013-03-06 Thread Benoît Thébaudeau
The purpose of .globl is to export symbols for ld, not to declare external symbols. By the way, use the ENTRY() and ENDPROC() macros to define functions rather than using .global directly. Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: - Use ENTRY() and ENDPROC() to def

[U-Boot] [PATCH v9 12/30] arm: relocate_code(): Remove useless relocation offset computation

2013-03-06 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: - Make sure that r9 is initialized in all cases because it may be used after relocate_code(). Changes in v7: None Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: No

[U-Boot] [PATCH v9 11/30] arm1136: Remove redundant relocate_code() return

2013-03-06 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch, extracted from "nand: mxc: Switch NAND SPL to generic SPL". Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm1136/start.S

[U-Boot] [PATCH v9 08/30] nand: mxc: Use appropriate page number in syndrome functions

2013-03-06 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau --- Changes i

[U-Boot] [PATCH v9 09/30] arm: start.S: Fix _TEXT_BASE for SPL

2013-03-06 Thread Benoît Thébaudeau
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to CONFIG_SYS_TEXT_BASE for non-SPL builds. Signed-off-by: Benoît Thébaudeau Reviewed-by: Tom Rini --- Changes in v9: None Changes in v8: - Apply to mxs SPL too. Changes in v7: None Changes in v6: - New patch. Changes in v5:

[U-Boot] [PATCH v9 10/30] arm: relocate_code() is no longer noreturn

2013-03-06 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made ARM's relocate_code() return to its caller, but it did not update its declaration accordingly. Fixing this function declaration fixes dropped C code following calls to relocate_code(). Signed-off-by: Benoît Thébaudeau --- Changes in v9: None C

[U-Boot] [PATCH v9 06/30] imx: mx53ard: Add support for NAND Flash

2013-03-06 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by: Benoî

[U-Boot] [PATCH v9 07/30] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-03-06 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: No

[U-Boot] [PATCH v9 05/30] imx: mx5: lowlevel_init: Simplify code

2013-03-06 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau Acked-by: Stefano Babic --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - New patch. Changes in v2: None arch/a

[U-Boot] [PATCH v9 03/30] nand: mxc: Prepare to add support for i.MX5

2013-03-06 Thread Benoît Thébaudeau
Add some abstraction to NFC definitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau Tested-by: Fabio Estevam --- Changes in v9: None Changes in v8: None Changes in v7: - Fix typo in patch desc

[U-Boot] [PATCH v9 04/30] nand: mxc: Add support for i.MX5

2013-03-06 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Tested-by: Fabio Estevam --- Changes in v9: - Drop the now unused SRC register definitions. Changes in v8: - Rebase on Fabio's patches using CONFIG_SYS_NAND_BUSWIDTH_16BIT instead of NAND Flash boot config pins to determine NAND Flash bus width. Changes in

[U-Boot] [PATCH v9 02/30] mtd: nand: mxc_nand: Fix is_16bit_nand()

2013-03-06 Thread Benoît Thébaudeau
From: Fabio Estevam Currently is_16bit_nand() is a per SoC function and it decides the bus nand width by reading some boot related registers. This method works when NAND is the boot medium, but does not work if another boot medium is used. For example: booting from a SD card and then using NAND

[U-Boot] [PATCH v9 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-03-06 Thread Benoît Thébaudeau
From: Fabio Estevam Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller drivers could use it when a 16-bit NAND is deployed. drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just rename it, so that other NAND drivers could reuse the same symbol. Signed-off-by: Fabio

Re: [U-Boot] [PATCH] mtd: nand: fix the written length when nand_write_skip_bad failed

2013-03-06 Thread Scott Wood
On 03/06/2013 08:56:56 AM, htbegin wrote: Hi, Scott Thanks for your review. On Tue, Mar 5, 2013 at 9:58 AM, Scott Wood wrote: > On 03/02/2013 03:01:10 AM, Tao Hou wrote: >> >> When the data has been partially written into the NAND Flash, >> returning the written length instead of 0. The wri

[U-Boot] [PATCH v4] Introduced btrfs file-system with btrload command

2013-03-06 Thread Adnan Ali
Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code, commit 269ebc845ebc8b46ef4b0be7fa0005c7fdb95b8d. v4: btrls command added. v3: patch re-formated. v2:

[U-Boot] [PATCH v4] addition of btrfs to u-boot

2013-03-06 Thread Adnan Ali
Adnan Ali (1): Introduced btrfs file-system with btrload command Makefile |1 + common/Makefile|1 + common/cmd_btr.c | 65 +++ fs/btrfs/Makefile | 51 ++ fs/btrfs/btrfs.c | 1209

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-06 Thread Marek Vasut
Dear Otavio Salvador, > On Wed, Mar 6, 2013 at 12:41 PM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Wed, Mar 6, 2013 at 11:31 AM, Marek Vasut wrote: > >> > Dear Otavio Salvador, > >> > > >> >> On Thu, Feb 28, 2013 at 7:59 PM, Fabio Estevam wrote: > >> >> > From: Fabio Estevam

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-06 Thread Otavio Salvador
On Wed, Mar 6, 2013 at 12:41 PM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Wed, Mar 6, 2013 at 11:31 AM, Marek Vasut wrote: >> > Dear Otavio Salvador, >> > >> >> On Thu, Feb 28, 2013 at 7:59 PM, Fabio Estevam wrote: >> >> > From: Fabio Estevam >> >> > >> >> > Currently the following ke

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-06 Thread Marek Vasut
Dear Otavio Salvador, > On Wed, Mar 6, 2013 at 11:31 AM, Marek Vasut wrote: > > Dear Otavio Salvador, > > > >> On Thu, Feb 28, 2013 at 7:59 PM, Fabio Estevam wrote: > >> > From: Fabio Estevam > >> > > >> > Currently the following kernel hang happens when loading a 2.6.35 > >> > kernel from Fr

[U-Boot] [PATCH v3 3/3] mx6qsabre{sd,auto}: Add boot mode select

2013-03-06 Thread Otavio Salvador
Adds support for 'bmode' command which let user to choose where to boot from; this allows U-Boot to load system from another storage without messing with jumpers. Signed-off-by: Otavio Salvador --- Changes in v3: - Drop change in bootdelay; the change where done by me while testing it and I mis

[U-Boot] [PATCH v3 2/3] mx6qsabresd: Document the mapping of USDHC[2-4]

2013-03-06 Thread Otavio Salvador
This documents the SD card identifier so it is easier for user to spot which card number will be used, if need. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: - Improve commit log board/freescale/mx6qsabresd/mx6qsabresd.c | 4 1 file changed, 4 insertions(+) diff --

[U-Boot] [PATCH v3 1/3] mx6qsabresd: Fix card detection for invalid card id case

2013-03-06 Thread Otavio Salvador
This changes the code so in case an unkown value is passed it will return as invalid. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: - Rework code to use a 'ret' variable (Fabio) board/freescale/mx6qsabresd/mx6qsabresd.c | 11 +++ 1 file changed, 7 insertions(+),

[U-Boot] [PATCH v3 0/3] i.MX6 SabreSD and SabreAUTO bmode support

2013-03-06 Thread Otavio Salvador
This adds the bmode support for i.MX6 SabreSD and SabreAUTO boards. This allows user to choose the boot mode at runtime making it easy to boot from USB or other media. Changes in v3: - Drop change in bootdelay; the change where done by me while testing it and I mistakenly included it. Changes

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-06 Thread Otavio Salvador
On Wed, Mar 6, 2013 at 11:31 AM, Marek Vasut wrote: > Dear Otavio Salvador, > >> On Thu, Feb 28, 2013 at 7:59 PM, Fabio Estevam wrote: >> > From: Fabio Estevam >> > >> > Currently the following kernel hang happens when loading a 2.6.35 kernel >> > from Freeescale on a mx28evk board: >> > >> > RP

Re: [U-Boot] [PATCH] mtd: nand: fix the written length when nand_write_skip_bad failed

2013-03-06 Thread htbegin
Hi, Scott Thanks for your review. On Tue, Mar 5, 2013 at 9:58 AM, Scott Wood wrote: > On 03/02/2013 03:01:10 AM, Tao Hou wrote: >> >> When the data has been partially written into the NAND Flash, >> returning the written length instead of 0. The written length >> may be useful when the upper lev

Re: [U-Boot] [PATCH 2/2 v2] Exynos5: spl: Reduce clock init in spl

2013-03-06 Thread Akshay Saraswat
Hi Simon, >Hi Akshay, > >On Tue, Mar 5, 2013 at 2:53 AM, Akshay Saraswat wrote: >> This patch subtracts a part of clock init from spl >> and executes it after relocation. spl_clock_init >> executes in spl and system_clock_init executes after >> relocation in u-boot. This is done to gain some spac

Re: [U-Boot] [PATCH 2/2 v2] Exynos5: spl: Reduce clock init in spl

2013-03-06 Thread Akshay Saraswat
Hi Simon, >Hi Akshay, > >On Tue, Mar 5, 2013 at 2:53 AM, Akshay Saraswat wrote: >> This patch subtracts a part of clock init from spl >> and executes it after relocation. spl_clock_init >> executes in spl and system_clock_init executes after >> relocation in u-boot. This is done to gain some spac

Re: [U-Boot] [PATCH 4/5 v4] gen: Add ACE acceleration to hash

2013-03-06 Thread Akshay Saraswat
Hi Kim, >On Tue, 5 Mar 2013 17:51:00 -0800 >Simon Glass wrote: > >> Hi Kim, >> >> On Tue, Mar 5, 2013 at 2:43 PM, Kim Phillips >> wrote: >> > On Tue, 5 Mar 2013 08:19:59 -0500 >> > Akshay Saraswat wrote: >> > >> >> Tested with command "hash sha256 0x40008000 0x2B 0x40009000". >> >> Used mm an

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-06 Thread Marek Vasut
Dear Otavio Salvador, > On Thu, Feb 28, 2013 at 7:59 PM, Fabio Estevam wrote: > > From: Fabio Estevam > > > > Currently the following kernel hang happens when loading a 2.6.35 kernel > > from Freeescale on a mx28evk board: > > > > RPC: Registered tcp transport module. > > RPC: Registered tcp N

Re: [U-Boot] [PATCH 1/4 v3] Exynos: Add hardware accelerated SHA 256

2013-03-06 Thread Akshay Saraswat
Hi Kim, >On Fri, 1 Mar 2013 11:16:22 -0500 >Akshay Saraswat wrote: > >> SHA-256 and SHA-1 accelerated using ACE hardware. > >curious about the rationale: how much faster is this than software? > Time taken by s/w and h/w sha256 are as given below: Size: 0x1000 s/w - 11 ticks h/w - 10 ticks Size

Re: [U-Boot] [PATCH 1/4] Exynos: Add hardware accelerated SHA 256

2013-03-06 Thread Akshay Saraswat
Hi Kim, >On Fri, 1 Mar 2013 16:11:36 + >Akshay Saraswat wrote: > >> Samsung Enterprise Portal mySingle >> >> >> >> Hi Kim, >> >> >> >> >On Thu, 28 Feb 2013 11:08:21 + >> >> >Akshay Saraswat wrote: >> >As you can see, no. It looks like you didn't change anything. I >have to ma

[U-Boot] [PATCH 2/2 v3] Exynos5: spl: Reduce clock init in spl

2013-03-06 Thread Akshay Saraswat
This patch subtracts a part of clock init from spl and executes it after relocation. spl_clock_init executes in spl and system_clock_init executes after relocation in u-boot. This is done to gain some space by removing initially not necessary code. Signed-off-by: Akshay Saraswat --- Changes since

[U-Boot] [PATCH 1/2 v3] Exynos5: spl: Reorganize mem_timing struct to gain space in spl

2013-03-06 Thread Akshay Saraswat
Distributes struct mem_timings into new different structures to gain space in spl by removing necessity of maintaining two big and almost similar mem_timings instances. Signed-off-by: Akshay Saraswat --- Changes since v1: - None. Changes since v2: - Replaced non_spl_clock_div wit

[U-Boot] [PATCH 0/2 v3] Exynos5: spl: Reduce spl size

2013-03-06 Thread Akshay Saraswat
This patch set tries to gain some space in spl by restructuring and reorganising some code in two different clock init's for two different times of execution. Compiler arm-2011.09: With patches u-boot-spl.bin size - 3900 bytes. Without patches u-boot-spl.bin size - 4924 bytes. Compiler arm-2009q3

[U-Boot] [PATCH 4/4 v5] Exynos: config: Enable hash command

2013-03-06 Thread Akshay Saraswat
This enables hash command. Tested with command "hash sha256 0x40008000 0x2B 0x40009000". Used mm and md to write a standard string to memory location 0x40008000 and ran the above command to verify the output. Signed-off-by: ARUN MANKUZHI Signed-off-by: Akshay Saraswat Acked-by: Simon Glass ---

[U-Boot] [PATCH 3/4 v5] gen: Add ACE acceleration to hash

2013-03-06 Thread Akshay Saraswat
ACE H/W acceleration support is added to hash which can be used to test SHA 256 hash algorithm. Signed-off-by: ARUN MANKUZHI Signed-off-by: Akshay Saraswat --- Changes since v1: - Added sha256 support to "hash" command instead of new sha256 command. Changes sice v2: - Added new

[U-Boot] [PATCH 2/4 v5] Exynos: config: Enable ACE HW for SHA 256 for Exynos

2013-03-06 Thread Akshay Saraswat
This enables SHA 256 for exynos. Signed-off-by: ARUN MANKUZHI Signed-off-by: Akshay Saraswat Acked-by: Simon Glass --- Changes since v1: - Removed not required config. Changes sice v2: - Added "SHA1" in the comment for config. Changes sice v3: - Added "Acked-by: Simon

[U-Boot] [PATCH 1/4 v5] Exynos: Add hardware accelerated SHA256 and SHA1

2013-03-06 Thread Akshay Saraswat
SHA-256 and SHA-1 accelerated using ACE hardware. Signed-off-by: ARUN MANKUZHI Signed-off-by: Akshay Saraswat --- Changes since v1: - Moved code to drivers/crypto. - Fixed few other nits. Changes since v2: - Added falling back to software sha256 in case length exceeds bu

[U-Boot] [PATCH 0/4 v5] Add ACE HW support for SHA256 and SHA1

2013-03-06 Thread Akshay Saraswat
This patch set adds hardware acceleration for SHA 256 with the help of ACE. Changes since v1: - Patch-1: Fixed few nits. - Patch-2: Removed not required config. - Patch-3: Added sha256 to hash command instead of new sha256 command. Changes since v2: - Patch-1:

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-06 Thread Otavio Salvador
On Thu, Feb 28, 2013 at 7:59 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Currently the following kernel hang happens when loading a 2.6.35 kernel from > Freeescale on a mx28evk board: > > RPC: Registered tcp transport module. > RPC: Registered tcp NFSv4.1 backchannel transport module. > Bu

Re: [U-Boot] [PATCH] usb:composite:fix Provide function data when addressing device with only one interface

2013-03-06 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/06/2013 02:45 AM, Pantelis Antoniou wrote: [snip] >> Sorry about missing this thread. I've been busy with other >> stuff. > >> What kind of regressions are we talking about? > >> I'm trying to get around to looking into all of this, but this >

Re: [U-Boot] Hang issue when applied patch "spi: Add SPI flash test"

2013-03-06 Thread Hu Mingkai-B21284
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, March 04, 2013 9:59 PM > To: Hu Mingkai-B21284 > Cc: U-Boot Mailing List > Subject: Re: Hang issue when applied patch "spi: Add SPI flash test" > > +U-Boot mailing list > > Hi

Re: [U-Boot] [PATCH V7 10/10] EXYNOS5: I2C: Added FDT and non-FDT support for I2C

2013-03-06 Thread Hung-ying Tyan
On Tue, Mar 5, 2013 at 9:11 PM, Amar wrote: > This patch adds FDT and non-FDT support for I2C, and initialise > the I2C channels. > > Signed-off-by: Amar > Tested-by: Hung-ying Tyan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

Re: [U-Boot] [PATCH] I2C: S3C24X0: Bug fixes in i2c_transfer

2013-03-06 Thread Hung-ying Tyan
On Tue, Feb 19, 2013 at 8:19 PM, Rajeshwari Shinde wrote: > This patch corrects the following issues > > 1) Write the correct M/T Stop value to I2CSTAT after i2c write. >According to the spec, after finish the data transmission, we should >write a M/T Stop (I2C_MODE_MT | I2C_TXRX_ENA) to

[U-Boot] [PATCH v4 1/2] usb: ehci: exynos: Fix multiple FDT decode

2013-03-06 Thread Vivek Gautam
With current FDT support driver tries to parse device node twice in ehci_hcd_init() and ehci_hcd_stop(), which shouldn't happen ideally. Making provision to store data in a global structure and thereby passing its pointer when needed. Signed-off-by: Vivek Gautam --- Changes from v3: - Checking

[U-Boot] [PATCH v4 2/2] usb: ehci: exynos: Enable non-dt path

2013-03-06 Thread Vivek Gautam
Enabling the non-dt path for the driver so that we don't get any build errors for non-dt configuration. Signed-off-by: Vivek Gautam Acked-by: Simon Glass --- Changes from v3: - No change Changes from v2: - Adding necessary typecast (struct ehci_hccr *) for ctx->hcd. Changes from v1: - Usin

[U-Boot] [PATCH v4 0/2] usb: ehci: exynos: Fixes for non-fdt systems

2013-03-06 Thread Vivek Gautam
Based on 'master' branch of u-boot-samsung. Changes from v3: - Adding necesasry check for return error of exynos_usb_parse_dt() and returning accordingly from ehci_hcd_init(). - Removing unnecessary parentheses around ctx->hcd. Vivek Gautam (2): usb: ehci: exynos: Fix multiple FDT decode

Re: [U-Boot] [PATCH] VCMA9: Enable CONFIG_CMD_NAND_YAFFS

2013-03-06 Thread David Müller (ELSOFT AG)
Tom Rini wrote: > As this board has NAND and supports YAFFS2, add CONFIG_MD_NAND_YAFFS > > Cc: David Müller > Signed-off-by: Tom Rini Acked-by: David Müller ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot