Re: [U-Boot] [PATCH 08/18] sandbox: Use the reset driver to handle reset

2015-09-24 Thread Stephen Warren
On 09/24/2015 11:13 PM, Stephen Warren wrote: > On 08/10/2015 09:44 PM, Simon Glass wrote: >> Hi Stephen, >> >> On 10 August 2015 at 21:35, Stephen Warren wrote: >>> On 07/17/2015 05:58 PM, Simon Glass wrote: On 6 July 2015 at 12:54, Simon Glass wrote: > Move sandbox over to use the rese

Re: [U-Boot] [PATCH 08/18] sandbox: Use the reset driver to handle reset

2015-09-24 Thread Stephen Warren
On 08/10/2015 09:44 PM, Simon Glass wrote: > Hi Stephen, > > On 10 August 2015 at 21:35, Stephen Warren wrote: >> On 07/17/2015 05:58 PM, Simon Glass wrote: >>> On 6 July 2015 at 12:54, Simon Glass wrote: Move sandbox over to use the reset uclass for reset, instead of a direct call to

Re: [U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-24 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年9月18日 2:14 > To: Gong Qianyu-B52263 > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > Zhiqiang-B48286; Song Wenbin-B53747; Xie Shaohui-B21989; Wood Scott- > B07421 > Subject: Re: [Patch v2 08/16] net/fm: fix c

Re: [U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-24 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年9月25日 10:34 > To: Hou Zhiqiang-B48286 > Cc: Gong Qianyu-B52263; u-boot@lists.denx.de; Hu Mingkai-B21284; Sun > York-R58495; Song Wenbin-B53747; Xie Shaohui-B21989 > Subject: Re: [Patch v2 08/16] net/fm: fix compile warnings for 6

Re: [U-Boot] [PATCH 0/3] Fix fdt 'reg' parsing and unbreak Odroid U3

2015-09-24 Thread Jaehoon Chung
Hi, Przemyslaw. On 09/25/2015 12:29 AM, Przemyslaw Marczak wrote: > Booting of Odroid U3 with SD card, ends with error: > > MMC: EXYNOS DWMMC: 0 > Card did not respond to voltage select! > *** Warning - MMC init failed, using default environment > > Generally this was broken, because of wrong

Re: [U-Boot] [PATCH] sunxi: Add generic defconfigs for A33 Q8 tablets with 1024x600 / 800x480 LCD

2015-09-24 Thread Chen-Yu Tsai
On Thu, Sep 24, 2015 at 11:24 PM, Hans de Goede wrote: > The 7" Q8 tablet enclosure is used for a ton of slightly different cheap > chinese tablets. There are some differences in which accelerometer / > wifi is used, but other then that these are all the same from a u-boot / > kernel pov. > > When

Re: [U-Boot] [PATCH 5/8] cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline

2015-09-24 Thread Bin Meng
On Thu, Sep 24, 2015 at 5:21 PM, Bin Meng wrote: > There are fields in VxWorks bootline for netmask and gatewayip. > We can get these from U-Boot environment variables and pass them > to VxWorks, just like ipaddr and serverip. > > Signed-off-by: Bin Meng > --- > > common/cmd_elf.c | 15 +

Re: [U-Boot] [Patch v2 08/16] net/fm: fix compile warnings for 64-bit platform

2015-09-24 Thread Scott Wood
On Thu, 2015-09-24 at 21:22 -0500, Hou Zhiqiang-B48286 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: 2015年9月18日 2:14 > > To: Gong Qianyu-B52263 > > Cc: u-boot@lists.denx.de; Hu Mingkai-B21284; Sun York-R58495; Hou > > Zhiqiang-B48286; Song Wenbin-B53747; Xie Shaohui

Re: [U-Boot] [PATCH v5 0/3] add pinctrl driver framework

2015-09-24 Thread Masahiro Yamada
Hi Linus, 2015-09-25 7:31 GMT+09:00 Linus Walleij : > On Wed, Aug 26, 2015 at 8:44 PM, Masahiro Yamada > wrote: > >> I am trying my best to have this subsystem as DT-compatible with Linux >> as possible, also saving memory foot print as a boot loader. >> >> It would be very appreciated if Linus

Re: [U-Boot] [PATCH v5 0/3] add pinctrl driver framework

2015-09-24 Thread Masahiro Yamada
Hi, Linus, 2015-09-25 7:31 GMT+09:00 Linus Walleij : > On Wed, Aug 26, 2015 at 8:44 PM, Masahiro Yamada > wrote: > >> I am trying my best to have this subsystem as DT-compatible with Linux >> as possible, also saving memory foot print as a boot loader. >> >> It would be very appreciated if Linus

Re: [U-Boot] [PATCH v7 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-09-24 Thread Wolfgang Denk
Dear Jagan, In message you wrote: > > What if we move Vikas changes now for this release as he stated in > previous mail "about sending patches later". Well, we've been there too many times before. In to many cases, the "later" just did not happen. > My idea is someone is trying to clean it

Re: [U-Boot] [PATCH v5 0/3] add pinctrl driver framework

2015-09-24 Thread Linus Walleij
On Wed, Aug 26, 2015 at 8:44 PM, Masahiro Yamada wrote: > I am trying my best to have this subsystem as DT-compatible with Linux > as possible, also saving memory foot print as a boot loader. > > It would be very appreciated if Linus Walleij, the maintainer of > pinctrl subsystem in Linux, would

Re: [U-Boot] pull request: u-boot-uniphier/master (2nd round)

2015-09-24 Thread Tom Rini
On Fri, Sep 25, 2015 at 01:10:42AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Here is a pretty big series for UniPhier SoC changes. > pinctrl drivers, various fixes, refactoring, new SoC/board support, etc. > > > Diff from the previous one: > - fix memory over-run bug in a command to display

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

2015-09-24 Thread Tom Rini
On Thu, Sep 24, 2015 at 11:45:59AM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > git://www.denx.de/git/u-boot-imx.git master > > for you to fetch changes up to f697c2acca9ff02c9b0cf480a4a726ed9626a53a: > > imx: fix coding style (2015-09-24 11:32:38 +02

Re: [U-Boot] [PULL] u-boot-socfpga/master

2015-09-24 Thread Tom Rini
On Thu, Sep 24, 2015 at 10:27:50AM +0200, Marek Vasut wrote: > Hi, here's an updated one > > The following changes since commit 8a5f6129d1450f5ff92a55cfcfd7b96ee019e303: > > pinctrl: move dm_scan_fdt_node() out of pinctrl uclass (2015-09-19 15:42:15 > -0600) > > are available in the git repo

Re: [U-Boot] Please pull fsl-qoriq master

2015-09-24 Thread Tom Rini
On Tue, Sep 22, 2015 at 08:01:36AM -0700, York Sun wrote: > Tom, > > The following changes since commit 1fb8d7933924aa5deb7e722d64c1d9fc7f0b2b82: > > Merge git://git.denx.de/u-boot-x86 (2015-09-17 17:00:08 -0400) > > are available in the git repository at: > > > git://git.denx.de/u-boot-f

Re: [U-Boot] [PATCH v2 2/8] ARM: hikey: Add ATF makefile referenced by README

2015-09-24 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:12PM +0100, Peter Griffin wrote: > Rather than relying on an external URL in the README > include the Makefile in the hikey directory. > > Signed-off-by: Peter Griffin > --- > board/hisilicon/hikey/build-tf.mak | 42 > ++ > 1 fi

Re: [U-Boot] [PATCH v2 5/5] cgtqmx6eval: Protect the manufacturing information in SPI NOR

2015-09-24 Thread Jagan Teki
On 23 September 2015 at 22:51, Otavio Salvador wrote: > On Wed, Sep 23, 2015 at 2:15 PM, Jagan Teki wrote: >> On 23 September 2015 at 22:21, Otavio Salvador >> wrote: >>> Hello Jagan, >>> >>> On Wed, Sep 23, 2015 at 12:56 PM, Jagan Teki wrote: All looks fine as per your patches, but probin

Re: [U-Boot] [PATCH v7 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-09-24 Thread Jagan Teki
Hi Wolfgang, On 25 September 2015 at 00:26, Wolfgang Denk wrote: > Dear Vikas, > > In message <9026814fbf99304f9fa3ac3fb72f3e2f04bff85...@safex1mail4.st.com> > you wrote: >> >> > CQSPI_INDIRECTTRIGGER_ADDR_MASK, >> > > +plat->regbase + CQSPI_REG_INDIRECTTRIGGER); >> > >> > I did not ment

Re: [U-Boot] [PATCH v7 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-09-24 Thread Wolfgang Denk
Dear Vikas, In message <9026814fbf99304f9fa3ac3fb72f3e2f04bff85...@safex1mail4.st.com> you wrote: > > > CQSPI_INDIRECTTRIGGER_ADDR_MASK, > > > +plat->regbase + CQSPI_REG_INDIRECTTRIGGER); > > > > I did not mention this explicitly, so I do it here: > > > > Please fix this type cast issue

Re: [U-Boot] [PATCH v7 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-09-24 Thread Vikas MANOCHA
Thanks Wolfgang, > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Thursday, September 24, 2015 12:22 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; s...@denx.de; grmo...@opensource.altera.com; > jt...@openedev.com; ma...@denx.de > Subject: Re: [U-Boot] [PATCH v7

Re: [U-Boot] [PATCH] nios2 : convert altera_pio to driver model

2015-09-24 Thread Marek Vasut
On Thursday, September 24, 2015 at 11:15:05 AM, Thomas Chou wrote: > Convert altera_pio to driver model. > > Signed-off-by: Thomas Chou Hi, now this is quite a nice patch :-) > --- > arch/nios2/dts/3c120_devboard.dts | 38 > arch/nios2/include/asm/gpio.h | 80 +---

Re: [U-Boot] [PATCHv3] arm: socfpga: Enable saveenv for SD/MMC

2015-09-24 Thread Marek Vasut
On Thursday, September 24, 2015 at 07:47:46 PM, Pavel Machek wrote: > Hi! > > > From: Dinh Nguyen > > > > Enable the able to save the environment variables when SD/MMC is used. > > > > Signed-off-by: Dinh Nguyen > > --- > > v3: Only define ENV_IS_NOWHERE if env is not in MMC, NAND, FAT, and >

Re: [U-Boot] [PATCHv3] arm: socfpga: Enable saveenv for SD/MMC

2015-09-24 Thread Pavel Machek
Hi! > From: Dinh Nguyen > > Enable the able to save the environment variables when SD/MMC is used. > > Signed-off-by: Dinh Nguyen > --- > v3: Only define ENV_IS_NOWHERE if env is not in MMC, NAND, FAT, and SPI_FLASH > v2: Move this option to be on a per-board basis > Add config for socfpga

Re: [U-Boot] [PATCH 2/3] fix: s5p_gpio: call: dev_get_addr() instead of fdtdec_get_addr()

2015-09-24 Thread Stephen Warren
On 09/24/2015 09:29 AM, Przemyslaw Marczak wrote: After rework in lib/fdtdec.c, the function fdtdec_get_addr() doesn't work for nodes with #size-cells property, set to 0. To get GPIO's 'reg' property, the code should use one of: fdtdec_get_addr_size_auto_no/parent() function. Fortunately dm cor

Re: [U-Boot] [PATCH 1/3] fix: fdtdec: allow parse 'reg' property with zero value in '#size-cells'

2015-09-24 Thread Stephen Warren
On 09/24/2015 09:29 AM, Przemyslaw Marczak wrote: After rework of lib/fdtdec.c by commit: commit 02464e386bb5f0a022c121f95ae75cf583759d95 Author: Stephen Warren Date: Thu Aug 6 15:31:02 2015 -0600 That'd usually be abbreviated as: Commit 02464e386bb5 "fdt: add new fdt address parsing funct

Re: [U-Boot] [PATCH 00/11] vexpress64 FVP and Juno configuration updates

2015-09-24 Thread Linus Walleij
On Wed, Sep 23, 2015 at 10:25 AM, Ryan Harkin wrote: > This patch series updates the default configuration of the vexpress64 FVP > and Juno platforms to allow it to work on a variety of setups without > modification by the user. > > [PATCH 01/11] vexpress64: fix checkpatch warnings > [PATCH 02/11

[U-Boot] pull request: u-boot-uniphier/master (2nd round)

2015-09-24 Thread Masahiro Yamada
Hi Tom, Here is a pretty big series for UniPhier SoC changes. pinctrl drivers, various fixes, refactoring, new SoC/board support, etc. Diff from the previous one: - fix memory over-run bug in a command to display boot-mode - sort pin-groups alphabetically in pinctrl drivers - Add one more

Re: [U-Boot] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-09-24 Thread Vagrant Cascadian
On 2015-07-26, Paul Kocialkowski wrote: > In order to achieve reproducible builds in U-Boot, timestamps that are defined > at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH > environment > variable allows setting a fixed value for those timestamps. ... > However, some other devic

Re: [U-Boot] [PATCH] ARM: dts: uniphier: use SPDX-License-Identifier

2015-09-24 Thread Masahiro Yamada
2015-09-25 0:16 GMT+09:00 Masahiro Yamada : > Signed-off-by: Masahiro Yamada > --- > > This patch is trivial, so I will apply it to u-boot-uniphier/master soon. Applied to u-boot-uniphier/master. Best Regards Masahiro Yamada ___ U-Boot mailing list

Re: [U-Boot] [PATCH] sunxi: Add generic defconfigs for A33 Q8 tablets with 1024x600 / 800x480 LCD

2015-09-24 Thread Ian Campbell
On Thu, 2015-09-24 at 17:24 +0200, Hans de Goede wrote: > The 7" Q8 tablet enclosure is used for a ton of slightly different cheap > chinese tablets. There are some differences in which accelerometer / > wifi is used, but other then that these are all the same from a u-boot / > kernel pov. > > Whe

Re: [U-Boot] SPL boot with NAND on i.MX6 data abort

2015-09-24 Thread Stefano Babic
Hi Markus, On 24/09/2015 17:03, Markus Stelzhammer wrote: > Hi Stefano, > > > Today I grabbed a different Hardware with a bigger NAND chip (512 > instead of 256MB). > At this hardware, SPL is not able to jump to U-Boot. So currently I > assume that I might have some problems when flashing. > I

[U-Boot] [PATCH 1/3] fix: fdtdec: allow parse 'reg' property with zero value in '#size-cells'

2015-09-24 Thread Przemyslaw Marczak
After rework of lib/fdtdec.c by commit: commit 02464e386bb5f0a022c121f95ae75cf583759d95 Author: Stephen Warren Date: Thu Aug 6 15:31:02 2015 -0600 the function fdtdec_get_addr() doesn't work as previous, because the implementation assumes that properties '#address-cells' and '#size-cells' are

[U-Boot] [PATCH 0/3] Fix fdt 'reg' parsing and unbreak Odroid U3

2015-09-24 Thread Przemyslaw Marczak
Booting of Odroid U3 with SD card, ends with error: MMC: EXYNOS DWMMC: 0 Card did not respond to voltage select! *** Warning - MMC init failed, using default environment Generally this was broken, because of wrong addresses assigned to GPIOs. The source of the problem was in rework of lib/fdtd

[U-Boot] [PATCH 3/3] fix: mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()

2015-09-24 Thread Przemyslaw Marczak
After rework of code by commit: commit d95279685bb9690a6973226a3bd8a3bae65c2ad7 Author: Akshay Saraswat Date: Wed Feb 4 16:00:03 2015 +0530 function get_mmc_clk() always returns -1 for Exynos 4. This was caused by omitting, that SDHCI driver for Exynos 4, calls get_mmc_clk(), with mmc device

[U-Boot] [PATCH 2/3] fix: s5p_gpio: call: dev_get_addr() instead of fdtdec_get_addr()

2015-09-24 Thread Przemyslaw Marczak
After rework in lib/fdtdec.c, the function fdtdec_get_addr() doesn't work for nodes with #size-cells property, set to 0. To get GPIO's 'reg' property, the code should use one of: fdtdec_get_addr_size_auto_no/parent() function. Fortunately dm core provides a function to get the property. This com

[U-Boot] [PATCH] ARM: dts: uniphier: use SPDX-License-Identifier

2015-09-24 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- This patch is trivial, so I will apply it to u-boot-uniphier/master soon. arch/arm/dts/uniphier-pinctrl.dtsi | 38 +- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/arch/arm/dts/uniphier-pinctrl.dtsi b/arch/a

[U-Boot] [PATCH] sunxi: Add generic defconfigs for A33 Q8 tablets with 1024x600 / 800x480 LCD

2015-09-24 Thread Hans de Goede
The 7" Q8 tablet enclosure is used for a ton of slightly different cheap chinese tablets. There are some differences in which accelerometer / wifi is used, but other then that these are all the same from a u-boot / kernel pov. When we get to adding accelerometer support the plan is to add some kin

Re: [U-Boot] SPL boot with NAND on i.MX6 data abort

2015-09-24 Thread Heiko Schocher
Hello Markus, Am 24.09.2015 um 17:03 schrieb Markus Stelzhammer: Hi Stefano, Today I grabbed a different Hardware with a bigger NAND chip (512 instead of 256MB). At this hardware, SPL is not able to jump to U-Boot. So currently I assume that I might have some problems when flashing. Would y

Re: [U-Boot] [PATCH v2] sunxi: mmc: Fix clk-delay settings

2015-09-24 Thread Ian Campbell
On Thu, 2015-09-24 at 16:31 +0200, Hans de Goede wrote: > In recent allwinner kernel sources the mmc/sdio clk-delay settings have > been slightly tweaked, and for sun9i they are completely different then > what we are using. > > This commit brings us in sync with what allwinner does, fixing proble

Re: [U-Boot] [PATCH 0/4] Fix operation on Odroid devices

2015-09-24 Thread Przemyslaw Marczak
Hello Tobias, On 09/21/2015 01:18 AM, Tobias Jakobi wrote: Hello, currently operation on Exynos4412-based Odroid devices is broken. The bootloader stops with this message: Card did not respond to voltage select! *** Warning - MMC init failed, using default environment This series fixes error

Re: [U-Boot] [PATCH 4/4] exynos: fix and cleanup do_sdhci_init()

2015-09-24 Thread Przemyslaw Marczak
Hello Tobias, On 09/21/2015 01:54 AM, Tobias Jakobi wrote: The CD check is currently inverted. dm_gpio_get_value() returns one when a card is detected. All other values (zero when there is no card, or negative values for the internal errors) indicate failure. If you want revert the GPIO state

Re: [U-Boot] SPL boot with NAND on i.MX6 data abort

2015-09-24 Thread Markus Stelzhammer
Hi Stefano, Today I grabbed a different Hardware with a bigger NAND chip (512 instead of 256MB). At this hardware, SPL is not able to jump to U-Boot. So currently I assume that I might have some problems when flashing. Would you be so kind to review my header file if I miss something or if

[U-Boot] [PATCH v2] sunxi: mmc: Fix clk-delay settings

2015-09-24 Thread Hans de Goede
In recent allwinner kernel sources the mmc/sdio clk-delay settings have been slightly tweaked, and for sun9i they are completely different then what we are using. This commit brings us in sync with what allwinner does, fixing problems accessing sdcards on some A33 devices (and likely others). For

Re: [U-Boot] [PATCH] sunxi: mmc: Fix clk-delay settings

2015-09-24 Thread Ian Campbell
On Thu, 2015-09-24 at 13:59 +0200, Hans de Goede wrote: > Hi, > > On 24-09-15 12:29, Ian Campbell wrote: > > On Thu, 2015-09-24 at 12:01 +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 24-09-15 11:40, Ian Campbell wrote: > > > > On Wed, 2015-09-23 at 21:59 +0200, Hans de Goede wrote: > > > >

Re: [U-Boot] [PATCH 4/4] exynos: fix and cleanup do_sdhci_init()

2015-09-24 Thread Lukasz Majewski
Hi Tobias, > Hello, > > > Minkyu Kang wrote: > > On 23/09/15 18:59, Jaehoon Chung wrote: > >> Hi, > >> > >> On 09/23/2015 06:48 PM, Lukasz Majewski wrote: > >>> Hi Lukasz, > >>> > Hi Tobias, > > > The CD check is currently inverted. dm_gpio_get_value() returns > > one when a ca

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

2015-09-24 Thread Tom Rini
On Thu, Sep 24, 2015 at 09:17:59PM +0900, Masahiro Yamada wrote: > Hi Tom, > > If you have not pulled this, let me re-send the 2nd round. > I found a bug to be fixed. OK, I'll make sure to grab the next version, thanks! > > > 2015-09-23 23:32 GMT+09:00 Masahiro Yamada : > > Hi Tom, > > > > >

Re: [U-Boot] [PATCH 4/4] exynos: fix and cleanup do_sdhci_init()

2015-09-24 Thread Tobias Jakobi
Hello, Minkyu Kang wrote: > On 23/09/15 18:59, Jaehoon Chung wrote: >> Hi, >> >> On 09/23/2015 06:48 PM, Lukasz Majewski wrote: >>> Hi Lukasz, >>> Hi Tobias, > The CD check is currently inverted. dm_gpio_get_value() returns > one when a card is detected. All other values (zero w

[U-Boot] [PATCH] armv8: ls2085ardb: enable CONFIG_PHY_AQUANTIA

2015-09-24 Thread shh.xie
From: Shaohui Xie To support on board Aquantia's PHY AQR405. Signed-off-by: Shaohui Xie --- include/configs/ls2085ardb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h index c1c1572..ec9297d 100644 --- a/include/configs/ls2085ard

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

2015-09-24 Thread Masahiro Yamada
Hi Tom, If you have not pulled this, let me re-send the 2nd round. I found a bug to be fixed. 2015-09-23 23:32 GMT+09:00 Masahiro Yamada : > Hi Tom, > > > Here is a pretty big series for UniPhier SoC changes. > > pinctrl drivers, various fixes, refactoring, new SoC/board support, etc. > > > The

Re: [U-Boot] [PATCH] sunxi: mmc: Fix clk-delay settings

2015-09-24 Thread Hans de Goede
Hi, On 24-09-15 12:29, Ian Campbell wrote: On Thu, 2015-09-24 at 12:01 +0200, Hans de Goede wrote: Hi, On 24-09-15 11:40, Ian Campbell wrote: On Wed, 2015-09-23 at 21:59 +0200, Hans de Goede wrote: In recent allwinner kernel sources the mmc clk-delay settings have been slightly tweaked, and

Re: [U-Boot] [PATCH] sunxi: mmc: Fix clk-delay settings

2015-09-24 Thread Ian Campbell
On Thu, 2015-09-24 at 12:01 +0200, Hans de Goede wrote: > Hi, > > On 24-09-15 11:40, Ian Campbell wrote: > > On Wed, 2015-09-23 at 21:59 +0200, Hans de Goede wrote: > > > In recent allwinner kernel sources the mmc clk-delay settings have > > > been > > > slightly tweaked, and for sun9i they are co

Re: [U-Boot] [PATCH] sunxi: mmc: Fix clk-delay settings

2015-09-24 Thread Hans de Goede
Hi, On 24-09-15 11:40, Ian Campbell wrote: On Wed, 2015-09-23 at 21:59 +0200, Hans de Goede wrote: In recent allwinner kernel sources the mmc clk-delay settings have been slightly tweaked, and for sun9i they are completely different then what we are using. This commit brings us in sync with wh

Re: [U-Boot] [PATCH 04/10] Kconfig: add CONFIG_CMD_BOOTZ

2015-09-24 Thread Igor Grinberg
ping. On 08/26/15 17:54, Igor Grinberg wrote: > Add CONFIG_CMD_BOOTZ to the Kconfig. > Since the CONFIG_CMD_BOOTZ cannot live without the CONFIG_CMD_BOOTM, > make it select the CONFIG_CMD_BOOTM. > > Signed-off-by: Igor Grinberg > Cc: Masahiro Yamada > Cc: Simon Glass > --- > common/Kconfig |

Re: [U-Boot] [PATCH 05/10] ti: omap3: config: remove 1 from boolean define

2015-09-24 Thread Igor Grinberg
Hi Tom, On 08/26/15 17:54, Igor Grinberg wrote: > CONFIG_TWL4030_POWER is a boolean define variable. It is either defined > or not defined and should not have a value assigned to it. > Remove the value. > > Signed-off-by: Igor Grinberg I think this one can also be applied, no? > --- > include

Re: [U-Boot] [PATCH 00/10] Kconfig and ti omap configs tidy up

2015-09-24 Thread Igor Grinberg
Hi Tom, On 08/26/15 17:54, Igor Grinberg wrote: > The patch set is aimed to transferring several config options > from the old config.h configuration style to the new Kconfig > framework and also move some of the existing (in Kconfig) ones > from config.h style to the defconfig style in the ti-oma

Re: [U-Boot] buildman toolchains

2015-09-24 Thread Masahiro Yamada
Hi Bin, 2015-09-24 10:53 GMT+09:00 Bin Meng : > Thanks Simon. > > On Tue, Sep 22, 2015 at 10:48 PM, Simon Glass wrote: >> +Masahiro, >> >> Hi, >> >> On 22 September 2015 at 08:01, Tom Rini wrote: >>> On Tue, Sep 22, 2015 at 01:12:56PM +0800, Bin Meng wrote: >>> Hi, I was using bui

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

2015-09-24 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! git://www.denx.de/git/u-boot-imx.git master for you to fetch changes up to f697c2acca9ff02c9b0cf480a4a726ed9626a53a: imx: fix coding style (2015-09-24 11:32:38 +0200) Fabio Esteva

Re: [U-Boot] [PATCH] sunxi: mmc: Fix clk-delay settings

2015-09-24 Thread Ian Campbell
On Wed, 2015-09-23 at 21:59 +0200, Hans de Goede wrote: > In recent allwinner kernel sources the mmc clk-delay settings have been > slightly tweaked, and for sun9i they are completely different then what > we are using. > > This commit brings us in sync with what allwinner does, fixing problems >

Re: [U-Boot] [PATCH v2 1/4] imx: mx7: discard unused global variable

2015-09-24 Thread Stefano Babic
On 15/09/2015 08:05, Peng Fan wrote: > Discard unused global variable. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- > > Changes V2: > none > > arch/arm/cpu/armv7/mx7/soc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx

Re: [U-Boot] [PATCH] imx: boards: Add maintainers info

2015-09-24 Thread Stefano Babic
On 20/09/2015 16:26, Peng Fan wrote: > Add MAINTAINERS info for mx6slevk_spl, mx6ul_9x9_evk and mx6qpsabreauto. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH V2] imx-common: consider mux_ctrl_ofs when setting mux_mode

2015-09-24 Thread Stefano Babic
On 23/09/2015 05:13, Peng Fan wrote: > Some i.MXes use __NA_ or 0 to avoid setting mux_mode, but the following patch > only take i.MX6/7 into consideration. > > "c3c8a5748897b24f18618047804317167a531dd3 imx-common: fix iomux settings" > > Use is_soc_type(MXC_CPU_MX7) to avoid breaking other i.MXe

Re: [U-Boot] SPL boot with NAND on i.MX6 data abort

2015-09-24 Thread Stefano Babic
Hi Markus, On 23/09/2015 10:02, Markus Stelzhammer wrote: > Hi all, > > > I'm currently working on the port of u-boot for our custom boards. > Previously we were using u-boot based on v2013.04 without SPL for our > boards (we have boards with SD also) and this worked for all of our > devices. >

[U-Boot] [PATCH 8/8] doc: Complement document about booting VxWorks

2015-09-24 Thread Bin Meng
Current document about how to boot VxWorks is limited. Add several chapters in README.vxworks to document this. Signed-off-by: Bin Meng --- doc/README.vxworks | 78 -- doc/README.x86 | 2 ++ 2 files changed, 72 insertions(+), 8 deletions

[U-Boot] [PATCH 6/8] cmd: bootvx: Always get VxWorks bootline from env

2015-09-24 Thread Bin Meng
So far VxWorks bootline can be contructed from various environment variables, but when these variables do not exist we get these from corresponding config macros. This is not helpful as it requires rebuilding U-Boot, and to make sure these config macros take effect we should not have these environm

[U-Boot] [PATCH 7/8] cmd: bootvx: Pass E820 information to an x86 VxWorks kernel

2015-09-24 Thread Bin Meng
E820 is critical to the kernel as it provides system memory map information. Pass it to an x86 VxWorks kernel. Signed-off-by: Bin Meng --- common/cmd_elf.c | 31 +++ include/vxworks.h | 29 + 2 files changed, 60 insertions(+) diff --git

[U-Boot] [PATCH 5/8] cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline

2015-09-24 Thread Bin Meng
There are fields in VxWorks bootline for netmask and gatewayip. We can get these from U-Boot environment variables and pass them to VxWorks, just like ipaddr and serverip. Signed-off-by: Bin Meng --- common/cmd_elf.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff -

[U-Boot] [PATCH 4/8] cmd: elf: Reorder load_elf_image_phdr() and load_elf_image_shdr()

2015-09-24 Thread Bin Meng
Move load_elf_image_phdr() and load_elf_image_shdr() to the beginning of the cmd_elf.c so that forward declaration is not needed. Signed-off-by: Bin Meng --- common/cmd_elf.c | 161 +++ 1 file changed, 79 insertions(+), 82 deletions(-) diff -

[U-Boot] [PATCH 3/8] cmd: Clean up cmd_elf a little bit

2015-09-24 Thread Bin Meng
This commit cleans up cmd_elf.c per U-Boot coding convention, and removes the unnecessary DECLARE_GLOBAL_DATA_PTR and out-of-date powerpc comments (it actually supports not only powerpc targets). Signed-off-by: Bin Meng --- common/cmd_elf.c | 171

[U-Boot] [PATCH 1/8] x86: Initialize GDT entry 1 to be the 32-bit CS as well

2015-09-24 Thread Bin Meng
Some OS (like VxWorks) requires GDT entry 1 to be the 32-bit CS. Signed-off-by: Bin Meng --- arch/x86/cpu/cpu.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 1b76ca1..812c5e4 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86

[U-Boot] [PATCH 0/8] Better support of booting VxWorks via 'bootvx'

2015-09-24 Thread Bin Meng
This series adds better support of booting VxWorks using 'bootvx'. Tested by booting a VxWorks 6.9.4 kernel on Intel Crown Bay, and a VxWorks 7 kernel on Intel Galileo. Bin Meng (8): x86: Initialize GDT entry 1 to be the 32-bit CS as well cmd: Convert CONFIG_CMD_ELF to Kconfig cmd: Clean u

[U-Boot] [PATCH] nios2 : convert altera_pio to driver model

2015-09-24 Thread Thomas Chou
Convert altera_pio to driver model. Signed-off-by: Thomas Chou --- arch/nios2/dts/3c120_devboard.dts | 38 arch/nios2/include/asm/gpio.h | 80 +--- board/altera/nios2-generic/nios2-generic.c | 7 - configs/nios2-generic_defconfig| 2 + drivers/gpi

[U-Boot] [PATCH] x86: fsp: Report correct number of E820 table entries

2015-09-24 Thread Bin Meng
The logic to calculate the number of E820 table entries is wrong when walking through the FSP HOB tables. Fix it. Signed-off-by: Bin Meng --- Simon, I think we need get this fix in v2015.10 release. arch/x86/lib/fsp/fsp_dram.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PULL] u-boot-socfpga/master

2015-09-24 Thread Marek Vasut
Hi, here's an updated one The following changes since commit 8a5f6129d1450f5ff92a55cfcfd7b96ee019e303: pinctrl: move dm_scan_fdt_node() out of pinctrl uclass (2015-09-19 15:42:15 -0600) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git for you to fetch changes

[U-Boot] [PATCH] arm: ls1021atwr: optimize the deep sleep latency

2015-09-24 Thread Tang Yuantian
It will take more than 1s when wake up from deep sleep. Most of the time is spent on outputing information. This patch reduced the deep sleep latency by: 1. avoid outputing system informaton 2. remove flush cache after DDR restore 3. skip reloading second stage uboot binary when SD boot Signed-off

Re: [U-Boot] [PATCH v7 3/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-09-24 Thread Wolfgang Denk
Dear Vikas Manocha, In message <1443053976-9112-4-git-send-email-vikas.mano...@st.com> you wrote: > This patch is to separate the base trigger from the read/write transfer start > addresses. ... > diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c > index 34a0f46..0d1abc8 100644

[U-Boot] [PATCH] common: add CMD_GPIO to Kconfig

2015-09-24 Thread Thomas Chou
Add CMD_GPIO to Kconfig. Signed-off-by: Thomas Chou --- common/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 2c42b8e..f2034c2 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -344,6 +344,11 @@ config CMD_FPGA help FPGA

Re: [U-Boot] [PATCH v7 6/6] spi: cadence_qspi: get fifo width from device tree

2015-09-24 Thread Wolfgang Denk
Dear Vikas Manocha, In message <1443053976-9112-7-git-send-email-vikas.mano...@st.com> you wrote: > Fifo width could be different on different socs, e.g. stv0991 & altera soc > have different fifo width. ... > --- a/drivers/spi/cadence_qspi.c > +++ b/drivers/spi/cadence_qspi.c > @@ -312,6 +312,7 @

Re: [U-Boot] [PATCH] nios2: add clear and set bits macros

2015-09-24 Thread Marek Vasut
On Thursday, September 24, 2015 at 08:47:12 AM, Thomas Chou wrote: > These macros can be used to clear and set multiple bits > in a register using a single call. > > Signed-off-by: Thomas Chou Looks pretty standard, Reviewed-by: Marek Vasut Best regards, Marek Vasut __

Re: [U-Boot] [PATCH v3 1/5] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-24 Thread Marek Vasut
On Wednesday, September 23, 2015 at 05:21:51 AM, Chin Liang See wrote: > Hi, Hi! > On Wed, 2015-09-23 at 11:13 +0800, Chin Liang See wrote: > > From: ma...@denx.de > > Sent: Thursday, September 10, 2015 7:52 PM > > To: Chin Liang See > > Cc: ZY - u-boot; Dinh Nguyen; Dinh Nguyen; ZY - sr; Vikas M

Re: [U-Boot] [PATCH] arm: socfpga: Enable env support on MCV

2015-09-24 Thread Marek Vasut
On Thursday, September 24, 2015 at 09:12:02 AM, Marek Vasut wrote: > Enable support for env in eMMC on MCV SoM. > > Signed-off-by: Marek Vasut Applied, thanks. Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCHv4] arm: socfpga: Enable saveenv for SD/MMC

2015-09-24 Thread Marek Vasut
On Wednesday, September 23, 2015 at 10:38:01 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Enable the able to save the environment variables when SD/MMC is used. > > Signed-off-by: Dinh Nguyen Applied, thanks! Best regards, Marek Vasut

Re: [U-Boot] [PATCH v7 3/6] spi: cadence_qspi: fix base trigger address & transfer start address

2015-09-24 Thread Wolfgang Denk
Dear Vikas, In message <1443053976-9112-4-git-send-email-vikas.mano...@st.com> you wrote: > > --- a/drivers/spi/cadence_qspi.c > +++ b/drivers/spi/cadence_qspi.c > @@ -290,6 +290,8 @@ static int cadence_spi_ofdata_to_platdata(struct udevice > *bus) > > plat->regbase = (void *)data[0]; >

Re: [U-Boot] [PATCH v7 1/6] spi: cadence_qspi: move trigger base configuration in init

2015-09-24 Thread Wolfgang Denk
Dear Vikas, In message <1443053976-9112-2-git-send-email-vikas.mano...@st.com> you wrote: > No need to configure indirect trigger address for every read/write. ... > /* Indirect mode configurations */ > writel((plat->sram_size/2), plat->regbase + CQSPI_REG_SRAMPARTITION); > + write

Re: [U-Boot] [PATCH v7 2/6] spi: cadence_qspi: fix indirect read/write start address

2015-09-24 Thread Wolfgang Denk
Dear Vikas, In message <1443053976-9112-3-git-send-email-vikas.mano...@st.com> you wrote: > Indirect read/write start addresses are flash start addresses for indirect > read > or write transfers. These should be absolute flash addresses instead of > offsets. ... > /* Get address */ >

[U-Boot] [PATCH] arm: socfpga: Enable env support on MCV

2015-09-24 Thread Marek Vasut
Enable support for env in eMMC on MCV SoM. Signed-off-by: Marek Vasut --- include/configs/socfpga_mcvevk.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/socfpga_mcvevk.h b/include/configs/socfpga_mcvevk.h index ed9b5cc..65816a0 100644 --- a/include/conf

[U-Boot] SPL boot with NAND on i.MX6 data abort

2015-09-24 Thread Markus Stelzhammer
Hi all, I'm currently working on the port of u-boot for our custom boards. Previously we were using u-boot based on v2013.04 without SPL for our boards (we have boards with SD also) and this worked for all of our devices. As we now have new boards with different (bigger) RAM, I decided to use