Re: [U-Boot] [PATCH v5 2/2] OMAP3: igep00x0: add boot status GPIO LED

2013-01-10 Thread Javier Martinez Canillas
On Thu, Dec 27, 2012 at 3:25 PM, Igor Grinberg wrote: > On 12/27/12 15:36, Javier Martinez Canillas wrote: >> This patch adds an GPIO LED boot status for IGEP boards. >> >> The GPIO LED used is the red LED0 while the Linux kernel >> uses the green LED0 as the boot status. >> >> By using different

[U-Boot] patches status

2013-01-10 Thread Angelo Dureghello
Dear All, sorry if i ask, don't want to put any pressure. I am currently blocked to port a new board patch on the list, depending on two patches i posted in november: [U-Boot,1/1] m68k/lib: fix serial driver relocation http://patchwork.ozlabs.org/patch/201421/ [U-Boot,1/1] mtd/cfi: add support

[U-Boot] [PATCH] powerpc/mpc85xx: Add property 'fsl, sec-era' in device tree node 'crypto'.

2013-01-10 Thread Vakul Garg
If property 'fsl,sec-era' is already present, it is updated. This property is required so that applications can ascertain which descriptor commands are supported on a particular CAAM version. Signed-off-by: Vakul Garg Cc: Andy Fleming --- arch/powerpc/cpu/mpc85xx/fdt.c|8 +++ arch/p

Re: [U-Boot] patches status

2013-01-10 Thread Stefan Roese
Hi Angelo, On 01/10/2013 10:53 AM, Angelo Dureghello wrote: > I am currently blocked to port a new board patch on the list, depending on > two patches i posted in november: > > [U-Boot,1/1] m68k/lib: fix serial driver relocation > http://patchwork.ozlabs.org/patch/201421/ > > [U-Boot,1/1] mtd/c

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Add property 'fsl, sec-era' in device tree node 'crypto'.

2013-01-10 Thread Tabi Timur-B04825
On Thu, Jan 10, 2013 at 5:49 AM, Vakul Garg wrote: > If property 'fsl,sec-era' is already present, it is updated. > This property is required so that applications can ascertain which > descriptor commands are supported on a particular CAAM version. > > Signed-off-by: Vakul Garg > Cc: Andy Fleming

Re: [U-Boot] [RFC 3/3] MIPS: bootm.c: integrate QEMU specific functions

2013-01-10 Thread Gabor Juhos
2013.01.08. 20:14 keltezéssel, Gabor Juhos írta: > The linux starting code of the qemu specific bootm > implementation is very similar to the one which is > used for regular boards. The preparation code is > different but it makes no sense to keep that in a > separate file. > > The pach moves the

Re: [U-Boot] [RFC 3/3] MIPS: bootm.c: integrate QEMU specific functions

2013-01-10 Thread Daniel Schwierzeck
2013/1/10 Gabor Juhos : > 2013.01.08. 20:14 keltezéssel, Gabor Juhos írta: >> The linux starting code of the qemu specific bootm >> implementation is very similar to the one which is >> used for regular boards. The preparation code is >> different but it makes no sense to keep that in a >> separate

Re: [U-Boot] [PATCH 1/1] mtd/cfi: add support for SST 4KB sector granularity

2013-01-10 Thread Stefan Roese
On 12/01/2012 01:14 AM, Angelo Dureghello wrote: > Add support for SST 4KB sector granularity. > > Many recent SST flashes, i.e. SST39VF3201B and similar of this family > are declared CFI-conformant from SST. They support CFI query, but implement > 2 different sector sizes in the same memory: a

[U-Boot] [PATCH] mx6qsabresd: Fix mmc boot by making USDHC3 be 'dev 0'

2013-01-10 Thread Fabio Estevam
By default, we boot from USDHC3 on mx6qsabresd, so let it be mmc dev 0. Without this fix kernel cannot be retrieved from mmc with the default environment. Signed-off-by: Fabio Estevam --- board/freescale/mx6qsabresd/mx6qsabresd.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-01-10 Thread Langer Thomas (LQDE RD ST PON SW)
Hello Jagan, > All these patches are added a support for read and write instruction > for programming/reading SPI flash. I have written some weeks ago that I would really appreciate the support of dual and quad IO accesses for serial flashes. I just think, this is not an acceptable way to do t

[U-Boot] Please pull u-boot-cfi-flash/master

2013-01-10 Thread Stefan Roese
Hi Tom, please pull the following patches pending for quite some time: The following changes since commit 642ef40bdc95bef829ae3aadc217f829c4c298c4: Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-01-09 08:13:22 -0700) are available in the git repository at: git://www.denx.de/

Re: [U-Boot] [PATCH 1/4] cfi_flash: Add manufact_match helper function

2013-01-10 Thread Stefan Roese
On 12/06/2012 03:44 PM, Stefan Roese wrote: > Consolidate manufacturer matching into the function manufact_match() > and use it. For all patches of this series (1...4): Applied to u-boot-cfi-flash/master. Thanks, Stefan ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH] mx6qsabresd: Fix mmc boot by making USDHC3 be 'dev 0'

2013-01-10 Thread Benoît Thébaudeau
Hi Fabio, On Thursday, January 10, 2013 3:32:25 PM, Fabio Estevam wrote: > By default, we boot from USDHC3 on mx6qsabresd, so let it be mmc dev > 0. > > Without this fix kernel cannot be retrieved from mmc with the default > environment. > > Signed-off-by: Fabio Estevam > --- > board/freescale

[U-Boot] [RFC PATCH 0/22] RFC: image: Reduce code duplication and refactor

2013-01-10 Thread Simon Glass
In creating a new feature[*] I found that the image code includes quite a bit of duplication in places. In particular the code to load a kernel, FDT and ramdisk is all fairly similar, but subtly different. This series introduces a new function fit_image_load() which loads an image from a FIT and s

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

2013-01-10 Thread 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 --- arch/arm/include/asm/bootm.h | 54 +++-

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

2013-01-10 Thread 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 --- arch/sandbox/cpu/start.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/sandbo

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

2013-01-10 Thread 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 update those 10 bytes, not tr

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

2013-01-10 Thread 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 --- common/cmd_source.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/common/cmd_source.c b/common/cmd_source.c index

[U-Boot] [RFC PATCH 13/22] mkimage: Add map_sysmem() and IH_ARCH_DEFAULT to simplfy building

2013-01-10 Thread Simon Glass
These are not actually used in mkimage itself, but the image code (which is common with mkimage) does use them. To avoid #ifdefs in the image code just for mkimage, define dummy version of these here. The compiler will eliminate the dead code anyway. A better way to handle this might be to split o

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

2013-01-10 Thread 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 --- arch/arm/lib/Makefile|1 + arch/arm/lib/bootm-fdt.c | 52 ++ arch

[U-Boot] [RFC PATCH 05/22] image: Split libfdt code into image-fdt.c

2013-01-10 Thread Simon Glass
The image file is still very large, and some of the code is only used when libfdt is in use. Move this code into a new file. Signed-off-by: Simon Glass --- common/Makefile|1 + common/image-fdt.c | 608 common/image.c | 566 -

[U-Boot] [RFC PATCH 17/22] sandbox: Adjust bootm command to work with sandbox

2013-01-10 Thread Simon Glass
Use map_sysmem() when converting from addresses to pointers, so that bootm can be used with sandbox. Signed-off-by: Simon Glass --- common/cmd_bootm.c | 25 - 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index

[U-Boot] [RFC PATCH 22/22] WIP: sandbox: config: Remove boot command

2013-01-10 Thread Simon Glass
We don't really need this now that we can provide a script to sandbox using -c. This is a test commit only - please do not apply. Signed-off-by: Simon Glass --- include/configs/sandbox.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/sandbox.h b/include

[U-Boot] [RFC PATCH 06/22] image: Add device tree setup to image library

2013-01-10 Thread Simon Glass
This seems to be a common function for several architectures, so create a common function rather than duplicating the code in each arch. Also make an attempt to avoid introducing #ifdefs in the new code, partly by removing useless #ifdefs around function declarations in the image.h header. Signed

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

2013-01-10 Thread 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 --- arch/powerpc/lib/bootm.c | 84 +- 1 files changed, 1 insertions(+), 83 deletions(-)

[U-Boot] [RFC PATCH 19/22] sandbox: image: Adjust FIT image printing to work with sandbox

2013-01-10 Thread Simon Glass
Use map_sysmem() to convert from address to pointer, so that sandbox can print FIT information without crashing. Signed-off-by: Simon Glass --- common/image-fit.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c index ef21112..9f3e

[U-Boot] [RFC PATCH 20/22] bootstage: Remove unused entries related to kernel/ramdisk/fdt load

2013-01-10 Thread Simon Glass
Now that the code for loading these three images from a FIT is common, we don't need individual boostage IDs for each of them. Note: there are some minor changes in the bootstage numbering, particuarly for kernel loading. I don't believe this matters. Signed-off-by: Simon Glass --- include/boot

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

2013-01-10 Thread Simon Glass
Add a new method for saving that filesystems can implement. This mirrors the existing load method. Signed-off-by: Simon Glass --- fs/fs.c | 74 ++ include/fs.h |2 + 2 files changed, 76 insertions(+), 0 deletions(-) diff --git a

[U-Boot] [RFC PATCH 15/22] image: Use fit_image_load() to load ramdisk

2013-01-10 Thread Simon Glass
Use the new common code to load a ramdisk. The functionality should not change. Signed-off-by: Simon Glass --- common/image-fit.c | 62 -- common/image.c | 122 +++- include/image.h|1 - 3 files changed, 16 in

[U-Boot] [RFC PATCH 21/22] sandbox: image: Create a test for loading FIT images

2013-01-10 Thread Simon Glass
The image code is fairly complex with various different options. It would be useful to have comprehensive tests for this. As a start, create a script which tries out loading a kernel/ramdisk/fdt from a FIT and checks that the images appear in the right place in memory. This uses sandbox which now

[U-Boot] [RFC PATCH 14/22] image: Introduce fit_image_load() to load images from FITs

2013-01-10 Thread Simon Glass
At present code to load an image from a FIT is duplicated in the three places where it is needed (kernel, fdt, ramdisk). The differences between these different code copies is fairly minor. Create a new function in the fit code which can handle any of the requirements of those cases. Signed-off-b

[U-Boot] [RFC PATCH 11/22] sparc: Use image_setup_linux() instead of local code

2013-01-10 Thread Simon Glass
Sparc only really sets up the ramdisk, but we should still use image_setup_linux() so that setup is common across all architectures that use the FDT. Signed-off-by: Simon Glass --- arch/sparc/lib/bootm.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/sp

[U-Boot] [RFC PATCH 18/22] image: Use fit_image_load() to load kernel

2013-01-10 Thread Simon Glass
Use the new common code to load a kernel. The functionality should not change. Signed-off-by: Simon Glass --- common/cmd_bootm.c | 153 +++- common/image-fit.c | 19 --- include/image.h|1 - 3 files changed, 8 insertions(+), 165 dele

[U-Boot] [RFC PATCH 16/22] image: Use fit_image_load() to load FDT

2013-01-10 Thread Simon Glass
Use the new common code to load a flat device tree. Also fix up a few casts so that this code works with sandbox. Other than that the functionality should not change. Signed-off-by: Simon Glass --- common/cmd_bootm.c |4 +- common/image-fdt.c | 214 +++---

[U-Boot] [RFC PATCH 12/22] bootstage: Introduce sub-IDs for use with image loading

2013-01-10 Thread Simon Glass
Loading a ramdisk, kernel or FDT goes through similar stages. Create a block of IDs for each task, and define a consistent numbering within the block. This will allow use of common code for image loading. Signed-off-by: Simon Glass --- include/bootstage.h | 22 ++ 1 files c

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

2013-01-10 Thread 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 --- arch/m68k/lib/bootm.c | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/arch/m68k/lib/bootm.c b/

Re: [U-Boot] [PATCH 2/3 V4] EXYNOS5: Add device node for PMIC

2013-01-10 Thread Simon Glass
On Thu, Jan 3, 2013 at 9:38 PM, Rajeshwari Shinde wrote: > Add device node for MAX77686 > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - Changed reg value from 06 to 6. > Chnages in V3: > - converted the pmic name to small letters. > Changes

Re: [U-Boot] [PATCH 3/3 V4] PMIC: MAX77686: Add FDT Support

2013-01-10 Thread Simon Glass
On Thu, Jan 3, 2013 at 9:38 PM, Rajeshwari Shinde wrote: > This patch adds fdt support to MAX77686. > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - Corrected indentation errors. > Changes in V3: > - Rebased on top of the latest implementati

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

2013-01-10 Thread Tom Rini
On Thu, Jan 10, 2013 at 08:30:09AM +0100, Lars Poeschel wrote: > Hi Wolfgang, hi Tom, > > as I almost have the changes requested by Wolfgang in place, you two can > choose, which version I should resubmit. ;) > > Am 09.01.2013 um 20:34 schrieb Tom Rini: [snip] > >>> + if (!eth_getenv_enetaddr("e

Re: [U-Boot] [PATCH V4 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-01-10 Thread Simon Glass
Hi Amar, On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > This patch adds DWMMC device node data for exynos5. > This patch also adds binding file for DWMMC device node. > > Changes from V1: > 1)Added binding file for DWMMC device node at the location > "doc/device-tree-bindings/exyno

Re: [U-Boot] [PATCH V4 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-01-10 Thread Simon Glass
Hi Amar, On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > This patch enumerates dwmci and set auto stop command during > dwmci initialisation. > EMMC read/write is not happening in current implementation > due to improper fifo size computation. Hence Modified the fifo size > computation to resolve E

[U-Boot] [PATCHv1] powerpc/mpc85xx: Add property 'fsl, sec-era' in device tree node 'crypto'.

2013-01-10 Thread Vakul Garg
If property 'fsl,sec-era' is already present, it is updated. This property is required so that applications can ascertain which descriptor commands are supported on a particular CAAM version. Signed-off-by: Vakul Garg Cc: Andy Fleming --- arch/powerpc/cpu/mpc85xx/fdt.c|8 +++ arch/p

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

2013-01-10 Thread Simon Glass
Hi Amar, On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > This patch adds FDT support for DWMMC, by reading the DWMMC node data > from the device tree and initialising DWMMC channels as per data > obtained from the node. > > Changes from V1: > 1)Updated code to have same signature for the fu

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

2013-01-10 Thread Simon Glass
Hi Amar, On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > This API computes the divisor value based on MPLL clock and > writes it into the FSYS1 register. > > Changes from V1: > 1)Updated the function exynos5_mmc_set_clk_div() to receive > 'device_i'd as input parameter instead of 'i

Re: [U-Boot] [PATCH v5 2/2] OMAP3: igep00x0: add boot status GPIO LED

2013-01-10 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/10/2013 04:43 AM, Javier Martinez Canillas wrote: > On Thu, Dec 27, 2012 at 3:25 PM, Igor Grinberg > wrote: >> On 12/27/12 15:36, Javier Martinez Canillas wrote: >>> This patch adds an GPIO LED boot status for IGEP boards. >>> >>> The GPIO LED

Re: [U-Boot] [PATCH] mx6qsabresd: Fix mmc boot by making USDHC3 be 'dev 0'

2013-01-10 Thread Fabio Estevam
Hi Benoît, On Thu, Jan 10, 2013 at 12:43 PM, Benoît Thébaudeau wrote: >> switch (i) { >> - case 0: >> + case 1: >> imx_iomux_v3_setup_multiple_pads( >> usdhc2_pads, ARRAY_SIZE(usdhc2_pads)); >>

[U-Boot] [PATCH] mx6qsabresd: Fix booting the kernel from SDHC3

2013-01-10 Thread Fabio Estevam
commit 49ea0ff5 (mx6qsabresd: use on-board eMMC to store environment) broke booting a uImage from SDHC3. Adapt the default environment to use CONFIG_SYS_MMC_ENV_DEV as the correct mmc node for loading the kernel, since mmcdev should not be harcoded to zero. While at it, go back to using SDHC3 as

Re: [U-Boot] [PATCH] mx6qsabresd: Fix booting the kernel from SDHC3

2013-01-10 Thread Otavio Salvador
On Thu, Jan 10, 2013 at 2:02 PM, Fabio Estevam wrote: > commit 49ea0ff5 (mx6qsabresd: use on-board eMMC to store environment) broke > booting a uImage from SDHC3. > > Adapt the default environment to use CONFIG_SYS_MMC_ENV_DEV as the correct mmc > node for loading the kernel, since mmcdev should n

Re: [U-Boot] [RFC 3/3] MIPS: bootm.c: integrate QEMU specific functions

2013-01-10 Thread Gabor Juhos
2013.01.10. 15:22 keltezéssel, Daniel Schwierzeck írta: > yes, I figured that too yesterday while testing. :) >> Maybe the qemu_mips specific bootm stuff should be removed completely from >> U-Boot? >> >> -Gabor > > I agree. Maybe we should convert the current MIPS Qemu port to MTI Malta. Th

Re: [U-Boot] [PATCH v5 2/2] OMAP3: igep00x0: add boot status GPIO LED

2013-01-10 Thread Javier Martinez Canillas
On Thu, Jan 10, 2013 at 4:35 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/10/2013 04:43 AM, Javier Martinez Canillas wrote: >> On Thu, Dec 27, 2012 at 3:25 PM, Igor Grinberg >> wrote: >>> On 12/27/12 15:36, Javier Martinez Canillas wrote: This patch adds an

[U-Boot] [PATCH v2] mx6qsabresd: Fix booting the kernel from SDHC3

2013-01-10 Thread Fabio Estevam
Since commit de7d02aeb (mx6qsabresd: add usdhc2 and usdhc4 support) SDHC3 device node is no longer 0, which breaks loading a uImage from SDHC3. Fix it by adapting the default environment to use CONFIG_SYS_MMC_ENV_DEV as the correct mmc node for loading the kernel from. While at it, go back to u

Re: [U-Boot] [PATCH V4 8/9] SMDK5250: Enable EMMC booting

2013-01-10 Thread Simon Glass
Hi Amar, On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > This patch adds support for EMMC booting on SMDK5250. > > Changes from V1: > 1)Updated spl_boot.c file to maintain irom pointer table > instead of using the #define values defined in header file. > > Changes from V2: >

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

2013-01-10 Thread Simon Glass
Hi Amar, On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: > This patch adds commands to open, close and resize boot partitions on EMMC. > > Changes from V1: > 1)Combined the common piece of code between 'open' and 'close' > operations. > > Changes from V2: > 1)Updation of commi

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

2013-01-10 Thread Simon Glass
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 non-FDT. This patch creates a new file > 'exynos5-dt.c' meant for FDT support. > exynos5-dt.c: This file shall contain all code which supports FDT. >

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

2013-01-10 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] [PATCH 1/2] EXYNOS5: Make all display related code dependent on CONFIG_LCD

2013-01-10 Thread Simon Glass
Hi Ajay, On Wed, Jan 9, 2013 at 11:45 PM, Ajay Kumar wrote: > u-boot compilation fails for smdk5250 when we deselect CONFIG_LCD > from the main config file. This patch fixes it. > > Signed-off-by: Ajay Kumar Acked-by: Simon Glass What is the error? > --- > board/samsung/smdk5250/smdk5250.c

Re: [U-Boot] [PATCH v4] patman: Allow use outside of u-boot tree

2013-01-10 Thread Simon Glass
Hi Vadim, On Wed, Jan 9, 2013 at 6:00 PM, Vadim Bendebury wrote: > To make it usable in git trees not providing a patch checker > implementation, add a command line option, allowing to suppress patch > check. While we are at it, sort debug options alphabetically. > > Also, do not raise an excepti

Re: [U-Boot] [PATCH 2/2] EXYNOS5: Enable console multiplexing in u-boot when LCD support is enabled

2013-01-10 Thread Simon Glass
Hi Ajay, On Wed, Jan 9, 2013 at 11:45 PM, Ajay Kumar wrote: > With this patch, stdout/stderr is assigned to serial and also to LCD. > 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

Re: [U-Boot] [PATCH v2] mx6qsabresd: Fix booting the kernel from SDHC3

2013-01-10 Thread Otavio Salvador
On Thu, Jan 10, 2013 at 2:19 PM, Fabio Estevam wrote: > Since commit de7d02aeb (mx6qsabresd: add usdhc2 and usdhc4 support) > SDHC3 device node is no longer 0, which breaks loading a uImage from SDHC3. > > Fix it by adapting the default environment to use CONFIG_SYS_MMC_ENV_DEV as > the > correct

Re: [U-Boot] [PATCH 1/4 V2] EXYNOS: Add functions for power initialisation

2013-01-10 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 7, 2013 at 5:08 AM, Rajeshwari Shinde wrote: > This patch adds functions to intialsise power registers during > spl boot. > > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - Moved from second patch to first patch > - Renamed ps_hold_setup to

Re: [U-Boot] [PATCH v5 2/2] OMAP3: igep00x0: add boot status GPIO LED

2013-01-10 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/10/2013 11:16 AM, Javier Martinez Canillas wrote: > On Thu, Jan 10, 2013 at 4:35 PM, Tom Rini wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 01/10/2013 04:43 AM, Javier Martinez Canillas wrote: >>> On Thu, Dec 27, 2012 at 3:25

Re: [U-Boot] [PATCH v4] patman: Allow use outside of u-boot tree

2013-01-10 Thread Vadim Bendebury
On Thu, Jan 10, 2013 at 9:05 AM, Simon Glass wrote: > Hi Vadim, > > On Wed, Jan 9, 2013 at 6:00 PM, Vadim Bendebury wrote: >> To make it usable in git trees not providing a patch checker >> implementation, add a command line option, allowing to suppress patch >> check. While we are at it, sort de

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

2013-01-10 Thread Simon Glass
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 same can be > extended to other SOC in future. Should perhaps also mention new feature (controllab

Re: [U-Boot] [PATCH v2] mx6qsabresd: Fix booting the kernel from SDHC3

2013-01-10 Thread Fabio Estevam
Stefano, On Thu, Jan 10, 2013 at 2:19 PM, Fabio Estevam wrote: > Since commit de7d02aeb (mx6qsabresd: add usdhc2 and usdhc4 support) > SDHC3 device node is no longer 0, which breaks loading a uImage from SDHC3. > > Fix it by adapting the default environment to use CONFIG_SYS_MMC_ENV_DEV as > the

Re: [U-Boot] [PATCH 3/4 V2] SMDK5250: Add PMIC voltage settings

2013-01-10 Thread Simon Glass
Hi Rajeshwari, On Mon, Jan 7, 2013 at 5:08 AM, Rajeshwari Shinde wrote: > This patch adds required pmic voltage settings for SMDK5250. > > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - Added pmic_reg_update static function. > - Added error check. > board/samsung/s

Re: [U-Boot] [PATCH v3] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-10 Thread Simon Glass
On Mon, Jan 7, 2013 at 10:30 PM, Vivek Gautam wrote: > This patch enables Vbus required for USB 2.0 controller. > > Signed-off-by: Vivek Gautam > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > > Changes from v2: > - Rebased on top of u-boot-usb/next > - Enclose

Re: [U-Boot] [PATCH v3] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-10 Thread Simon Glass
Hi Vivek, On Thu, Jan 10, 2013 at 10:16 AM, Simon Glass wrote: > On Mon, Jan 7, 2013 at 10:30 PM, Vivek Gautam > wrote: >> This patch enables Vbus required for USB 2.0 controller. >> >> Signed-off-by: Vivek Gautam >> Signed-off-by: Rajeshwari Shinde > > Acked-by: Simon Glass Sorry, I can't

[U-Boot] [PATCH v3] mx6qsabresd: Fix booting the kernel from SDHC3

2013-01-10 Thread Fabio Estevam
Since commit de7d02aeb (mx6qsabresd: add usdhc2 and usdhc4 support) SDHC3 device node is no longer 0, which breaks loading a uImage from SDHC3. Fix it by adapting the default environment to use CONFIG_SYS_MMC_ENV_DEV as the correct mmc node for loading the kernel from. While at it, go back to u

Re: [U-Boot] [RFC] Is anyone interested IPv6 support for u-boot

2013-01-10 Thread Joe Hershberger
Hi Chris, On Wed, Jan 9, 2013 at 9:25 PM, Chris Packham wrote: > Hi, > > Here at $dayjob we make embedded network devices (routers & switches). > Because we have an interest in getting people to adopt IPv6 we've added code > to our local u-boot repository to add basic IPv6 support on our boards.

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

2013-01-10 Thread Scott Wood
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 datasheet we should

Re: [U-Boot] [PATCH v5 2/2] OMAP3: igep00x0: add boot status GPIO LED

2013-01-10 Thread Javier Martinez Canillas
On Thu, Jan 10, 2013 at 6:26 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/10/2013 11:16 AM, Javier Martinez Canillas wrote: >> On Thu, Jan 10, 2013 at 4:35 PM, Tom Rini wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> >>> On 01/10/2013 04:43 AM, Javi

Re: [U-Boot] [PATCH v5 2/2] OMAP3: igep00x0: add boot status GPIO LED

2013-01-10 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/10/2013 02:26 PM, Javier Martinez Canillas wrote: > On Thu, Jan 10, 2013 at 6:26 PM, Tom Rini wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 01/10/2013 11:16 AM, Javier Martinez Canillas wrote: >>> On Thu, Jan 10, 2013 at 4:35

[U-Boot] [PATCH v6 0/6] Improve default environment for easy use

2013-01-10 Thread Otavio Salvador
This patchset improves the default environment of machines currently supported in OpenEmbedded and Yocto to make it compatible with mainline and Freescale BSP Linux kernel. A new patch has been add to change the format in mx6qsabrelite in environment setting and already merged patches removed fro

[U-Boot] [PATCH v6 1/6] mx6qsabrelite: Use tabs to environment setting

2013-01-10 Thread Otavio Salvador
This rework the environment to use tabs for environment setting as done in other boards. Signed-off-by: Otavio Salvador --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - New patch include/configs/mx6qsabrelite.h | 66 +++--

[U-Boot] [PATCH v6 6/6] mx6qsabre{auto, sd}: Add support to dynamically choose between fdt use or not

2013-01-10 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v6: - Fix netboot fdt - Rebase on top of 'mx6qsabresd: Fix booting the kernel from SDHC3' Changes in v5: - Change subject - Reword the warning Changes in v4: - Use a warning, instead of error when failing to fetch fdt - Drop exit use - Fix netboot -

[U-Boot] [PATCH v6 5/6] mx6qsabrelite: Add support to dynamically choose between fdt use or not

2013-01-10 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v6: - Fix netboot fdt Changes in v5: - Change subject - Reword the warning Changes in v4: - Use a warning, instead of error when failing to fetch fdt - Drop exit use - Fix netboot - Use fdt instead of ftd Changes in v3: - Add loadfdt - Use loadfdt -

[U-Boot] [PATCH v6 2/6] mx28evk: We shouldn't hardcode a rootfs filesystem type

2013-01-10 Thread Otavio Salvador
For a generic environment, we shouldn't have a fixed rootfs filesystem so we drop it from env. Signed-off-by: Otavio Salvador --- Changes in v6: - Fix reformat Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Reformat environment change to fit in 80 cols include/con

[U-Boot] [PATCH v6 3/6] mx28evk: Add support to dynamically choose between fdt use or not

2013-01-10 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- Changes in v6: None Changes in v5: - Change subject - Reword the warning Changes in v4: - Use a warning, instead of error when failing to fetch fdt - Drop exit use - Fix netboot - Use fdt instead of ftd Changes in v3: - Add loadfdt - Use loadfdt - Call exit to

[U-Boot] [PATCH v6 4/6] mx53loco: Add support to dynamically choose between fdt use or not

2013-01-10 Thread Otavio Salvador
The CONFIG_SYS_CBSIZE has been change to 512 to avoid runtime errors as: ,---[ Runtime error ] | Hit any key to stop autoboot: 0 | MX53LOCO U-Boot > pri netboot | netboot=echo Booting from net ...; run netargs; if test ... | prefetch abort | pc : [<20747368>] lr : [<20747365>] | sp : af5

Re: [U-Boot] [PATCH v6 6/6] mx6qsabre{auto, sd}: Add support to dynamically choose between fdt use or not

2013-01-10 Thread Fabio Estevam
On Thu, Jan 10, 2013 at 5:45 PM, Otavio Salvador wrote: > Signed-off-by: Otavio Salvador Tested-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC] Is anyone interested IPv6 support for u-boot

2013-01-10 Thread Chris Packham
On Fri, Jan 11, 2013 at 8:16 AM, Joe Hershberger wrote: > Hi Chris, > > On Wed, Jan 9, 2013 at 9:25 PM, Chris Packham > wrote: > > Hi, > > > > Here at $dayjob we make embedded network devices (routers & switches). > > Because we have an interest in getting people to adopt IPv6 we've added > code

Re: [U-Boot] bootm: relocate names of sub-command table for archs with CONFIG_NEEDS_MANUAL_RELOC

2013-01-10 Thread Tom Rini
On Mon, Jan 07, 2013 at 06:54:52AM -, Daniel Schwierzeck wrote: > From: Daniel Schwierzeck > > To make bootm sub-command feature working on archs with > CONFIG_NEEDS_MANUAL_RELOC, > the name pointers in the sub-command table need to be relocated. > > Signed-off-by: Daniel Schwierzeck App

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

2013-01-10 Thread Tom Rini
On Thu, Jan 10, 2013 at 03:37:30PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following patches pending for quite some time: > > The following changes since commit 642ef40bdc95bef829ae3aadc217f829c4c298c4: > > Merge branch 'master' of git://git.denx.de/u-boot-arm (2013-01-09 08:

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

2013-01-10 Thread 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 can you review and pass along plea

Re: [U-Boot] [PATCH v2 01/10] arm: move flush_dcache_all() to just before disable cache

2013-01-10 Thread Albert ARIBAUD
Hi Simon, On Fri, 30 Nov 2012 15:01:14 -0800, Simon Glass wrote: > From: Arun Mankuzhi > > In Cortex-A15 architecture, when we run cache invalidate > the cache clean operation executes automatically. > So if there are any dirty cache lines before disabling the L2 cache > these will be synchron

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

2013-01-10 Thread Nishanth Menon
Gentle reminder on this - if this is interesting.. On Wed, Jan 2, 2013 at 11:59 AM, 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 > --- > To notice the mi

Re: [U-Boot] [RFC] Is anyone interested IPv6 support for u-boot

2013-01-10 Thread Joe Hershberger
Hi Chris, On Thu, Jan 10, 2013 at 3:34 PM, Chris Packham wrote: > > On Fri, Jan 11, 2013 at 8:16 AM, Joe Hershberger > wrote: >> >> Hi Chris, >> >> On Wed, Jan 9, 2013 at 9:25 PM, Chris Packham >> wrote: >> > Hi, >> > >> > Here at $dayjob we make embedded network devices (routers & switches). >

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

2013-01-10 Thread Tom Rini
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: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 039cbaefcf573

Re: [U-Boot] [PATCH 01/12] cmd_sf: Add wr_inst argument to 'sf write' command

2013-01-10 Thread Simon Glass
Hi Jagannadha, On Mon, Dec 31, 2012 at 3:13 AM, Jagannadha Sutradharudu Teki wrote: > This patch provides a support to add a write instruction(wr_inst) > argument to 'sf write' command. > > User will dynamically use the specific write instruction while > programming the flash using 'sf write' com

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-01-10 Thread Simon Glass
Hi Jagannadha, On Mon, Dec 31, 2012 at 3:13 AM, Jagannadha Sutradharudu Teki wrote: > All these patches are added a support for read and write instruction > for programming/reading SPI flash. > I think this is all great and very useful - since no one else has commented I will have a try. > Read

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-01-10 Thread Simon Glass
Hi Jagannadha, On Mon, Dec 31, 2012 at 3:13 AM, Jagannadha Sutradharudu Teki wrote: > All these patches are added a support for read and write instruction > for programming/reading SPI flash. > I think this is all great and very useful - since no one else has commented I will have a try. > Read

Re: [U-Boot] [PATCH 05/12] cmd_sf: Define a functions for parsing read and write instructions

2013-01-10 Thread Simon Glass
Hi Jagannadha, On Mon, Dec 31, 2012 at 3:13 AM, Jagannadha Sutradharudu Teki wrote: > This patch provides to define a separate functions for parsing read > and write instructions by taking instruction argument from user. > > So-that the common functions can used in a different levels for > parsin

Re: [U-Boot] [PATCH 12/12] sf: Pass rd_qeb_req variable as 0 for status and config reg reads

2013-01-10 Thread Simon Glass
Hi Jagannadha, On Mon, Dec 31, 2012 at 4:14 AM, Jagannadha Sutradharudu Teki wrote: > Config and Status register reads doesn't require to set > the quad enable bit, hence rd_qeb_req variable passed as 0. > > Signed-off-by: Jagannadha Sutradharudu Teki A few more general comments: Please can yo

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

2013-01-10 Thread Simon Glass
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 flash program and erase operations. > > User need to get the data through s

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-01-10 Thread Simon Glass
Hi, On Thu, Jan 10, 2013 at 6:33 AM, Langer Thomas (LQDE RD ST PON SW) wrote: > Hello Jagan, > >> All these patches are added a support for read and write instruction >> for programming/reading SPI flash. Hmmm just saw this comment. > > I have written some weeks ago that I would really apprecia

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

2013-01-10 Thread Jaehoon Chung
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 the divisor value based on MPLL clock and >> writes it into the FSYS1 register. >> >> Changes from V1: >> 1)Updated the function exynos5_mmc_set_clk_div() to receive

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

2013-01-10 Thread Jaehoon Chung
On 01/11/2013 01:46 AM, Simon Glass wrote: > Hi Amar, > > On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: >> This patch adds commands to open, close and resize boot partitions on EMMC. >> >> Changes from V1: >> 1)Combined the common piece of code between 'open' and 'close' >> operatio

Re: [U-Boot] [PATCH V4 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-01-10 Thread Jaehoon Chung
On 01/11/2013 12:26 AM, Simon Glass wrote: > Hi Amar, > > On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: >> This patch enumerates dwmci and set auto stop command during >> dwmci initialisation. >> EMMC read/write is not happening in current implementation >> due to improper fifo size computation. He

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

2013-01-10 Thread Jaehoon Chung
On 01/11/2013 12:33 AM, Simon Glass wrote: > Hi Amar, > > On Fri, Jan 4, 2013 at 1:34 AM, Amar wrote: >> This patch adds FDT support for DWMMC, by reading the DWMMC node data >> from the device tree and initialising DWMMC channels as per data >> obtained from the node. >> >> Changes from V1: >>

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

2013-01-10 Thread Satendra Pratap
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.com> you wrote: > >> This adds stack layer for eXtensible Host Controller Interfac

  1   2   >