[U-Boot] [PATCH] dm: core: Enable optional use of fdt_translate_address()

2015-09-02 Thread Stefan Roese
The current "simple" address translation simple_bus_translate() is not working on some platforms (e.g. MVEBU). As here more complex "ranges" properties are used in many nodes (multiple tuples etc). This patch enables the optional use of the common fdt_translate_address() function which handles

Re: [U-Boot] [PATCH] mxs: mxsboot: fix endianess for sd boot images

2015-09-02 Thread Stefano Babic
Hi Michael, On 01/09/2015 23:58, Michael Heimpold wrote: > Running mxsboot on a big-endian system produces a sd image which > cannot be started by the i.MX28 ROM. It complains on the debug > uart as following: I confess that I never tested mxsboot and/or mkimage on a big endian host. I am

[U-Boot] [PATCH v6] arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD

2015-09-02 Thread Stefan Roese
From: Albert ARIBAUD When building a Thumb-1-only target with CONFIG_SYS_THUMB_BUILD, some files fail to build, most of the time because they include mcr instructions, which only exist for Thumb-2. This patch introduces a Kconfig option CONFIG_THUMB2 and uses it to

[U-Boot] [PATCH v3 10/13] sf: Add flash_read support

2015-09-02 Thread Jagan Teki
Generic function for spi-flash memory reading. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - none drivers/mtd/spi/sf.c | 23 +++ drivers/mtd/spi/sf_internal.h | 3 +++ 2 files changed, 26 insertions(+)

[U-Boot] [PATCH v3 12/13] sf: Add clear flag status register support

2015-09-02 Thread Jagan Teki
From: Hou Zhiqiang The clear flag status register operation is required by Micron SPI-NOR chips, which support FSR. And if an error bit of FSR have been set like protection, voltage, erase, and program, it must be cleared by the clear FSR operation. Signed-off-by: Hou

[U-Boot] [PATCH v3 11/13] sf: Use flash_read routine in spi_flash_read_ops

2015-09-02 Thread Jagan Teki
Use flash_read directly instead of spi_flash_read_common. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - none drivers/mtd/spi/sf_internal.h | 7 --- drivers/mtd/spi/sf_ops.c | 25 + 2 files changed, 1

[U-Boot] [PATCH v3 09/13] sf: Use flash_read_reg routine

2015-09-02 Thread Jagan Teki
This patch uses flash_read_reg routine for all respective read register calls. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - none drivers/mtd/spi/sf_internal.h | 4 +-- drivers/mtd/spi/sf_ops.c | 63

[U-Boot] [PATCH v3 13/13] sf: Rename read register functions

2015-09-02 Thread Jagan Teki
spi_flash_cmd_read_status -> read_sr spi_flash_cmd_read_config -> read_cr Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - none drivers/mtd/spi/sf_internal.h | 5 + drivers/mtd/spi/sf_ops.c | 8

Re: [U-Boot] [PATCH] sunxi_nand_spl: Be smarter about where to look for backup u-boot.bin

2015-09-02 Thread Ian Campbell
On Tue, 2015-09-01 at 10:52 +0200, Hans de Goede wrote: > Hi, > > On 01-09-15 09:05, Ian Campbell wrote: > > On Mon, 2015-08-31 at 17:42 +0200, Hans de Goede wrote: > >> We know when u-boot is written to its own partition, in this case > the > >> layout always is: > >> > >> eb 0 spl > >> eb 1

[U-Boot] [PATCH v2 00/11] x86: quark: Convert to driver model

2015-09-02 Thread Bin Meng
This series converts to use driver model for PCI/USB/ETH on Intel Galileo board, as well as optimizing the boot time. Boot time performance degradation is observed with the conversion to use dm pci. Intel Quark SoC has a low end x86 processor with only 400MHz frequency and the most time consuming

[U-Boot] [PATCH 3/4] arm: spear: Add BCH4 SW support to SPEAr600 x600 board

2015-09-02 Thread Stefan Roese
This board is equipped with a Micron NAND chip (MT29F1G08ABADAH4) that needs 4-bit ECC. But the SPEAr600 only supports 1-bit HW ECC internally. This patch enables the SW 4-bit BCH support for this board. Signed-off-by: Stefan Roese Cc: Viresh Kumar ---

[U-Boot] [PATCH 1/4] mtd: nand: fsmc: Add BCH4 SW ECC support for SPEAr600

2015-09-02 Thread Stefan Roese
This patch adds support for 4-bit ECC BCH4 for the SPEAr600 SoC. This can be used by boards equipped with a NAND chip that requires 4-bit ECC strength. The SPEAr600 HW ECC only supports 1-bit ECC strength. To enable SW BCH4, you need to specify this in your config header: And use the command

[U-Boot] [PATCH 2/4] arm: spear: Add command to switch between 1-bit HW ECC and SW BCH4

2015-09-02 Thread Stefan Roese
This patch adds the "nandecc" command to switch between the SPEAr600 internal 1-bit HW ECC and the 4-bit SW BCH4 ECC. This can be needed to support NAND chips with a stronger ECC than 1-bit, as on the x600. And to dynamically switch between both ECC schemes for backwards compatibility.

[U-Boot] [PATCH 4/4] arm: spear: Enable THUMB mode on x600 board

2015-09-02 Thread Stefan Roese
To reduce the size of the U-Boot image on the x600 board, lets enable the THUMB mode. This reduces the overall size to less than 0x6000 bytes. Fitting it again in the onboard NOR flash. Signed-off-by: Stefan Roese Cc: Viresh Kumar ---

[U-Boot] [PATCH v2 10/11] x86: Convert to use driver model eth on quark/galileo

2015-09-02 Thread Bin Meng
Convert to use DM version of Designware ethernet driver on Intel quark/galileo. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/quark/quark.c | 19 --- configs/galileo_defconfig | 2 +- 2 files

Re: [U-Boot] [PATCH v3] Makefile: fix SOURCE_DATE_EPOCH for *BSD host

2015-09-02 Thread Andreas Bießmann
On 09/01/2015 07:03 PM, Paul Kocialkowski wrote: > Le vendredi 28 août 2015 à 10:29 +0200, Andreas Bießmann a écrit : >> The SOURCE_DATE_EPOCH mechanism for reproducible builds require some date(1) >> with -d switch to print the relevant date and time strings of another point >> of >> time. >> >>

[U-Boot] [PATCH v3 03/13] sf: Make BAR discovery, as spi_flash_read_bar

2015-09-02 Thread Jagan Teki
Add spi_flash_read_bar function for reading bar and discovering bar commands at probe time. Signed-off-by: Jagan Teki Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- Changes for v3: - none Changes for v2: -

[U-Boot] [PATCH v3 02/13] sf: Return bank_sel, if flash->bank_curr == bank_sel

2015-09-02 Thread Jagan Teki
If computed bank_sel is same as flash->bank_curr which is computed at probe time, then return the bank_sel instead of zero. Signed-off-by: Jagan Teki Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- Changes for v3: -

[U-Boot] [PATCH v3 04/13] sf: Optimize BAR write code

2015-09-02 Thread Jagan Teki
Optimized spi-flash bar writing code and also removed unnecessary bank_sel in read_ops. Signed-off-by: Jagan Teki Cc: Simon Glass Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- Changes for v3: -

[U-Boot] [PATCH v3 00/13] sf: BAR/wait_ready logic updates

2015-09-02 Thread Jagan Teki
BAR and spi_flash_cmd_wait_ready are updated to make more module to add new status checks. Hou Zhiqiang (1): sf: Add clear flag status register support Jagan Teki (12): spi: zynq_spi: Remove unneeded headers sf: Return bank_sel, if flash->bank_curr == bank_sel sf: Make BAR discovery, as

[U-Boot] [PATCH v3 05/13] sf: Make flash->flags use for generic usage

2015-09-02 Thread Jagan Teki
Use the flash->flags for generic usage, not only for dm-spi-flash, this will be used for future flag additions. Signed-off-by: Jagan Teki Cc: Bin Meng --- Changes for v3: - none Changes for v2: - none drivers/mtd/spi/sf_internal.h | 4

[U-Boot] [PATCH v3 01/13] spi: zynq_spi: Remove unneeded headers

2015-09-02 Thread Jagan Teki
- Removed unneeded inclusion of header files - Add "Xilinx" on license text Signed-off-by: Jagan Teki Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- Changes for v3: - none Changes for v2: - none

[U-Boot] [PATCH v3 08/13] sf: Add flash_read_reg support

2015-09-02 Thread Jagan Teki
Generic function for all spi-flash register reads. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - none drivers/mtd/spi/sf.c | 23 +++ drivers/mtd/spi/sf_internal.h | 3 +++ 2 files changed, 26

[U-Boot] [PATCH v3 06/13] sf: Update status reg check in spi_flash_cmd_wait_ready

2015-09-02 Thread Jagan Teki
Current flash wait_ready logic is not modular to add new register status check, hence updated the status check for adding few more register checks in future. Below are the sf speed runs with 'sf update' on whole flash, 16MiB. => sf update 0x100 0x0 0x100 device 0 whole chip 16777216 bytes

[U-Boot] [PATCH v3 07/13] sf: Add FSR support to spi_flash_cmd_wait_ready

2015-09-02 Thread Jagan Teki
This patch adds flag status register reading support to spi_flash_cmd_wait_ready. Signed-off-by: Jagan Teki Cc: Simon Glass Cc: Marek Vasut Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc:

Re: [U-Boot] [PATCH v2 0/8] arm: Tidy up early init

2015-09-02 Thread Simon Glass
Hi Mchal, On 1 September 2015 at 03:10, Michal Simek wrote: > Hi Simon, > > On 08/28/2015 10:50 PM, Simon Glass wrote: >> This series collects the previous RFT patches I sent out. >> >> https://patchwork.ozlabs.org/patch/508167/ >> https://patchwork.ozlabs.org/patch/508168/ >>

[U-Boot] [PATCH] arm: socfpga: Add support for DENX MCV SoM and MCVEVK board

2015-09-02 Thread Marek Vasut
Add support for DENX MCV SoM, which is CycloneV based and the associated DENX MCVEVK baseboard. The board can boot from eMMC. Ethernet and USB is supported. Signed-off-by: Marek Vasut --- arch/arm/dts/Makefile| 1 + arch/arm/dts/socfpga_cyclone5_mcvevk.dts |

[U-Boot] [PATCH] arm: socfpga: Add support for Terasic SoCkit board

2015-09-02 Thread Marek Vasut
Add support for Terasic SoCkit, which is CycloneV based board. The board can boot either from SD/MMC or QSPI. Ethernet is also supported. Signed-off-by: Marek Vasut --- arch/arm/dts/Makefile| 1 + arch/arm/dts/socfpga_cyclone5_sockit.dts | 92 +

Re: [U-Boot] [PATCH] mxs: mxsboot: fix endianess for sd boot images

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 09:42:03 AM, Stefano Babic wrote: > Hi Michael, > > On 01/09/2015 23:58, Michael Heimpold wrote: > > Running mxsboot on a big-endian system produces a sd image which > > cannot be started by the i.MX28 ROM. It complains on the debug > > > uart as following: >

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-02 Thread Marek Vasut
On Tuesday, September 01, 2015 at 06:22:08 PM, Pantelis Antoniou wrote: > Hi Marek, Hi! [...] > >> So you suggest adding board_mmc_getcd() in several places in the mmc > >> subsystem driver to detect removal of the SD card? > > > > H, I'm not sure about this one. Panto ? > > I’m fine with

Re: [U-Boot] [PATCH v3 07/13] sf: Add FSR support to spi_flash_cmd_wait_ready

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 08:09:51 AM, Jagan Teki wrote: > This patch adds flag status register reading support to > spi_flash_cmd_wait_ready. > > Signed-off-by: Jagan Teki > Cc: Simon Glass > Cc: Marek Vasut > Cc: Michal Simek

Re: [U-Boot] [PATCH] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Tuesday, September 01, 2015 at 11:37:20 PM, Dinh Nguyen wrote: > On Tue, Sep 1, 2015 at 10:36 AM, Marek Vasut wrote: > > On Tuesday, September 01, 2015 at 05:12:40 PM, Dinh Nguyen wrote: > >> On 09/01/2015 03:33 AM, Marek Vasut wrote: > >> > On Tuesday, September 01, 2015 at

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 12:41:52 AM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add support for the Terasic DE0-Nano/Atlas-SoC Kit, which is a CycloneV > based board. The board can boot from SD/MMC. Ethernet is also supported. > >

[U-Boot] [PATCH v2 06/11] x86: galileo: Convert to use CONFIG_DM_USB

2015-09-02 Thread Bin Meng
Move to driver model for USB on Intel Galileo. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: - Update commit message to remove "USB not working" statement, as in v2, full USB support has been added. configs/galileo_defconfig | 2 ++

[U-Boot] [PATCH v2 04/11] x86: Convert to use driver model pci on quark/galileo

2015-09-02 Thread Bin Meng
Move to driver model pci for Intel quark/galileo. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: - Remove arch/x86/cpu/quark/pci.c completely arch/x86/cpu/quark/Makefile | 1 - arch/x86/cpu/quark/pci.c| 70

[U-Boot] [PATCH v2 05/11] x86: quark: Add USB PHY initialization support

2015-09-02 Thread Bin Meng
USB PHY needs to be properly initialized per Quark firmware writer guide, otherwise the EHCI controller on Quark SoC won't work. Signed-off-by: Bin Meng --- Changes in v2: - New patch to add USB PHY initialization support arch/x86/cpu/quark/quark.c | 41

[U-Boot] [PATCH v2 02/11] x86: quark: Avoid chicken and egg problem

2015-09-02 Thread Bin Meng
If we convert to use driver model pci on quark, we will encounter some chicken and egg problems like below: - To enable PCIe root ports, we need program some registers on the message bus via pci bus. With driver model, the first time to access pci bus, the pci enumeration process will be

[U-Boot] [PATCH v2 01/11] x86: quark: Optimize MRC execution time

2015-09-02 Thread Bin Meng
Intel Quark SoC has a low end x86 processor with only 400MHz frequency. Currently it takes about 15 seconds for U-Boot to boot to shell and the most time consuming part is with MRC, which is about 12 seconds. MRC programs lots of registers on the SoC internal message bus indirectly accessed via

[U-Boot] [PATCH v2 08/11] dm: pci: Add an inline API to test if a device is on a PCI bus

2015-09-02 Thread Bin Meng
Introduce device_is_on_pci_bus() which can be utilized by driver to test if a device is on a PCI bus. Signed-off-by: Bin Meng --- Changes in v2: - New patch to add an inline API to test if a device is on a PCI bus drivers/pci/pci-uclass.c | 4 ++-- include/pci.h

[U-Boot] [PATCH v2 11/11] x86: quark: Add PCIe/USB static register programming after memory init

2015-09-02 Thread Bin Meng
This adds static register programming for PCIe and USB after memory init as required by Quark firmware writer guide. Although not doing this did not cause any malfunction, just do it for safety. Signed-off-by: Bin Meng --- Changes in v2: - New patch to add PCIe/USB static

[U-Boot] [PATCH v2 09/11] net: designware: Add support to PCI designware devices

2015-09-02 Thread Bin Meng
The Designware ethernet controller is also seen on PCI bus, e.g. on Intel Quark SoC. Add this support in the DM version driver. Signed-off-by: Bin Meng --- Changes in v2: - Change to use device_is_on_pci_bus() drivers/net/designware.c | 39

[U-Boot] [PATCH v2 07/11] net: designware: Fix build warnings

2015-09-02 Thread Bin Meng
When building dm version of designware eth driver on a platform with 64-bit phys_addr_t, it reports the following warnings: drivers/net/designware.c: In function 'designware_eth_probe': drivers/net/designware.c:599:2: warning: format '%lx' expects argument of type 'long unsigned int',

Re: [U-Boot] [PATCH 2/2][V2] pci/layerscape: Add EP mode support

2015-09-02 Thread Lian M . H .
Hi ED, The setting can meet most needs of EP device. It is similar with setting for RC mode which we assign 1G outbound space not 256M 512M ... 32G. Thanks, Minghuan > -Original Message- > From: Swarthout Edward L-SWARTHOU > Sent: Wednesday, September 02, 2015 1:16 AM > To: Sun

[U-Boot] [PATCH 0/3] cm-fx6 updates for Utilite

2015-09-02 Thread Nikita Kiryanov
This series provides a fix necessary for early models of Utilite, a miniature desktop based on CM-FX6. It implements a dynamic modification to the device tree that is necessary for mmc boot. Cc: Stefano Babic Cc: Igor Grinberg Nikita Kiryanov (3):

[U-Boot] [PATCH 2/3] compulab: eeprom: add support for obtaining product name

2015-09-02 Thread Nikita Kiryanov
Introduce cl_eeprom_get_product_name() for obtaining product name from the eeprom. Cc: Stefano Babic Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- board/compulab/common/eeprom.c | 19 +++

[U-Boot] [PATCH 1/3] compulab: eeprom: select i2c bus when querying for board rev

2015-09-02 Thread Nikita Kiryanov
Add support for selecting which eeprom is queried for board revision by extending cl_eeprom_get_board_rev() to accept an i2c bus number. Cc: Stefano Babic Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov ---

[U-Boot] [PATCH] arm: socfpga: Fix memory error caused by re-enabling OCRAM ECC

2015-09-02 Thread Jian Luo
Re-enabling OCRAM ECC can cause some value changes in SRAM. Just clear fake interrupt status and keep other bits intact. Signed-off-by: Jian Luo --- arch/arm/mach-socfpga/spl.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH v2] arm: socfpga: Fix memory error caused by re-enabling OCRAM ECC

2015-09-02 Thread Jian Luo
Re-enabling OCRAM ECC can cause some value changes in SRAM. Just clear fake interrupt status and keep other bits intact. Signed-off-by: Jian Luo --- Changes for v2: - add CC to custodian arch/arm/mach-socfpga/spl.c | 14 -- 1 file changed, 8

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Simon Glass
Hi Tom, On 2 September 2015 at 10:52, Tom Warren wrote: > Simon, et al, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Friday, August 14, 2015 3:05 AM >> To: Bin Meng >> Cc: Michal Suchanek; Tom Rini;

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix memory error caused by re-enabling OCRAM ECC

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 07:02:55 PM, Jian Luo wrote: > Re-enabling OCRAM ECC can cause some value changes in SRAM. Just > clear fake interrupt status and keep other bits intact. > > Signed-off-by: Jian Luo > --- > Changes for v2: > - add CC to

Re: [U-Boot] [PATCH 1/3] tpm: Move tpm_tis_i2c to tpm_i2c_infineon

2015-09-02 Thread Christophe Ricard
Hi Simon, Apologies for the delay. I will try to rework this patch end of this week and send it back to you middle of next week. Best Regards Christophe Le 31/08/2015 00:45, Simon Glass a écrit : Hi Chrisophe, On 13 August 2015 at 09:55, Simon Glass wrote: On 9 August

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 04:18:24 PM, Dinh Nguyen wrote: > On 9/2/15 3:18 AM, Marek Vasut wrote: > > On Wednesday, September 02, 2015 at 12:41:52 AM, > > dingu...@opensource.altera.com > > > > wrote: > >> From: Dinh Nguyen > >> > >> Add support for the

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Tom Warren
Simon, et al, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Friday, August 14, 2015 3:05 AM > To: Bin Meng > Cc: Michal Suchanek; Tom Rini; Stephen Warren; U-Boot Mailing List; Tom > Warren; Thierry Reding > Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH 03/45] arm: Remove most LaCie boards

2015-09-02 Thread Simon Guinot
On Wed, Sep 02, 2015 at 09:08:48AM -0400, Tom Rini wrote: > On Wed, Sep 02, 2015 at 02:07:41PM +0200, Simon Guinot wrote: > > On Mon, Aug 31, 2015 at 07:16:16AM -0600, Simon Glass wrote: > > > Hi Simon, > > > > > > On 31 August 2015 at 01:51, Simon Guinot > > > wrote:

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-09-02 Thread Jian Luo
Hi! this error comes again. It isn't a compiler error after all. :( JTAG inspection shows that the problem is located in arch/arm/mach-socfpga/spl.c line94. It seems that re-enable ECC on OCRAM can cause some strange value changes in SRAM. Disabling ECC might also cause value changes, which

Re: [U-Boot] [PATCH] powerpc: convert selected boards to generic board structure

2015-09-02 Thread York Sun
On 08/18/2015 02:35 PM, York Sun wrote: > Convert MPC8540ADS, MPC8541CDS, MPC8544CDS, MPC8548CDS, MPC8555CDS, > MPC8560ADS, MPC8568MDS, MPC8569MDS, MPC8610HPCD to use generic board > structure. > > Signed-off-by: York Sun > Applied to u-boot-mpc85xx master. Awaiting

Re: [U-Boot] [PATCH v1 1/2] powerpc: configs: Fix init_ram physical address for several boards

2015-09-02 Thread York Sun
On 08/17/2015 03:31 PM, York Sun wrote: > For e6500 and e5500 SoCs, it was intended to put init_ram address in > ccsr reserved space. It is no longer true since SerDes module took the > space. Move it to another reserved space at CCSR + 0x03c000. > > Signed-off-by: York Sun

Re: [U-Boot] [PATCH v1 2/2] powerpc: e6500: Lock/unlock L2 cache instead of L1 as init_ram

2015-09-02 Thread York Sun
On 08/17/2015 03:31 PM, York Sun wrote: > MPC85xx has been using locked L1 cache as init_ram. L1 cache is a write > through cache on E6500. L2 cache is enabled to to hold the data. This > patch locks/unlocks L2 cache to ensure no data cast out from L2 cache. > > Signed-off-by: York Sun

Re: [U-Boot] [v2] net/fman: Support both new and legacy FMan Compatibles

2015-09-02 Thread York Sun
On 08/18/2015 06:47 AM, Igal.Liberman wrote: > From: Igal Liberman > > Recently the FMan Port and MAC compatibles were changed. > This patch aligns the FMan Port and MAC compatibles > to the new FMan device tree binding document. > The FMan device tree binding

[U-Boot] [PATCH 3/3] arm: mx6: cm-fx6: modify device tree for old revisions of utilite

2015-09-02 Thread Nikita Kiryanov
Old revisions of Utilite (a miniature PC based on cm-fx6) do not have a card detect for mmc, and thus the kernel needs to be told that there's a persistent storage on usdhc3 to force it to probe the mmc card. Check the baseboard revision and modify the device tree accordingly if needed. Cc:

Re: [U-Boot] [PATCH v1] common: Fix load and entry addresses in FIT image

2015-09-02 Thread York Sun
On 09/02/2015 09:05 AM, Simon Glass wrote: > Hi York, > > On 1 September 2015 at 22:01, York Sun wrote: >> FIT image supports more than 32 bits in addresses by using #address-cell >> field. However the address length is not handled when parsing FIT images. >> Beside, the

[U-Boot] Please pull u-boot-mpc85xx master

2015-09-02 Thread York Sun
Tom, The following changes since commit b7e84c93c450480ca4ff51ad2eb56bd83c1dc368: Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-08-31 12:12:27 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to

[U-Boot] [PATCH] ARM: Kirkwood: fix IDE configuration on LaCie boards

2015-09-02 Thread Simon Guinot
From: Simon Guinot On the LaCie boards netspace_max_v2 and net2big_v2, two internal hard drives are available. Additionally on the d2net_v2 board, an extra hard drive can be plugged via eSATA. This patch updates CONFIG_SYS_IDE_MAXBUS and CONFIG_SYS_IDE_MAXDEVICE

Re: [U-Boot] [PATCH] powerpc/t1023rdb: change default core frequency to 1200MHz

2015-09-02 Thread York Sun
On 08/21/2015 02:19 AM, Shengzhou Liu wrote: > Per new requirement, change default core frequency > from previous 1400MHz to 1200MHz to save power. > > Signed-off-by: Shengzhou Liu Applied to u-boot-mpc85xx master. Awaiting upstream. York

Re: [U-Boot] [PATCH v2 2/2] powerpc/defconfig: Rename defconfig file for T1040QDS/T1024QDS DDR4 targets

2015-09-02 Thread York Sun
On 08/13/2015 12:22 PM, York Sun wrote: > Previously the DDR4 targets were named with _D4. Rename them with > _DDR4 for easy identification. > > Signed-off-by: York Sun > > --- > > Changes in v2: > Drop changes for RDB boards because DDR4 version is actually

Re: [U-Boot] [PATCH] powerpc/t1024qds: Add missing T1024QDS_DDR4_defconfig

2015-09-02 Thread York Sun
On 08/07/2015 10:41 AM, York Sun wrote: > T1024QDS with DDR4 has been supported. Add the missing defconfig. > > Signed-off-by: York Sun > CC: Shengzhou Liu > --- Applied to u-boot-mpc85xx master. Awaiting upstream. York

[U-Boot] v2015.10-rc2: timer not initialized on Kirkwood

2015-09-02 Thread Simon Guinot
Hi, While testing U-Boot v2015.10-rc2 on the Kirkwood-based LaCie boards I noticed that the autoboot counter is not decrementing. It stays stuck at '3' endlessly. After some digging, I found out that this regression is due to the commit: ade741b3896b1a3872ff74437f04b50762d05849 "arm: mvebu: Call

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 08:59:57 PM, Marek Vasut wrote: > On Wednesday, September 02, 2015 at 08:57:52 PM, Sinan Akman wrote: > > On 02/09/15 10:18 AM, Dinh Nguyen wrote: > > > On 9/2/15 3:18 AM, Marek Vasut wrote: > > >> On Wednesday, September 02, 2015 at 12:41:52 AM, > > >>

[U-Boot] [PATCH 1/2] arch/arm/Kconfig: Add back in missing entries.

2015-09-02 Thread Tom Rini
In 2178282 we accidentally dropped out hilsilicon and cm_t43. Bring these back in. Signed-off-by: Tom Rini --- arch/arm/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index de0d6fb..5feef97 100644 --- a/arch/arm/Kconfig

[U-Boot] [PATCH] sunxi: Ensure that 'mksunxiboot' tool produces deterministic output

2015-09-02 Thread Siarhei Siamashka
Currently some uninitialized padding bytes are written to the output file, as can be confirmed with valgrind: $ valgrind tools/mksunxiboot spl/u-boot-spl.bin spl/sunxi-spl.bin ==5581== Syscall param write(buf) points to uninitialised byte(s) ==5581==at 0x4F0F940: __write_nocancel (in

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Stephen Warren
On 09/02/2015 01:54 PM, Stephen Warren wrote: > On 09/02/2015 01:39 PM, Tom Warren wrote: >> >> >>> -Original Message- >>> From: Stephen Warren >>> Sent: Wednesday, September 02, 2015 1:05 PM >>> To: Tom Warren; Simon Glass >>> Cc: Bin Meng; Thierry Reding; Tom Rini; U-Boot Mailing List

Re: [U-Boot] [PATCH 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-02 Thread Fabio Estevam
On Tue, Sep 1, 2015 at 1:22 PM, Adrian Alonso wrote: > + * Boot Device : one of > + * spi/sd/nand/onenand, qspi/nor > + */ > + > +#ifdef CONFIG_SYS_BOOT_QSPI This config option does not exist in mainline. Please remove it. > +BOOT_FROM qspi > +#elif

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-02 Thread Chin Liang See
On Wed, 2015-09-02 at 12:32 +0200, ma...@denx.de wrote: > On Tuesday, September 01, 2015 at 04:53:44 PM, Dinh Nguyen wrote: > > On 09/01/2015 05:12 AM, Jaehoon Chung wrote: > > > On 09/01/2015 06:10 PM, Chin Liang See wrote: > > >> On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > > >>> On

[U-Boot] [PATCH v2 1/2] Move malloc_cache_aligned() to its own header

2015-09-02 Thread Simon Glass
At present malloc.h is included everywhere since it recently was added to common.h in this commit: 4519668 mtd/nand/ubi: assortment of alignment fixes This seems wasteful and unnecessary. We have been trying to trim down common.h and put separate functions into separate header files and that

[U-Boot] [PATCH v2 2/2] Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header

2015-09-02 Thread Simon Glass
Now that we have a new header file for cache-aligned allocation, we should move the stack-based allocation macro there also. Signed-off-by: Simon Glass --- Changes in v2: - Add a new patch to move ALLOC_CACHE_ALIGN_BUFFER() to the new header board/raspberrypi/rpi/rpi.c |

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Tom Warren
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, September 02, 2015 4:44 PM > To: Tom Warren; Simon Glass > Cc: U-Boot Mailing List; Thierry Reding; Tom Rini > Subject: Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64- > bit"

Re: [U-Boot] v2015.10-rc2: timer not initialized on Kirkwood

2015-09-02 Thread Stefan Roese
Hi Simon, On 02.09.2015 17:49, Simon Guinot wrote: While testing U-Boot v2015.10-rc2 on the Kirkwood-based LaCie boards I noticed that the autoboot counter is not decrementing. It stays stuck at '3' endlessly. After some digging, I found out that this regression is due to the commit:

Re: [U-Boot] [PATCH v2 03/11] x86: Enable PCIe controller on quark/galileo

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> Quark SoC holds the PCIe controller in reset following a power on. >> U-Boot needs to release the PCIe controller from reset. The

Re: [U-Boot] [PATCH v2 05/11] x86: quark: Add USB PHY initialization support

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> USB PHY needs to be properly initialized per Quark firmware writer >> guide, otherwise the EHCI controller on Quark SoC won't work.

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-02 Thread Jaehoon Chung
Hi, On 09/03/2015 09:27 AM, Chin Liang See wrote: > On Wed, 2015-09-02 at 12:32 +0200, ma...@denx.de wrote: [snip] > > Would want to hear more from Jaehoon as Exynos and SOCFPGA are the one > setting up these values. Since this approach is not based on dwmmc TRM, it's

Re: [U-Boot] [PATCH v2 01/11] x86: quark: Optimize MRC execution time

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> Intel Quark SoC has a low end x86 processor with only 400MHz >> frequency. Currently it takes about 15 seconds for U-Boot to >>

Re: [U-Boot] [PATCH v2 09/11] net: designware: Add support to PCI designware devices

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> The Designware ethernet controller is also seen on PCI bus, e.g. >> on Intel Quark SoC. Add this support in the DM version driver.

[U-Boot] [PATCH 2/2] configs/titanium_defconfig: Select MX6

2015-09-02 Thread Tom Rini
In 2178282 this config wasn't updated by accident, so update it. Signed-off-by: Tom Rini --- configs/titanium_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/configs/titanium_defconfig b/configs/titanium_defconfig index d286fd6..de3c78d 100644 ---

[U-Boot] mkimage: mxs (mx23_olinuxino) build regression

2015-09-02 Thread Robert Nelson
Hi Simon, I've just finished bisecting a build error for the mx23_olinuxino platform. git bisect points to: http://git.denx.de/?p=u-boot.git;a=commit;h=92a655c326b22de58dcd5371ca1a62fdc57f8e04 to build: make ARCH=arm CROSS_COMPILE=${CC} distclean make ARCH=arm CROSS_COMPILE=${CC}

[U-Boot] u-boot built with gcc5 dies in memcpy()

2015-09-02 Thread Felipe Balbi
Hi, When using u-boot's HEAD built with GCC 5, it hangs on the memcpy() after reading u-boot.img from MMC card. Unfortunately I won't be able to spend a lot of time debugging this, so I thought I'd report. cheers -- balbi signature.asc Description: Digital signature

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 08:57:52 PM, Sinan Akman wrote: > On 02/09/15 10:18 AM, Dinh Nguyen wrote: > > On 9/2/15 3:18 AM, Marek Vasut wrote: > >> On Wednesday, September 02, 2015 at 12:41:52 AM, > >> dingu...@opensource.altera.com > >> > >> wrote: > >>> From: Dinh Nguyen

Re: [U-Boot] [PATCH] sunxi: (mksunxiboot) signature to indicate "sunxi" SPL variant

2015-09-02 Thread Bernhard Nortmann
Am 02.09.2015 um 16:51 schrieb Siarhei Siamashka: On Wed, 2 Sep 2015 15:17:11 +0200 Bernhard Nortmann wrote: This patch follows up on a discussion of ways to improve support for the sunxi FEL ("USB boot") mechanism, especially with regard to boot scripts, see:

[U-Boot] [PATCH v2 07/13] imx: imx7d: clock control module support

2015-09-02 Thread Adrian Alonso
* Add Clock control module (CCM) support * iMX7D SoC introduces 3 main clock sysmtem abstraction for clock root frequency generation denominated clock slices. Core clock slice: hihg speed clock for ARM core Bus clock slice: for bus clocks IP clock slice: Peripheral clocks * At system boot

[U-Boot] [PATCH v2 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-02 Thread Adrian Alonso
* Add i.MX7D SABRESD target board support with enabled modules: UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX. Build target: mx7dsabresd_config Signed-off-by: Peng Fan Signed-off-by: Fugang Duan Signed-off-by: Ye.Li

[U-Boot] [PATCH v2 12/13] imx: imx7d: add imx-common cpu support for imx7d

2015-09-02 Thread Adrian Alonso
Add imx-common cpu support for imx7d SoC - Update reset_cause for imx7d - Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: Split patch to easier review process - Add system arch

[U-Boot] [PATCH v2 10/13] arm: imx-common: init: rework wdog settings for imx6/imx7

2015-09-02 Thread Adrian Alonso
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7 Signed-off-by: Adrian Alonso --- Changes for V2: Rework for common sys_proto header file Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c| 14 -- arch/arm/imx-common/init.c

[U-Boot] [PATCH v2 11/13] thermal: imx: add imx7d soc thermal support

2015-09-02 Thread Adrian Alonso
Add imx7 SoC thermal driver support Signed-off-by: Adrian Alonso --- Changes for V2: Fix build error for missin macro check ;P Changes for V3: Resend Changes for V4: Resend drivers/thermal/imx_thermal.c | 90 --- 1 file changed, 84

[U-Boot] [PATCH v2 08/13] imx: imx7d: Add SoC system support

2015-09-02 Thread Adrian Alonso
Add imx7d basic SoC system support Misc arch dependent functions for system bring up Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- Changes for V2: Split from patch imx: imx7d: initial arch

[U-Boot] [PATCH v2 04/13] arm: imx: imx-common: init: move arch init common setup

2015-09-02 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso --- Changes for V2: Resend Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c| 87

[U-Boot] [PATCH v2 01/13] imx: arch-mx6: add is_soc_type helper macro

2015-09-02 Thread Adrian Alonso
Add helper macro is_soc_type to identify iMX SoC family Signed-off-by: Adrian Alonso --- Changes for V2: Rework for common sys_proto header file Changes for V3: Rework for latest master arch/arm/include/asm/arch-imx/cpu.h | 2 ++

[U-Boot] [PATCH v2 05/13] imx: system counter driver for imx7d and mx6ul

2015-09-02 Thread Adrian Alonso
Add system counter driver for imx7d and mx6ul imx7 and imx6ul supports system counter timer as well as GPT timer (arch/arm/imx-common/timer.c); The default for imx7 is systemcounter timer. Signed-off-by: Ye.Li Signed-off-by: Adrian Alonso --- Changes

[U-Boot] [PATCH v2 09/13] arm: imx-common: init: extend init_aips to support imx7

2015-09-02 Thread Adrian Alonso
Extend init_aips to support imx7 SoC, use is_soc_type and is_cpu_type to resolve at run time aips3 settings Signed-off-by: Adrian Alonso --- Changes for V2: Resend Changes for V3: Resend arch/arm/imx-common/init.c | 44 1 file

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Sinan Akman
Marek Vasut wrote: On Wednesday, September 02, 2015 at 08:59:57 PM, Marek Vasut wrote: On Wednesday, September 02, 2015 at 08:57:52 PM, Sinan Akman wrote: On 02/09/15 10:18 AM, Dinh Nguyen wrote: On 9/2/15 3:18 AM, Marek Vasut wrote: On Wednesday, September 02, 2015 at 12:41:52 AM,

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Stephen Warren
On 09/02/2015 09:52 AM, Tom Warren wrote: > Simon, et al, > >> Simon Glass wrote at Friday, August 14, 2015 3:05 AM: >> I plan to apply this revert to u-boot-x86 (where SPI is currently >> broken) and (once it has a bit more testing) also this patch which I think >> makes >> the change in a

Re: [U-Boot] mkimage: mxs (mx23_olinuxino) build regression

2015-09-02 Thread Otavio Salvador
On Wed, Sep 2, 2015 at 4:48 PM, Robert Nelson wrote: > I've just finished bisecting a build error for the mx23_olinuxino platform. > > git bisect points to: > > http://git.denx.de/?p=u-boot.git;a=commit;h=92a655c326b22de58dcd5371ca1a62fdc57f8e04 I think it has been fixed

  1   2   >