Re: [U-Boot] [PATCH v3 5/5] Exynos: Split 5250 and 5420 memory bank configuration

2014-06-17 Thread Simon Glass
Hi Minkyu, On 17 June 2014 23:30, Minkyu Kang wrote: > On 18/06/14 11:11, Simon Glass wrote: >> Hi Minkyu, >> >> On 16 June 2014 23:28, Minkyu Kang wrote: >>> Dear Akshay Saraswat, >>> >>> On 04/06/14 01:17, Akshay Saraswat wrote: From: Michael Pratt Since snow has a different me

Re: [U-Boot] strtonum() is gawk specific extension

2014-06-17 Thread Vasili Galka
Hi Simon, On Wed, Jun 18, 2014 at 9:10 AM, Simon Glass wrote: > I thought of an ugly way and sent a patch using bc, but please let me > know if you have something better. I honestly don't know. Is bc considered "standard" and always comes on Linux systems? Maybe there shall be a list of prerequi

Re: [U-Boot] [PATCH v2 03/11] board:samsung: check the mmc boot device and init the right mmc driver.

2014-06-17 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 12/06/14 18:46, Przemyslaw Marczak wrote: > It is possible to boot from a few media devices, especially using a micro > SD or eMMC slots. In this situation, boot device should be registered > as block device 0 in the MMC framework, because CONFIG_SYS_MMC_ENV_DEV > is us

Re: [U-Boot] [PATCH v3 5/5] Exynos: Split 5250 and 5420 memory bank configuration

2014-06-17 Thread Minkyu Kang
On 18/06/14 11:11, Simon Glass wrote: > Hi Minkyu, > > On 16 June 2014 23:28, Minkyu Kang wrote: >> Dear Akshay Saraswat, >> >> On 04/06/14 01:17, Akshay Saraswat wrote: >>> From: Michael Pratt >>> >>> Since snow has a different memory configuration than peach, split the >>> configuration betwee

Re: [U-Boot] Use UART1 port on p1022 through U-Boot

2014-06-17 Thread Dirk Eibach
Just use #define CONFIG_CONS_INDEX 2 to select UART1 as u-boot console. Remember to set "consoledev=ttyS1" in the kernel parameters. Cheers Dirk ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] dfu: free entities when parsing fails

2014-06-17 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > When dfu_init_env_entities() fails part-way through, some entities may > have been added to dfu_list. These are only removed by > dfu_free_entities(). If that function isn't called, those stale > entities will still exist the next time dfu_init_env_entities

Re: [U-Boot] strtonum() is gawk specific extension

2014-06-17 Thread Simon Glass
Hi, On 15 June 2014 06:56, Vasili Galka wrote: > The following patch "Check that u-boot.bin size looks correct": > http://patchwork.ozlabs.org/patch/355151/ > Uses strtonum() function which is gawk specific extension: > https://www.gnu.org/software/gawk/manual/html_node/Strtonum-Function.html > >

[U-Boot] [PATCH] Avoid using gawk-specific strtonum()

2014-06-17 Thread Simon Glass
We need to subtract two hex numbers. Avoid using strtonum() by doing the subtraction in bc with a suitable input base. Signed-off-by: Simon Glass Reported-by: Vasili Galka --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24d9687..bb2f

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-17 Thread Simon Glass
Hi Marek, On 17 June 2014 16:42, Marek Vasut wrote: > On Thursday, June 12, 2014 at 05:26:50 AM, Simon Glass wrote: >> Hi Marek, >> >> On 8 June 2014 01:00, Marek Vasut wrote: >> > On Friday, June 06, 2014 at 09:13:26 PM, Simon Glass wrote: >> >> In a very few cases we need to adjust the driver

Re: [U-Boot] [PATCH] includes: move openssl headers to include/u-boot

2014-06-17 Thread Simon Glass
Hi Jeroen, On 12 June 2014 13:27, Jeroen Hofstee wrote: > commit 18b06652cd "tools: include u-boot version of sha256.h" > unconditionally forced the sha256.h from u-boot to be used > for tools instead of the host version. This is fragile though > as it will also include the host version. Therefor

Re: [U-Boot] [PATCH] pmic: tps65090: correct checking i2c bus

2014-06-17 Thread Simon Glass
On 15 June 2014 08:17, Jeroen Hofstee wrote: > The function tps65090_init checks the i2c bus of p->bus. However > the pointer p is not intialiased at this point. Check the local > variable bus instead. > > cc: Tom Wai-Hong Tam > cc: Simon Glass > Signed-off-by: Jeroen Hofstee Acked-by: Simon G

Re: [U-Boot] [PATCH] ARM: rpi_b: enable GENERIC_BOARD

2014-06-17 Thread Simon Glass
On 13 June 2014 22:37, Stephen Warren wrote: > Serial port, SD card, and LCD all work. > > Signed-off-by: Stephen Warren Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Pull request v2: u-boot-sh/rmobile into u-boot-arm/master

2014-06-17 Thread Nobuhiro Iwamatsu
Dear Albert Aribaud, Please pull u-boot-sh/rmobile into u-boot-arm/master. The following changes since commit 0a26e1d6c394aacbf1153977b7348d1dff85db3f: arm: fix a double-definition error of _start symbol (2014-06-09 10:36:40 +0200) are available in the git repository at: git://git.denx.de/

Re: [U-Boot] m68k: Fix warnings with gcc 4.6

2014-06-17 Thread Simon Glass
Hi Masahiro, On 17 June 2014 01:34, Masahiro Yamada wrote: > Hi Simon, > > > On Wed, 11 Jun 2014 18:19:28 -0400 > Tom Rini wrote: > >> On Sat, Jun 07, 2014 at 10:07:58PM -0600, Simon Glass wrote: >> >> > Most of the warnings seem to be related to using 'int' for size_t. Change >> > this and fix

[U-Boot] [PATCH v2] arm: rmobile: lager: Remove NOR-Flash support from boards.cfg

2014-06-17 Thread Nobuhiro Iwamatsu
Lager board has NOR-Flash function. But this is not used basically. SPI-ROM is used instead. NOR-Flash support code has been removed, but this remains in the boards.cfg. This commit removes config of NOR-Flash from boards.cfg. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu ---

[U-Boot] [PATCH v2] arm: rmobile: koelsch: Remove NOR-Flash support from boards.cfg

2014-06-17 Thread Nobuhiro Iwamatsu
Koelsch board has NOR-Flash function. But this is not used basically. SPI-ROM is used instead. NOR-Flash support code has been removed, but this remains in the boards.cfg. This commit removes config of NOR-Flash from boards.cfg. Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Nobuhiro Iwamatsu -

Re: [U-Boot] [PATCH v3 5/5] Exynos: Split 5250 and 5420 memory bank configuration

2014-06-17 Thread Simon Glass
Hi Minkyu, On 16 June 2014 23:28, Minkyu Kang wrote: > Dear Akshay Saraswat, > > On 04/06/14 01:17, Akshay Saraswat wrote: >> From: Michael Pratt >> >> Since snow has a different memory configuration than peach, split the >> configuration between the 5250 and 5420. Exynos 5420 supports runtime >

Re: [U-Boot] Atmel SAMA5D31 NOR boot - sanity check required

2014-06-17 Thread Bo Shen
Hi Andy, On 06/17/2014 07:09 PM, Andy Pont wrote: Hello! I am currently working on an implementation of NOR boot support for the Atmel SAMA5D31-EK reference platform as a precursor to a custom hardware platform. When tested and working I will push the support back to the community but what I h

[U-Boot] [PATCH] spi: davinci: Fix register address for SPI1_BUS

2014-06-17 Thread Axel Lin
Fix a trivial copy-paste bug. Signed-off-by: Axel Lin --- drivers/spi/davinci_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 28fb3a2..0ec5b9d 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_sp

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-17 Thread Marek Vasut
On Thursday, June 12, 2014 at 05:26:50 AM, Simon Glass wrote: > Hi Marek, > > On 8 June 2014 01:00, Marek Vasut wrote: > > On Friday, June 06, 2014 at 09:13:26 PM, Simon Glass wrote: > >> In a very few cases we need to adjust the driver model root device, such > >> as when setting it up at initia

[U-Boot] [PATCH] driver/ddr: Fix DDR4 driver for ARM

2014-06-17 Thread York Sun
Previously the driver was only tested on Power SoCs. Minor fix is needed for ARM SoCs. Signed-off-by: York Sun --- arch/arm/include/asm/arch-fsl-lsch3/config.h |4 drivers/ddr/fsl/fsl_ddr_gen4.c |9 + 2 files changed, 13 insertions(+) diff --git a/arch/arm/inc

[U-Boot] [PATCH] mtd: cfi_flash: fix clang warning

2014-06-17 Thread Jeroen Hofstee
clang warns this check is silly; it is since s is a local variable. u-boot/drivers/mtd/cfi_flash.c:2363:13: warning: comparison of array 's' not equal to a null pointer is always true else if ((s != NULL) && (strcmp(s, "yes") == 0)) { cc: Stefan Roese Signed-off-by: Jeroen Hofstee --- driv

[U-Boot] [PATCH] usb: cosmetic: double const

2014-06-17 Thread Jeroen Hofstee
For plain array const can be either before or after the type definition. Adding both is simply redundand. Remove the later one. cc: ma...@denx.de Signed-off-by: Jeroen Hofstee --- drivers/usb/eth/asix.c| 2 +- drivers/usb/eth/mcs7830.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

Re: [U-Boot] [PATCH 2/4] mx6sx: Add pin definitions

2014-06-17 Thread Eric Nelson
Hi Stefano, On 06/17/2014 08:40 AM, Stefano Babic wrote: > Hi Fabio, > > On 14/06/2014 22:29, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Add the pin definitions for mx6sx. >> > > A base question. There was a lot of work to try to abstract the pin > definitions for the i.MX6 SOCs. For QUA

Re: [U-Boot] [PATCH 2/5] kbuild: sync mixed targets handling with Linux 3.16-rc1

2014-06-17 Thread Jeroen Hofstee
Hello Masahiro, On 17-06-14 03:42, Masahiro Yamada wrote: On Mon, 16 Jun 2014 19:58:28 +0200 Jeroen Hofstee wrote: Hello Masahiro, On ma, 2014-06-16 at 18:56 +0900, Masahiro Yamada wrote: "make %_config all" was supported for the first time in U-Boot: commit 53bca5ab kbuild: support s

[U-Boot] Use UART1 port on p1022 through U-Boot

2014-06-17 Thread Nildo Junior
Hi, I am using a Freescale p1022 processor, and I need to write to the UART1 port of this processor, through U-Boot. I know it currently uses UART0 as the console input/output. I could not find out how to configure it so I can use UART1 as well. If somebody have a hint, I will be really grateful.

Re: [U-Boot] [Patch v2 0/7] Add support for TQMa6 modules

2014-06-17 Thread Stefano Babic
Hi Markus, On 17/06/2014 19:40, Markus Niebel wrote: >> Is it not an attractive alternative for you ? Instead of having several >> entries in boards.cfg for each variation of your board, you could have >> maybe only one or a couple. > Sure it is - main difference will be boot devices. Right - I

Re: [U-Boot] [PATCH 1/6] usb: ehci: mx6: Add support for i.MX6SL

2014-06-17 Thread Nikolay Dimitrov
Hi Igor, On 6/17/2014 9:26 AM, Igor Grinberg wrote: That is exactly what we do already (code is on the way) and IMO what we should aim for. I really didn't knew this in the beginning before seeing your answers, this would be definitely easier to support. For me it is just an artificial compl

Re: [U-Boot] [Patch v2 0/7] Add support for TQMa6 modules

2014-06-17 Thread Markus Niebel
Am 17.06.2014 17:55, wrote Stefano Babic: > Hi Markus, > > On 16/06/2014 18:51, Markus Niebel wrote: >> From: Markus Niebel >> >> This series add support for the TQMa6 boards from TQ Systems. >> The first Patch adds basic support for the modiules and the >> starterkit baseboard while the other p

[U-Boot] [[PATCH v2]] video: ipu_disp: squash clang warning

2014-06-17 Thread Jeroen Hofstee
Since rgb2ycbcr_coeff and friends are declared const, but assigned to a void pointer, clang will warn that the const is implicity casted away. If the pointer is changed to void const * gcc will warn when it is implicitly casted to a const int array. Just add a correctly typed pointer instead to pre

[U-Boot] [PATCH] video: ipu_disp: squash clang warning

2014-06-17 Thread Jeroen Hofstee
Since rgb2ycbcr_coeff and friends are declared const, but assigned to a void pointer, clang will warn that the const is implicity casted away. If the pointer is changed to void const * gcc will warn when it is implicitly casted to a const int array. Just add a correctly typed pointer instead to pre

[U-Boot] [PULL] : Please pull u-boot-imx

2014-06-17 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit 49692c5f517d8e44ed9db0de778728fe7d2a300c: net/designware: Make DMA burst length configurable and reduce by default (2014-05-25 17:23:58 +0200) are available in the git repository at: git://www.denx.de/git/u

Re: [U-Boot] [PATCH v2 04/11] drivers:dfu: new feature: separated bootloader alt setting

2014-06-17 Thread Stephen Warren
On 06/17/2014 04:20 AM, Przemyslaw Marczak wrote: > Hello Stephen, > > On 06/16/2014 09:52 PM, Stephen Warren wrote: >> On 06/12/2014 03:46 AM, Przemyslaw Marczak wrote: >>> This patch introduces new feature: initialization of the dfu >>> bootloader entity from a separate environmental variable wh

Re: [U-Boot] [PATCH 1/6] usb: ehci: mx6: Add support for i.MX6SL

2014-06-17 Thread Marek Vasut
On Tuesday, June 17, 2014 at 06:21:05 PM, Nikolay Dimitrov wrote: > Hi Marek, > > On 6/16/2014 5:53 PM, Marek Vasut wrote: > > Please do not top-post. > > Please excuse me - I was unable to find posting guidelines for the > mailing list, so just posted by habit (last time I had to post to > anoth

Re: [U-Boot] [PATCH 1/7] nand_spl: remove P1023RDS_NAND support

2014-06-17 Thread York Sun
On 06/17/2014 08:41 AM, Scott Wood wrote: > On Tue, 2014-06-17 at 17:36 +0900, Masahiro Yamada wrote: >> Hello Scott, >> >> On Mon, 16 Jun 2014 16:46:13 -0500 >> Scott Wood wrote: >> >>> FWIW, all p1023rds support can probably be removed. Very few boards >>> were ever sold, and support was recent

Re: [U-Boot] [PATCH 1/6] usb: ehci: mx6: Add support for i.MX6SL

2014-06-17 Thread Nikolay Dimitrov
Hi Marek, On 6/16/2014 5:53 PM, Marek Vasut wrote: Please do not top-post. Please excuse me - I was unable to find posting guidelines for the mailing list, so just posted by habit (last time I had to post to another list, they wanted me to top-post). With the upcoming DM implementation, that

Re: [U-Boot] [PATCH v2] mxs: fixed battery boot on imx233-olinuxino-micro

2014-06-17 Thread Stefano Babic
Hi peter, On 17/06/2014 00:19, Marek Vasut wrote: > On Tuesday, June 17, 2014 at 12:18:55 AM, Marek Vasut wrote: >> On Sunday, June 15, 2014 at 03:11:56 PM, Peter Schumann wrote: >>> This patch makes it possible to boot from battery on olinuxino Boards >>> from Olimex. >>> >>> We should not set DO

Re: [U-Boot] [PATCH 4/6] mmc: fsl_esdhc: Add support to force VSELECT set

2014-06-17 Thread Michael Trimarchi
Hi On Tue, Jun 17, 2014 at 5:49 PM, Marek Vasut wrote: > On Tuesday, June 17, 2014 at 08:06:38 AM, Michael Trimarchi wrote: >> Hi Marek >> >> Il 17/giu/2014 08:03 "Marek Vasut" ha scritto: >> > On Monday, June 16, 2014 at 01:48:11 PM, Otavio Salvador wrote: >> > > On Mon, Jun 16, 2014 at 4:03 AM

Re: [U-Boot] [RFC PATCH] Fix bug in T4240QDS code. Don't access nonexistent registers

2014-06-17 Thread York Sun
On 06/16/2014 07:41 AM, Vasili Galka wrote: > The code in misc_init_r() verifies actual SERDES clocks versus > expected. It supposes that the number of clocks is MAX_SERDES. > However, the number of pllcr0 registers is only SRDS_MAX_BANK. This > clearly results in access to wrong memory. I don't ha

Re: [U-Boot] [Patch v2 0/7] Add support for TQMa6 modules

2014-06-17 Thread Stefano Babic
Hi Markus, On 16/06/2014 18:51, Markus Niebel wrote: > From: Markus Niebel > > This series add support for the TQMa6 boards from TQ Systems. > The first Patch adds basic support for the modiules and the > starterkit baseboard while the other patches add additional features > > Markus Niebel (7

Re: [U-Boot] [PATCH v4 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-17 Thread Scott Wood
On Tue, 2014-06-17 at 09:15 +0200, Heiko Schocher wrote: > - Following Code in drivers/mtd/nand/nand_base.c nand_do_write_ops() > adapted for U-Boot: > > +#ifndef __UBOOT__ > /* Reject writes, which are not page aligned */ > if (NOTALIGNED(to) || NOTALIGNED(ops->len)) { > +el

Re: [U-Boot] [PATCH 4/6] mmc: fsl_esdhc: Add support to force VSELECT set

2014-06-17 Thread Marek Vasut
On Tuesday, June 17, 2014 at 08:06:38 AM, Michael Trimarchi wrote: > Hi Marek > > Il 17/giu/2014 08:03 "Marek Vasut" ha scritto: > > On Monday, June 16, 2014 at 01:48:11 PM, Otavio Salvador wrote: > > > On Mon, Jun 16, 2014 at 4:03 AM, Igor Grinberg > > > > > > > wrote: > > > > Hi Otavio, > > >

Re: [U-Boot] [PATCH 1/7] nand_spl: remove P1023RDS_NAND support

2014-06-17 Thread Scott Wood
On Tue, 2014-06-17 at 17:36 +0900, Masahiro Yamada wrote: > Hello Scott, > > On Mon, 16 Jun 2014 16:46:13 -0500 > Scott Wood wrote: > > > FWIW, all p1023rds support can probably be removed. Very few boards > > were ever sold, and support was recently removed from Linux (commit > > fd7e5b7a87580

Re: [U-Boot] [PATCH 4/6] mmc: fsl_esdhc: Add support to force VSELECT set

2014-06-17 Thread Otavio Salvador
On Tue, Jun 17, 2014 at 12:11 PM, Stefano Babic wrote: > On 16/06/2014 02:46, Otavio Salvador wrote: >> There are board were we cannot do voltage negotiation but want to set >> the VSELECT bit forcely to ensure it to work at 1.8V. >> >> This commit adds CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT flag for

Re: [U-Boot] [PATCH 3/4] mx6: clock: Do not enable sata and ipu clocks

2014-06-17 Thread Stefano Babic
Hi Fabio, On 14/06/2014 22:29, Fabio Estevam wrote: > From: Fabio Estevam > > mx6sx does not have sata nor ipu blocks, so do not handle such clocks. > We have already a check inside setup_sata(): if (!is_cpu_type(MXC_CPU_MX6Q) && !is_cpu_type(MXC_CPU_MX6D)) return 1; e

Re: [U-Boot] [PATCH 4/6] mmc: fsl_esdhc: Add support to force VSELECT set

2014-06-17 Thread Michael Trimarchi
Hi Stefano On Tue, Jun 17, 2014 at 5:12 PM, Otavio Salvador wrote: > On Tue, Jun 17, 2014 at 12:11 PM, Stefano Babic wrote: >> On 16/06/2014 02:46, Otavio Salvador wrote: >>> There are board were we cannot do voltage negotiation but want to set >>> the VSELECT bit forcely to ensure it to work at

Re: [U-Boot] [PATCH 1/4] mx6: Add support for the mx6solox variant

2014-06-17 Thread Stefano Babic
Hi Fabio, On 14/06/2014 22:29, Fabio Estevam wrote: > From: Fabio Estevam > Sorry to be noisy. I have not idea which mx6solox means. Can you (I have not found any documentation on Freescale's website) spend a couple of line and introduce this new i.MX6 variation ? Which are the main difference

Re: [U-Boot] [PATCH 4/6] mmc: fsl_esdhc: Add support to force VSELECT set

2014-06-17 Thread Stefano Babic
Hi Michael, On 17/06/2014 17:14, Michael Trimarchi wrote: >>> Instead of adding a new compiler switch that should be documented (I >>> have already read Marek's comments), what do you think to extend struct >>> fsl_esdhc_cfg, putting for exmaple an "options" field with this kind of >>> specializa

Re: [U-Boot] [PATCH 4/6] mmc: fsl_esdhc: Add support to force VSELECT set

2014-06-17 Thread Stefano Babic
Hi Otavio, On 16/06/2014 02:46, Otavio Salvador wrote: > There are board were we cannot do voltage negotiation but want to set > the VSELECT bit forcely to ensure it to work at 1.8V. > > This commit adds CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT flag for this use. > > Signed-off-by: Otavio Salvador >

Re: [U-Boot] [PATCH 1/6] usb: ehci: mx6: Add support for i.MX6SL

2014-06-17 Thread Otavio Salvador
On Tue, Jun 17, 2014 at 11:56 AM, Stefano Babic wrote: > Hi Otavio, > > On 16/06/2014 02:46, Otavio Salvador wrote: >> The i.MX6SL has a different base address for the controller. This >> patch adapts the driver to support the different base address for this >> case. >> >> Signed-off-by: Otavio Sa

Re: [U-Boot] [PATCH 1/6] usb: ehci: mx6: Add support for i.MX6SL

2014-06-17 Thread Stefano Babic
Hi Otavio, On 16/06/2014 02:46, Otavio Salvador wrote: > The i.MX6SL has a different base address for the controller. This > patch adapts the driver to support the different base address for this > case. > > Signed-off-by: Otavio Salvador > --- > > drivers/usb/host/ehci-mx6.c | 10 -- >

[U-Boot] [PATCH] OMAP: disable gpmc timeout safely for reenabling

2014-06-17 Thread Stefano Babic
gpmc timeout is disabled and the reset counter is set to 0. However, if later a driver activates the timeout setting the reset to a valid value, the old reset value with zero is still valid for the first access. In fact, the timeout block loads the reset counter after a successful access. Found on

Re: [U-Boot] [PATCH v3 1/3] mx28evk: Fix warning when CONFIG_ENV_IS_IN_SPI_FLASH is selected

2014-06-17 Thread Stefano Babic
On 10/06/2014 05:03, Fabio Estevam wrote: > From: Fabio Estevam > > When building a target with CONFIG_ENV_IS_IN_SPI_FLASH the following > warning is seen: > > include/configs/mx28evk.h:73:0: warning: "CONFIG_ENV_SIZE" redefined [enabled > by default] > > Protect the definition of CONFIG_ENV_

Re: [U-Boot] [PATCH] embestmx6boards: Fix the dtb file name for riotboard

2014-06-17 Thread Stefano Babic
Hi Fabio, On 09/06/2014 18:42, Fabio Estevam wrote: > The name of the dtb file used in the kernel is 'imx6dl-riotboard.dtb', so fix > it accordingly. > > Signed-off-by: Fabio Estevam > --- > include/configs/embestmx6boards.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --gi

Re: [U-Boot] [PATCH] embestmx6boards: Fix CONFIG_CONSOLE_DEV

2014-06-17 Thread Stefano Babic
Hi Fabio, On 09/06/2014 18:35, Fabio Estevam wrote: > mars and riot boards use UART2 as console, so CONFIG_CONSOLE_DEV should point > to 'ttymxc1' instead. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH] mx6: drop ARM errata 742230

2014-06-17 Thread Stefano Babic
Hi Shawn, On 11/06/2014 10:52, Shawn Guo wrote: > Commit e9fd66defd7e (ARM: mx6: define CONFIG_ARM_ERRATA_742230) enables > errata 742230 for imx6, because it helps remove one reboot issue. > However, this errata does not really apply on imx6, because Cortex-A9 > on imx6 is r2p10 while the errata

Re: [U-Boot] [PATCH 2/2] arm: mx5: Enable CONFIG_SYS_GENERIC_BOARD on M53EVK

2014-06-17 Thread Stefano Babic
On 13/06/2014 00:02, Marek Vasut wrote: > On Thursday, April 03, 2014 at 07:12:37 PM, Marek Vasut wrote: >> Signed-off-by: Marek Vasut >> --- >> include/configs/m53evk.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h >> index 16546c

Re: [U-Boot] [PATCH] mx6: Fix definition of IOMUXC_GPR12_DEVICE_TYPE_RC

2014-06-17 Thread Stefano Babic
Hi Fabio, On 06/06/2014 00:31, Fabio Estevam wrote: > From: Fabio Estevam > > mx6 reference manual incorrectly states that the DEVICE_TYPE field of > IOMUXC_GPR12 register should be configured as '0010' for setting the PCI > controller in RC mode. The correct value should be '0100' instead. >

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-17 Thread Fabio Estevam
Hi Tim, On Fri, Jun 6, 2014 at 1:35 AM, Tim Harvey wrote: > Fabio, > > Good catch, but that doesn't resolve the issue i'm seeing here. > > Any other ideas? Do you still have issues after applying David's delay workaround? On my mx6qsabresd I noticed that: - if U-boot has PCI driver enabled, t

[U-Boot] Powerpc/lib: wait_ticks function hangs(u-boot-2014.04 )

2014-06-17 Thread ranjini Raveendran
Hi, We are using u-boot-2014.04 for the Freescale COM Express Evaluation board. We compiled it for SD card boot option . uboot hangs due to wait_ticks function . We went through the mailing list. Found out that a patch for this function had done around 28 Jan 2013 . But in our board still it han

[U-Boot] Atmel SAMA5D31 NOR boot - sanity check required

2014-06-17 Thread Andy Pont
Hello! I am currently working on an implementation of NOR boot support for the Atmel SAMA5D31-EK reference platform as a precursor to a custom hardware platform. When tested and working I will push the support back to the community but what I have at the moment doesn't appear to do anything so I

Re: [U-Boot] [PATCH 4/5] kbuild: Use relative path when possible

2014-06-17 Thread Masahiro Yamada
On Mon, 16 Jun 2014 18:56:39 +0900 Masahiro Yamada wrote: > Import 3 useful commits by Michal Marek > from Linux 3.16-rc1. > > commit 9da0763bdd82572be243fcf5161734f11568960f > kbuild: Use relative path when building in a subdir of the source tree > > commit 890676c65d699db3ad82e70c

Re: [U-Boot] [PATCH] arm: zynq: fix a bug in Zynq linker script

2014-06-17 Thread Michal Simek
On 06/17/2014 10:45 AM, Masahiro Yamada wrote: > Hi Michal, > > On Thu, 5 Jun 2014 19:47:45 +0900 > Masahiro Yamada wrote: > >> Commit 41623c91 moved exception handlers to ".vectores" section >> but it missed to adjust Zynq linker script. >> >> Zynq boards hang up after relocation because "_sta

[U-Boot] [GIT PULL] Zynq fix

2014-06-17 Thread Michal Simek
Hi Albert and Tom, here is one critical fix which should go to v2014.07 release. Without it u-boot for zynq is not working. Please add it to your tree. Thanks, Michal The following changes since commit d8a97f934c64a7ba6f11da5e4cc7f3be57fcb82d: Merge branch 'master' of git://git.denx.de/u-boo

Re: [U-Boot] [PATCH v2 04/11] drivers:dfu: new feature: separated bootloader alt setting

2014-06-17 Thread Przemyslaw Marczak
Hello Stephen, On 06/16/2014 09:52 PM, Stephen Warren wrote: On 06/12/2014 03:46 AM, Przemyslaw Marczak wrote: This patch introduces new feature: initialization of the dfu bootloader entity from a separate environmental variable which can be set on a boot time. By default, DFU always check env

Re: [U-Boot] [PATCH v2] test:dfu: Add test scripts for testing DFU regression

2014-06-17 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On 3 June 2014 03:54, Lukasz Majewski wrote: > > This commit adds test scripts for testing if any commit has > > introduced regression to the DFU subsystem. > > > > It uses md5 to test if sent and received file is correct. > > The test detailed description is available

Re: [U-Boot] [PATCH] dfu: add write error handling

2014-06-17 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > Fix calls to dfu_write() and dfu_flush() to detect errors in the I/O > itself. This could happen due to problems with the storage medium, or > simply when trying to write a FAT/ext file that is larger than the > buffer dfu_mmc.c maintains for this purpose.

[U-Boot] [PATCH 10/10] Pit WIP

2014-06-17 Thread Ajay Kumar
From: Simon Glass WIP patch to enable cros-ec on peach_pit. Signed-off-by: Simon Glass --- drivers/misc/cros_ec_spi.c| 4 +- drivers/power/pmic/Makefile | 3 +- drivers/power/pmic/pmic_tps65090_ec.c | 212 ++ drivers/spi/exynos_spi.c

[U-Boot] [PATCH 08/10] ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip

2014-06-17 Thread Ajay Kumar
This patch adds DT properties for fimd and the parade bridge chip present on peach_pit. The panel supports 1366x768 resolution. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos5420-peach-pit.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts/exy

[U-Boot] [PATCH 07/10] exynos5420: add callbacks needed for exynos_fb driver

2014-06-17 Thread Ajay Kumar
Add initialization code for peach_pit panel, parade bridge chip, and backlight. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/system.h | 3 + board/samsung/smdk5420/smdk5420.c | 129 +++--- 2 files changed, 50 insertions(+), 82 deletions(-) dif

[U-Boot] [PATCH 09/10] CONFIGS: peach-pit: Enable display for peach_pit board

2014-06-17 Thread Ajay Kumar
Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar --- include/configs/peach-pit.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 76b8d7a..88c093f 100644 --- a/include/configs/peach-pit.h

[U-Boot] [PATCH 02/10] arm: exynos: Add RPLL for Exynos5420

2014-06-17 Thread Ajay Kumar
RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock_init.h | 3 +++ arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 13 + 2 files changed, 16 insertions(+) diff --git a/arch/arm/cpu/armv7/exynos/cl

[U-Boot] [PATCH 06/10] ARM: exynos: Add missing declaration for gpio_direction_input

2014-06-17 Thread Ajay Kumar
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/gpio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/in

[U-Boot] [PATCH 03/10] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-06-17 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock.c | 74 +-- arch/arm/cpu/armv7/ex

[U-Boot] [PATCH 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-17 Thread Ajay Kumar
On Exynos5420 and newer versions, the FIMD sysmmus are in "on state" by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on Exynos5420. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos54xx.dts

[U-Boot] [PATCH 00/10] peach_pit: Add support for FIMD, DP and parade chip

2014-06-17 Thread Ajay Kumar
This patchset has dependency on Akshay's base patchset for peach_pit: https://www.mail-archive.com/u-boot@lists.denx.de/msg138595.html This patchset is actually a rebase of my older patchset: http://lists.denx.de/pipermail/u-boot/2013-November/166935.html, and this patchset enables display on exyn

[U-Boot] [PATCH 01/10] exynos_fb: Remove usage of static defines

2014-06-17 Thread Ajay Kumar
Previously, we used to statically assign values for vl_col, vl_row and vl_bpix using #defines like LCD_XRES, LCD_YRES and LCD_COLOR16. Introducing the function exynos_lcd_early_init() would take care of this assignment on the fly by parsing FIMD DT properties, thereby allowing us to remove LCD_XRE

[U-Boot] [PATCH 05/10] video: Add driver for Parade PS8625 dP to LVDS bridge

2014-06-17 Thread Ajay Kumar
From: Vadim Bendebury The initialization table comes from the "Illustration of I2C command for initialing PS8625" document supplied by Parade. Signed-off-by: Vadim Bendebury Signed-off-by: Ajay Kumar --- drivers/video/Makefile | 1 + drivers/video/parade.c | 220

Re: [U-Boot] [PATCH V2 2/2] dfu: fix some issues with reads/uploads

2014-06-17 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > DFU read support appears to rely upon dfu->read_medium() updating the > passed-by-reference len parameter to indicate the remaining size > available for reading. > > dfu_read_medium_mmc() never does this, and the implementation of > dfu_read_medium_nand()

Re: [U-Boot] [PATCH V2 1/2] fs: implement size/fatsize/ext4size

2014-06-17 Thread Lukasz Majewski
Hi Stephen, > From: Stephen Warren > > These commands may be used to determine the size of a file without > actually reading the whole file content into memory. This may be used > to determine if the file will fit into the memory buffer that will > contain it. In particular, the DFU code will us

Re: [U-Boot] [PATCH] arm: zynq: fix a bug in Zynq linker script

2014-06-17 Thread Masahiro Yamada
Hi Michal, On Thu, 5 Jun 2014 19:47:45 +0900 Masahiro Yamada wrote: > Commit 41623c91 moved exception handlers to ".vectores" section > but it missed to adjust Zynq linker script. > > Zynq boards hang up after relocation because "_start" symbol > does not point to the correct address and gd->r

Re: [U-Boot] [PATCH 1/7] nand_spl: remove P1023RDS_NAND support

2014-06-17 Thread Masahiro Yamada
Hello Scott, On Mon, 16 Jun 2014 16:46:13 -0500 Scott Wood wrote: > FWIW, all p1023rds support can probably be removed. Very few boards > were ever sold, and support was recently removed from Linux (commit > fd7e5b7a8758093781a44df9577fe24e9e11723e). > In that case, could you send a patch to

Re: [U-Boot] m68k: Fix warnings with gcc 4.6

2014-06-17 Thread Masahiro Yamada
Hi Simon, On Wed, 11 Jun 2014 18:19:28 -0400 Tom Rini wrote: > On Sat, Jun 07, 2014 at 10:07:58PM -0600, Simon Glass wrote: > > > Most of the warnings seem to be related to using 'int' for size_t. Change > > this and fix up the remaining warnings and problems. For bootm, the warning > > was ma

Re: [U-Boot] [PATCH] Fix bug in io64 target (introduced by commit aba27ac)

2014-06-17 Thread Vasili Galka
Hi Dirk, On Tue, Jun 17, 2014 at 9:18 AM, Dirk Eibach wrote: > Heh. Good catch. thanks! > But now I'm curious: how did you find this? > > Acked-by: dirk.eib...@gdsys.cc > > Cheers > Dirk I had the following compiler warning (and I actually don't understand why it was generated here): In file in

[U-Boot] [PATCH v4 1/3] lib, rbtree: resync with Linux-3.14

2014-06-17 Thread Heiko Schocher
resync with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Needed for the MTD/UBI/UBIFS resync Just copied the files from Linux, changed the license file header, and add in the c-file: +#define __UBOOT__ #in

[U-Boot] [PATCH v4 2/3] lib, list_sort: add list_sort from linux 3.14

2014-06-17 Thread Heiko Schocher
from linux 3.14: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Needed for the MTD/UBI/UBIFS resync Just copied the files from Linux, and added in the c-file the "#define __UBOOT__" for adding U-Boot special code. In

[U-Boot] [PATCH v4 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-17 Thread Heiko Schocher
resync mtd, ubi and ubifs subsystem with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Main reason for this sync is, we now have UBI fastmap support in U-Boot. Tested it on am33xx, imx6 and mpc83xx boards. MA