[U-Boot] [PATCH v2 6/7] ARM: SPI: stm32: add stm32f746 qspi driver

2016-11-04 Thread Michael Kurz
This patch adds support for the QSPI IP found in stm32f7 devices. Signed-off-by: Michael Kurz --- This currently hard disables any multi i/o in the device tree, as it is impossible to get this working without interpreting the commands of the spi-flash framework in the xfer

[U-Boot] [PATCH v2 4/7] net: phy: add SMSC LAN8742 phy

2016-11-04 Thread Michael Kurz
This patch adds support for SMSC LAN8742 in phylib Signed-off-by: Michael Kurz Acked-by: Joe Hershberger --- Changes in v2: - Add Acked-by tag to 'net: phy: add SMSC LAN8742 phy' drivers/net/phy/smsc.c | 12 1 file changed, 12

[U-Boot] [PATCH v2 3/7] net: stm32: add designware mac glue code for stm32

2016-11-04 Thread Michael Kurz
This patch adds glue code required for enabling the designware mac on stm32f7 devices. Signed-off-by: Michael Kurz --- Changes in v2: - Replaced bit shifts and masks with BIT() and GENMASK() macro - Moved STM32_SYSCFG_BASE into stm32.h header

[U-Boot] [PATCH v2 2/7] ARM: stm32: cleanup stm32f7 files

2016-11-04 Thread Michael Kurz
Cleanup stm32f7 files: - use BIT macro - use GENMASK macro - prefix all constants with STM32_ - remove double constants Signed-off-by: Michael Kurz --- Changes in v2: - add cleanup patch arch/arm/include/asm/arch-stm32f4/stm32.h| 2 +-

Re: [U-Boot] [PATCHv2 2/3] igep00x0: consolidate defconfigs

2016-11-04 Thread Javier Martinez Canillas
Hello Ladis, On Fri, Nov 4, 2016 at 8:57 AM, Ladislav Michl wrote: > Defconfigs should remain the same except CONFIG_SYS_EXTRA_OPTIONS. > Drop NAND specific defconfig as flash type is runtime detected. > > Signed-off-by: Ladislav Michl > ---

[U-Boot] [PATCH v2 1/7] ARM: DTS: stm32: add stm32f746-disco device tree files

2016-11-04 Thread Michael Kurz
This patch adds the DTS source files needed for stm32f746-disco board based on the stm32f429/469 files from current linux kernel. Signed-off-by: Michael Kurz --- Changes in v2: None arch/arm/dts/Makefile |2 + arch/arm/dts/armv7-m.dtsi

[U-Boot] [PATCH v2 0/7] ARM: stm32: add network and qspi driver support to stm32f746-disco board

2016-11-04 Thread Michael Kurz
This series adds support for the network and the qspi devices found on the stm32f746 controller and enables those devices on the stm32f746-disco board. Changes in v2: - add cleanup patch - Replaced bit shifts and masks with BIT() and GENMASK() macro - Moved STM32_SYSCFG_BASE into stm32.h header -

Re: [U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-04 Thread Cédric Schieli
2016-11-04 19:04 GMT+01:00 Tom Rini : > > At U-Boot entry point, the r2 register holds the address of the > > firmware provided boot param. Let's save it for further processing. > > > > Signed-off-by: Cédric Schieli > [snip] > > diff --git

Re: [U-Boot] [PATCHv2 3/3] igep00x0: add Hynix timings

2016-11-04 Thread Javier Martinez Canillas
Hello Ladis, On Fri, Nov 4, 2016 at 8:59 AM, Ladislav Michl wrote: > Tested on IGEPv2 with Micron MT29F4G16ABBDA3W and > Hynix H27S4G6F2DKA-BM > > Signed-off-by: Ladislav Michl > --- Reviewed-by: Javier Martinez Canillas I don't

[U-Boot] [PATCH v2 5/7] ARM: stm32: enable support for smsc phy on stm32f746-disco board

2016-11-04 Thread Michael Kurz
This patch enables support for the smsc phy on the stm32f746-disco board. Signed-off-by: Michael Kurz --- Changes in v2: None include/configs/stm32f746-disco.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stm32f746-disco.h

[U-Boot] [PATCH v2 7/7] SPI: add missing flag to micron/stm N25Q128 flash chips

2016-11-04 Thread Michael Kurz
This patch adds the missing 4K erase flag to struct spi_flash_params Signed-off-by: Michael Kurz --- Changes in v2: None drivers/mtd/spi/sf_params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_params.c

Re: [U-Boot] [PATCHv2 1/3] igep00x0: disable CONFIG_DISPLAY_BOARDINFO

2016-11-04 Thread Javier Martinez Canillas
Hello Ladis, On Fri, Nov 4, 2016 at 8:55 AM, Ladislav Michl wrote: > As a single U-Boot binary can now run on various board modifications, > drop CONFIG_DISPLAY_BOARDINFO as it prints flash memory information > too early to give us chance to easily detect it. Also saves few

Re: [U-Boot] [PATCHv2 1/3] igep00x0: disable CONFIG_DISPLAY_BOARDINFO

2016-11-04 Thread Javier Martinez Canillas
Hello Ladis, On Fri, Nov 4, 2016 at 2:21 PM, Ladislav Michl wrote: > On Fri, Nov 04, 2016 at 12:42:57PM -0300, Javier Martinez Canillas wrote: >> Hello Ladis, >> >> On 11/04/2016 08:55 AM, Ladislav Michl wrote: >> > As a single U-Boot binary can now run on various board

Re: [U-Boot] [PATCH 1/1] ARM: ts4600: add basic board support

2016-11-04 Thread Fabio Estevam
On Thu, Nov 3, 2016 at 5:20 PM, Sebastien Bourdelin wrote: > This commit adds basic support including: > MMC, Serial console > > Signed-off-by: Sebastien Bourdelin Looks good: Reviewed-by: Fabio Estevam

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-11-04 Thread Alexandr Bochkarev
I have found problem place, this patch with hotfix allows to boot Allwinner A20 from eMMC. Dont know how to full fix it. commit 9fa5bf30e95ead17eb0c50375b305fb8615427a9 Author: root Date: Sat Nov 5 04:41:30 2016 +0600 allow to boot A20 from eMMC, fix diff --git

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-04 Thread Marek Vasut
On 11/03/2016 03:21 PM, Dinh Nguyen wrote: > > > On 11/02/2016 03:47 PM, Marek Vasut wrote: >> On 11/02/2016 05:30 PM, Dinh Nguyen wrote: >>> On Tue, Nov 1, 2016 at 3:43 PM, Dinh Nguyen wrote: On 11/01/2016 03:42 PM, Marek Vasut wrote: > On 11/01/2016

Re: [U-Boot] [PATCH v2 2/7] spi: cadence_qspi: Fix baud rate calculation

2016-11-04 Thread Marek Vasut
On 11/03/2016 01:19 PM, Phil Edworthy wrote: > With the existing code, when the requested SPI clock rate is near > to the lowest that can be achieved by the hardware (max divider > of the ref clock is 32), the generated clock rate is wrong. > For example, with a 50MHz ref clock, when asked for

Re: [U-Boot] [PATCH v3] gpio: dwapb: Add support for port B

2016-11-04 Thread Marek Vasut
On 11/03/2016 12:05 PM, Phil Edworthy wrote: > The IP supports two ports, A and B, each providing up to 32 gpios. > The driver already creates a 2nd gpio bank by reading the 2nd node > from DT, so this is quite a simple change to support the 2nd bank. > > Signed-off-by: Phil Edworthy

Re: [U-Boot] [PATCH 2/4] mmc: sunxi: Enable 8bits bus width for sun8i

2016-11-04 Thread Chen-Yu Tsai
On Fri, Nov 4, 2016 at 11:18 PM, Maxime Ripard wrote: > The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the > support for those too. > > Signed-off-by: Maxime Ripard > --- > drivers/mmc/sunxi_mmc.c | 2 +- > 1

Re: [U-Boot] [PATCH 3/4] sunxi: sina33: Enable the eMMC

2016-11-04 Thread Chen-Yu Tsai
On Fri, Nov 4, 2016 at 11:18 PM, Maxime Ripard wrote: > The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller. > Enable it. > > Signed-off-by: Maxime Ripard Reviewed-by: Chen-Yu Tsai

Re: [U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-04 Thread Tom Rini
On Fri, Nov 04, 2016 at 08:18:29PM +0100, Cédric Schieli wrote: > 2016-11-04 19:04 GMT+01:00 Tom Rini : > > > > At U-Boot entry point, the r2 register holds the address of the > > > firmware provided boot param. Let's save it for further processing. > > > > > > Signed-off-by:

[U-Boot] [PATCH] buildman: Fix building based on 'options' field

2016-11-04 Thread Tom Rini
The README for buildman says that we can use any field in boards.cfg to decide what to build. However, we were not saving the options field correctly. Cc: Simon Glass Signed-off-by: Tom Rini --- tools/buildman/board.py | 4 ++-- 1 file changed, 2

Re: [U-Boot] [RFC PATCH] lib/timer: initialize timebase_l/timebase_h

2016-11-04 Thread Andre Przywara
Hi, On 26/10/16 08:14, Alexander Graf wrote: > On 10/26/2016 02:07 AM, André Przywara wrote: >> On 25/10/16 08:52, Alexander Graf wrote: >> >> Hi Alex, >> >> thanks for looking at this! >> >>> On 25/10/2016 02:51, Andre Przywara wrote: On systems using the generic timer routines defined in

Re: [U-Boot] [PATCH v2 1/6] ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition

2016-11-04 Thread Hongbo Zhang
Talked to the author Zhiqiang Hou who introduced the previous CONFIG_ARMV8_PSCI, although this config was introduced due to FSL PPA, codes covered by it in the armv8/cpu-dt.c, bootm-dt.c, psci-dt.c also work for the coming generic ARMv8 PSCI framework, what's more, Zhiqiang is sending patches to

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-04 Thread Marek Vasut
On 11/04/2016 09:09 AM, Phil Edworthy wrote: > Hi Marek, Hi, > On 03 November 2016 17:49, Marek Vasut wrote: >> On 11/03/2016 02:56 PM, Simon Glass wrote: >>> On 2 November 2016 at 13:38, Marek Vasut >> > wrote: On 11/02/2016 04:24 PM, Phil Edworthy

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 02:26, Alison Wang wrote: > York, > > > > No, he don’t have my 32-bit kernel image. I am not sure he > is using 32-bit kernel or 64-bit kernel. > > > > Ryan, > > > > I am not familiar with the boards you tested, The FVP

Re: [U-Boot] [PATCH 7/7] spi: cadence_qspi: Support specifying the sample edge used

2016-11-04 Thread Phil Edworthy
Hi Vignesh, On 04 November 2016 05:57, Vignesh R wrote: > On Wednesday 02 November 2016 08:45 PM, Phil Edworthy wrote: > > The HW manual does not give details about what the register > > value for this bit actually does, other than "Choose edge on > > which data outputs from flash memory will be

[U-Boot] [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-04 Thread Shengzhou Liu
- add additional function erratum_a009942_check_cpo to check if the board needs tuning CPO calibration for optimal setting. - move ERRATUM_A009942(with revision to check cpo_sample option) from fsl_ddr_gen4.c to ctrl_regs.c for reuse on all DDR4/DDR3 parts. - move ERRATUM_A008378 from

[U-Boot] [PATCH 3/3] fsl/ddr: Fix compiling warning

2016-11-04 Thread Shengzhou Liu
Fix following warning in case multiple erratum macro was not defined. warning: unused variable 'tmp' warning: unused variable 'ddr_freq' Signed-off-by: Shengzhou Liu --- drivers/ddr/fsl/fsl_ddr_gen4.c | 43 +- 1 file changed, 17

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-04 Thread Phil Edworthy
Hi Marek, On 03 November 2016 17:49, Marek Vasut wrote: > On 11/03/2016 02:56 PM, Simon Glass wrote: > > On 2 November 2016 at 13:38, Marek Vasut > > wrote: > >> On 11/02/2016 04:24 PM, Phil Edworthy wrote: > Please no c-structure register definitions, this

[U-Boot] [PATCH] tools: imximage: check return value when open the plugin file

2016-11-04 Thread Peng Fan
Check return value when open the plugin file. Coverity report: ** CID 153926: Error handling issues (NEGATIVE_RETURNS) /tools/imximage.c: 542 in copy_plugin_code() ifd = open(plugin_file, O_RDONLY|O_BINARY); >>> CID 153926: Error handling issues (NEGATIVE_RETURNS) >>> "ifd" is passed to

[U-Boot] [PATCH 2/3] fsl/ddr: Enable erratum-a009942 workaround for B/T-series

2016-11-04 Thread Shengzhou Liu
Enable ERRATUM_A009942 workaround for B-series and T-series platforms. Signed-off-by: Shengzhou Liu --- arch/powerpc/include/asm/config_mpc85xx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
Alison, Does Ryan have your 32-bit kernel image? I think kernel 32-bit doesn't support spin table. Please work with Ryan if your PSCI patch is required for the test. York Original Message From: Ryan Harkin Sent: Thursday, November 3, 2016 12:17 PM

[U-Boot] [PATCH] sf: Fix S25FS512S id param table

2016-11-04 Thread Jagan Teki
S25FS512S and S25FL512S_256K have common id information till 5 bytes and 6th byte have different family id like FS and FL-S as 0x81 and 0x80. Reported-by: Vignesh R Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_params.c | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH] ARM: keystone2: PLL: Enable glitch free initialization sequence

2016-11-04 Thread Tom Rini
On Thu, Nov 03, 2016 at 03:32:51PM +0530, Lokesh Vutla wrote: > Update the PLL initialization sequence to avoid glitches while > programming. User guide for the same is available at[1]. > > [1] http://www.ti.com/lit/ug/sprugv2h/sprugv2h.pdf > > Signed-off-by: Lokesh Vutla

[U-Boot] [PATCHv2 3/3] igep00x0: add Hynix timings

2016-11-04 Thread Ladislav Michl
Tested on IGEPv2 with Micron MT29F4G16ABBDA3W and Hynix H27S4G6F2DKA-BM Signed-off-by: Ladislav Michl --- Changes in v2: - None diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 71688cc..669f3dd 100644 --- a/board/isee/igep00x0/igep00x0.c

[U-Boot] [PATCH v2 ] spi: cadence_qspi: Support specifying the sample edge used

2016-11-04 Thread Phil Edworthy
Whilst at it, move the code to read the "sram-size" property into the other code that reads properties from the node, rather than the SF subnode. Also change the code to use a bool for the bypass arg. Signed-off-by: Phil Edworthy --- v2: Change name of DT prop and

Re: [U-Boot] [RFC PATCH 01/10] sun6i: Restrict some register initialization to Allwinner A31 SoC

2016-11-04 Thread Chen-Yu Tsai
On Thu, Nov 3, 2016 at 4:52 PM, Alexander Graf wrote: > On 11/03/2016 02:36 AM, Andre Przywara wrote: >> >> These days many Allwinner SoCs use clock_sun6i.c, although out of them >> only the (original sun6i) A31 has a second MBUS clock register. >> Also setting up the PRCM

[U-Boot] [PATCHv2 1/3] igep00x0: disable CONFIG_DISPLAY_BOARDINFO

2016-11-04 Thread Ladislav Michl
As a single U-Boot binary can now run on various board modifications, drop CONFIG_DISPLAY_BOARDINFO as it prints flash memory information too early to give us chance to easily detect it. Also saves few bytes as a bonus. Signed-off-by: Ladislav Michl --- Changes in v2: -

Re: [U-Boot] [PATCH] tools: imximage: check return value when open the plugin file

2016-11-04 Thread Tom Rini
On Fri, Nov 04, 2016 at 10:33:15AM +0800, Peng Fan wrote: > Check return value when open the plugin file. > > Coverity report: > ** CID 153926: Error handling issues (NEGATIVE_RETURNS) > /tools/imximage.c: 542 in copy_plugin_code() > >ifd = open(plugin_file, O_RDONLY|O_BINARY); > >>> CID

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

2016-11-04 Thread Tom Rini
On Thu, Nov 03, 2016 at 11:57:12AM +0100, Marek Vasut wrote: > The following changes since commit d8bdfc80da39211d95f10d24e79f2e867305f71b: > > Prepare v2016.11-rc3 (2016-10-31 16:36:10 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb.git master > > for

Re: [U-Boot] [PATCH 1/3] igep00x0: disable CONFIG_DISPLAY_BOARDINFO

2016-11-04 Thread Ladislav Michl
Hi Enric, On Tue, Sep 20, 2016 at 05:41:02PM +0200, Enric Balletbo Serra wrote: [snip] > I must NACK for now these series, meanwhile I don't find time to look > at this deeply. I think this will break lots of things. For example, > will this u-boot boot a non-device tree based kernel without

Re: [U-Boot] [PATCH RESEND v2 2/2] spi: ti_qspi: Fix baudrate divider calculation

2016-11-04 Thread Jagan Teki
On Mon, Oct 31, 2016 at 2:54 PM, Jagan Teki wrote: > On Mon, Oct 31, 2016 at 9:40 AM, Vignesh R wrote: >> Fix the divider calculation logic to choose a value so that the >> resulting baudrate is either equal to or closest possible baudrate less >> than the

Re: [U-Boot] [PATCH] ARM: k2g: Update PLL Multiplier and divider values

2016-11-04 Thread Tom Rini
On Thu, Nov 03, 2016 at 03:35:02PM +0530, Lokesh Vutla wrote: > Only a certain set of PLLM/D values are recommended to configure the DDR > at the required speeds for a given clock input frequency. Updating these > values as specified in Data Sheet[1] Table 5-18 > > [1]

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 09:20, Alison Wang wrote: >> On 4 November 2016 at 02:26, Alison Wang wrote: >> > York, >> > >> > >> > >> > No, he don’t have my 32-bit kernel image. I am not >> > sure he is using 32-bit kernel or 64-bit kernel. >>

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

2016-11-04 Thread Tom Rini
On Mon, Oct 31, 2016 at 11:40:10AM -0600, Simon Glass wrote: > Hi Tom, > > This includes various minor tweaks for rockchip. > > > The following changes since commit 48d2fc47c9feac54fdc0e2e0462f13b1a8689ece: > > Merge branch 'sun9i-a80-spl' of http://git.denx.de/u-boot-sunxi > (2016-10-30

[U-Boot] [PATCHv2 2/3] igep00x0: consolidate defconfigs

2016-11-04 Thread Ladislav Michl
Defconfigs should remain the same except CONFIG_SYS_EXTRA_OPTIONS. Drop NAND specific defconfig as flash type is runtime detected. Signed-off-by: Ladislav Michl --- Changes in v2: - fix screwup caused by mismerge - update to current git diff --git

[U-Boot] [PATCH] mkimage: Allow including a ramdisk in FIT auto mode

2016-11-04 Thread Tomeu Vizoso
Adds -i option that allows specifying a ramdisk file to be added to the FIT image when we are using the automatic FIT mode (no ITS file). This makes adding Depthcharge support to LAVA much more convenient, as no additional configuration files need to be kept around in the machine that dispatches

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 15:08, york sun wrote: > On 11/04/2016 05:34 AM, Ryan Harkin wrote: >> On 4 November 2016 at 09:20, Alison Wang wrote: On 4 November 2016 at 02:26, Alison Wang wrote: > York, > > > >

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Alison Wang
> On 4 November 2016 at 02:26, Alison Wang wrote: > > York, > > > > > > > > No, he don’t have my 32-bit kernel image. I am not > > sure he is using 32-bit kernel or 64-bit kernel. > > > > > > > > Ryan, > > > > > > > > I am not familiar with the

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Alexander Graf
On 04/11/2016 16:43, york sun wrote: On 11/04/2016 09:32 AM, Ryan Harkin wrote: Yes, with the attached patch on top of your original 2 patches, everything works again. I tested on FVP Foundation and AEMv8 models and Juno R0, R1 and R2. I don't think it would be good to stack these three

[U-Boot] [PATCH 0/4] sunxi: Improve the SinA33 support

2016-11-04 Thread Maxime Ripard
Hi all, The SinA33 board is based on an Allwinner A33 SoC and features an external (and optional) LCD display and a 4GB Toshida eMMC. This eMMC wasn't recognized by default in U-boot because it was failing to switch in high speed mode at the first attempt. The first three patches are to enable

[U-Boot] [PATCH 3/4] sunxi: sina33: Enable the eMMC

2016-11-04 Thread Maxime Ripard
The SinA33 has an 4GB Toshiba eMMC connected to the MMC2 controller. Enable it. Signed-off-by: Maxime Ripard --- configs/Sinlinx_SinA33_defconfig | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/configs/Sinlinx_SinA33_defconfig

[U-Boot] [PATCH 2/4] mmc: sunxi: Enable 8bits bus width for sun8i

2016-11-04 Thread Maxime Ripard
The sun8i SoCs also have a 8 bits capable MMC2 controller. Enable the support for those too. Signed-off-by: Maxime Ripard --- drivers/mmc/sunxi_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/sunxi_mmc.c

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 05:34 AM, Ryan Harkin wrote: > On 4 November 2016 at 09:20, Alison Wang wrote: >>> On 4 November 2016 at 02:26, Alison Wang wrote: York, No, he don’t have my 32-bit kernel image. I am not sure

[U-Boot] [PATCH 1/4] mmc: Retry the switch command

2016-11-04 Thread Maxime Ripard
Some eMMC will fail at the first switch, but would succeed in a subsequent one. Make sure we try several times to cover those cases. The number of retries (and the behaviour) is currently what is being used in Linux. Signed-off-by: Maxime Ripard ---

[U-Boot] [PATCH 4/4] sunxi: sina33: Enable the LCD

2016-11-04 Thread Maxime Ripard
The SinA33 comes with an optional 7" display. Enable it in the configuration. Signed-off-by: Maxime Ripard --- configs/Sinlinx_SinA33_defconfig | 4 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/configs/Sinlinx_SinA33_defconfig

Re: [U-Boot] [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-04 Thread york sun
On 11/04/2016 04:18 AM, Shengzhou Liu wrote: > - add additional function erratum_a009942_check_cpo to check if the > board needs tuning CPO calibration for optimal setting. > - move ERRATUM_A009942(with revision to check cpo_sample option) from > fsl_ddr_gen4.c to ctrl_regs.c for reuse on all

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Ryan Harkin
On 4 November 2016 at 15:53, Alexander Graf wrote: > > > On 04/11/2016 16:43, york sun wrote: >> >> On 11/04/2016 09:32 AM, Ryan Harkin wrote: > > > Yes, with the attached patch on top of your original 2 patches, > everything works again. I tested on FVP Foundation

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 09:53 AM, Alexander Graf wrote: > > > On 04/11/2016 16:43, york sun wrote: >> On 11/04/2016 09:32 AM, Ryan Harkin wrote: > > Yes, with the attached patch on top of your original 2 patches, > everything works again. I tested on FVP Foundation and AEMv8 models > and

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread Alexander Graf
On 04/11/2016 17:08, york sun wrote: On 11/04/2016 09:53 AM, Alexander Graf wrote: On 04/11/2016 16:43, york sun wrote: On 11/04/2016 09:32 AM, Ryan Harkin wrote: Yes, with the attached patch on top of your original 2 patches, everything works again. I tested on FVP Foundation and AEMv8

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 10:12 AM, Alexander Graf wrote: > > > On 04/11/2016 17:08, york sun wrote: >> On 11/04/2016 09:53 AM, Alexander Graf wrote: >>> >>> >>> On 04/11/2016 16:43, york sun wrote: On 11/04/2016 09:32 AM, Ryan Harkin wrote: >>> >>> Yes, with the attached patch on top of your

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-04 Thread york sun
On 11/04/2016 09:32 AM, Ryan Harkin wrote: >>> >>> Yes, with the attached patch on top of your original 2 patches, >>> everything works again. I tested on FVP Foundation and AEMv8 models >>> and Juno R0, R1 and R2. >>> >>> I don't think it would be good to stack these three patches the way >>>

[U-Boot] EHCI timed out on TD - token

2016-11-04 Thread Michael Kasprowicz
Hi Uboot team, Is this problem of EHCI timed out on TD - token=0x80008d80 already resolved ? Following the thread http://lists.denx.de/pipermail/u-boot/2016-February/246267.html I reduced the USB_MAX_XFER_BLK even to 64, but still the issue persists. If its solved can soneone please point me to

[U-Boot] [PATCH 2/2] LS1012ARDB: Add QSPI Secure Boot target

2016-11-04 Thread Vinitha Pillai
Add QSPI Secure Boot target to enable chain of trust Reviewed-by: Ruchika Gupta Signed-off-by: Sumit Garg Signed-off-by: Vinitha Pillai --- This patch depends on the following patch-set: 1.

Re: [U-Boot] With u-boot vertion u-boot-d8bdfc8 compile error

2016-11-04 Thread 李东升
Dear sir : before make , I have do something as below : 1. export CROSS_COMPILE=arm-xilinx-linux-gnueabi- export PATH=/opt/zynq_gcc/arm-xilinx-linux-gnueabi/bin:$PATH 2. export ARCH=arm export CROSS_COMPILE=arm-xilinx-Linux-gnueabi- 3.

[U-Boot] [PATCH v4] arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC

2016-11-04 Thread linux-kernel-dev
From: Patrick Bruenn Add CX9020 board based on mx53loco. Add simplified imx53 base device tree from kernel v4.8-rc8, to reuse serial_mxc with DTE and prepare for device tree migration of other functions and imx53 devices. The CX9020 differs from i.MX53 Quick Start Board

[U-Boot] [PATCH] SPI: fixup typo in omap2_spi.c

2016-11-04 Thread 郑 祎
regs->channel[] is an array of registers in SoC. It is indexed by CS# Fixup the typo which will cause the index error when accessing the hardware. In the all other code, regs->channel[] is indexed by 'priv->cs', so I think it is reasonable to fix that wrongly register accessing. ---

[U-Boot] cubieboard sunxi u-boot help me

2016-11-04 Thread 崔超
Hi , I' from China. I am studying u-boot on Cubieboard and I have a problem. https://github.com/OSer916/u-boot.git . My code is on the "cubieboard" branch. When I do "make sunny_defconfig && make CROSS_COMPILE=arm-linux-gnueabihf-", the trouble comes out last: arm-linux-gnueabihf-ld.bfd: BFD

Re: [U-Boot] cubieboard sunxi u-boot help me

2016-11-04 Thread Jagan Teki
On Fri, Nov 4, 2016 at 6:03 PM, 崔超 <13671369...@163.com> wrote: > Hi , > I' from China. I am studying u-boot on Cubieboard and I have a problem. > https://github.com/OSer916/u-boot.git . > My code is on the "cubieboard" branch. > > > When I do "make sunny_defconfig && make

[U-Boot] [PATCH 1/2] SECURE_BOOT: Enable chain of trust on LS1012A platform

2016-11-04 Thread Vinitha Pillai
Define bootscript and its header addresses for QSPI target Reviewed-by: Ruchika Gupta Signed-off-by: Sumit Garg Signed-off-by: Vinitha Pillai --- This patch depends on the following patch-set: 1.

Re: [U-Boot] [PATCHv2 1/3] igep00x0: disable CONFIG_DISPLAY_BOARDINFO

2016-11-04 Thread Ladislav Michl
On Fri, Nov 04, 2016 at 12:42:57PM -0300, Javier Martinez Canillas wrote: > Hello Ladis, > > On 11/04/2016 08:55 AM, Ladislav Michl wrote: > > As a single U-Boot binary can now run on various board modifications, > > drop CONFIG_DISPLAY_BOARDINFO as it prints flash memory information > > too

Re: [U-Boot] U-Boot Support for SIL3531

2016-11-04 Thread Tom Rini
On Tue, Nov 01, 2016 at 02:07:43PM -0700, Rudolf J Streif wrote: > Does anyone know if u-boot supports the SIL3531 PCIE SATA controller? > > drivers/block/sata_sil.c explicitly lists SIL3131, SIL3132, and SIL3124. I am > not that familiar with the history of the SIL SATA chips and maybe

Re: [U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-04 Thread Tom Rini
On Wed, Nov 02, 2016 at 07:06:12PM +0100, Cédric Schieli wrote: > At U-Boot entry point, the r2 register holds the address of the > firmware provided boot param. Let's save it for further processing. > > Signed-off-by: Cédric Schieli [snip] > diff --git

Re: [U-Boot] [PATCH 2/2] rpi: expose the firmware provided FDT blob in ${fw_fdt_addr}

2016-11-04 Thread Tom Rini
On Wed, Nov 02, 2016 at 07:06:13PM +0100, Cédric Schieli wrote: > If the fw_boot_param saved at an early stage points to a valid FDT > blob, let's expose it in ${fw_fdt_addr}. > > Signed-off-by: Cédric Schieli OK, but how is fw_fdt_addr actually used? I think we need to