Re: [U-Boot] [PATCH 1/2] Exynos: clock: support get_mmc_clk for exynos

2013-01-11 Thread Minkyu Kang
On 28/12/12 17:30, Jaehoon Chung wrote: > To get exactly clock value for mmc, support the get_mmc_clk() like > set_mmc_clk(). > > Signed-off-by: Jaehoon Chung > Signed-off-by: Kyungmin Park > --- > arch/arm/cpu/armv7/exynos/clock.c | 102 > > arch/arm/inc

Re: [U-Boot] [PATCH 2/2] Exynos: clock: add CLK_DIV_FSYS3 at set_mmc_clk

2013-01-11 Thread Minkyu Kang
On 28/12/12 17:30, Jaehoon Chung wrote: > Mobile storage is used the CLK_DIV_FSYS3 value. > > Signed-off-by: Jaehoon Chung > Signed-off-by: kyungmin Park > --- > arch/arm/cpu/armv7/exynos/clock.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > applied to u-boot-samsung. Th

Re: [U-Boot] [PATCH v5 07/20] env: Add support for callbacks to environment vars

2013-01-11 Thread Stefan Roese
Hi Joe, On 12/12/2012 05:16 AM, Joe Hershberger wrote: > Add support for per-variable callbacks to the "hashtable" functions. I just noticed using latest master branch that booting on a NOR flash based board (sequoia, PPC440EPx based) a quite big delay (1..2 seconds) is added upon env_relocate()

[U-Boot] About fixup_memory_node()

2013-01-11 Thread Dennis Lan (dlan)
HI Forks: I have question about why memory info from fdt (memory size) will be overwritten by those come from u-boot source code. function fixup_memory_node() in bootm.c when CONFIG_OF_LIBFDT is defined, then memory node information will be updated says that, if I set memory 2G in fdt file, th

Re: [U-Boot] e1000 : Correct Rx Threshold Granularity

2013-01-11 Thread Anatolij Gustschin
Hello, On Thu, 10 Jan 2013 15:39:42 -0800 Darcy Watkins wrote: > Hello, > > I encountered an issue running an e1000 ethernet device with u-boot > on an x86 (geode) and determined that the patch given in message > # 122700 (April 2012) appears to fix it. Was that not committed > for some reason

Re: [U-Boot] [PATCH V2 1/2] EXYNOS5: Make all display related code dependent on CONFIG_LCD

2013-01-11 Thread Minkyu Kang
On 11/01/13 16:06, Ajay Kumar wrote: > u-boot compilation fails for smdk5250 when we deselect CONFIG_LCD > from the main config file. > > Following error was observed: > drivers/video/libvideo.o: In function `exynos_lcd_init': > /home/ajay/u-boot-samsung/drivers/video/exynos_fb.c:68: undefined ref

Re: [U-Boot] [PATCH V2 2/2] EXYNOS5: Enable console multiplexing in u-boot

2013-01-11 Thread Minkyu Kang
On 11/01/13 16:06, Ajay Kumar wrote: > We enable console multiplexing and use both serial and LCD for stdout/stderr. > Initially, u-boot output console is observed via serial port. > If you also have a DP panel connected onto your SMDK5250 board, > you can switch to LCD console by typing "setenv st

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

2013-01-11 Thread Minkyu Kang
Dear Albert, Merge samsung, imx, tegra into u-boot-arm/master (2012-12-22 11:59:14 +0100) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to a2468dedef569863e1243e802fbe3aa7565e1de1: EXYNOS5: Enable console multiplexing in u-bo

[U-Boot] BDI3000 - Unprotect flash sectors

2013-01-11 Thread Waibel Georg
Hello, i'm not sure if this is the right place for this question...however, here it is: i'm using a BDI3000 to program uboot to the flash (Spansion S29GL512P) on a MPC5200B base board. Erasing / Programming works fine as long as the flash sectors are not protected (via PPB bit). On a protected

Re: [U-Boot] NAND flash - bad blocks

2013-01-11 Thread Dimitar Penev
Hi Scott, On 01/10/2013 01:56:30 AM, Dimitar Penev wrote: Hello, First of all sorry if this question was already answered here. We are sourcing some K9F8G08U0M-PIB0 NAND flash devices. On the first erase in uboot 2011.09 I got bunch of mostly consecutive bad blocks. According to the datashee

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

2013-01-11 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 --- Earlier we had moved to fdt support for ehci-exynos driver, but missed out the non-dt path. Although this driver serves for exysno5 onward only but better to ke

Re: [U-Boot] [PATCH] mx6qsabreauto: enable USB host interface

2013-01-11 Thread Fabio Estevam
On Fri, Jan 11, 2013 at 5:13 AM, Dirk Behme wrote: > From: Knut Wohlrab > > The USB host interface is routed to plug USB1/J30 on the mother board. > > Signed-off-by: Knut Wohlrab Acked-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH] mx6qsabreauto: enable USB host interface

2013-01-11 Thread Stefano Babic
On 11/01/2013 08:13, Dirk Behme wrote: > From: Knut Wohlrab > > The USB host interface is routed to plug USB1/J30 on the mother board. > > Signed-off-by: Knut Wohlrab > --- Hi Dirk, > board/freescale/mx6qsabreauto/mx6qsabreauto.c |7 +++ > include/configs/mx6qsabreauto.h

Re: [U-Boot] BDI3000 - Unprotect flash sectors

2013-01-11 Thread Stefan Roese
Hi Georg, On 01/11/2013 08:41 AM, Waibel Georg wrote: > i'm not sure if this is the right place for this question...however, > here it is: > > i'm using a BDI3000 to program uboot to the flash (Spansion S29GL512P) > on a MPC5200B base board. Erasing / Programming works fine as long as > the flash

Re: [U-Boot] [PATCH] usb: ehci: exynos: Enable non-dt path

2013-01-11 Thread Marek Vasut
Dear 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 Apply on the -samsung please Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH] usb: ehci: exynos: Enable non-dt path

2013-01-11 Thread Vivek Gautam
Hi Marek, CCing Simon Glass, Minkyu Kang. On Fri, Jan 11, 2013 at 3:02 PM, Marek Vasut wrote: > Dear 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 > > Apply on the -samsung please

Re: [U-Boot] [RFC PATCH 2/2] USB: xHCI: Add stack support for xHCI

2013-01-11 Thread Vivek Gautam
Hi Satendra, On Fri, Jan 11, 2013 at 11:02 AM, Satendra Pratap wrote: > Vivek Gautam gmail.com> writes: > >> >> Hi, >> >> On Tue, Oct 23, 2012 at 6:30 PM, Wolfgang Denk denx.de> wrote: >> > Dear Vivek Gautam, >> > >> > In message <1350989687-32102-3-git-send-email-gautam.vivek >> > samsung.c

Re: [U-Boot] [PATCH 2/4 V2] SMDK5250: Convert lowlevel_init.S to lowlevel_init.c

2013-01-11 Thread Rajeshwari Birje
Hi Minkyu Kang, Thank you for comments. On Fri, Jan 11, 2013 at 1:24 PM, Minkyu Kang wrote: > Dear Rajeshwari, > > On 07/01/13 22:08, Rajeshwari Shinde wrote: >> This patch converts lowlevel_init.S to lowlevel_init_c.c for >> SMDK5250. >> Lowlevel.S as of now added only for SMDK5250 and same can

Re: [U-Boot] [PATCH] EXYNOS5: Add L2 Cache Support.

2013-01-11 Thread Rajeshwari Birje
Hi Minkyu, Please do let me know if any comments for same. Regards, Rajeshwari Shinde. On Thu, Dec 27, 2012 at 11:29 AM, Rajeshwari Birje wrote: > Minkyu Kang, > > Please do let me know if any comments regarding this patch. > > Regards, > Rajeshwari Shinde. -- Regards, Rajeshwari Shinde ___

Re: [U-Boot] [PATCH 2/4 V2] SMDK5250: Convert lowlevel_init.S to lowlevel_init.c

2013-01-11 Thread Rajeshwari Birje
Hi Simon, Thank you for comments. On Thu, Jan 10, 2013 at 11:04 PM, Simon Glass wrote: > Hi Rajeshwari, > > On Mon, Jan 7, 2013 at 5:08 AM, Rajeshwari Shinde > wrote: >> This patch converts lowlevel_init.S to lowlevel_init_c.c for >> SMDK5250. >> Lowlevel.S as of now added only for SMDK5250 and

Re: [U-Boot] [RFC PATCH 01/22] sandbox: Allow -c argument to provide a command list

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > This allows passing of entire scripts to sandbox with the -c argument, > which is useful for testing. Commands can be delimited with a newline > or semicolon. > > Signed-off-by: Simon Glass Reviewed-by: Marek Vasut > --- > arch/sandbox/cpu/start.c |2 +- > 1 files cha

Re: [U-Boot] [RFC PATCH 02/22] sandbox: Support 'source' command

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > Enhance the source command to work with sandbox, by using map_sysmem() to > convert a ulong address into a pointer. > > Signed-off-by: Simon Glass Reviewed-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [RFC PATCH 03/22] fs: Add support for saving data to filesystems

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > Add a new method for saving that filesystems can implement. This mirrors > the existing load method. > > Signed-off-by: Simon Glass Reviewed-by: Marek Vasut btw what about fat write support, can this map somehow on it? Best regards, Marek Vasut ___

Re: [U-Boot] [RFC PATCH 04/22] sandbox: fs: Add support for saving files to host filesystem

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > This allows write of files from the host filesystem in sandbox. There is > currently no concept of overwriting the file and removing its existing > contents - all writing is done on top of what is there. This means that > writing 10 bytes to the start of a 1KB file will only up

Re: [U-Boot] [RFC PATCH 07/22] arm: Refactor bootm to reduce #ifdefs

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > With fewer #ifdefs the code is more readable and more of the code is > compiled for all boards. Add defines in the header file to control > what features are enabled, and then use if() instead of #ifdef. > > Signed-off-by: Simon Glass Did you try building it with ELDK 4.2 an

Re: [U-Boot] [RFC PATCH 09/22] powerpc: Use image_setup_linux() instead of local code

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > Rather than having similar code in powerpc, use image_setup_linux() which > should be common across all architectures that use the FDT. > > Signed-off-by: Simon Glass Reviewed-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot

Re: [U-Boot] [RFC PATCH 08/22] arm: Use image_setup_linux() instead of local code

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > Use the common FDT setup function that is now available in image. Move > the FDT-specific code to a new bootm-fdt.c and remove unused headers > from bootm.c. > > Signed-off-by: Simon Glass Reviewed-by: Marek Vasut Best regards, Marek Vasut _

Re: [U-Boot] [RFC PATCH 10/22] m68k: Use image_setup_linux() instead of local code

2013-01-11 Thread Marek Vasut
Dear Simon Glass, > Rather than having similar code in m68k, use image_setup_linux() which > should be common across all architectures that use the FDT. > > Signed-off-by: Simon Glass Reviewed-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mai

[U-Boot] [PATCH v2 1/3] am33xx: add a pulldown macro to pinmux config

2013-01-11 Thread Lars Poeschel
From: Lars Poeschel Signed-off-by: Lars Poeschel --- arch/arm/include/asm/arch-am33xx/mux.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-am33xx/mux.h b/arch/arm/include/asm/arch-am33xx/mux.h index aed6b00..460ac1c 100644 --- a/arch/arm/incl

[U-Boot] [PATCH v2 2/3] pcm051: Add support for Phytec phyCORE-AM335x

2013-01-11 Thread Lars Poeschel
From: Lars Poeschel The board is named pcm051 and has this hardware: SOC: TI AM3359 DDR3-RAM: 2x MT41J256M8HX-15EIT:D 512MiB ETH 1: LAN8710AI SPI-Flash: W25Q64BVSSIG RTC: RV-4162-C7 I2C-EEPROM: CAT32WC32 NAND: MT29F4G08_VFPGA63 PMIC: TPS65910A3 LCD Supported: UART 1 MMC/SD ETH 1 USB I2C SPI Not

[U-Boot] [PATCH v2 3/3] am335x: display msg when reading MAC from efuse

2013-01-11 Thread Lars Poeschel
From: Lars Poeschel When ethaddr is not set in environment the MAC address is read from efuse. The message was only printed in debug case, but this message could be of interest for the ordinary user, so printf it. Signed-off-by: Lars Poeschel --- board/ti/am335x/board.c |2 +- 1 file chang

Re: [U-Boot] [PATCH V4 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-01-11 Thread Amarendra Reddy
Hi Simon / Jaehoon, Thanks for review comments. Please find the responses below. Thanks & Regards Amarendra Reddy On 11 January 2013 11:14, Simon Glass wrote: > Hi Jaehoon, > > On Thu, Jan 10, 2013 at 8:12 PM, Jaehoon Chung > wrote: > > On 01/11/2013 12:33 AM, Simon Glass wrote: > >> Hi Amar,

[U-Boot] [PATCH 01/18] mxs: mmc: Drop unused members from struct mxsmmc_priv

2013-01-11 Thread Marek Vasut
The clock data are not used by the driver, drop them. Signed-off-by: Marek Vasut Cc: Andy Fleming Cc: Fabio Estevam Cc: Stefano Babic --- drivers/mmc/mxsmmc.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c index 024df59..aa3d1b0

[U-Boot] [PATCH 03/18] mxs: clock: Use 'mxs' prefix for methods

2013-01-11 Thread Marek Vasut
From: Otavio Salvador Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/clock.c | 46 +++--- arch/arm/include/asm/arch-mxs/clock.h|6 ++-- board/bluegiga/apx4devkit/apx4devkit.c |6 +

[U-Boot] [PATCH 14/18] mmc: Limit the number of used SSP ports on MX23

2013-01-11 Thread Marek Vasut
The MX23 can only use two SSP ports. Signed-off-by: Marek Vasut Cc: Andy Fleming Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- drivers/mmc/mxsmmc.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c ind

[U-Boot] [PATCH 05/18] mx23: Add iomux-mx23.h

2013-01-11 Thread Marek Vasut
From: Otavio Salvador This has been copied from Linux source at revision 786f02b719f. Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- arch/arm/include/asm/arch-mxs/iomux-mx23.h | 355 arch/arm/include/asm/arch-mxs/sys_prot

[U-Boot] [PATCH 10/18] mx23: SPL: Add boot mode support

2013-01-11 Thread Marek Vasut
From: Otavio Salvador This adds the boot mode support for i.MX23 processors. Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH 04/18] mx23: Add register base addresses

2013-01-11 Thread Marek Vasut
From: Otavio Salvador This adds the base addresses of i.MX23 and easy the detection of wrong order in board setup, in case no SoC has been set, an error is raised during build. Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- arch/arm/include/asm/arch-m

[U-Boot] [PATCH 06/18] mx23: Add POWER and CLKCTRL register definitions

2013-01-11 Thread Marek Vasut
Add register definitions for the i.MX23 power control block and clock control block. These are essential for the basic bootstrap of the i.MX23. Also, properly include them in imx-regs.h . Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- arch/arm/include/a

[U-Boot] [PATCH 02/18] mxs: ssp: Pull out the SSP bus to regs conversion

2013-01-11 Thread Marek Vasut
Create function which converts SSP bus number to SSP register pointer. This functionality is reimplemented multiple times in the code, thus make one common implementation. Moreover, make it a switch(), since the SSP ports are not mapped in such nice linear fashion on MX23, therefore having it a swi

[U-Boot] [PATCH 07/18] mx23: ssp: Fix ssp-regs.h for MX23

2013-01-11 Thread Marek Vasut
Disable SSP2 and SSP3 ports on MX23. Signed-off-by: Marek Vasut Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-mxs/regs-ssp.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-mxs/regs-ssp.h b/arch/arm/include

[U-Boot] [PATCH 08/18] mx23: Add support on print_cpuinfo()

2013-01-11 Thread Marek Vasut
From: Otavio Salvador Add information to identify i.MX23 chips and its known revisions. Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/mxs.c| 19 ++- arch/arm/include/asm/arch-mxs/regs-digctl.h

[U-Boot] [PATCH 11/18] mx23: SPL: Initialize DDR at 133MHz

2013-01-11 Thread Marek Vasut
From: Otavio Salvador Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c b/arch/arm/cpu/arm926e

[U-Boot] [PATCH 18/18] mxs: Fix the memory init for MX23

2013-01-11 Thread Marek Vasut
From: Otavio Salvador The memory init is slightly different on MX23, thus split the memory init for mx23 and mx28 into different functions. Signed-off-by: Marek Vasut Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 93

[U-Boot] [PATCH 09/18] mx23: Add boot mode description

2013-01-11 Thread Marek Vasut
From: Otavio Salvador Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- arch/arm/include/asm/arch-mxs/sys_proto.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arc

[U-Boot] [PATCH 13/18] mx23: config: Enable mxsboot tool for i.MX23 based boards

2013-01-11 Thread Marek Vasut
From: Otavio Salvador Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- tools/Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index 686840a..c5952fc 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -69,

[U-Boot] [PATCH 12/18] mx23: config: Enable building of u-boot.sb binary

2013-01-11 Thread Marek Vasut
From: Otavio Salvador For i.MX23 we need to pass imx23 as elftosb param. Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Marek Vasut Cc: Stefano Babic --- Makefile |1 + arch/arm/cpu/arm926ejs/mxs/u-boot-imx23.bd | 18 ++ 2 files

[U-Boot] [PATCH 15/18] mxs: Add MX23 quirks into the clock code

2013-01-11 Thread Marek Vasut
From: Otavio Salvador The MX23 has different handling of the SSP clock and GPMI NAND clock sources, add necessary quirks into the clock code to properly handle these. Signed-off-by: Marek Vasut Signed-off-by: Otavio Salvador Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs

[U-Boot] [PATCH 17/18] mxs: Add function to ungate the power block on MX23

2013-01-11 Thread Marek Vasut
The power block on MX23 must first be ungated before it can be operated. Add function to MXS power init that ungates it. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 12 1 file changed, 12 i

[U-Boot] [PATCH 16/18] mxs: Add MX23 olinuxino board support

2013-01-11 Thread Marek Vasut
This patch adds support for MX23-based Olinuxino board. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- board/olimex/mx23_olinuxino/Makefile | 47 + board/olimex/mx23_olinuxino/mx23_olinuxino.c | 51 ++ board/olimex/mx23_olinu

Re: [U-Boot] [PATCH V4 5/9] EXYNOS5: DWMMC: API to set mmc clock divisor

2013-01-11 Thread Amarendra Reddy
Hi Jaehoon / Simon, Thanks for review comments. Please find my responses below. Thanks & Regards Amarendra Reddy On 11 January 2013 09:22, Jaehoon Chung wrote: > On 01/11/2013 12:35 AM, Simon Glass wrote: > > Hi Amar, > > > > On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > >> This API computes

Re: [U-Boot] BDI3000 - Unprotect flash sectors

2013-01-11 Thread Marek Vasut
Dear Waibel Georg, CCing Wolfgang, he's the expert on both IMO. > Hello, > > i'm not sure if this is the right place for this question...however, here > it is: > > i'm using a BDI3000 to program uboot to the flash (Spansion S29GL512P) on a MPC5200B base board. Erasing / Programming works fine

Re: [U-Boot] [STATUS] v2013.01-rc3 out

2013-01-11 Thread Marek Vasut
Dear Tom Rini, > Hey all, > > As a reminder, we're scheduled for v2013.01 on the 15th. I've pushed > out v2013.01-rc3 now. I still expect: > - At least one more u-boot-arm PR > - Any other outstand bug fixes > > I saw there was a request for an m68k change to come in from a > developer, Jason

[U-Boot] [PATCH] vfat: Fix mkcksum argument sizes

2013-01-11 Thread Marek Vasut
In case a function argument is known/fixed size array in C, the argument is still decoyed as pointer instead ( T f(U n[k]) ~= T fn(U *n) ) and therefore calling sizeof on the function argument will result in the size of the pointer, not the size of the array. The VFAT code contains such a bug, thi

Re: [U-Boot] [PATCH V4 9/9] COMMON: MMC: Command to support EMMC booting and to

2013-01-11 Thread Amarendra Reddy
Hi Simon / Jaehoon, Please find my responses below. Thanks & Regards Amarendra reddy On 11 January 2013 11:11, Simon Glass wrote: > HI Jaehoon, > > On Thu, Jan 10, 2013 at 7:54 PM, Jaehoon Chung > wrote: > > On 01/11/2013 01:46 AM, Simon Glass wrote: > >> Hi Amar, > >> > >> On Fri, Jan 4, 201

Re: [U-Boot] [PATCH 2/4 V2] SMDK5250: Convert lowlevel_init.S to lowlevel_init.c

2013-01-11 Thread Simon Glass
Hi Rajeshwari, On Fri, Jan 11, 2013 at 2:43 AM, Rajeshwari Birje wrote: > Hi Simon, > > Thank you for comments. > > On Thu, Jan 10, 2013 at 11:04 PM, Simon Glass wrote: >> Hi Rajeshwari, >> >> On Mon, Jan 7, 2013 at 5:08 AM, Rajeshwari Shinde >> wrote: >>> This patch converts lowlevel_init.S to

Re: [U-Boot] [RFC PATCH 03/22] fs: Add support for saving data to filesystems

2013-01-11 Thread Simon Glass
Hi Marek, On Fri, Jan 11, 2013 at 3:08 AM, Marek Vasut wrote: > Dear Simon Glass, > >> Add a new method for saving that filesystems can implement. This mirrors >> the existing load method. >> >> Signed-off-by: Simon Glass > > Reviewed-by: Marek Vasut > > btw what about fat write support, can th

Re: [U-Boot] [PATCH V4 5/9] EXYNOS5: DWMMC: API to set mmc clock divisor

2013-01-11 Thread Simon Glass
Hi Amarendra, On Fri, Jan 11, 2013 at 5:23 AM, Amarendra Reddy wrote: > Hi Jaehoon / Simon, > > Thanks for review comments. > Please find my responses below. > > Thanks & Regards > Amarendra Reddy > > On 11 January 2013 09:22, Jaehoon Chung wrote: >> >> On 01/11/2013 12:35 AM, Simon Glass wrote:

Re: [U-Boot] [PATCH V4 9/9] COMMON: MMC: Command to support EMMC booting and to

2013-01-11 Thread Simon Glass
Hi Amarendra, On Fri, Jan 11, 2013 at 5:50 AM, Amarendra Reddy wrote: > Hi Simon / Jaehoon, > > Please find my responses below. > > Thanks & Regards > Amarendra reddy > > On 11 January 2013 11:11, Simon Glass wrote: >> >> HI Jaehoon, >> >> On Thu, Jan 10, 2013 at 7:54 PM, Jaehoon Chung >> wrote

Re: [U-Boot] [PATCH] usb: ehci: exynos: Enable non-dt path

2013-01-11 Thread Simon Glass
Hi Vivek, On Fri, Jan 11, 2013 at 1:24 AM, Vivek Gautam wrote: > 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 But this has thrown up the issue that the FDT decode is done each ti

Re: [U-Boot] [U-Boot, 1/1] OMAP3: igep00x0: add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_NAND_SUPPORT

2013-01-11 Thread Tom Rini
On Fri, Dec 28, 2012 at 02:51:53AM -, Javier Martinez Canillas wrote: > When booting an IGEPv2 board from NAND with SPL, U-Boot hangs > trying to read the OMAP General Purpose Memory Controller (GPMC). > > The reason is that the GPMC initialization function is called > inside spl_board_init()

Re: [U-Boot] Makefile: remove MLO.byteswap on clobber

2013-01-11 Thread Tom Rini
On Wed, Jan 02, 2013 at 07:59:24AM -, Nishanth Menon wrote: > On clobber, do a cleanup even for SPL build else, we'd have > MLO.byteswap remaining for certain platforms like am33xx SPL builds > > Signed-off-by: Nishanth Menon Applied to u-boot-ti/master, thanks! -- Tom signature.asc Des

Re: [U-Boot] [U-Boot, 1/2] serial/ns16550: add an option to avoid hanging on broken platforms

2013-01-11 Thread Tom Rini
On Mon, Jan 07, 2013 at 01:35:20AM -, Javier Martinez Canillas wrote: > Some platforms (e.g. IGEPv2 board) has a broken ns16550 UART that > does not set the TEMT bit when the transmitter is empty in SPL. > This makes U-Boot to hang while waiting for TEMT to be set. > > Add a new option to avo

Re: [U-Boot] [U-Boot, 2/2] OMAP3: igep00x0: add CONFIG_SYS_NS16550_BROKEN_TEMT

2013-01-11 Thread Tom Rini
On Mon, Jan 07, 2013 at 01:35:21AM -, Javier Martinez Canillas wrote: > IGEP board PC16550D (ns16550) UART doesn't set the > Transmitter Empty (TEMT) Bit in SPL. This makes > U-Boot to hang while waiting for TEMT. Add the > CONFIG_SYS_NS16550_BROKEN_TEMT config option to > avoid this issue. >

Re: [U-Boot] [PATCH 1/1] m68k/lib: fix serial driver relocation

2013-01-11 Thread Jens Scharsig
Am 2012-11-23 23:23, schrieb Angelo Dureghello: > Fix coldfire serial driver bindings no more relocated to ram after last > changes to drivers/serial/serial.c (regression). > Serial initialization in ram has to be called after that gd->reloc_off is > calculated. > > Signed-off-by: Angelo Dureghell

Re: [U-Boot] [STATUS] v2013.01-rc3 out

2013-01-11 Thread Jens Scharsig
Hello Tom Rini > Hey all, > > As a reminder, we're scheduled for v2013.01 on the 15th. I've pushed > out v2013.01-rc3 now. I still expect: > - At least one more u-boot-arm PR > - Any other outstand bug fixes > > I saw there was a request for an m68k change to come in from a > developer, Jason

[U-Boot] [PATCH] mmc:sdhci:fix: Change default interrupts enabled at SDHCI initialization

2013-01-11 Thread Lukasz Majewski
This patch changes sdhci_init()'s behavior to NOT enable all interrupt sources by default. Moreover interrupt signaling has been disabled. This patch do not enable interrupts which aren't served in u-boot (they are defined at sdhci.h but NOT used elsewhere): - SDHCI_INT_CARD_INSERT, SDHCI_INT_CARD

Re: [U-Boot] [RFC] mmc:fix: Increase the timeout value for SDHCI_send_command()

2013-01-11 Thread Lukasz Majewski
Hi Jaehoon, > Hi All, > > I think this problem is produced when card is running write/erase > operation. We used the mmc_send_status() into driver/mmc/mmc.c. > When That command is sending, i found the inhibit released log. > > I think problem that SDHCI_DATA_INHIBIT is set at every command. > i

Re: [U-Boot] [RFC] mmc:fix: Increase the timeout value for SDHCI_send_command()

2013-01-11 Thread Lukasz Majewski
Hi Wolfgang, > Dear Lukasz Majewski, > > In message <1357665792-8141-1-git-send-email-l.majew...@samsung.com> > you wrote: > > I'd like to ask for your opinion about the following problem: > > I cannot comment on the problem - only a bit about the proposed patch > ;-) > > > From a brief checkin

Re: [U-Boot] [RFC PATCH 03/22] fs: Add support for saving data to filesystems

2013-01-11 Thread Simon Glass
Hi, On Fri, Jan 11, 2013 at 6:26 AM, Simon Glass wrote: > Hi Marek, > > On Fri, Jan 11, 2013 at 3:08 AM, Marek Vasut wrote: >> Dear Simon Glass, >> >>> Add a new method for saving that filesystems can implement. This mirrors >>> the existing load method. >>> >>> Signed-off-by: Simon Glass >> >>

Re: [U-Boot] [RFC PATCH 07/22] arm: Refactor bootm to reduce #ifdefs

2013-01-11 Thread Simon Glass
Hi Marek, On Fri, Jan 11, 2013 at 3:10 AM, Marek Vasut wrote: > Dear Simon Glass, > >> With fewer #ifdefs the code is more readable and more of the code is >> compiled for all boards. Add defines in the header file to control >> what features are enabled, and then use if() instead of #ifdef. >> >

Re: [U-Boot] [PATH v3 1/2] sf: Add status register reading support

2013-01-11 Thread Jagan Teki
Hi Simon, On Fri, Jan 11, 2013 at 7:52 AM, Simon Glass wrote: > Hi Jagannadha > > On Thu, Jan 3, 2013 at 6:51 AM, Jagannadha Sutradharudu Teki > wrote: >> This patch provides support to read a flash status register. >> >> Status register contains a control bits used to verify >> the progress of

Re: [U-Boot] [PATH v3 1/2] sf: Add status register reading support

2013-01-11 Thread Simon Glass
Hi Jagan, On Fri, Jan 11, 2013 at 7:51 AM, Jagan Teki wrote: > Hi Simon, > > On Fri, Jan 11, 2013 at 7:52 AM, Simon Glass wrote: >> Hi Jagannadha >> >> On Thu, Jan 3, 2013 at 6:51 AM, Jagannadha Sutradharudu Teki >> wrote: >>> This patch provides support to read a flash status register. >>> >>>

[U-Boot] csb1724 88f6282

2013-01-11 Thread Mario Schuknecht
Hello, we want to use the marvell 88f6282 SoC in our products. For evaluation we use the cogent1724 board [1]. Does anyone have experience with the cogent csb1724 board [1] and the marvell 88f6282? I've searched the mainline u-boot sources, but found no config for the 88f6282. Is it possible to bu

[U-Boot] USB driver on MPC8555E controller on a Non-RTOS project

2013-01-11 Thread Srijith
Hello, We are using an in-house Power PC board with MPC8555E processor.We are currently developing drivers for USB on bare board(Non-RTOS). We would like your inputs regarding the implementation of usb driver.My reference is uboot and linux. We are implementing usb support for the first time and

Re: [U-Boot] Please pull u-boot-ti/master

2013-01-11 Thread Albert ARIBAUD
Hi Tom, On Thu, 10 Jan 2013 17:59:45 -0700, Tom Rini wrote: > Hello, > > The following changes since commit 612404c28a64a6df300642a1550a65dcc8e01f82: > > Merge 'u-boot-atmel/master' into 'u-boot-arm/master' (2013-01-09 20:01:48 > +0100) > > are available in the git repository at: > > >

Re: [U-Boot] [PATCH V4 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-01-11 Thread Amarendra Reddy
Hi Simon, Thanks for review comments. Please find my responses below. Thanks & Regards Amarendra Reddy On 10 January 2013 22:27, Simon Glass wrote: > Hi Amar, > > On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > > This patch enables and initialises DWMMC for SMDK5250. > > Supports both FDT and n

[U-Boot] [PATCH 7/7] tegra: cardhu: config: enable SPI

2013-01-11 Thread Allen Martin
Turn on SPI in cardhu config file Signed-off-by: Allen Martin --- include/configs/cardhu.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h index aa725ba..1616b39 100644 --- a/include/configs/cardhu.h +++ b/include/configs/car

[U-Boot] [PATCH 1/7] tegra: fdt: add apbdma node

2013-01-11 Thread Allen Martin
Add apbdma node for tegra20 and tegra30, copied directly from tegra Linux dtsi files. Signed-off-by: Allen Martin --- arch/arm/dts/tegra20.dtsi | 21 + arch/arm/dts/tegra30.dtsi | 37 + 2 files changed, 58 insertions(+) diff --git a/ar

[U-Boot] [PATCH 6/7] tegra: add SPI SLINK driver

2013-01-11 Thread Allen Martin
Add driver for tegra SPI "SLINK" style driver. This controller is similar to the tegra20 SPI "SFLASH" controller. The difference is that the SLINK controller is a genernal purpose SPI controller and the SFLASH controller is special purpose and can only talk to FLASH devices. In addition there ar

[U-Boot] [PATCH 4/7] tegra30: fdt: add SPI SLINK nodes

2013-01-11 Thread Allen Martin
Add tegra30 SPI SLINK nodes to fdt. Signed-off-by: Allen Martin --- arch/arm/dts/tegra30.dtsi | 77 + include/fdtdec.h |1 + lib/fdtdec.c |1 + 3 files changed, 79 insertions(+) diff --git a/arch/arm/dts/tegra30.dtsi b/

[U-Boot] [PATCH 3/7] tegra30: add SBC1 to periph id mapping table

2013-01-11 Thread Allen Martin
SBC1 is SPI controller 1 on tegra30 Signed-off-by: Allen Martin --- arch/arm/cpu/tegra30-common/clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/tegra30-common/clock.c b/arch/arm/cpu/tegra30-common/clock.c index c67a2e1..db5ac1e 100644 --- a/arch/arm/c

[U-Boot] [PATCH 0/7] tegra: SPI drivers

2013-01-11 Thread Allen Martin
This series updates the tegra20 SPI driver to add fdt support and adds a new tegra30 SPI driver. This series depends on the following patches: Allen Martin: fdt: fix dts preprocessor options tegra: remove IRDA pinmux synonym Testing was done on seaboard (tegra20) and cardhu (tegr

[U-Boot] [PATCH 5/7] tegra: add addresses of SPI SLINK controllers

2013-01-11 Thread Allen Martin
Add I/O addresses of SPI SLINK controllers 1-6 Signed-off-by: Allen Martin --- arch/arm/include/asm/arch-tegra/tegra.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h index 67e6fd0..d2435c1 100644 ---

[U-Boot] [PATCH 2/7] tegra: spi: add fdt support to tegra SPI SFLASH driver

2013-01-11 Thread Allen Martin
Add support for configuring tegra SPI driver from devicetree. Support is keyed off CONFIG_OF_CONTROL. Add entry in seaboard dts file for spi controller to describe seaboard spi. Signed-off-by: Allen Martin --- arch/arm/dts/tegra20.dtsi | 13 + drivers/spi/tegra_spi.c | 42

Re: [U-Boot] NAND flash - bad blocks

2013-01-11 Thread Scott Wood
On 01/11/2013 02:46:06 AM, Dimitar Penev wrote: Hi Scott, On 01/10/2013 01:56:30 AM, Dimitar Penev wrote: Hello, First of all sorry if this question was already answered here. We are sourcing some K9F8G08U0M-PIB0 NAND flash devices. On the first erase in uboot 2011.09 I got bunch of mostly

[U-Boot] [PATCH] configs: omap4_common: support load from uEnv.txt

2013-01-11 Thread Nishanth Menon
if traditionally used boot.scr is not found see if uEnv.txt is available to load environment. uenvcmd is executed after load of uEnv.txt if it is defined in the environment text file Signed-off-by: Nishanth Menon --- include/configs/omap4_common.h | 12 1 file changed, 12 insertio

Re: [U-Boot] [PATCH] configs: omap4_common: support load from uEnv.txt

2013-01-11 Thread Nishanth Menon
On 14:39-20130111, Nishanth Menon wrote: > if traditionally used boot.scr is not found see if uEnv.txt > is available to load environment. uenvcmd is executed after load > of uEnv.txt if it is defined in the environment text file > > Signed-off-by: Nishanth Menon > ---

Re: [U-Boot] [PATCH 16/18] mxs: Add MX23 olinuxino board support

2013-01-11 Thread Fabio Estevam
Hi Marek, On Fri, Jan 11, 2013 at 11:19 AM, Marek Vasut wrote: > This patch adds support for MX23-based Olinuxino board. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Otavio Salvador > Cc: Stefano Babic > --- > board/olimex/mx23_olinuxino/Makefile | 47 + > board

Re: [U-Boot] [PATCH v2 1/1] omap4: allow the use of a plain text env file instead boot scripts

2013-01-11 Thread Nishanth Menon
On Mon, Jan 7, 2013 at 7:51 AM, Javier Martinez Canillas wrote: > For production systems it is better to use script images since > they are protected by checksums and carry valuable information like > name and timestamp. Also, you can't validate the content passed to > env import. > > But for deve

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

2013-01-11 Thread Albert ARIBAUD
Hi Minkyu, On Fri, 11 Jan 2013 17:23:10 +0900, Minkyu Kang wrote: > Dear Albert, > > Merge samsung, imx, tegra into u-boot-arm/master (2012-12-22 11:59:14 +0100) > > are available in the git repository at: > > > git://git.denx.de/u-boot-samsung master > > for you to fetch changes up to a

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

2013-01-11 Thread Albert ARIBAUD
Hello Tom, The following changes since commit 61bdb9133593f0f881a57232039296f64bd662ed: arm: remove useless code in start.S files (2013-01-08 22:14:54 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm.git master for you to fetch changes up to 59ee45ee91cc91b392a8e

Re: [U-Boot] [PATCH V3 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2013-01-11 Thread Troy Kisky
On 10/28/2012 4:48 AM, Stefano Babic wrote: On 23/10/2012 03:19, Troy Kisky wrote: Use a common watchdog driver for all these cpus. Signed-off-by: Troy Kisky --- v2: add README.watchdog include mx31/mx35 watchdogs move to drivers/watchdog v3: change drivers/watchdog/M

[U-Boot] [PATCH 16/18 V2] mxs: Add MX23 olinuxino board support

2013-01-11 Thread Marek Vasut
This patch adds support for MX23-based Olinuxino board. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic --- MAINTAINERS |1 + board/olimex/mx23_olinuxino/Makefile | 47 + board/olimex/mx23_olinuxino/mx23

Re: [U-Boot] [PATCH 16/18] mxs: Add MX23 olinuxino board support

2013-01-11 Thread Marek Vasut
Dear Fabio Estevam, > Hi Marek, > > On Fri, Jan 11, 2013 at 11:19 AM, Marek Vasut wrote: > > This patch adds support for MX23-based Olinuxino board. > > > > Signed-off-by: Marek Vasut > > Cc: Fabio Estevam > > Cc: Otavio Salvador > > Cc: Stefano Babic > > --- > > > > board/olimex/mx23_oli

[U-Boot] [PATCH] mxs: Linux uses ttyAMA0 as DUART

2013-01-11 Thread Marek Vasut
Replace use of ttyAM0 with ttyAMA0 as default serial console. Signed-off-by: Marek Vasut Cc: Stefano Babic --- include/configs/m28evk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 6887171..d34e970 100644 --- a/

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

2013-01-11 Thread Tom Rini
On Fri, Jan 11, 2013 at 10:36:06PM +0100, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 61bdb9133593f0f881a57232039296f64bd662ed: > > arm: remove useless code in start.S files (2013-01-08 22:14:54 +0100) > > are available in the git repository at: > > git://gi

Re: [U-Boot] [PATCH 1/1] m68k/lib: fix serial driver relocation

2013-01-11 Thread Tom Rini
On Fri, Jan 11, 2013 at 03:45:26PM +0100, Jens Scharsig wrote: > Am 2012-11-23 23:23, schrieb Angelo Dureghello: > > Fix coldfire serial driver bindings no more relocated to ram after last > > changes to drivers/serial/serial.c (regression). > > Serial initialization in ram has to be called after t

Re: [U-Boot] [PATCH 1/7] tegra: fdt: add apbdma node

2013-01-11 Thread Stephen Warren
On 01/11/2013 11:44 AM, Allen Martin wrote: > Add apbdma node for tegra20 and tegra30, copied directly from tegra > Linux dtsi files. > diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi > + apbdma: dma { > + compatible = "nvidia,tegra20-apbdma"; > + re

Re: [U-Boot] [PATCH 2/7] tegra: spi: add fdt support to tegra SPI SFLASH driver

2013-01-11 Thread Stephen Warren
On 01/11/2013 11:44 AM, Allen Martin wrote: > Add support for configuring tegra SPI driver from devicetree. > Support is keyed off CONFIG_OF_CONTROL. Add entry in seaboard dts > file for spi controller to describe seaboard spi. > diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi

  1   2   >