Re: [U-Boot] Problems around fatwrite command from uboot

2013-03-01 Thread Jean Louis
Hi Damien, I see there are other set_cluster() uses and then your test of size=0 is certainly at the good place. It remains for me to try to reproduce the Invalid FAT entry on one SD (my first post) and test to reboot it with the new version patched uboot to see if the new write of file doesn't

[U-Boot] [PATCH] powerpc/mpc85xx: set clock-frequency for T4/B4 clockgen node

2013-03-01 Thread Yuantian.Tang
From: Tang Yuantian yuantian.t...@freescale.com For T4/B4, the clockgen node compatible string is updated to version 2. Add clock-frequency setting for this new version. Signed-off-by: Tang Yuantian yuantian.t...@freescale.com --- arch/powerpc/cpu/mpc85xx/fdt.c |2 ++ 1 files changed, 2

[U-Boot] [PATCH 0/4 V2] SMDK5250: FDT: Add device tree support for console

2013-03-01 Thread Rajeshwari Shinde
Enabled fdt support for default console on SMDK5250. Changes in V2: - Changed the compatible string to samsung,exynos4210-uart Rajeshwari Shinde (4): EXYNOS5: FDT: Add compatible strings for Serial EXYNOS5: FDT: Add serial device node values S5P: Serial: Add fdt support to driver

[U-Boot] [PATCH 3/4 V2] S5P: Serial: Add fdt support to driver

2013-03-01 Thread Rajeshwari Shinde
This patch adds FDT support to the serial s5p driver. At present disabling the serial console (from the device tree) crashes U-Boot. Add checks for this case, so that execution can continue without a serial console. It also enables the serial_s5p driver recognize the silent_console option.

[U-Boot] [PATCH 1/4 V2] EXYNOS5: FDT: Add compatible strings for Serial

2013-03-01 Thread Rajeshwari Shinde
Add required compatible information for s5p serial driver Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - Changed the compatible string to samsung,exynos4210-uart include/fdtdec.h |1 + lib/fdtdec.c

[U-Boot] [PATCH 2/4 V2] EXYNOS5: FDT: Add serial device node values

2013-03-01 Thread Rajeshwari Shinde
This patch adds the device node required for serial driver Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - Changed the compatible string to samsung,exynos4210-uart arch/arm/dts/exynos5250.dtsi

[U-Boot] [PATCH 4/4 V2] CONFIG: EXYNOS5: Enable silent console

2013-03-01 Thread Rajeshwari Shinde
This patch enables CONFIG_SILENT_CONSOLE for EXYNOS5. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - None include/configs/exynos5250-dt.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[U-Boot] FW: [PATCH 1/2] drivers/net/designware, do an explicit memory access instead of implicit, re-written assignments to use readl() and writel(), all of this as preperation for making the driver

2013-03-01 Thread Frank Dols
[[ ... to get attention again ... see below ...]] On 2/8/2013 6:22 PM, Frank Dols wrote: Good afternoon Vipin and Albert, I where wondering, is there any review/update news on the patches I submitted a short while ago? Regards, Frank. Sorry, first excluded u-boot@lists.denx.de from this

Re: [U-Boot] M29EW flash is detected as 0xFF

2013-03-01 Thread Jagan Teki
Hi Stefan, On Fri, Mar 1, 2013 at 12:48 PM, Stefan Roese s...@denx.de wrote: On 01.03.2013 08:12, Jagan Teki wrote: I made a fix for hw cfi issue when device is operating in 8-bit mode, If the above changes are looks fine we may have this fix will solve the M29EW flashes operates under 8-bit

[U-Boot] [PATCH v3] cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagannadha Sutradharudu Teki
This fix is taken from the http://patchwork.ozlabs.org/patch/140863/ along with these changes I have done few minor code cleanups. Originally commited by aaron.willi...@caviumnetworks.com which as same title. I have tested these changes on 256M29EW, 512M29EW flahes, no issues as of now. Thanks,

[U-Boot] [PATCH v3] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagannadha Sutradharudu Teki
This commit is based on that patch from aaron.willi...@caviumnetworks.com with same commit along with few code cleanup changes. This patch corrects the addresses used when working with Spansion/AMD FLASH chips. Addressing for 8 and 16 bits is almost identical except in the 16-bit case the LSB of

[U-Boot] [PATCH] mtd: cfi_flash: Write buffer size adjustment for M29EW Numonyx devices

2013-03-01 Thread Jagannadha Sutradharudu Teki
This patch addjusted the write buffer size for M29EW devices those are operated in 8-bit mode. The M29EW devices seem to report the CFI information wrong when it's in 8 bit mode. There's an app note from Numonyx on this issue and there's a patch in the open source as well for Linux, but it

Re: [U-Boot] [PATCH v3] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Stefan Roese
On 01.03.2013 12:23, Jagannadha Sutradharudu Teki wrote: This commit is based on that patch from aaron.willi...@caviumnetworks.com with same commit along with few code cleanup changes. This patch corrects the addresses used when working with Spansion/AMD FLASH chips. Addressing for 8 and

Re: [U-Boot] [PATCH v3] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagan Teki
Hi Stefan, On Fri, Mar 1, 2013 at 5:20 PM, Stefan Roese s...@denx.de wrote: On 01.03.2013 12:23, Jagannadha Sutradharudu Teki wrote: This commit is based on that patch from aaron.willi...@caviumnetworks.com with same commit along with few code cleanup changes. This patch corrects the

Re: [U-Boot] [PATCH v3] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Stefan Roese
On 01.03.2013 12:53, Jagan Teki wrote: Please preserve the previous commit text and the S-o-b lines for patch authorship. And add your comments with the additions to this text. And finally your S-o-b as well of course. OK, can send with the same version v3? No, v3 is already taken. Bump it

[U-Boot] [PATCH v4] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagannadha Sutradharudu Teki
This commit is based on that patch from aaron.willi...@caviumnetworks.com with same commit title. http://patchwork.ozlabs.org/patch/140863/ http://lists.denx.de/pipermail/u-boot/2011-April/089606.html This patch corrects the addresses used when working with Spansion/AMD FLASH chips. Addressing

[U-Boot] [PATCH v8 01/31] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-03-01 Thread Benoît Thébaudeau
From: Fabio Estevam fabio.este...@freescale.com 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

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

2013-03-01 Thread Benoît Thébaudeau
From: Fabio Estevam fabio.este...@freescale.com 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

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

2013-03-01 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:

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

2013-03-01 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 benoit.thebaud...@advansee.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in v8: None

[U-Boot] [PATCH v8 05/31] imx: mx5: lowlevel_init: Simplify code

2013-03-01 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Stefano Babic sba...@denx.de --- 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.

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

2013-03-01 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

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

2013-03-01 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 benoit.thebaud...@advansee.com --- Changes in v8: None Changes in v7: None

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

2013-03-01 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- 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 v7:

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

2013-03-01 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

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

2013-03-01 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 benoit.thebaud...@advansee.com --- Changes in v8: - Apply to mxs SPL too. Changes in v7: None Changes in v6: - New patch. Changes in v5: None

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

2013-03-01 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

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

2013-03-01 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 benoit.thebaud...@advansee.com --- Changes in v8: - Use ENTRY() and

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

2013-03-01 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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 tools/scripts/define2mk.sed |2 ++ 1 file changed, 2 insertions(+) diff

[U-Boot] [PATCH v8 16/31] Makefile: Change CONFIG_SPL_PAD_TO to image offset

2013-03-01 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

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

2013-03-01 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

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

2013-03-01 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

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

2013-03-01 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

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

2013-03-01 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

[U-Boot] [PATCH v8 22/31] .gitignore: Add /SPL

2013-03-01 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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

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

2013-03-01 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 benoit.thebaud...@advansee.com --- Changes in v8: - Update the function

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

2013-03-01 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 v8 18/31] nand: mxc: Switch NAND SPL to generic SPL

2013-03-01 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 benoit.thebaud...@advansee.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in v8: - Update doc/README.arm-relocation. -

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

2013-03-01 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

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

2013-03-01 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

[U-Boot] [PATCH v8 26/31] Revert mkconfig: start deprecating Makefile config targets

2013-03-01 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 benoit.thebaud...@advansee.com --- Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None

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

2013-03-01 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- 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 v8 29/31] arm1176: Remove unused MMU setup from start.S

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

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

2013-03-01 Thread Benoît Thébaudeau
Let all ARM linker scripts handle properly -ffunction-sections and -fdata-sections. This will be useful for the following changes in order to create symbol-specific sections in the common crt0.S. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v8: - New patch.

[U-Boot] [PATCH v8 25/31] arm: Remove support for smdk6400

2013-03-01 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 benoit.thebaud...@advansee.com ---

Re: [U-Boot] [PATCH v4] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Stefan Roese
On 01.03.2013 13:05, Jagannadha Sutradharudu Teki wrote: This commit is based on that patch from aaron.willi...@caviumnetworks.com with same commit title. http://patchwork.ozlabs.org/patch/140863/ http://lists.denx.de/pipermail/u-boot/2011-April/089606.html This patch corrects the

Re: [U-Boot] [PATCH v4] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagannadha Sutradharudu Teki
Hi Stefan, -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: 01 March 2013 17:43 To: Jagannadha Sutradharudu Teki Cc: u-boot@lists.denx.de; mon...@monstr.eu; Jagannadha Sutradharudu Teki; Aaron Williams Subject: Re: [PATCH v4] mtd: cfi_flash: Fix CFI flash driver

Re: [U-Boot] [PATCH v4] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Stefan Roese
On 01.03.2013 13:19, Jagannadha Sutradharudu Teki wrote: Please also add a From: Aaran ... line as first line in your commit text to preserve the patch authorship. Seems like I have added the first line with Aran.. as + This commit is based on that patch from

[U-Boot] [PATCH] Allow AM335x MPU core clock speed to be specified in the board config file

2013-03-01 Thread Mark Jackson
Allow AM335x MPU core clock speed to be specified in the board config file. To use, add the following to the board's config file:- #define V_MPUCLKdesired clock freq in Hz Signed-off-by: Mark Jackson m...@newflow.co.uk --- arch/arm/include/asm/arch-am33xx/clocks_am33xx.h |4 1

Re: [U-Boot] [PATCH v4] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagannadha Sutradharudu Teki
Hi Stefan, -Original Message- From: Stefan Roese [mailto:s...@denx.de] Sent: 01 March 2013 17:57 To: Jagannadha Sutradharudu Teki Cc: u-boot@lists.denx.de; mon...@monstr.eu; Aaron Williams Subject: Re: [PATCH v4] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support On

[U-Boot] [PATCH v5] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagannadha Sutradharudu Teki
From aaron.willi...@caviumnetworks.com ... This commit is based on that patch from aaron.willi...@caviumnetworks.com with same commit title. pulled the same code changes into current u-boot tree. http://patchwork.ozlabs.org/patch/140863/

Re: [U-Boot] [PATCH v5] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Stefan Roese
On 01.03.2013 13:34, Jagannadha Sutradharudu Teki wrote: From aaron.willi...@caviumnetworks.com ... No. This won't work. This needs to be: From: Aaron Williams aaron.willi...@caviumnetworks.com And without of course. Thanks, Stefan ___ U-Boot

[U-Boot] [PATCH v6] mtd: cfi_flash: Fix CFI flash driver for 8-bit bus support

2013-03-01 Thread Jagannadha Sutradharudu Teki
From: aaron.willi...@caviumnetworks.com This commit is based on that patch from aaron.willi...@caviumnetworks.com with same commit title. pulled the same code changes into current u-boot tree. http://patchwork.ozlabs.org/patch/140863/ http://lists.denx.de/pipermail/u-boot/2011-April/089606.html

[U-Boot] [PATCH] arm:trats: change auto-booting to boot kernel with separate device tree blob

2013-03-01 Thread Arek Wlodarczyk
From: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Tested-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes: Modify autoboot

Re: [U-Boot] [PATCH v4 0/11] Add BF60x processor support to Blackfin architecture.

2013-03-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2013 09:10 PM, Sonic Zhang wrote: Hi Tom, On Fri, Mar 1, 2013 at 5:22 AM, Tom Rini tr...@ti.com wrote: On Thu, Feb 21, 2013 at 07:06:38PM +0800, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com ADSP-BF60x is the new

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

2013-03-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/28/2013 10:55 PM, Simon Glass wrote: Hi Tom, On Thu, Feb 28, 2013 at 4:22 PM, Simon Glass s...@chromium.org wrote: Hi Tom, On Thu, Feb 28, 2013 at 3:00 PM, Tom Rini tr...@ti.com wrote: On Wed, Feb 27, 2013 at 01:18:23PM -0800, Simon

Re: [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access - build warnings!

2013-03-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/01/2013 02:45 AM, Albert ARIBAUD wrote: Hi Sricharan, On Fri, 1 Mar 2013 09:57:25 +0530, Sricharan R r.sricha...@ti.com wrote: Hi Albert, On Thursday 28 February 2013 08:35 PM, Albert ARIBAUD wrote: On Thu, 28 Feb 2013 15:20:44

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

2013-03-01 Thread Lukasz Majewski
This commit fixes problems with some non-standard requests send with device address instead of interface address (bmRequestType.Receipent field). This happens with dfu-util (debian version: 0.5), which address non standard requests (like w_value=0x21 and bRequest=GET_DESCRIPTOR) to device.

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

2013-03-01 Thread Marek Vasut
Dear Lukasz Majewski, This commit fixes problems with some non-standard requests send with device address instead of interface address (bmRequestType.Receipent field). This happens with dfu-util (debian version: 0.5), which address non standard requests (like w_value=0x21 and

Re: [U-Boot] [PATCH] Allow AM335x MPU core clock speed to be specified in the board config file

2013-03-01 Thread Peter Korsgaard
Mark == Mark Jackson mpfj-l...@mimc.co.uk writes: Mark Allow AM335x MPU core clock speed to be specified in the board config file. Mark To use, add the following to the board's config file:- Mark #define V_MPUCLK desired clock freq in Hz Mark Signed-off-by: Mark Jackson m...@newflow.co.uk

[U-Boot] [PATCH] cmd_mem: Decode the mtest start and end values from fdt

2013-03-01 Thread Jagannadha Sutradharudu Teki
This patch provides a support to decode the mtest start and end values from fdt config node. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Tested-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- common/cmd_mem.c |6 -- common/main.c| 18 ++ 2

[U-Boot] [PATCH v2] Allow AM335x MPU core clock speed to be specified in the board config file

2013-03-01 Thread Mark Jackson
Allow AM335x MPU core clock speed to be specified in the board config file. To use, add the following to the board's config file:- #define V_MPUCLKdesired clock freq in Hz Signed-off-by: Mark Jackson m...@newflow.co.uk --- Changes in v2: - Tweaked after comments from Peter Korsgaard

Re: [U-Boot] [PATCH v8 29/31] arm1176: Remove unused MMU setup from start.S

2013-03-01 Thread Albert ARIBAUD
Hi Benoît, On Fri, 1 Mar 2013 13:10:38 +0100, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Following the removal of the smdk6400 board, the MMU setup code in arm1176/start.S becomes unused, so move it to scrapyard. It will still be possible to restore it later from the Git history

Re: [U-Boot] [PATCH v8 29/31] arm1176: Remove unused MMU setup from start.S

2013-03-01 Thread Benoît Thébaudeau
Hi Albert, On Friday, March 1, 2013 4:25:25 PM, Albert ARIBAUD wrote: Hi Benoît, On Fri, 1 Mar 2013 13:10:38 +0100, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Following the removal of the smdk6400 board, the MMU setup code in arm1176/start.S becomes unused, so move it to

Re: [U-Boot] [PATCH v8 04/31] nand: mxc: Add support for i.MX5

2013-03-01 Thread Fabio Estevam
Hi Benoît, On Fri, Mar 1, 2013 at 9:10 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: +#if defined(CONFIG_MX51) +#define SRC_SBMR_NF16B (1 2) +#elif defined(CONFIG_MX53) +#define SRC_SBMR_NF16B (1 13) +#endif These definitions are not used anymore and could

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

2013-03-01 Thread Lukasz Majewski
Hi Marek, Dear Lukasz Majewski, This commit fixes problems with some non-standard requests send with device address instead of interface address (bmRequestType.Receipent field). This happens with dfu-util (debian version: 0.5), which address non standard requests (like

Re: [U-Boot] [PATCH v8 04/31] nand: mxc: Add support for i.MX5

2013-03-01 Thread Benoît Thébaudeau
Hi Fabio, On Friday, March 1, 2013 4:33:41 PM, Fabio Estevam wrote: Hi Benoît, On Fri, Mar 1, 2013 at 9:10 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: +#if defined(CONFIG_MX51) +#define SRC_SBMR_NF16B (1 2) +#elif defined(CONFIG_MX53) +#define

Re: [U-Boot] [PATCH v8 01/31] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-03-01 Thread Benoît Thébaudeau
Hi Fabio, On Friday, March 1, 2013 1:10:10 PM, Benoît Thébaudeau wrote: From: Fabio Estevam fabio.este...@freescale.com 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

Re: [U-Boot] [PATCH v8 01/31] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-03-01 Thread Fabio Estevam
On Fri, Mar 1, 2013 at 12:33 PM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: FYI, I've just fixed a space damage (space before tab warning) here when applying. Ok, thanks for fixing it. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v8 31/31] arm: Remove duplicated start.S code

2013-03-01 Thread Albert ARIBAUD
Hi Benoît, On Fri, 1 Mar 2013 13:10:40 +0100, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Factorize start.S code as much as possible. Functions that may need to be customized for some start.S are defined weak for that purpose. relocate_code_prepare() and

Re: [U-Boot] [PATCH v8 31/31] arm: Remove duplicated start.S code

2013-03-01 Thread Benoît Thébaudeau
Hi Albert, On Friday, March 1, 2013 4:46:07 PM, Albert ARIBAUD wrote: Hi Benoît, On Fri, 1 Mar 2013 13:10:40 +0100, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Factorize start.S code as much as possible. Functions that may need to be customized for some start.S are

[U-Boot] [PATCH 0/4 v3] Add ACE HW support for SHA 256

2013-03-01 Thread Akshay Saraswat
This patch set adds hardware acceleration for SHA 256 with the help of ACE. Changes since v2: - Patch-1: - Added falling back to software sha256 in case length exceeds buffer limit. - Reduced one tab at lines 533, 559 and 571 in the patch.

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

2013-03-01 Thread Akshay Saraswat
This enables SHA 256 for exynos. 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. Change-Id: Iff1bb2833686f5a0c5869cc86d20078260ec955e Signed-off-by: ARUN MANKUZHI

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

2013-03-01 Thread Akshay Saraswat
SHA-256 and SHA-1 accelerated using ACE hardware. 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 aru...@samsung.com Signed-off-by:

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

2013-03-01 Thread Akshay Saraswat
ACE H/W acceleration support is added to hash which can be used to test SHA 256 hash algorithm. 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. Change-Id:

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

2013-03-01 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. Change-Id: Ia22095b9391cc5889910a60acbc2e970090ea244 Signed-off-by: ARUN MANKUZHI

Re: [U-Boot] [PATCH v3 1/4] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-03-01 Thread Tom Rini
On Thu, Feb 28, 2013 at 07:37:51PM -0600, Scott Wood wrote: On 02/28/2013 01:09:05 PM, Tom Rini wrote: We make these two functions take a size_t pointer to how much space was used on NAND to read or write the buffer (when reads/writes happen) so that bad blocks can be accounted for. We also

Re: [U-Boot] [PATCH] cmd_mem: Decode the mtest start and end values from fdt

2013-03-01 Thread Wolfgang Denk
Dear Jagannadha Sutradharudu Teki, In message 10597224-d520-4a3f-8185-5de018ee5...@tx2ehsmhs026.ehs.local you wrote: This patch provides a support to decode the mtest start and end values from fdt config node. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Tested-by:

Re: [U-Boot] [PATCH v3 1/4] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-03-01 Thread Tom Rini
On Fri, Mar 01, 2013 at 10:57:40AM -0500, Tom Rini wrote: On Thu, Feb 28, 2013 at 07:37:51PM -0600, Scott Wood wrote: On 02/28/2013 01:09:05 PM, Tom Rini wrote: [snip] @@ -526,16 +543,28 @@ int nand_write_skip_bad(nand_info_t *nand, loff_t offset, size_t *length, if ((offset

Re: [U-Boot] [PATCH v8 31/31] arm: Remove duplicated start.S code

2013-03-01 Thread Benoît Thébaudeau
On Friday, March 1, 2013 4:50:44 PM, Benoît Thébaudeau wrote: Hi Albert, On Friday, March 1, 2013 4:46:07 PM, Albert ARIBAUD wrote: Hi Benoît, On Fri, 1 Mar 2013 13:10:40 +0100, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Factorize start.S code as much as possible.

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

2013-03-01 Thread Tom Rini
On Fri, Mar 01, 2013 at 03:30:18PM +0100, Lukasz Majewski wrote: This commit fixes problems with some non-standard requests send with device address instead of interface address (bmRequestType.Receipent field). This happens with dfu-util (debian version: 0.5), which address non standard

Re: [U-Boot] [PATCH v6 1/3] Add README for the Falcon mode

2013-03-01 Thread Tom Rini
On Sat, Feb 23, 2013 at 11:53:25AM +0100, Stefano Babic wrote: Simple howto to add support to a board for booting the kernel from SPL (Falcon mode). Signed-off-by: Stefano Babic sba...@denx.de --- Changes in v6: - rephrasing some parts to make clearer (Otavio Salvador, Andreas Biessmann)

Re: [U-Boot] [PATCH 01/11] ext4: Split write support into its own file

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:28AM -0800, Simon Glass wrote: This code seems to be entirely othogonal, so remove the #ifdef and put the condition in the Makefile instead. Signed-off-by: Simon Glass s...@chromium.org Reveiwed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description:

Re: [U-Boot] [PATCH 02/11] fs: Fully populate the filesystem method struct

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:29AM -0800, Simon Glass wrote: There is a structure in fs.c with just a probe method. By adding methods for other operations, we can avoid lots of #ifdefs and switch()s. As a first step, create the structure ready for use. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 03/11] fs: Use filesystem methods instead of switch()

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:30AM -0800, Simon Glass wrote: We can use the available methods and avoid using switch(). When the filesystem is not supported, we fall through to the 'unsupported' methods: fs_probe_unsupported() prints an error, so the others do not need to. Signed-off-by:

Re: [U-Boot] [PATCH 04/11] fs: Tell probe functions where to put their results

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:31AM -0800, Simon Glass wrote: Rather than rely on global variables for the probe functions, pass in the information that we need filled in. This allows us to potentially keep the variables private to fs.c in the future, and the meaning of the probe function is

Re: [U-Boot] [PATCH 05/11] fs: Use map_sysmem() on read

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:32AM -0800, Simon Glass wrote: This allows us to use filesystems on sandbox. It has no effect on other architectures. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 06/11] fs: Move ls and read methods into ext4, fat

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:33AM -0800, Simon Glass wrote: It doesn't make a lot of sense to have these methods in fs.c. They are filesystem-specific, not generic code. Add each to the relevant filesystem and remove the associated #ifdefs in fs.c. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 07/11] sandbox: Add a way of obtaining directory listings

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:34AM -0800, Simon Glass wrote: This implementation uses opendir()/readdir() to access the directory information and then puts it in a linked list for the caller's use. Signed-off-by: Simon Glass s...@chromium.org --- arch/sandbox/cpu/os.c | 101

Re: [U-Boot] [PATCH 08/11] sandbox: Add host filesystem

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:35AM -0800, Simon Glass wrote: This allows reading of files from the host filesystem in sandbox. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 09/11] sandbox: Add 'sb' command to access filesystem features

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:36AM -0800, Simon Glass wrote: The new 'sb' command is intended to deal with sandbox-specific features that have no parallel in other archs. This commit adds two sub-commands to list a directory and read a file from the host filesystem. Signed-off-by: Simon

Re: [U-Boot] [PATCH 10/11] sandbox: Enable ext4 and fat filesystems

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:37AM -0800, Simon Glass wrote: These are useful for build-testing code, at least. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 11/11] sandbox: config: Enable sandbox command

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:38AM -0800, Simon Glass wrote: The 'sb' command allows loading files from the host, and listing directories. Signed-off-by: Simon Glass s...@chromium.org Reviewed-by: Tom Rini tr...@ti.com -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 07/11] sandbox: Add a way of obtaining directory listings

2013-03-01 Thread Simon Glass
Hi Tom, On Fri, Mar 1, 2013 at 9:37 AM, Tom Rini tr...@ti.com wrote: On Wed, Dec 26, 2012 at 11:53:34AM -0800, Simon Glass wrote: This implementation uses opendir()/readdir() to access the directory information and then puts it in a linked list for the caller's use. Signed-off-by: Simon

Re: [U-Boot] [PATCH 07/11] sandbox: Add a way of obtaining directory listings

2013-03-01 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/01/2013 01:21 PM, Simon Glass wrote: Hi Tom, On Fri, Mar 1, 2013 at 9:37 AM, Tom Rini tr...@ti.com wrote: On Wed, Dec 26, 2012 at 11:53:34AM -0800, Simon Glass wrote: This implementation uses opendir()/readdir() to access the directory

Re: [U-Boot] [PATCH 07/11] sandbox: Add a way of obtaining directory listings

2013-03-01 Thread Simon Glass
Hi Tom, On Fri, Mar 1, 2013 at 10:26 AM, Tom Rini tr...@ti.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/01/2013 01:21 PM, Simon Glass wrote: Hi Tom, On Fri, Mar 1, 2013 at 9:37 AM, Tom Rini tr...@ti.com wrote: On Wed, Dec 26, 2012 at 11:53:34AM -0800, Simon Glass wrote:

Re: [U-Boot] [PATCH] cmd_mem: Decode the mtest start and end values from fdt

2013-03-01 Thread Tom Rini
On Fri, Mar 01, 2013 at 05:06:48PM +0100, Wolfgang Denk wrote: Dear Jagannadha Sutradharudu Teki, In message 10597224-d520-4a3f-8185-5de018ee5...@tx2ehsmhs026.ehs.local you wrote: This patch provides a support to decode the mtest start and end values from fdt config node.

Re: [U-Boot] FDT howto

2013-03-01 Thread Jagan Teki
Hi Simon, On Fri, Mar 1, 2013 at 10:07 AM, Simon Glass s...@chromium.org wrote: Hi Jagan, On Thu, Feb 28, 2013 at 12:29 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Thu, Feb 28, 2013 at 7:22 PM, Simon Glass s...@chromium.org wrote: Hi Jagan, On Thu, Feb 28, 2013 at 3:14

Re: [U-Boot] [PATCH] cmd_mem: Decode the mtest start and end values from fdt

2013-03-01 Thread Simon Glass
Hi, On Fri, Mar 1, 2013 at 11:15 AM, Tom Rini tr...@ti.com wrote: On Fri, Mar 01, 2013 at 05:06:48PM +0100, Wolfgang Denk wrote: Dear Jagannadha Sutradharudu Teki, In message 10597224-d520-4a3f-8185-5de018ee5...@tx2ehsmhs026.ehs.local you wrote: This patch provides a support to decode the

Re: [U-Boot] FDT howto

2013-03-01 Thread Simon Glass
Hi Jagan, On Fri, Mar 1, 2013 at 11:14 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Fri, Mar 1, 2013 at 10:07 AM, Simon Glass s...@chromium.org wrote: Hi Jagan, On Thu, Feb 28, 2013 at 12:29 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi Simon, On Thu, Feb 28, 2013 at

  1   2   >