Re: [U-Boot] [PATCH] arm: exynos: fix the div value for set_mmc_clk

2014-11-24 Thread Minkyu Kang
Hi, On 20/11/14 17:17, Jaehoon Chung wrote: > The most exynos used the "Ratio + 1" as div value. > And value at register is "Ratio". > So if want to set exact value, it needs to subtract one. > > Value at register ("Ratio") = div - 1 > > Signed-off-by: Jaehoon Chung > --- > arch/arm/cpu/armv7

Re: [U-Boot] [PATCH] fix: tools: kwbimage.c: Initialize headersz to suppress warning

2014-11-24 Thread Lukasz Majewski
Hi Albert, > Hi Albert, > > Sorry for a late reply. > > > Hello Lukasz, > > > > On Sat, 22 Nov 2014 07:56:35 +0100, Lukasz Majewski > > wrote: > > > > > > Agreed in general, but not for this one, since "fixing" is the > > > > carpet, > > > > > > I assume that you are presenting below an ans

Re: [U-Boot] [PATCH] fix: tools: kwbimage.c: Initialize headersz to suppress warning

2014-11-24 Thread Guillaume Gardet
Hi, Le 23/11/2014 18:38, Lukasz Majewski a écrit : Hi Albert, Sorry for a late reply. Hello Lukasz, On Sat, 22 Nov 2014 07:56:35 +0100, Lukasz Majewski wrote: Agreed in general, but not for this one, since "fixing" is the carpet, I assume that you are presenting below an answer to a "gen

[U-Boot] [PATCH 2/9 v2] powerpc/mpc85xx: Add T1024/T1023 SoC support

2014-11-24 Thread Shengzhou Liu
Add support for Freescale T1024/T1023 SoC. The T1024 SoC includes the following function and features: - Two 64-bit Power architecture e5500 cores, up to 1.4GHz - private 256KB L2 cache each core and shared 256KB CoreNet platform cache (CPC) - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC

[U-Boot] [PATCH 5/9 v2] net/fman: update 10GEC to fit new SoC

2014-11-24 Thread Shengzhou Liu
fm_standard_init() initializes each 10G port by FM_TGEC_INFO_INITIALIZER. but it needs different implementation of FM_TGEC_INFO_INITIALIZER on different SoCs. on SoCs earlier(e.g. T4240, T2080), the notation between 10GEC and MAC as below: 10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4-

[U-Boot] [PATCH 3/9 v2] powerpc/t1024qds: Add T1024 QDS board support

2014-11-24 Thread Shengzhou Liu
T1024QDS is a high-performance computing evaluation, development and test platform for T1024 QorIQ Power Architecture processor. T1024QDS board Overview --- - T1024 SoC integrating two 64-bit e5500 cores up to 1.4GHz - CoreNet fabric supporting coherent and noncoherent transact

[U-Boot] [PATCH 8/9 v2] t1024qds: increase IO drive strength

2014-11-24 Thread Shengzhou Liu
Increase IO drive strength to fix FCS error on RGMII ports on T1024QDS. Signed-off-by: Shengzhou Liu --- v2: removed rdb. arch/powerpc/include/asm/immap_85xx.h | 3 +++ board/freescale/t102xqds/t102xqds.c | 4 2 files changed, 7 insertions(+) diff --git a/arch/powerpc/include/asm/immap_

[U-Boot] [PATCH 4/9 v2] powerpc/t1024rdb: Add T1024 RDB board support

2014-11-24 Thread Shengzhou Liu
T1024RDB is a Freescale Reference Design Board that hosts the T1024 SoC. T1024RDB board Overview --- - T1024 SoC integrating two 64-bit e5500 cores up to 1.4GHz - CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation - 32

[U-Boot] [PATCH 7/9 v2] net/phy: enable serdes auto-negotiation for vsc8514 phy

2014-11-24 Thread Shengzhou Liu
VSC8514 QSGMII PHY requires enabling auto-negotiation, otherwise it wouldn't work. Signed-off-by: Shengzhou Liu --- v2: updated copyright year. drivers/net/phy/vitesse.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/vitesse.c b/drivers/net/ph

[U-Boot] [PATCH 6/9 v2] board/t1024qds: update pin multiplexing

2014-11-24 Thread Shengzhou Liu
Add multiplexing support among SPI flash, TDM riser card and SDXC. it routes SPI pins to SPI flash by default. Route SPI pins to SD slot if "adaptor=sdxc" is set in hwconfig. Route SPI pins to TDM riser card and do fixup for dts if "pin_mux=tdm" is set in hwconfig. Signed-off-by: Shengzhou Liu Si

[U-Boot] [PATCH 9/9 v2] board/t1024qds: add retimer support on t1024qds

2014-11-24 Thread Shengzhou Liu
Initialize retimer for XFI on t1024qds. Signed-off-by: Shengzhou Liu --- v2: no change. board/freescale/t102xqds/t102xqds.c | 57 + include/configs/T102xQDS.h | 5 +++- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/board/freescale/t

[U-Boot] [PATCH 9/9 v2] board/t1024qds: add retimer support on t1024qds

2014-11-24 Thread Shengzhou Liu
Initialize retimer for XFI on t1024qds. Signed-off-by: Shengzhou Liu --- v2: updated function name. board/freescale/t102xqds/t102xqds.c | 57 + include/configs/T102xQDS.h | 5 +++- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/board

[U-Boot] [PATCH 1/9 v2] net/fm: add 2.5G SGMII support

2014-11-24 Thread Shengzhou Liu
As auto-negotiation is not supported for 2.5G SGMII, we need to add a new type PHY_INTERFACE_MODE_SGMII_2500 to differentiate SGMII-1G and SGMII-2.5G with different setting for auto-negotiation. Signed-off-by: Shaohui Xie Signed-off-by: Shengzhou Liu --- v2: no change arch/powerpc/include/asm/

[U-Boot] USB port detection problem1

2014-11-24 Thread Balaji N
Hi All, In board, we have 2 USB controllers and the first port with USB Mass storage is detected without any problem and 2nd Controller with USB Mass storage is not detected properly. Sometimes it is detecting and sometimes, it is not detecting. In U-Boot version U-Boot 2011.12, When detect the U

[U-Boot] [PATCH] powerpc/hydra: fix judging condition of RGMII selection

2014-11-24 Thread shh.xie
From: Minghuan Lian BRDCFG1_EMI1_SEL_MASK has been changed to 0x78, which contains selection bits and connected status bit. So the Corresponding mux value of RGMII is changed to BRDCFG1_EMI1_SEL_RGMII | BRDCFG1_EMI1_EN. Signed-off-by: Minghuan Lian Signed-off-by: Shaohui Xie --- board/freesca

[U-Boot] [PATCH] Add custodian to the m68k subsystem.

2014-11-24 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- MAINTAINERS| 2 +- doc/git-mailrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index c8386ab..f598e23 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -196,7 +196,7 @@ F: drivers/mtd/cfi_flash.c F: dri

Re: [U-Boot] m68k maintenance

2014-11-24 Thread Angelo Dureghello
Dear all, just would like to thanks the whole community for this great and important chance. Will do my best. Regards, Angelo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] powerpc/83xx: add support for kmtepr2 board

2014-11-24 Thread Holger Brunck
On 07/17/2014 11:15 AM, Holger Brunck wrote: > From: Christoph Dietrich > > This board is similar to TUXX1, but it has a different FPGA connected to > chipselect 2. Therefore we need a different configuration for this > chipselect. > > Signed-off-by: Christoph Dietrich > Signed-off-by: Holger B

Re: [U-Boot] [PATCH] Add custodian to the m68k subsystem.

2014-11-24 Thread Wolfgang Denk
Dear Angelo Dureghello, In message <1416826089-5510-1-git-send-email-ang...@sysam.it> you wrote: > Signed-off-by: Angelo Dureghello > --- > MAINTAINERS| 2 +- > doc/git-mailrc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index c8386

Re: [U-Boot] [PATCH] Add custodian to the m68k subsystem.

2014-11-24 Thread Angelo Dureghello
It was my understanding that both you and Alison Wang would become the nuew custodians. So we should add another line like: M: Huan Wang Best regards, Wolfgang Denk Hi Wolfgang, sure, i thought we both had to do it separately. I can do it. Re-post in a moment. Regards, A

Re: [U-Boot] [PATCH] gw_ventana: Use the generic spl_sd.cfg

2014-11-24 Thread Stefano Babic
Hi Fabio, Tim On 20/11/2014 16:17, Fabio Estevam wrote: > From: Fabio Estevam > > gw_ventana can boot from SPI or NAND and both of these interfaces boot from > the same 0x400 offset. > > This means that we could simplify the code and replace the custom > gw_ventana.cfg > with the generic spl_s

Re: [U-Boot] [PATCH 0/5] introduce sata stop

2014-11-24 Thread Stefano Babic
On 21/11/2014 11:47, Nikita Kiryanov wrote: > This series adds the sata stop command, which includes both cmd_sata code and > driver support for resetting sata. > A non-dummy reset_sata() is provided for dwc_ahsata, and a non-default > sata_stop() is provided for cm_fx6. > Finally, we use the new f

Re: [U-Boot] [PATCH 1/3] ot1200: Fix error handling in board_mmc_init()

2014-11-24 Thread Stefano Babic
On 21/11/2014 19:42, Fabio Estevam wrote: > From: Fabio Estevam > > When an invalid USDHC port is passed we should return -EINVAL instead of 0. > > Also, return the error immediately on fsl_esdhc_initialize() failure. > > Cc: Christian Gmeiner > Signed-off-by: Fabio Estevam > --- Applie

Re: [U-Boot] [PATCH 2/3] nitrogen6x: Fix error handling in board_mmc_init()

2014-11-24 Thread Stefano Babic
On 21/11/2014 19:42, Fabio Estevam wrote: > From: Fabio Estevam > > When an invalid USDHC port is passed we should return -EINVAL instead of 0. > > Also, return the error immediately on fsl_esdhc_initialize() failure. > > Cc: Eric Nelson > Signed-off-by: Fabio Estevam > --- Applied to u-

Re: [U-Boot] [PATCH 3/3] mx6boards: Fix error handling in board_mmc_init()

2014-11-24 Thread Stefano Babic
On 21/11/2014 19:42, Fabio Estevam wrote: > From: Fabio Estevam > > When an invalid USDHC port is passed we should return -EINVAL instead of 0. > > Also, return the error immediately on fsl_esdhc_initialize() failure. > > Cc: Eric Benard > Signed-off-by: Fabio Estevam > --- Applied to u

Re: [U-Boot] [PATCH 1/3] ot1200: Fix error handling in board_mmc_init()

2014-11-24 Thread Christian Gmeiner
2014-11-24 12:05 GMT+01:00 Stefano Babic : > On 21/11/2014 19:42, Fabio Estevam wrote: >> From: Fabio Estevam >> >> When an invalid USDHC port is passed we should return -EINVAL instead of 0. >> >> Also, return the error immediately on fsl_esdhc_initialize() failure. >> >> Cc: Christian Gmeiner >

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

2014-11-24 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit f196044dfd64745a163773c6c746f9e149ace127: ARM: atmel: add sama5d4 xplained ultra board support (2014-11-17 08:47:18 -0500) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master f

[U-Boot] AM335x Ethernet pin mux confusion

2014-11-24 Thread Andy Pont
Hello, I am working on porting U-Boot 2014.07 to a custom TI AM3354 based hardware platform and am confused trying to set the pin mux for the two Ethernet interfaces that are on the board. RGMII1_ pins are connected to an ATHEROS AR8031 PHY (PHY ADDR 04) and the pins GPMC_A0 .. GPMC_A11 are con

[U-Boot] [PATCH v2] Add custodians to the m68k subsystem.

2014-11-24 Thread Angelo Dureghello
--- MAINTAINERS| 3 ++- doc/git-mailrc | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index c8386ab..9fce7b5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -196,7 +196,8 @@ F: drivers/mtd/cfi_flash.c F: drivers/mtd/jedec_flash.c COLDFIRE

[U-Boot] [PATCH] thermal: imx_thermal: Do not display calibration data

2014-11-24 Thread Fabio Estevam
Printing the calibration data on every boot does not provide really useful information: U-Boot 2015.01-rc1-18266-ge7eb277 (Nov 24 2014 - 11:29:51) CPU: Freescale i.MX6Q rev1.2 at 792 MHz

Re: [U-Boot] usbkbd input double echoed

2014-11-24 Thread Nikita Kiryanov
Hi Hans, On 11/23/2014 05:18 PM, Hans de Goede wrote: Hi, On 11/23/2014 04:07 PM, Nikita Kiryanov wrote: Hi all, I've enabled USB keyboard for cm_fx6 using these three defines: #define CONFIG_USB_KEYBOARD #define CONFIG_SYS_USB_EVENT_POLL #define CONFIG_SYS_STDIO_DEREGISTER I am able to pro

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Douglas Rupp
It's the version of qemu-system-arm downloaded for Ubuntu 14.04 Version info: qemu-system-arm --version QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.7) I also tried the three "boot.bin" files in "2014.3-release.tar.gz" downloaded from the Xilinx website, those in subdirectories zc70x/zc

[U-Boot] [PATCH 1/2] exynos5420: fix compilation without parade video

2014-11-24 Thread Sjoerd Simons
Not all exynos 5420 based devices with an LCD also have a parade LVDS bridge. So make sure compilation doesn't break if CONFIG_LCD is enabled and CONFIG_VIDEO_PARADE is not. Signed-off-by: Sjoerd Simons --- board/samsung/smdk5420/smdk5420.c | 4 1 file changed, 4 insertions(+) diff --git a

[U-Boot] [PATCH 2/2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-11-24 Thread Sjoerd Simons
Unlike the Peach-Pit board, there is no parade edp to lvds bridge on the Pi. So drop it from the board configuration & device-tree Signed-off-by: Sjoerd Simons --- arch/arm/dts/exynos5800-peach-pi.dts | 5 - include/configs/peach-pi.h | 2 -- 2 files changed, 7 deletions(-) diff -

[U-Boot] [PATCH 0/2] No need for parade bridge on peach-pi

2014-11-24 Thread Sjoerd Simons
With current u-boot-samsung HEAD on a peach-pi the following error is printed: exynos_lcd_power_on: ps8625_init() failed Which is not surprising given that chip does not exist on these boards. Sjoerd Simons (2): exynos5420: fix compilation without parade video Exynos5800: The Peach-Pi board

Re: [U-Boot] [PATCH v2] Add custodians to the m68k subsystem.

2014-11-24 Thread Wolfgang Denk
Dear Angelo Dureghello, In message <1416839817-9319-1-git-send-email-ang...@sysam.it> you wrote: > --- > MAINTAINERS| 3 ++- > doc/git-mailrc | 1 + > 2 files changed, 3 insertions(+), 1 deletion(-) Acked-by: Wolfgang Denk Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH v2 1/3] Kconfig: Add EXPERT option

2014-11-24 Thread Albert ARIBAUD
Hello Hans, On Thu, 13 Nov 2014 20:37:40 +0100, Hans de Goede wrote: > From: Tom Rini > > For similar reasons to why the Linux Kernel has an EXPERT option, we too > want an option to allow for tweaking of some options that while normally > should remain hidden, may need to be changed in some ca

Re: [U-Boot] [PATCH v2 3/3] ARM: bootm: Allow booting in secure mode on hyp capable systems

2014-11-24 Thread Albert ARIBAUD
Hello Hans, On Thu, 13 Nov 2014 20:37:42 +0100, Hans de Goede wrote: > Older Linux kernels will not properly boot in hyp mode, add support for a > bootm_boot_mode environment variable, which can be set to "sec" or "nonsec" > to force booting in secure or non-secure mode when build with non-sec su

Re: [U-Boot] [PATCH v2 2/3] ARM: Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options

2014-11-24 Thread Albert ARIBAUD
Hello Hans, On Thu, 13 Nov 2014 20:37:41 +0100, Hans de Goede wrote: > Add arch/arm/cpu/armv7/Kconfig with non-secure and virt options, this is a > preparation patch for adding an env variable to choose between secure / > non-secure boot on non-secure boot capable systems, specifically this > pre

Re: [U-Boot] [PATCH U-Boot] ARM: rpi_b: detect board revision

2014-11-24 Thread Simon Glass
Hi Stephen, On 18 November 2014 at 21:40, Stephen Warren wrote: > Detect the board revision early during boot, and print the decoded > model name. > > Eventually, this information can be used for tasks such as: > - Allowing/preventing USB device mode; some models have a USB device on- > board s

Re: [U-Boot] [PATCH 0/5] PL01x: baudrate & line control fixes

2014-11-24 Thread Simon Glass
Hi Vikas, On 18 November 2014 at 11:59, vikasm wrote: > Thanks Simon, > > > On 11/17/2014 09:30 PM, Simon Glass wrote: >> >> Hi Vikas, >> >> On 18 November 2014 00:17, Vikas Manocha wrote: >>> >>> This patchset fixes the pl01x driver esp for pl011 baudrate & line >>> control. >>> >>> Vikas Manoc

Re: [U-Boot] [PATCH 1/2] ARM: rpi: rename rpi_b to rpi

2014-11-24 Thread Simon Glass
On 19 November 2014 at 20:41, Stephen Warren wrote: > The U-Boot port runs on a variety of RPi models, not just the B. So, > rename the port to something slightly more generic. > > Signed-off-by: Stephen Warren > --- > These two patches are based on "ARM: rpi_b: detect board revision" which > I s

Re: [U-Boot] [PATCH 2/2] ARM: rpi: support an environment

2014-11-24 Thread Simon Glass
On 19 November 2014 at 20:41, Stephen Warren wrote: > Enable ENV_IS_IN_FAT so that the environment can be stored persistently. > It's stored in the FAT partition that the RPi firmware requires. On most > RPis, this is on the SD card (which must be present in order for the > system to boot). On the

[U-Boot] Raspberry Pi with driver model

2014-11-24 Thread Simon Glass
Hi Stephen, There was another thread where you reported a hang when booting Raspberry Pi with driver model. It can be repeated by applying this patch and trying to boot with syslinux. http://patchwork.ozlabs.org/patch/392180/ When it hangs, the HDMI display displays lots of spaces, then lots of

Re: [U-Boot] [PATCH 2/2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-11-24 Thread Simon Glass
Hi Sjoerd, On 24 November 2014 at 08:15, Sjoerd Simons wrote: > Unlike the Peach-Pit board, there is no parade edp to lvds bridge on the > Pi. So drop it from the board configuration & device-tree > > Signed-off-by: Sjoerd Simons > --- > arch/arm/dts/exynos5800-peach-pi.dts | 5 - > include

[U-Boot] [PATCH] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2014-11-24 Thread Lubomir Popov
I2C chips do exist that require a write of some multi-byte data to occur in a single bus transaction (aka atomic transfer), otherwise either the write does not come into effect at all, or normal operation of internal circuitry cannot be guaranteed. The current implementation of the 'i2c write' comm

[U-Boot] [PATCH 1/5] sunxi: display: Remove unused HDMI register addr defines

2014-11-24 Thread Hans de Goede
All hdmi code uses struct sunxi_hdmi_reg, so these are not needed. Signed-off-by: Hans de Goede --- arch/arm/include/asm/arch-sunxi/display.h | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/arm/include/asm/arch-sunxi/display.h b/arch/arm/include/asm/arch-sunxi/display.h i

[U-Boot] [PATCH 2/5] sunxi: display: Do not use eprintf in early boot

2014-11-24 Thread Hans de Goede
stderr is not hooked up yet as this point, so use a regular printf. Signed-off-by: Hans de Goede --- drivers/video/sunxi_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/sunxi_display.c b/drivers/video/sunxi_display.c index fb28c23..5154084 100644 --- a

[U-Boot] [PATCH 0/5] sunxi: display: Add DDC & EDID support

2014-11-24 Thread Hans de Goede
Hi Ian and Anatolij, The first 2 patches here are minor fixes to the existing sunxi display code, a quick review would be appreciated, so that I can queue them up for the next pull-req. The other 3 patches are for next, so you can take your time reviewing them. Anatolij, patches 3 and 4 add 2 ne

[U-Boot] [PATCH 5/5] sunxi: display: Add DDC & EDID support

2014-11-24 Thread Hans de Goede
Add DDC & EDID support and use it to automatically select the native mode of the attached monitor. This can be overriden through the hdmi_mode env. variable. Signed-off-by: Hans de Goede --- arch/arm/include/asm/arch-sunxi/display.h | 85 drivers/video/sunxi_display.c

[U-Boot] [PATCH 4/5] edid: Add an edid_check_checksum() helper function

2014-11-24 Thread Hans de Goede
Add a helper function to check the checksum of an EDID data block. Signed-off-by: Hans de Goede --- common/edid.c | 11 +++ include/edid.h | 9 + 2 files changed, 20 insertions(+) diff --git a/common/edid.c b/common/edid.c index e41cd3e..e5d35b2 100644 --- a/common/edid.c +++

[U-Boot] [PATCH 3/5] edid: Add an edid_dtd_to_fbmode() helper function

2014-11-24 Thread Hans de Goede
Various u-boot video drivers use fb_videomode structs to store timing info, add a helper function to convert an EDID detailed timing into a fb_videomode struct. Signed-off-by: Hans de Goede --- common/edid.c | 65 ++ include/edid.h | 18 ++

Re: [U-Boot] [PATCH 2/2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-11-24 Thread Sjoerd Simons
On Mon, 2014-11-24 at 09:01 -0700, Simon Glass wrote: > Hi Sjoerd, > > On 24 November 2014 at 08:15, Sjoerd Simons > wrote: > > Unlike the Peach-Pit board, there is no parade edp to lvds bridge on the > > Pi. So drop it from the board configuration & device-tree > > > > Signed-off-by: Sjoerd Simo

Re: [U-Boot] [PATCH 2/5] sunxi: display: Do not use eprintf in early boot

2014-11-24 Thread Ian Campbell
On Mon, 2014-11-24 at 17:14 +0100, Hans de Goede wrote: > stderr is not hooked up yet as this point, so use a regular printf. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

Re: [U-Boot] [PATCH 1/5] sunxi: display: Remove unused HDMI register addr defines

2014-11-24 Thread Ian Campbell
On Mon, 2014-11-24 at 17:14 +0100, Hans de Goede wrote: > All hdmi code uses struct sunxi_hdmi_reg, so these are not needed. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/ma

Re: [U-Boot] [PATCH 2/2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-11-24 Thread Simon Glass
Hi Sjoerd, On 24 November 2014 at 09:21, Sjoerd Simons wrote: > On Mon, 2014-11-24 at 09:01 -0700, Simon Glass wrote: >> Hi Sjoerd, >> >> On 24 November 2014 at 08:15, Sjoerd Simons >> wrote: >> > Unlike the Peach-Pit board, there is no parade edp to lvds bridge on the >> > Pi. So drop it from t

[U-Boot] [PATCH] fs/ext4/ext4fs.c, fs/fs.c: Use lldiv and multiplication / subtraction on 64bit ops

2014-11-24 Thread Tom Rini
In some cases we need to do math on 64bit quantities. We need to be using lldiv in these cases rather than letting the compiler do it. In addition we need to avoid doing % operations on these same quantities. These changes fix compilation on MIPS/MIPSEL. Cc: Daniel Schwierzeck Cc: Suriyan Ramas

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-11-24 Thread York Sun
On 11/23/2014 11:30 PM, Joakim Tjernlund wrote: > York Sun wrote on 2014/10/24 18:02:03: >> >> On 10/24/2014 08:39 AM, Joakim Tjernlund wrote: >>> Booting my t1042 I get: >>> Loading Ramdisk to 2e639000, end 2cc4 ... OK >>> Loading Device Tree to 03fe4000, end 03fffd45 ... OK >>> WARNING Could

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Douglas Rupp
I built qemu-system-arm from the xilinx-master branch. xilinx-zynq-a9 is not a supported machine. :( On Mon, Nov 24, 2014 at 7:02 AM, Douglas Rupp wrote: > It's the version of qemu-system-arm downloaded for Ubuntu 14.04 > Version info: > qemu-system-arm --version > QEMU emulator version 2.0.0

Re: [U-Boot] [PATCH v3 2/4] tegra: dts: Sync tegra124.dtsi with linux kernel

2014-11-24 Thread Stephen Warren
On 11/23/2014 09:12 AM, Simon Glass wrote: Sync this up with Linux v3.18-rc5. Exclude features that are unlikely to supported in U-Boot soon (regulators, pinmux). Also the addresses are updated to 32-bit. Otherwise it is the same. Also bring in the dt-bindings for pinctrl. Assuming this content

Re: [U-Boot] [PATCH v3 3/4] tegra: config: Enable FIT and device tree for all boards

2014-11-24 Thread Stephen Warren
On 11/23/2014 09:12 AM, Simon Glass wrote: Modern kernels require a device tree to boot. True. > Enable FIT support to permit booting these images, rather than just legacy images. I don't understand this? Modern kernels boot perfectly well without FIT support. U-Boot supports the kernel's

Re: [U-Boot] [PATCH v3 2/4] tegra: dts: Sync tegra124.dtsi with linux kernel

2014-11-24 Thread Simon Glass
Hi Stephen, On 24 November 2014 at 10:09, Stephen Warren wrote: > On 11/23/2014 09:12 AM, Simon Glass wrote: >> >> Sync this up with Linux v3.18-rc5. Exclude features that are unlikely to >> supported in U-Boot soon (regulators, pinmux). Also the addresses are >> updated to 32-bit. Otherwise it i

Re: [U-Boot] [PATCH v3 4/4] ARM: tegra: Add support for nyan board

2014-11-24 Thread Stephen Warren
On 11/23/2014 10:02 AM, Simon Glass wrote: Hi, On 23 November 2014 at 09:12, Simon Glass wrote: From: Allen Martin Nyan is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the

Re: [U-Boot] [PATCH v3 4/4] ARM: tegra: Add support for nyan board

2014-11-24 Thread Stephen Warren
On 11/23/2014 10:02 AM, Simon Glass wrote: Hi, On 23 November 2014 at 09:12, Simon Glass wrote: From: Allen Martin Nyan is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the

Re: [U-Boot] [PATCH v3 4/4] ARM: tegra: Add support for nyan board

2014-11-24 Thread Stephen Warren
On 11/23/2014 09:12 AM, Simon Glass wrote: From: Allen Martin Nyan is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This is the Acer Chromebook 13 CB5-311-T7N

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

2014-11-24 Thread Albert ARIBAUD
Hi Tom, The following changes since commit 0d485b9095328cdc81b2ee94ff59b988c69b9127: Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2014-11-13 10:35:13 -0500) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to 8bc347e2ec17b

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Douglas Rupp
The result is: arm-softmmu/qemu-system-arm -M arm-generic-fdt -nographic -smp 2 -machine linux=on -serial mon:stdio -dtb devicetree.dtb -kernel boot.bin SPI device 0x7f8161521ee0 qemu: fatal: Trying to execute code outside RAM or ROM at 0xfff0 then a register dump The "boot.bin" and "devicet

Re: [U-Boot] [RFC Patch 2/2] driver/usb/fsl: Make FSL USB driver common

2014-11-24 Thread York Sun
On 11/21/2014 08:27 PM, Badola Nikhil-B46172 wrote: >> -Original Message- >> From: York Sun [mailto:york...@freescale.com] >> Sent: Thursday, November 20, 2014 2:55 AM >> To: u-boot@lists.denx.de >> Cc: Sun York-R58495; Wang Huan-B18965; Badola Nikhil-B46172 >> Subject: [RFC Patch 2/2] driv

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Sören Brinkmann
Could you try whether these instructions work? http://www.wiki.xilinx.com/QEMU Sören On Mon, 2014-11-24 at 08:58AM -0800, Douglas Rupp wrote: > I built qemu-system-arm from the xilinx-master branch. xilinx-zynq-a9 is > not a supported machine. :( > > On Mon, Nov 24, 2014 at 7:02 AM, Do

Re: [U-Boot] [PATCH] fix: tools: kwbimage.c: Initialize headersz to suppress warning

2014-11-24 Thread Albert ARIBAUD
Hello Lukasz, Thank you and Guillaume for the indications. So gcc 4.7.2 and 4.8.1 should exhibit the problem. Apparently, 4.7.4 and 4.8.3 don't. :( /me goes and fetches a 4.8.1 somewhere. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Sören Brinkmann
I don't think boot.bin is a legal "kernel". IIRC, I had issues running on QEMU, but it was slightly better than what you describe. Sören On Mon, 2014-11-24 at 09:40AM -0800, Douglas Rupp wrote: >The result is: > >arm-softmmu/qemu-system-arm -M arm-generic-fdt -nographic -smp 2 -m

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Douglas Rupp
For versatilepb arm, there's a blog post that describes a recipe of how to build and boot "uboot.bin" in qemu. It works fine, here's the link if you're interested. https://balau82.wordpress.com/2010/03/10/u-boot-for-arm-on-qemu/ I assumed that uboot was standardized enough so that it would work t

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Sören Brinkmann
I suppose the uboot.bin files you are talking about are binaries that had been converted with objcopy or similar from ELF to binary. That probably works well. The Zynq boot.bin is a container file that contains the Zynq bootloader and (optionally) other things (like U-Boot). I doubt QEMU is able to

Re: [U-Boot] [PATCH v3 10/26] x86: ivybridge: Enable PCI in early init

2014-11-24 Thread Simon Glass
HI James, On 24 November 2014 at 00:06, James Zhou wrote: > Hello Simon, > > Is there a specific case to use PCI before relocation? > Or it only applies for x86? > If so, we could figure out how to use this new feature. Thanks for the info. It's not x86-specific - you can use this for any arch.

Re: [U-Boot] [PATCH 0/4] dm: rpi: Move Raspberry Pi to use driver model

2014-11-24 Thread Simon Glass
Hi, On 25 October 2014 at 23:10, Simon Glass wrote: > Hi Stephen, > > On 25 Oct 2014 23:08, "Stephen Warren" wrote: >> >> On 10/25/2014 09:47 PM, Simon Glass wrote: >> > Hi Stephen, >> > >> > On Oct 25, 2014 9:43 PM, "Stephen Warren" > > > wrote: >> >> >> >> On 10/2

[U-Boot] [PATCH v3 0/10] dm: Add I2C support and convert sandbox, tegra

2014-11-24 Thread Simon Glass
This series adds I2C support to driver model. It has become apparent that this is a high priority as it is widely used. It follows along to some extent from the SPI conversion. Several changes are made from the original I2C implementations. Firstly it is not necessary to specify the chip address

[U-Boot] [PATCH v3 09/10] dm: i2c: Add tests for I2C

2014-11-24 Thread Simon Glass
Add some basic tests to check that the system works as expected. c Signed-off-by: Simon Glass --- Changes in v3: - Update for new uclass <=> emulateor interface Changes in v2: - Add a test for automatic binding of generic I2C devices - Add a new asm/test.h header for tests in sandbox drivers/

[U-Boot] [PATCH v3 02/10] dm: i2c: Implement driver model support in the i2c command

2014-11-24 Thread Simon Glass
The concept of a 'current bus' is now implemented in the command line rather than in the uclass. Also the address length does not need to be specified with each command - really we should consider dropping this from most commands but it works OK for now. Signed-off-by: Simon Glass --- Changes in

[U-Boot] [PATCH v3 08/10] dm: Add a simple EEPROM driver

2014-11-24 Thread Simon Glass
There seem to be a few EEPROM drivers around - perhaps we should have a single standard one? This simple driver is used for sandbox testing, but could be pressed into more active service. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Update commit message for EEPROM driver

[U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-11-24 Thread Simon Glass
The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better: - Remove the chip address from API calls - Remove the address length from API calls - Remove concept of 'current' I2C bus - Drop all existing init functions Signed-off

[U-Boot] [PATCH v3 05/10] dm: i2c: Add an I2C EEPROM simulator

2014-11-24 Thread Simon Glass
To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox. It supports reading and writing from a small data store. Signed-off-by: Simon Glass --- Changes in v3: - Update emulator for new uclass interface Changes in v2: None drivers/misc/Makefile | 3 ++ drivers/misc/

[U-Boot] [PATCH v3 03/10] dm: i2c: Add I2C emulation driver for sandbox

2014-11-24 Thread Simon Glass
In order to test I2C we need some sort of emulation interface. Add hooks to allow a driver to emulate an I2C device for sandbox. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/i2c/Makefile | 1 + drivers/i2c/i2c-emul-uclass.c | 14 ++ inclu

[U-Boot] [PATCH v3 07/10] dm: i2c: dts: Add an I2C bus for sandbox

2014-11-24 Thread Simon Glass
Add an I2C bus to the device tree, with an EEPROM emulator attached to one of the addresses. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/sandbox/dts/sandbox.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b

[U-Boot] [PATCH v3 06/10] dm: i2c: config: Enable I2C for sandbox using driver model

2014-11-24 Thread Simon Glass
Enable the options to bring up I2C on sandbox. Also enable all the available I2C commands for testing purposes. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/sandbox/include/asm/test.h | 15 +++ include/configs/sandbox.h | 6 ++ 2 files chan

[U-Boot] [PATCH v3 04/10] dm: i2c: Add a sandbox I2C driver

2014-11-24 Thread Simon Glass
This driver includes some test features such as only supporting certain bus speeds. It passes its I2C traffic through to an emulator. Signed-off-by: Simon Glass --- Changes in v3: - Update for new uclass <=> driver interface Changes in v2: None drivers/i2c/Makefile | 2 +- drivers/i2c/

[U-Boot] [PATCH v3 10/10] dm: i2c: tegra: Convert to driver model

2014-11-24 Thread Simon Glass
This converts all Tegra boards over to use driver model for I2C. The driver is adjusted to use driver model and the following obsolete CONFIGs are removed: - CONFIG_SYS_I2C_INIT_BOARD - CONFIG_I2C_MULTI_BUS - CONFIG_SYS_MAX_I2C_BUS - CONFIG_SYS_I2C_SPEED - CONFIG_SYS_I2C This has b

[U-Boot] [PATCH] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set

2014-11-24 Thread Hans de Goede
Old kernels cannot handle booting in non-secure (hyp) mode, so when OLD_SUNXI_KERNEL_COMPAT is set, also set ARMV7_BOOT_SEC_DEFAULT. Note that whether to booting secure or non-secure can always be overriden using the bootm_boot_mode environment variable. Signed-off-by: Hans de Goede -- Changes i

[U-Boot] [PATCH] RFC: Add driver model support for PCI

2014-11-24 Thread Simon Glass
This is an early preview of some recent work to support PCI in driver model. It was prompted by fiddling with bare x86 support and finding that PCI has its own device model, but no actual storage as to what devices exist in the system. It is not possible to specify configuration information for dev

[U-Boot] [PATCH 0/1] sun7i: Set ARMV7_BOOT_SEC_DEFAULT when OLD_SUNXI_KERNEL_COMPAT is set

2014-11-24 Thread Hans de Goede
Hi Ian, Thanks for the quick review on the 2 display fixes. With Albert's pull-req of today the dependencies for this fix are going upstream as soon as Tom merges the pull-req. Can you review this one too please ? Thanks & Regards, Hans ___ U-Boot mai

Re: [U-Boot] [PATCH 1/5] sunxi: display: Remove unused HDMI register addr defines

2014-11-24 Thread Anatolij Gustschin
On Mon, 24 Nov 2014 17:14:15 +0100 Hans de Goede wrote: > All hdmi code uses struct sunxi_hdmi_reg, so these are not needed. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] [PATCH 2/5] sunxi: display: Do not use eprintf in early boot

2014-11-24 Thread Anatolij Gustschin
On Mon, 24 Nov 2014 17:14:16 +0100 Hans de Goede wrote: > stderr is not hooked up yet as this point, so use a regular printf. > > Signed-off-by: Hans de Goede Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [PATCH] fs/ext4/ext4fs.c, fs/fs.c: Use lldiv and multiplication / subtraction on 64bit ops

2014-11-24 Thread Simon Glass
On 24 November 2014 at 09:55, Tom Rini wrote: > In some cases we need to do math on 64bit quantities. We need to be > using lldiv in these cases rather than letting the compiler do it. In > addition we need to avoid doing % operations on these same quantities. > These changes fix compilation on

Re: [U-Boot] qemu-system-arm segfaults on zynq_zed

2014-11-24 Thread Douglas Rupp
I tried with a zed_zynq built u-boot.bin and u-boot.dtb built from u-boot-2014.10 release, and got slightly different results: qemu: fatal: Trying to execute code outside RAM or ROM at 0xfff0. Then a register dump. Oh well, thanks for the pointers in your previous message, will read for clue

[U-Boot] Building fw_env tools seems broken

2014-11-24 Thread Denys Dmytriyenko
Hi, I came across this issue recently, that affects 2014.10 as well as master, but used to work fine in 2014.07 and older. Please let me know if I'm missing something or you need additional info. Thanks! $ make CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_defconfig HOSTCC scripts/basic/fix

Re: [U-Boot] [U-Boot, 3/5] edid: Add an edid_dtd_to_fbmode() helper function

2014-11-24 Thread Hans de Goede
Hi, On 11/24/2014 05:14 PM, Hans de Goede wrote: Various u-boot video drivers use fb_videomode structs to store timing info, add a helper function to convert an EDID detailed timing into a fb_videomode struct. Signed-off-by: Hans de Goede --- common/edid.c | 65 +

Re: [U-Boot] [U-Boot,3/5] ARM: remove CONFIG_ARM920T defines

2014-11-24 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:59:35PM +0900, Masahiro Yamada wrote: > CONFIG_CPU_ARM920T was introduced into Kconfig by commit 2e07c249a67e > (kconfig: arm: introduce symbol for ARM CPUs). > > This commit removes all the defines of CONFIG_ARM920T and replaces the > only reference in drivers/usb/host

Re: [U-Boot] [U-Boot,2/5] ARM: remove CONFIG_ARM1176 defines

2014-11-24 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:59:34PM +0900, Masahiro Yamada wrote: > CONFIG_ARM1176 is defined for some boards but not referenced at all. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,1/5] ARM: remove CONFIG_ARMV7 defines

2014-11-24 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:59:33PM +0900, Masahiro Yamada wrote: > Some (not all) of ARMv7 boards define CONFIG_ARMV7, which is useless. > Besides, it is never referenced. > > Signed-off-by: Masahiro Yamada > Acked-by: Nobuhiro Iwamatsu Applied to u-boot/master, thanks! -- Tom signature.as

Re: [U-Boot] [U-Boot,5/5] ARM: remove CONFIG_ARM1136 defines

2014-11-24 Thread Tom Rini
On Thu, Nov 06, 2014 at 02:59:37PM +0900, Masahiro Yamada wrote: > CONFIG_CPU_ARM1136 was introduced into Kconfig by commit 2e07c249a67e > (kconfig: arm: introduce symbol for ARM CPUs). > > This commit removes all the defines of CONFIG_ARM1136 and replaces > the only reference in arch/arm/lib/cac

Re: [U-Boot] [U-Boot,v3,4/6] linux/kernel.h: import more macros

2014-11-24 Thread Tom Rini
On Fri, Nov 07, 2014 at 03:03:29AM +0900, Masahiro Yamada wrote: > These macros seem to be useful for U-Boot too (or at least > harmless). Imported from Linux 3.18-rc2. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

  1   2   3   >