[U-Boot] [PATCH v2 0/3] UniPhier SD/eMMC controller driver

2016-02-10 Thread Masahiro Yamada
Masahiro Yamada (3): mmc: uniphier: add driver for UniPhier SD/MMC host controller ARM: uniphier: enable UniPhier SD/MMC host driver ARM: dts: uniphier: add SD/MMC host controller nodes arch/arm/Kconfig | 1 + arch/arm/dts/uniphier-ph1-ld4-ref.dts| 4

Re: [U-Boot] [PATCH v2 1/3] mmc: uniphier: add driver for UniPhier SD/MMC host controller

2016-02-10 Thread Marek Vasut
On 02/10/2016 02:28 PM, Masahiro Yamada wrote: > Add a driver for the on-chip SD/eMMC host controller used by > UniPhier SoC family. > > Signed-off-by: Masahiro Yamada 前略 山田さん, [...] > +#include > +#include > +#include > +#include > +#include > +#include >

[U-Boot] [PATCH v2 3/3] ARM: dts: uniphier: add SD/MMC host controller nodes

2016-02-10 Thread Masahiro Yamada
This host controller is available for all UniPhier SoCs. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/dts/uniphier-ph1-ld4-ref.dts| 4 +++ arch/arm/dts/uniphier-ph1-ld4.dtsi | 25 +++

[U-Boot] [PATCH v2 1/3] mmc: uniphier: add driver for UniPhier SD/MMC host controller

2016-02-10 Thread Masahiro Yamada
Add a driver for the on-chip SD/eMMC host controller used by UniPhier SoC family. Signed-off-by: Masahiro Yamada --- Changes in v2: - Fix the divisor bug on the older IP (on PH1-LD4, PH1-sLD8, PH1-Pro4) - Increase time out because "mmc erase" can sometimes

[U-Boot] [PATCH v2 2/3] ARM: uniphier: enable UniPhier SD/MMC host driver

2016-02-10 Thread Masahiro Yamada
Enable the driver in all UniPhier defconfig files and add some needed defines to the common files. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/Kconfig | 1 + configs/uniphier_ld4_sld8_defconfig | 1 +

Re: [U-Boot] [PATCH] Revert "common/memsize.c: Simplify RAM size detection"

2016-02-10 Thread Tom Rini
On Tue, Feb 09, 2016 at 10:38:31PM +0100, Hans de Goede wrote: > This commit breaks bootup on sunxi boards, the get stuck > when running the main u-boot binary at: > > CPU: Allwinner H3 (SUN8I) > I2C: ready > DRAM: > > This reverts commit 8e7cba048baae68ee0916a8f52b4304277328d5e. > >

Re: [U-Boot] [PATCH] mmc: show error message when "mmc dev" command fails

2016-02-10 Thread Stephen Warren
On 02/10/2016 05:46 AM, Masahiro Yamada wrote: Currently, "mmc dev" can silently fail. In case of failure, tell the user about it. Does it make sense to print this error inside init_mmc_device() instead, so that we don't have to add printf()s to all call sites? I'm not sure the answer to

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-10 Thread Marek Vasut
On 02/10/2016 02:18 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, Hi Denis, >> That's not mainline SPL. Please use mainline SPL with mainline U-Boot. >> Mixing and matching various versions of U-Boot and SPL is not supported. > >> Is there any reason why you are using

Re: [U-Boot] [PATCH 2/2] net: phy: marvell: Fix problem with phy_reset() clearing BMCR

2016-02-10 Thread Joe Hershberger
On Wed, Feb 10, 2016 at 12:06 AM, Stefan Roese wrote: > With commit a058052c [net: phy: do not read configuration register on > reset], phy_reset() will clear the BMCR register. Resulting in bit 12 > being cleared (A/N enable). This leads to autonegotiation link problems, > at least

Re: [U-Boot] [PATCH 1/2] net: phy: marvell: Call phy_reset() where possible

2016-02-10 Thread Joe Hershberger
On Wed, Feb 10, 2016 at 12:06 AM, Stefan Roese wrote: > Instead of coding the soft PHY reset function multiple times in marvell.c, > lets call the common phy_reset() function from phy.c. > > Signed-off-by: Stefan Roese > Cc: Stefan Agner > Cc: Hao

[U-Boot] Using old Config Style

2016-02-10 Thread Mario Albrecht
Hi, i have a small question about using old board specific config files. I have a config file for a board which contains all needed commands defined by #define CONFIG_CMD_ and #undef CONFIG_CMD_. In new u-boot Version a autoconf.h file is generated which conflicts the defines in the board.h file.

Re: [U-Boot] [PATCH] Makefile: remove BUILD_TAG from KBUILD_CFLAGS

2016-02-10 Thread Stephen Warren
On 02/09/2016 10:58 PM, Masahiro Yamada wrote: 2016-02-10 3:18 GMT+09:00 Tom Rini : On Tue, Feb 09, 2016 at 10:53:48AM -0700, Stephen Warren wrote: On 02/09/2016 10:43 AM, Tom Rini wrote: On Tue, Feb 09, 2016 at 10:26:14AM -0700, Stephen Warren wrote: On 02/09/2016 10:01

Re: [U-Boot] [PATCH] common/memsize.c: fix endless loop when saving

2016-02-10 Thread Eddy Petrișor
Pe 10 feb. 2016 8:26 a.m., "Hannes Schmelzer" a scris: > > On 02/09/2016 06:55 PM, Eddy Petrișor wrote: >> >> 2016-02-09 19:41 GMT+02:00 Eddy Petrișor : >> Hannes, can you confirm that with this patch the reported size is >> correct and the boot is

[U-Boot] [PATCH v5 03/32] mtd: Add SPI-NOR core support

2016-02-10 Thread Jagan Teki
Some of the SPI device drivers at drivers/spi not a real spi controllers, Unlike normal/generic SPI controllers they operates only with SPI-NOR flash devices. these were technically termed as SPI-NOR controllers, Ex: drivers/spi/fsl_qspi.c The problem with these were resides at drivers/spi is

[U-Boot] [PATCH v5 04/32] doc: device-tree-bindings: jedec, spi-nor

2016-02-10 Thread Jagan Teki
Since m25p80 follows similar naming convention as Linux, hence added jedec, spi-nor device tree bindings from Linux. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad

[U-Boot] [PATCH v5 06/32] mtd: spi-nor: Add kconfig for MTD_SPI_NOR_USE_4K_SECTORS

2016-02-10 Thread Jagan Teki
Added kconfig entry for MTD_SPI_NOR_USE_4K_SECTORS. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki

[U-Boot] Regarding revert of "Simplify RAM size detection" patch

2016-02-10 Thread Sam Protsenko
Hi guys, I see that "Simplify RAM size detection" patch is reverted now. It was breaking boot on DRA7XX EVM as well. But I think I found the actual bug in that patch. This line (from patch): - for (cnt = (maxsize / sizeof(long)) >> 1; cnt > 0; cnt >>= 1) { + for (cnt = (maxsize /

Re: [U-Boot] [PATCH 2/4] spi: spi-uclass: Set slave wordlen with SPI_DEFAULT_WORDLEN

2016-02-10 Thread Jagan Teki
On 21 January 2016 at 08:16, Simon Glass wrote: > On 17 January 2016 at 03:56, Christophe Ricard > wrote: >> In some case wordlen may not be set. Use SPI_DEFAULT_WORDLEN as default. >> >> Signed-off-by: Christophe Ricard

Re: [U-Boot] [PATCH] common/memsize.c: fix endless loop when saving

2016-02-10 Thread Hannes Schmelzer
On 2016-02-10 18:30, Eddy Petrișor wrote: Pe 10 feb. 2016 8:26 a.m., "Hannes Schmelzer" > a scris: > > On 02/09/2016 06:55 PM, Eddy Petrișor wrote: >> >> 2016-02-09 19:41 GMT+02:00 Eddy Petrișor

[U-Boot] [PATCH v5 01/32] mtd: Add m25p80 driver

2016-02-10 Thread Jagan Teki
This is MTD SPI-NOR driver for ST M25Pxx (and similar) serial flash chips which is written as MTD_UCLASS. More features will be adding on further patches. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek

[U-Boot] [PATCH v5 02/32] mtd: Add Kconfig entry for MTD_M25P80

2016-02-10 Thread Jagan Teki
Added Kconfig entry for MTD_M25P80 Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 00/32] mtd: Add SPI-NOR core support

2016-02-10 Thread Jagan Teki
Compared to previous patch series this series adds spi-nor core with spi-nor controller drivers are of "mtd uclass" Why this framework: Some of the SPI device drivers at drivers/spi not a real spi controllers, Unlike normal/generic SPI controllers they operates only with SPI-NOR flash devices.

[U-Boot] [PATCH v5 29/32] defconfig: zynq_microzed: Enable CONFIG_MTD_SPI_NOR

2016-02-10 Thread Jagan Teki
Enabled SPI-NOR core support Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 31/32] configs: zynq: Use CONFIG_SPL_SPI_NOR_SUPPORT

2016-02-10 Thread Jagan Teki
Use SPI-NOR SPL support for zynq boards. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 28/32] defconfig: zynq_microzed: Enable CONFIG_MTD_M25P80

2016-02-10 Thread Jagan Teki
Use m25p80 which is flash interface layer between spi-nor core vs drivers/spi Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by:

[U-Boot] [PATCH v5 30/32] spl: Add CONFIG_SPL_SPI_NOR_SUPPORT

2016-02-10 Thread Jagan Teki
Add SPL support for SPI-NOR flash. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 07/32] mtd: spi-nor: Add MTD support

2016-02-10 Thread Jagan Teki
This patch adds mtd_info support to spi-nor core instead of using legacy spi_flash{}. SPI-NOR with MTD: -- cmd_sf.c -- MTD core -- spi-nor.c

[U-Boot] [PATCH v5 05/32] mtd: spi-nor: Add Kconfig entry for MTD_SPI_NOR

2016-02-10 Thread Jagan Teki
Added kconfig entry for MTD_SPI_NOR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 09/32] mtd: spi-nor: Add dm spi-nor probing

2016-02-10 Thread Jagan Teki
This patch adds driver-model probe from cmd_sf through MTD_DM_SPI_NOR which is depends on MTD and DM_SPI uclass. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu

[U-Boot] Moving custom board imx6q from u-boot-imx 2014.04 to 2015.04 lead to freeze

2016-02-10 Thread Roberto Fichera
Hi All, After upgrading my u-boot-imx v2014.04 to v2015.04 I was not able to boot anymore my custom iMX6Q board. Everything seems stopping after relocation. Last executed initcall is the setup_reloc(), and the board_init_f() will finish correctly. It seems that it's freezing somewhere within

[U-Boot] [PATCH v5 26/32] arm: zynq: Kconfig: Drop DM_SPI_FLASH

2016-02-10 Thread Jagan Teki
Drop using legacy DM_SPI_FLASH. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- arch/arm/Kconfig | 1 - 1 file changed, 1

[U-Boot] [PATCH v5 24/32] mtd: spi-nor: Add flash vendor Kconfig entries

2016-02-10 Thread Jagan Teki
Added flash vendor kconfig entries from drivers/mtd/spi Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki

[U-Boot] [PATCH v5 23/32] mtd: spi-nor: spi_spl_load: Use mtd_info

2016-02-10 Thread Jagan Teki
Replace spi_flash{} with mtd_info{} Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 25/32] arm: zynq: Kconfig: Select MTD uclass

2016-02-10 Thread Jagan Teki
Since SPI-NOR core relies on MTD uclass. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- arch/arm/Kconfig | 1 + 1 file changed,

[U-Boot] [PATCH v5 27/32] defconfigs: zynq_microzed: Drop CONFIG_SPI_FLASH

2016-02-10 Thread Jagan Teki
Drop using legacy spi_flash core. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- configs/zynq_microzed_defconfig | 1 - 1 file

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-02-10 Thread Jagan Teki
On 8 February 2016 at 23:26, Jagan Teki wrote: > On 8 February 2016 at 23:10, Tom Rini wrote: >> On Sat, Feb 06, 2016 at 11:27:21PM +0100, Christophe Ricard wrote: >>> Hi Simon, Tom, >>> >>> I assume the approach you are taking is also valuable for the

[U-Boot] [PATCH v5 32/32] configs: zynq: Use CONFIG_SPL_MTD_SUPPORT

2016-02-10 Thread Jagan Teki
Since SPI-NOR depends on MTD core enable the same for SPI-NOR SPL. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki

Re: [U-Boot] [PATCH] common/memsize.c: fix endless loop when saving

2016-02-10 Thread Eddy Petrișor
Pe 10 feb. 2016 7:58 p.m., "Hannes Schmelzer" a scris: > > > On 2016-02-10 18:30, Eddy Petrișor wrote: >> Taking into account the first version was reverted, would you be willing to test a reworked patch targeting v2016.05, (when I have it ready)? > > Hi Eddy, > for me -

[U-Boot] [PATCH v5 14/32] mtd: spi-nor: Move spi_read_then_write to spi layer

2016-02-10 Thread Jagan Teki
Since spi_read_then_write is doing spi operations like setting up commands, tx and rx through spi_xfer, So it is meanfull to have this definition at spi layer and flash layer should use this whenever required. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N

[U-Boot] [PATCH v5 18/32] mtd: spi-nor: Rename SPI_FLASH_BAR to SPI_NOR_BAR

2016-02-10 Thread Jagan Teki
Renamed SPI_FLASH_BAR to SPI_NOR_BAR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 15/32] spi: Rename spi_read_then_write to spi_write_then_read

2016-02-10 Thread Jagan Teki
Since spi_read_then_write moved into spi layer, the meaning of data transfer is also change from read_then_write to write_then_read, this means first spi will write the opcode through and then read the respective buffer. Cc: Simon Glass Cc: Bin Meng Cc:

[U-Boot] [PATCH v5 17/32] spi: Drop SPI_RX_FAST

2016-02-10 Thread Jagan Teki
SPI_RX_FAST at spi layer used for spi-nor core to find the fastest read mode, but this handling is taking care at m25p80 hence removed the same at spi layer level. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek

[U-Boot] [PATCH v5 20/32] mtd: spi-nor: Copy spl files from drivers/mtd/spi

2016-02-10 Thread Jagan Teki
Copy spl files from drivers/mtd/spi to spi-nor, more changes will added on future patches. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu

[U-Boot] [PATCH v5 22/32] mtd: spi-nor: fsl_espi_spl: Use mtd_info

2016-02-10 Thread Jagan Teki
Replace spi_flash{} with mtd_info{} Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v5 21/32] mtd: spi-nor: spl: Follow ascending order of include headers

2016-02-10 Thread Jagan Teki
Use ascending order while including headers files. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki

[U-Boot] [PATCH v5 16/32] spi: Drop mode_rx

2016-02-10 Thread Jagan Teki
mp2580 will take care of tx and rx mode's so there is no need to differentiate these into spi layer level hence replaced all mode_rx macros with mode. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek

[U-Boot] [PATCH v5 19/32] mtd: spi-nor: Add Kconfig entry for SPI_NOR_BAR

2016-02-10 Thread Jagan Teki
Added kconfig entry for SPI_NOR_BAR Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH] test/py: fix CONFIG_SPL test

2016-02-10 Thread Stephen Warren
From: Stephen Warren The Python ini file parser that's used to parse .config converts all keys to lower-case. Hence, all queries against the results must use lower-case. Fix u_boot_console.ensure_spawned() to test CONFIG_SPL correctly, or the connection will fail for boards

Re: [U-Boot] Moving custom board imx6q from u-boot-imx 2014.04 to 2015.04 lead to freeze

2016-02-10 Thread Fabio Estevam
On Wed, Feb 10, 2016 at 9:47 AM, Roberto Fichera wrote: > Hi All, > > After upgrading my u-boot-imx v2014.04 to v2015.04 I was not able to boot > anymore my custom iMX6Q Why don't you try 2016.01 instead? ___ U-Boot mailing list

[U-Boot] [PATCH v5 12/32] mtd: spi-nor: m25p80: Add spi_nor support for non-dm

2016-02-10 Thread Jagan Teki
Like adding spi_nor support for dm-driven code in m25p80 add the same way for non-dm code as well. - allocate spi_nor{} - basic initilization - install hooks - call to spi-nor core, using spi_nor_scan - register with mtd core Cc: Simon Glass Cc: Bin Meng

[U-Boot] [PATCH v5 08/32] mtd: spi-nor: Add spi_nor support in m25p80

2016-02-10 Thread Jagan Teki
m25p80 is flash interface for spi-nor core and drivers/spi so add spi_nor{} functionalities like - allocate spi_nor{} - basic initilization - install hooks - call to spi-nor core, using spi_nor_scan - register with mtd core Cc: Simon Glass Cc: Bin Meng Cc:

[U-Boot] [PATCH v5 11/32] cmd: sf: Add mtd_info for mtd-dm-spi-nor code

2016-02-10 Thread Jagan Teki
This patch adds support for mtd_info operations handling from cmd/sf.c Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan

[U-Boot] [PATCH v5 10/32] mtd: spi-nor: Add spi_flash_probe for mtd-dm-spi-nor

2016-02-10 Thread Jagan Teki
While probing spi-nor in SPL spi_flash_probe is needed, so add the flash probe code in spi-nor-probe.c Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu

[U-Boot] [PATCH v5 13/32] spi_flash: Use mtd_info operation for non-dm

2016-02-10 Thread Jagan Teki
Since non-dm code in m25p80 handling spi_nor along with mtd, hence use the mtd_info operation from user commands instead of legacy spi_flash{} ops. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek

Re: [U-Boot] Regarding revert of "Simplify RAM size detection" patch

2016-02-10 Thread Eddy Petrișor
Pe 10 feb. 2016 8:40 p.m., "Sam Protsenko" a scris: > > Hi guys, Hi Sam, > I see that "Simplify RAM size detection" patch is reverted now. It was > breaking boot on DRA7XX EVM as well. But I think I found the actual > bug in that patch. This line (from patch): > > -

Re: [U-Boot] [PATCH 1/4] spi: omap3: Remove unused variable irqstatus in omap3_spi_txrx

2016-02-10 Thread Jagan Teki
On 21 January 2016 at 08:16, Simon Glass wrote: > On 17 January 2016 at 03:56, Christophe Ricard > wrote: >> Remove unused variable irqstatus in omap3_spi_txrx >> >> Signed-off-by: Christophe Ricard >> --- >> >>

[U-Boot] [PATCH] test/py: print summary in test order

2016-02-10 Thread Stephen Warren
From: Stephen Warren Use lists rather than sets to record the status of tests. This causes the test summary in the HTML file to be generated in the same order as the tests are (or would have been) run. This makes it easier to locate the first failed test. The log for this

[U-Boot] [PATCH V2] Makefile: remove BUILD_TAG from KBUILD_CFLAGS

2016-02-10 Thread Stephen Warren
From: Stephen Warren If BUILD_TAG is part of KBUILD_CFLAGS, then any time the value changes, all files get rebuilt. In a continuous integration environment, the value will change every build. This wastes time, assuming that incremental builds would otherwise occur. To solve

[U-Boot] [PATCH v2] imx: imx7 Support for Manufacturing Protection

2016-02-10 Thread Ulises Cardenas
i.MX7 has an a protection feature for Manufacturing process. This feature uses assymetric encryption to sign and verify authenticated software handled between parties. This command is enables the use of such feature. The private key is unique and generated once per device. And it is stored in

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-02-10 Thread Christophe Ricard
Hi Jagan, My understanding is that some work are ongoing around spl in order to support correctly DM for all spi/i2c bus drivers. As a consequence patch 4 got differed. Hopefully Simon or Tom can comment. Are you ok in applying patch 1 and 2 only ? or should i send a new serie with only

Re: [U-Boot] [PATCH V2] Makefile: remove BUILD_TAG from KBUILD_CFLAGS

2016-02-10 Thread Tom Rini
On Wed, Feb 10, 2016 at 01:36:38PM -0700, Stephen Warren wrote: [snip] > diff --git a/lib/Makefile b/lib/Makefile > index dd36f25b2a32..d4491b8319f5 100644 > --- a/lib/Makefile > +++ b/lib/Makefile > @@ -67,7 +67,7 @@ obj-$(CONFIG_ADDR_MAP) += addr_map.o > obj-y += hashtable.o > obj-y +=

[U-Boot] [PATCH V3] Makefile: remove BUILD_TAG from KBUILD_CFLAGS

2016-02-10 Thread Stephen Warren
From: Stephen Warren If BUILD_TAG is part of KBUILD_CFLAGS, then any time the value changes, all files get rebuilt. In a continuous integration environment, the value will change every build. This wastes time, assuming that incremental builds would otherwise occur. To solve

[U-Boot] [PATCH] arm: at91: Add support for DENX MA5D4 SoM and EVK

2016-02-10 Thread Marek Vasut
Add support for DENX MA5D4 SoM and MA5D4EVK board, based on the Atmel SAMA5D4 SoC. The SoM contains the SoC, eMMC, SPI NOR, SPI CAN controllers and DRAM, the baseboard contains UART connectors, ethernet port, microSD slot, LCD header, 2x CAN connector and a lot of expansion headers.

Re: [U-Boot] [PATCH] am43xx: qspi: Fix config to select SPI mode

2016-02-10 Thread Tom Rini
On Wed, Feb 10, 2016 at 11:06:09AM +0530, Vignesh R wrote: > CONFIG_SF_DEFAULT_MODE is used to select default SPI mode when using > sf commands. Therefore fix am43xx to use CONFIG_SF_DEFAULT_MODE instead > of CONFIG_DEFAULT_SPI_MODE. > > Signed-off-by: Vignesh R Reviewed-by:

Re: [U-Boot] [PATCH 1/4] arm: make sure board_init_r() is being called using the right mode (ARM / THUMB)

2016-02-10 Thread Tom Rini
On Wed, Feb 10, 2016 at 08:57:38AM +0100, David Müller (ELSOFT AG) wrote: > Hello > > Tom Rini wrote: > > On Tue, Feb 09, 2016 at 04:48:28PM +0100, David Müller wrote: > >>/* call board_init_r */ > >> +#if defined(CONFIG_SYS_THUMB_BUILD) > >> + ldr lr, =board_init_r /* this is

Re: [U-Boot] Please pull u-boot-dm

2016-02-10 Thread Tom Rini
On Tue, Feb 09, 2016 at 03:43:59PM -0700, Simon Glass wrote: > Hi Tom, > > Here are a few more test patches. > > > The following changes since commit 39af3d8a0db0aab3f78ae5576f0f5c668505a667: > > sniper: Drop references to P970 (2016-02-08 10:24:19 -0500) > > are available in the git

Re: [U-Boot] [PATCH] ARM : DRA7: Switch QSPI to use MODE-0 at 64MHz

2016-02-10 Thread Tom Rini
On Wed, Feb 10, 2016 at 10:51:43AM +0530, Vignesh R wrote: > According to Data Manual(SPRS915P) of AM572x, TI QSPI controller on > DRA74 EVM(rev 1.1+) can support up to 64MHz in MODE-0, whereas MODE-3 is > limited to 48MHz. Hence, switch to MODE-0 for better throughput. > Also, add IODelay

Re: [U-Boot] [PATCH V2] OMAP3_logic: Add NAND args to boot UBIFS

2016-02-10 Thread Tom Rini
On Wed, Feb 10, 2016 at 01:41:10AM -0600, Adam Ford wrote: > With the recent addition of UBI support, this patch will add the preset > parameters to allow for mouting an UBIFS from the 'fs' partition in NAND. > > -V2: ubi.mtd=fs instead of ubi.mtd=4 > > Signed-off-by: Adam Ford

[U-Boot] Regarding revert of "Simplify RAM size detection" patch

2016-02-10 Thread Sam Protsenko
Hi guys, I see that "Simplify RAM size detection" patch is reverted now. It was breaking boot on DRA7XX EVM as well. But I think I found the actual bug in that patch. This line (from patch): - for (cnt = (maxsize / sizeof(long)) >> 1; cnt > 0; cnt >>= 1) { + for (cnt = (maxsize /

Re: [U-Boot] [PATCH 2/2] Enable test/py for sandbox in Travis CI

2016-02-10 Thread Heiko Schocher
Hello Stephen, Am 09.02.2016 um 02:23 schrieb Stephen Warren: From: Stephen Warren This provides runtime test coverage in Travis, in addition to the existing build coverage. Signed-off-by: Stephen Warren --- .travis.yml | 8 1 file

Re: [U-Boot] [PATCH 2/3][v3] Data types defined for 64 bit physical address

2016-02-10 Thread Aneesh Bansal
> -Original Message- > From: york sun > Sent: Wednesday, February 10, 2016 10:51 AM > To: Scott Wood ; Aneesh Bansal > Cc: u-boot@lists.denx.de; Ruchika Gupta ; > Prabhakar > Kushwaha >

Re: [U-Boot] [PATCH] arm: at91: Add support for DENX MA5D4 SoM and EVK

2016-02-10 Thread Heiko Schocher
Hello Marek, added Andreas to cc as he is the at91 custodian. Am 10.02.2016 um 22:41 schrieb Marek Vasut: Add support for DENX MA5D4 SoM and MA5D4EVK board, based on the Atmel SAMA5D4 SoC. The SoM contains the SoC, eMMC, SPI NOR, SPI CAN controllers and DRAM, the baseboard contains UART

Re: [U-Boot] Moving custom board imx6q from u-boot-imx 2014.04 to 2015.04 lead to freeze

2016-02-10 Thread Roberto Fichera
On 02/10/2016 07:59 PM, Fabio Estevam wrote: Hi Fabio, > On Wed, Feb 10, 2016 at 9:47 AM, Roberto Fichera wrote: >> Hi All, >> >> After upgrading my u-boot-imx v2014.04 to v2015.04 I was not able to boot >> anymore my custom iMX6Q > Why don't you try 2016.01 instead? Ok!

Re: [U-Boot] [PATCH] Revert "common/memsize.c: Simplify RAM size detection"

2016-02-10 Thread Wolfgang Denk
Dear Hans, In message <56baf2b1.3040...@redhat.com> you wrote: > > It seems this code was as it was for a reason and that a revert > of your simplification is probably the best solution. Indeed. Over the past 15 years I have seen several attempts to improve or simplify the mesize code. Most

Re: [U-Boot] [PATCH v2] spl: define BOOT_DEVICE_USB

2016-02-10 Thread Masahiro Yamada
Tom, Can you please apply this? 2016-02-02 19:12 GMT+09:00 Masahiro Yamada : > This enum is referenced from common/spl/spl.c. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v2: > - s/macro/enum/ > >

Re: [U-Boot] [PATCH] sunxi: power: add support for sy8106a driver

2016-02-10 Thread Siarhei Siamashka
Hello, Thanks for the patch. I can confirm that this patch sets the voltage correctly. On Tue, 9 Feb 2016 22:42:27 +0100 Hans de Goede wrote: > From: Jelle van der Waa > > SY8106A is a PMIC which is used on the Allwinner > H3 Orange Pi Pc board. The

[U-Boot] [PATCH 1/2] arm: mx6: Add UART8 base address for i.MX6UL

2016-02-10 Thread Stefan Roese
Add the base address for the i.MX6UL so that this UART can be used. Signed-off-by: Stefan Roese Cc: Ye Li Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm/arch-mx6/imx-regs.h | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH 2/2] arm: mx6: Add CCV xPress board support

2016-02-10 Thread Stefan Roese
This patch add support for the CCV xPress board which is equipped with the i.MX6UL. And provides the following interfaces: - 128MiB DDR - UART - I2C - eMMC (with booting) - Ethernet - USB This patch adds two build targets. One with and one without SPL. The non-SPL version is used for loading

Re: [U-Boot] [PATCH] Revert "common/memsize.c: Simplify RAM size detection"

2016-02-10 Thread Hans de Goede
Hi, On 10-02-16 07:11, Eddy Petrișor wrote: Hi Hans, I sent a fixup patch yesterday (I managed somehow to send an outdated patch), Ah I did not notice that one. did you try the fixup patch? I just did try it, same results as Hannes the hang is gone, but now the RAM size is misdedetected

Re: [U-Boot] [PATCH] Revert "common/memsize.c: Simplify RAM size detection"

2016-02-10 Thread Eddy Petrișor
2016-02-10 10:20 GMT+02:00 Hans de Goede : > Hi, > > On 10-02-16 07:11, Eddy Petrișor wrote: >> >> Hi Hans, >> >> I sent a fixup patch yesterday (I managed somehow to send an outdated >> patch), > > > Ah I did not notice that one. > >> did you try the fixup patch? > > > I just

[U-Boot] [PATCH] sunxi: H3: Add support for the host usb-phys

2016-02-10 Thread Hans de Goede
From: Jelle van der Waa Add support for phy 1-3. Signed-off-by: Jelle van der Waa [hdego...@redhat.com: use setclrbits_le32 instead of read-modify-write] Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/usb_phy.c| 35

[U-Boot] [PATCH 2/2] ARM: dts: uniphier: enable I2C channel 2 of ProXstream2 Gentil board

2016-02-10 Thread Masahiro Yamada
This is used for on-board inter-connection. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-proxstream2-gentil.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/uniphier-proxstream2-gentil.dts

[U-Boot] [PATCH 1/2] ARM: dts: uniphier: add EEPROM node for ProXstream2 Gentil board

2016-02-10 Thread Masahiro Yamada
This board has an EEPROM connected to the I2C channel 0 of the SoC. Its slave address is 0x54. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-proxstream2-gentil.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH] fdt: Try to read #address-cells/size-cells from parent

2016-02-10 Thread Michal Simek
Read #address-cells and #size-cells from parent if they are not present in current node. Signed-off-by: Michal Simek --- I have code which read information about memory for zynqmp but memory node most of the time doesn't contain #address/size-cells which are present in

[U-Boot] [PATCH] mmc: show error message when "mmc dev" command fails

2016-02-10 Thread Masahiro Yamada
Currently, "mmc dev" can silently fail. In case of failure, tell the user about it. Signed-off-by: Masahiro Yamada --- cmd/mmc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/mmc.c b/cmd/mmc.c index 1c7156f..87a9fb6 100644 ---

Re: [U-Boot] [PATCH] mmc: show error message when "mmc dev" command fails

2016-02-10 Thread Stefan Roese
On 10.02.2016 13:46, Masahiro Yamada wrote: Currently, "mmc dev" can silently fail. In case of failure, tell the user about it. Signed-off-by: Masahiro Yamada --- cmd/mmc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/mmc.c

Re: [U-Boot] Problem with mounting a jffs2 partition on flash.

2016-02-10 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > That's not mainline SPL. Please use mainline SPL with mainline U-Boot. > Mixing and matching various versions of U-Boot and SPL is not supported. > Is there any reason why you are using non-mainline SPL ? We received information from Altera that we should stick to this previous

[U-Boot] [PATCH] test/py: handle exceptions in console creation

2016-02-10 Thread Stephen Warren
From: Stephen Warren u_boot_console.exec_attach.get_spawn() performs two steps: 1) Spawn a process to communicate with the serial console. 2) Reset the board so that U-Boot starts running from scratch. Currently, if an exception happens in step (2), no cleanup is performed

Re: [U-Boot] [PATCH 3/4] spi: omap3: Convert to DM

2016-02-10 Thread Tom Rini
On Wed, Feb 10, 2016 at 10:00:55PM +0100, Christophe Ricard wrote: > Hi Jagan, > > My understanding is that some work are ongoing around spl in order > to support correctly DM for all spi/i2c bus drivers. > As a consequence patch 4 got differed. > > Hopefully Simon or Tom can comment. Yes, I

Re: [U-Boot] [PATCH V3] Makefile: remove BUILD_TAG from KBUILD_CFLAGS

2016-02-10 Thread Tom Rini
On Wed, Feb 10, 2016 at 03:16:19PM -0700, Stephen Warren wrote: > From: Stephen Warren > > If BUILD_TAG is part of KBUILD_CFLAGS, then any time the value changes, > all files get rebuilt. In a continuous integration environment, the value > will change every build. This

Re: [U-Boot] [PATCH] exynos: Set CNTFRQ

2016-02-10 Thread Minkyu Kang
Dear Alexander Graf, On 02/02/16 05:41, Alexander Graf wrote: > Commit 73a1cb27 moved the check whether we should set the architected > timer frequency from CONFIG_SYS_CLK_FREQ to CONFIG_TIMER_CLK_FREQ, but > did not update all users of it. > > The one where I (finally) realized why KVM didn't