Re: [U-Boot] [PATCH] socfpga_cyclone5.h: fix kernel console argument in default environment

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 01:12:03 AM, Anatolij Gustschin wrote: > With fresh environment the kernel gets wrong console > argument and boots without console output. Fix it. > > Reported-by: Dinh Nguyen > Signed-off-by: Anatolij Gustschin > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Marek

Re: [U-Boot] socfpga: mainline cannot boot linux

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 12:54:14 AM, Dinh Nguyen wrote: > On 11/06/2014 05:40 PM, Anatolij Gustschin wrote: > > Hi Dinh, > > > > On Thu, 6 Nov 2014 17:03:48 -0600 > > > > Dinh Nguyen wrote: > >> Hi Marek, > >> > >> Have you been able to successfully boot Linux using the mainline uboot?

Re: [U-Boot] [PATCH v2 1/2] exynos: Enable config_distro_defaults.h

2014-11-07 Thread Guillaume Gardet
Le 30/10/2014 14:51, Minkyu Kang a écrit : On 16/10/14 22:44, Ian Campbell wrote: From: Ian Campbell ...and remove explicit setting of things which this implies. This is done for all exynos platforms (4 & 5) so it is added to exynos-common.h I'm mainly interested in CONFIG_CMD_BOOTZ and CONFI

Re: [U-Boot] [PATCH v2 1/2] exynos: Enable config_distro_defaults.h

2014-11-07 Thread Ian Campbell
On Fri, 2014-11-07 at 09:10 +0100, Guillaume Gardet wrote: > Le 30/10/2014 14:51, Minkyu Kang a écrit : > > please rebase this patch. > > Ian, do you plan to rebase your patch? I am also interested by this > patch (and the other one for config_distro_bootcmd.h) on > exynos/arndale. Sorry, I've be

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Tuesday, November 04, 2014 at 08:34:21 PM, Pavel Machek wrote: > > On Tue 2014-11-04 06:07:32, Marek Vasut wrote: > > > Split the Samsung specific PHY control into a separate file > > > and compile this into the S3C OTG driver only if used on a > > > Samsung system. > > > > > > Sig

[U-Boot] [PATCH 1/3] powerpc: add deep sleep support for generic board

2014-11-07 Thread Yuantian.Tang
From: Tang Yuantian Deep sleep for generic board is not supported on PowerPC. This patch make deep sleep work for both non-generic board and generic board on PowerPC platforms. For ARM-based QorIQ platforms, deep sleep has been already supported. Signed-off-by: Tang Yuantian --- README

[U-Boot] [PATCH] powerpc/t104xrdb: add deep sleep support

2014-11-07 Thread Yuantian.Tang
From: Tang Yuantian Added deep sleep support on T104xRDB platforms. Support both SD/SPI boot and NOR boot. Signed-off-by: Tang Yuantian --- board/freescale/t104xrdb/spl.c | 41 +++-- board/freescale/t104xrdb/t104xrdb.c | 60 +++-- includ

[U-Boot] [PATCH 3/3] powerpc/t102xrdb: add deep sleep support

2014-11-07 Thread Yuantian.Tang
From: Tang Yuantian Added deep sleep support on T102xRDB platforms. Signed-off-by: Tang Yuantian --- board/freescale/t102xrdb/t102xrdb.c | 66 + include/configs/T102xRDB.h | 2 +- 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/board

Re: [U-Boot] [PATCH 4/5] usb: s3c-otg: Allow custom gusbcfg

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Tuesday, November 04, 2014 at 08:36:57 PM, Pavel Machek wrote: > > On Tue 2014-11-04 06:07:33, Marek Vasut wrote: > > > Allow passing in a custom configuration of the gusbcfg register > > > via platform data. > > > > > > Signed-off-by: Marek Vasut > > > Cc: Chin Liang See > > > C

Re: [U-Boot] [PATCH v3 3/3] imx:mx6slevk add board level support for usb

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 02:08:14 AM, Peng Fan wrote: > Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode > > There are two usb port on mx6slevk board: > 1. otg port > 2. host port > The following are the connection between usb controller and board usb > interface, host

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Marek Vasut
On Thursday, November 06, 2014 at 10:29:03 PM, Lukasz Majewski wrote: > On Thu, 6 Nov 2014 21:23:46 +0100 Hi! > Marek Vasut wrote: > > On Thursday, November 06, 2014 at 10:59:17 AM, Lukasz Majewski wrote: > > > Hi Marek, > > > > > > > Split the Samsung specific PHY control into a separate file

Re: [U-Boot] [PATCH v3 1/3] usb:ehci-mx6 add board_usb_phy_mode function

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 02:08:12 AM, Peng Fan wrote: > Include a weak function board_usb_phy_mode. > > usb_phy_enable decide whether the controller in device mode or in host mode > by '*phy_ctrl & USBPHY_CTRL_OTG_ID'. > > There are two usb port on mx6sxsabresd and also mx6slevk. > 1. OTG

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 09:59:25 AM, Lukasz Majewski wrote: > Hi Marek, > > > On Tuesday, November 04, 2014 at 08:34:21 PM, Pavel Machek wrote: > > > On Tue 2014-11-04 06:07:32, Marek Vasut wrote: > > > > Split the Samsung specific PHY control into a separate file > > > > and compile this

Re: [U-Boot] [PATCH v2 1/3] usb:ehci-mx6 add board_ehci_usb_mode function

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 02:10:28 AM, Peng Fan wrote: [...] > >> In board/freescale/mx6sxsabresd/mx6sxsabresd.c: > >> 295 int board_usb_phy_mode(int port) > >> 296 { > >> 297 void __iomem *phy_reg; > >> 298 void __iomem *phy_ctrl; > >> 299 u32 val; > >> 300 > >> 301

Re: [U-Boot] [PATCH 4/5] usb: s3c-otg: Allow custom gusbcfg

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 10:11:35 AM, Lukasz Majewski wrote: > Hi Marek, > > > On Tuesday, November 04, 2014 at 08:36:57 PM, Pavel Machek wrote: > > > On Tue 2014-11-04 06:07:33, Marek Vasut wrote: > > > > Allow passing in a custom configuration of the gusbcfg register > > > > via platform

Re: [U-Boot] [PATCH] usb_storage: skip all unknown devices when probing

2014-11-07 Thread Soeren Moch
On 11/06/14 21:41, Marek Vasut wrote: On Thursday, November 06, 2014 at 01:51:51 PM, Soeren Moch wrote: Not only skip storage devices with DEV_TYPE_UNKNOWN, but also all devices which are unknown to u-boot (e.g., are not HARDDISK, TAPE, CDROM, OPDISK). This especially avoids long timeouts when

Re: [U-Boot] [PATCH] usb_storage: skip all unknown devices when probing

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 10:28:18 AM, Soeren Moch wrote: > On 11/06/14 21:41, Marek Vasut wrote: > > On Thursday, November 06, 2014 at 01:51:51 PM, Soeren Moch wrote: > >> Not only skip storage devices with DEV_TYPE_UNKNOWN, but also all > >> devices which are unknown to u-boot (e.g., are no

[U-Boot] [PATCH] ARM: UniPhier: add EHCI host pin settings for PH1-Pro4

2014-11-07 Thread Masahiro Yamada
These IO pins are necessary for port power control and over current detect. Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv7/uniphier/ph1-pro4/pinctrl.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/cpu/armv7/uniphier/ph1-pro4/pinctrl.c b/arch/arm/cpu/armv7/uniphier/

[U-Boot] [PATCH] usb: include and from include/usb.h

2014-11-07 Thread Masahiro Yamada
The header file include/usb.h references ARCH_DMA_MINALIGH and block_dev_desc_t, thus it must include and . Signed-off-by: Masahiro Yamada --- include/usb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/usb.h b/include/usb.h index 9d0d04d..d3c7415 100644 --- a/include/usb.h +++

Re: [U-Boot] [PATCH 12/39] x86: Tidy up global descriptor table setup

2014-11-07 Thread Bin Meng
On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > This code is a little muddled, so tidy it up. Make sure that we put the > GDT in the right place and set it up properly. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/start.S | 19 --- > 1 file changed, 16 insertions(+)

Re: [U-Boot] [PATCH 13/39] x86: Use the standard dram_init() function

2014-11-07 Thread Bin Meng
On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > Instead of having an x86-specific DRAM init function, adjust things so we > can use the normal one. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/coreboot/sdram.c | 11 --- > arch/x86/include/asm/u-boot-x86.h | 4 ++-- > c

[U-Boot] [PATCH 4/4] ARM: UniPhier: enable USB features

2014-11-07 Thread Masahiro Yamada
FAT-formated USB storage device access is available. Signed-off-by: Masahiro Yamada --- configs/ph1_ld4_defconfig | 3 +++ configs/ph1_pro4_defconfig| 3 +++ configs/ph1_sld8_defconfig| 3 +++ include/configs/uniphier-common.h | 7 +++ 4 files changed, 16 insertions(

[U-Boot] [PATCH 1/4] usb: add basic USB configs in Kconfig

2014-11-07 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Marek Vasut --- drivers/usb/Kconfig | 46 ++ drivers/usb/host/Kconfig | 48 2 files changed, 94 insertions(+) create mode 100644 drivers/usb/host/Kconfig diff -

[U-Boot] [PATCH 0/4] EHCI support for Panasonic UniPhier SoCs

2014-11-07 Thread Masahiro Yamada
This series includes both USB parts and Panasonic SoC-specific parts to resolve the patch dependency. Marek, please review at least 3/4 and issue your Ack if it is OK. After it is Ack'ed, I will apply this series to my repo. Masahiro Yamada (4): usb: add basic USB configs in Kconfig ARM:

[U-Boot] [PATCH 3/4] usb: UniPhier: add UniPhier on-chip EHCI host driver support

2014-11-07 Thread Masahiro Yamada
Support EHCI host driver used on Panasonic UniPhier platform. Since Device Tree is not supported on UniPhier yet, the base address of USB cores are passed from board files (platdevice.c). TODO for me: Move the base address to device trees. Signed-off-by: Masahiro Yamada Cc: Marek Vasut --- ar

Re: [U-Boot] [PATCH 14/39] x86: Use the standard arch_cpu_init() function

2014-11-07 Thread Bin Meng
On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > Instead of an x86-specific cpu_init_f() function, use the normal U-Boot one > for this purpose. Also remove a useless/misleading comment. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/coreboot/coreboot.c | 5 + > arch/x86/cpu/cpu.

[U-Boot] [PATCH 2/4] ARM: UniPhier: add MIO register file

2014-11-07 Thread Masahiro Yamada
This commit adds register defines of MIO (Media I/O) block of UniPhier platform. This file is necessary to control the reset signals of the USB cores. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/arch-uniphier/mio-regs.h | 20 1 file changed, 20 insertions(+) c

Re: [U-Boot] [PATCH 15/39] x86: Remove unnecessary find_fdt() function

2014-11-07 Thread Bin Meng
Hi Simon, On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > This is no-longer needed so drop it. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/init_helpers.h | 1 - > common/board_f.c| 5 - > 2 files changed, 6 deletions(-) > > diff --git a/arch/x86/in

Re: [U-Boot] [PATCH 16/39] x86: Fix up some missing prototypes

2014-11-07 Thread Bin Meng
On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > Some functions are missing prototypes. Fix those that are specific to x86. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/coreboot/coreboot.c | 4 +--- > arch/x86/cpu/coreboot/sdram.c | 4 ++-- > arch/x86/cpu/cpu.c|

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Friday, November 07, 2014 at 09:59:25 AM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Tuesday, November 04, 2014 at 08:34:21 PM, Pavel Machek wrote: > > > > On Tue 2014-11-04 06:07:32, Marek Vasut wrote: > > > > > Split the Samsung specific PHY control into a separate file >

Re: [U-Boot] [PATCH 17/39] x86: Add chromebook_link board

2014-11-07 Thread Bin Meng
Hi Simon, On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > This board is a 'bare' version of the existing 'link 'board. It does not > require coreboot to run, but is intended to start directly from the reset > vector. > > This initial commit has place holders for a wide range of features. The

Re: [U-Boot] [PATCH 18/39] x86: Save the BIST value on reset

2014-11-07 Thread Bin Meng
On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > The built in self test value is available in register eax on start-up. Save > it so that it can be accessed later. Unfortunately we must wait until the > global_data is available before we can do this, so there is a little bit of > shuffling to

Re: [U-Boot] [PATCH 4/5] usb: s3c-otg: Allow custom gusbcfg

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Friday, November 07, 2014 at 10:11:35 AM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Tuesday, November 04, 2014 at 08:36:57 PM, Pavel Machek wrote: > > > > On Tue 2014-11-04 06:07:33, Marek Vasut wrote: > > > > > Allow passing in a custom configuration of the gusbcfg > > > >

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 11:08:44 AM, Lukasz Majewski wrote: > Hi Marek, > > > On Friday, November 07, 2014 at 09:59:25 AM, Lukasz Majewski wrote: > > > Hi Marek, > > > > > > > On Tuesday, November 04, 2014 at 08:34:21 PM, Pavel Machek wrote: > > > > > On Tue 2014-11-04 06:07:32, Marek Vas

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Thursday, November 06, 2014 at 10:29:03 PM, Lukasz Majewski wrote: > > On Thu, 6 Nov 2014 21:23:46 +0100 > > Hi! > > > Marek Vasut wrote: > > > On Thursday, November 06, 2014 at 10:59:17 AM, Lukasz Majewski > > > wrote: > > > > Hi Marek, > > > > > > > > > Split the Samsung speci

[U-Boot] [PATCH v2] arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

2014-11-07 Thread Stefan Roese
This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for the new build target "socfpga_socrates" (the EBV SoCrates board) to make use of this new DT support. Until this patch, the only SoCFPGA U-Boot target in mainline is "socfpga_cyclo

Re: [U-Boot] [PATCH] usb: include and from include/usb.h

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 10:34:55 AM, Masahiro Yamada wrote: > The header file include/usb.h references ARCH_DMA_MINALIGH and > block_dev_desc_t, thus it must include and . Applied, thanks! Best regards, Marek Vasut ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH v3 1/3] usb:ehci-mx6 add board_usb_phy_mode function

2014-11-07 Thread Peng Fan
在 11/7/2014 4:25 PM, Marek Vasut 写道: On Friday, November 07, 2014 at 02:08:12 AM, Peng Fan wrote: Include a weak function board_usb_phy_mode. usb_phy_enable decide whether the controller in device mode or in host mode by '*phy_ctrl & USBPHY_CTRL_OTG_ID'. There are two usb port on mx6sxsabres

Re: [U-Boot] [PATCH 0/4] EHCI support for Panasonic UniPhier SoCs

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 10:48:30 AM, Masahiro Yamada wrote: > This series includes both USB parts and Panasonic SoC-specific parts > to resolve the patch dependency. > > Marek, > please review at least 3/4 and issue your Ack if it is OK. For the whole series: Acked-by: Marek Vasut Do yo

Re: [U-Boot] [PATCH v3 3/3] imx:mx6slevk add board level support for usb

2014-11-07 Thread Peng Fan
在 11/7/2014 4:26 PM, Marek Vasut 写道: On Friday, November 07, 2014 at 02:08:14 AM, Peng Fan wrote: Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode There are two usb port on mx6slevk board: 1. otg port 2. host port The following are the connection between usb controller a

Re: [U-Boot] [PATCH v3 1/3] usb:ehci-mx6 add board_usb_phy_mode function

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 12:03:30 PM, Peng Fan wrote: [...] > >> @@ -160,7 +174,7 @@ static int usb_phy_enable(int index, struct usb_ehci > >> *ehci) val |= (USBPHY_CTRL_ENUTMILEVEL2 | USBPHY_CTRL_ENUTMILEVEL3); > >> > >>__raw_writel(val, phy_ctrl); > >> > >> - return val & USBPHY_C

Re: [U-Boot] [PATCH 0/4] EHCI support for Panasonic UniPhier SoCs

2014-11-07 Thread Masahiro Yamada
Hi Marek, On Fri, 7 Nov 2014 11:45:48 +0100 Marek Vasut wrote: > On Friday, November 07, 2014 at 10:48:30 AM, Masahiro Yamada wrote: > > This series includes both USB parts and Panasonic SoC-specific parts > > to resolve the patch dependency. > > > > Marek, > > please review at least 3/4 and is

Re: [U-Boot] [PATCH v3 3/3] imx:mx6slevk add board level support for usb

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 12:08:03 PM, Peng Fan wrote: > 在 11/7/2014 4:26 PM, Marek Vasut 写道: > > On Friday, November 07, 2014 at 02:08:14 AM, Peng Fan wrote: > >> Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode > >> > >> There are two usb port on mx6slevk board: > >>

Re: [U-Boot] [PATCH 0/4] EHCI support for Panasonic UniPhier SoCs

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 12:08:45 PM, Masahiro Yamada wrote: > Hi Marek, Hi! > On Fri, 7 Nov 2014 11:45:48 +0100 > > Marek Vasut wrote: > > On Friday, November 07, 2014 at 10:48:30 AM, Masahiro Yamada wrote: > > > This series includes both USB parts and Panasonic SoC-specific parts > > >

[U-Boot] [PATCH 3/4 v4] arm: socfpga: dts: Add spi0 alias for Cadence QSPI driver

2014-11-07 Thread Stefan Roese
Without this alias, DM based probing does not work. So lets add this alias to get the bus numbering correct. Signed-off-by: Stefan Roese Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Marek Vasut Cc: Pavel Machek Cc: Simon Glass Cc: Jagannadha Sutradharudu Teki --- arch/arm/dts

[U-Boot] [PATCH 0/4 v4] arm: socfpga: Add Cadence QSPI support

2014-11-07 Thread Stefan Roese
Hi! So this is my 4th posting regarding the Candence SPI driver on SoCFPGA. Again, SPI NOR flash is working. At least on SoCrates and on another custom SoCFPGA based board. The main change in this version is, that the Cadence driver now is a driver model (DM) based driver. And this needs the DT s

[U-Boot] [PATCH 1/4 v4] spi: Add Cadence QSPI DM driver used by SoCFPGA

2014-11-07 Thread Stefan Roese
This driver is cloned from the Altera Rockerboard.org U-Boot repository. I used this git tag: ACDS14.0.1_REL_GSRD_RC2. With Some modification to support the U-Boot driver model (DM). As mentioned above, in this new version I ported this driver to the new driver model (DM). One big advantage of thi

[U-Boot] [PATCH 2/4 v4] arm: socfpga: dts: Add Cadence QSPI DT node to socfpga.dtsi

2014-11-07 Thread Stefan Roese
This DT node is taken from the Rocketboard.org Linux repsitory. And is needed to enable (configure) the Cadence DM SPI driver. Signed-off-by: Stefan Roese Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Marek Vasut Cc: Pavel Machek Cc: Simon Glass Cc: Jagannadha Sutradharudu Teki

[U-Boot] [PATCH 4/4 v4] arm: socfpga: Add Cadence QSPI support to config header

2014-11-07 Thread Stefan Roese
With this driver enabled for SoCFPGA, access to SPI NOR flash is supported. The configuration (page size, timing info) will be taken from the DT. See socrates as an example. This QSPI supports depends on DT. So QSPI is only enabled if CONFIG_OF_CONTROL is defined (see socfpga_socrates_defconfig).

Re: [U-Boot] [PATCH v3 1/3] usb:ehci-mx6 add board_usb_phy_mode function

2014-11-07 Thread Peng Fan
在 11/7/2014 7:09 PM, Marek Vasut 写道: On Friday, November 07, 2014 at 12:03:30 PM, Peng Fan wrote: [...] @@ -160,7 +174,7 @@ static int usb_phy_enable(int index, struct usb_ehci *ehci) val |= (USBPHY_CTRL_ENUTMILEVEL2 | USBPHY_CTRL_ENUTMILEVEL3); __raw_writel(val, phy_ctrl); -

Re: [U-Boot] [PATCH v3 3/3] imx:mx6slevk add board level support for usb

2014-11-07 Thread Peng Fan
在 11/7/2014 7:10 PM, Marek Vasut 写道: On Friday, November 07, 2014 at 12:08:03 PM, Peng Fan wrote: 在 11/7/2014 4:26 PM, Marek Vasut 写道: On Friday, November 07, 2014 at 02:08:14 AM, Peng Fan wrote: Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode There are two usb port o

[U-Boot] [PATCH 2/2] ARM: UniPhier: add UART initialization routine for low-level debug

2014-11-07 Thread Masahiro Yamada
The low-level debugging functions are very useful to debug the early boot stage where the full UART driver is not available. UniPhier SoCs need to initialize the UART port 0 to use this feature. The initialization routine is called the very entry of the lowlevel_init(). Signed-off-by: Masahiro Ya

[U-Boot] [PATCH 1/2] ARM: UniPhier: add set_pinsel macro for use in assembly code

2014-11-07 Thread Masahiro Yamada
The function sg_set_pinsel is useful for switching I/O pins but it can be only used in C code. This commit adds a simple macro that is available in asm code. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/arch-uniphier/sg-regs.h | 13 - 1 file changed, 12 insertions(+), 1

[U-Boot] [PATCH 0/2] Utilize low-level debug for UniPhier platform

2014-11-07 Thread Masahiro Yamada
Masahiro Yamada (2): ARM: UniPhier: add set_pinsel macro for use in assembly code ARM: UniPhier: add UART initialization routine for low-level debug arch/arm/cpu/armv7/uniphier/lowlevel_init.S| 4 +++ arch/arm/cpu/armv7/uniphier/ph1-ld4/Makefile | 1 + .../cpu/armv7/uniphie

[U-Boot] [PATCH] powerpc: remove orphaned boards mcc200 and prs200

2014-11-07 Thread Nikita Kiryanov
mcc200 and prs200 are old and have no maintainer. Remove the boards. This also removes the mcc200 specific 1bpp BMP support from common/lcd.c Cc: Wolfgang Denk Cc: Anatolij Gustschin Cc: Masahiro Yamada Signed-off-by: Nikita Kiryanov --- arch/powerpc/cpu/mpc5xxx/Kconfig | 4 -

[U-Boot] [PATCH 0/6] arm: socfpga: Add Designware SPI support

2014-11-07 Thread Stefan Roese
Hi! This patchset adds the driver for the Designware master SPI controller. This IP core is integrated on the Altera SoCFPGA. This implementation is a driver model (DM) implementation. So multiple SPI drivers can be used. Thats necessary, since SoCFPGA also integrates the Cadence QSPI controller u

[U-Boot] [PATCH 6/6] arm: socfpga: Add Designware (DW) SPI support to config header

2014-11-07 Thread Stefan Roese
Enable support for the DW master SPI controller in the config header for the SoCFPGA. This controller can only be enabled, if DT support is enabled. Signed-off-by: Stefan Roese Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Marek Vasut Cc: Pavel Machek --- include/configs/socfpga

[U-Boot] [PATCH 5/6] arm: socfpga: dts: socrates: Add spi1/2 aliases needed DM SPI probing

2014-11-07 Thread Stefan Roese
Without this alias, DM based probing does not work. So lets add this alias to get the bus numbering correct for the Designware SPI controllers. Signed-off-by: Stefan Roese Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Marek Vasut Cc: Pavel Machek --- arch/arm/dts/socfpga_cyclone

[U-Boot] [PATCH 3/6] spi: Add designware master SPI DM driver used on SoCFPGA

2014-11-07 Thread Stefan Roese
This patch adds the driver for the Designware master SPI controller. This IP core is integrated on the Altera SoCFPGA. This implementation is a driver model (DM) implementation. So multiple SPI drivers can be used. Thats necessary, since SoCFPGA also integrates the Cadence QSPI controller used to c

[U-Boot] [PATCH 1/6] arm: socfpga: Add DW master SPI clock to clock_manager.c

2014-11-07 Thread Stefan Roese
This function will be needed by the upcoming Designware master SPI driver. Signed-off-by: Stefan Roese Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Marek Vasut Cc: Pavel Machek --- arch/arm/cpu/armv7/socfpga/clock_manager.c | 14 ++ 1 file changed, 14 insertions(+)

[U-Boot] [PATCH 2/6] arm: socfpga: Add socfpga_spim_enable() to reset_manager.c

2014-11-07 Thread Stefan Roese
This function will be needed by the upcoming Designware master SPI driver. As the SPI master controller is held in reset by the current Preloader implementation. So we need to release the reset for the driver to communicate with the controller. This function is called from arch_early_init_r() if t

[U-Boot] [PATCH 4/6] arm: socfpga: dts: Add spi0/1 dts nodes for the Designware master SPI devices

2014-11-07 Thread Stefan Roese
Signed-off-by: Stefan Roese Cc: Chin Liang See Cc: Dinh Nguyen Cc: Vince Bridgers Cc: Marek Vasut Cc: Pavel Machek --- arch/arm/dts/socfpga.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi index 4a789

Re: [U-Boot] [PATCH v1 6/6] mpc83xx: Add gdsys hrcon board

2014-11-07 Thread Dirk Eibach
Hi Kim, 2014-11-07 1:18 GMT+01:00 Kim Phillips : > ... > sorry for the delay, I bricked a board when going through my queue > lately, and haven't been able to fully recover since. no problem, Thanks for the review, I'm very happy we have some progress now. >> arch/powerpc/cpu/mpc83xx/Kconfig |

Re: [U-Boot] [PATCH v1 0/6] Update gdsys board support

2014-11-07 Thread Dirk Eibach
Hi Kim, 2014-11-05 11:43 GMT+01:00 Stefan Roese : > Hi Dirk, > > On 05.11.2014 10:45, Dirk Eibach wrote: >> >> will you look after this series? I ask because there is also some >> mpc83xx stuff involved. > > > Yes, I just looked again. Not sure how we should handle this patch series. I > can ack t

[U-Boot] loadb problem. Hangs on START_CHAR

2014-11-07 Thread bomellberg
Hi. I'm working on getting u-boot running on a custom board. I am using code from Emcraft as a starting point. The cpu is NXP LPC4337. The board has external SDRAM and SPIFI flash, but no wired network. I can boot u-boot fine, and I can perform some memory operations with md and mw. I can load t

[U-Boot] [PATCH v2] test: ums: Add sleep before unmount directory

2014-11-07 Thread Lukasz Majewski
This change helps to run script on machines with quite long uptime. Without this the following error emerges: File: ./dat_14M.img umount: /mnt/tmp-ums-test: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) TX: md5sum:0

Re: [U-Boot] [PATCH] ext4: goni: Modify dfu_alt_info's file names to have absolute path

2014-11-07 Thread Robert Baldyga
On 11/04/2014 05:21 PM, Lukasz Majewski wrote: > After the clean up performed in the commit 1151b7ac10b81ecbb the DFU > subsystem requires absolute patch for correct operation. s/patch/path > > Signed-off-by: Lukasz Majewski Acked-by: Robert Baldyga > --- > include/configs/s5p_goni.h | 4 ++

[U-Boot] [PATCH v3] arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

2014-11-07 Thread Stefan Roese
This patch includes the latest DT sources for socfpga from the current Linux kernel. And enables CONFIG_OF_CONTROL for the new build target "socfpga_socrates" (the EBV SoCrates board) to make use of this new DT support. Until this patch, the only SoCFPGA U-Boot target in mainline is "socfpga_cyclo

Re: [U-Boot] [PATCH 20/39] x86: Emit post codes in startup code

2014-11-07 Thread Bin Meng
Hi Simon, On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > On x86 it is common to use 'post codes' which are 8-bit hex values emitted > from the code and visible to the user. Traditionally two 7-segment displays > were made available on the motherboard to show the last post code that was > em

Re: [U-Boot] [PATCH 21/39] x86: chromebook_link: Implement CAR support (cache as RAM)

2014-11-07 Thread Bin Meng
Hi Simon, On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > Add support for CAR so that we have memory to use prior to DRAM init. > On link there is a total of 128KB of CAR available, although some is > used for the memory reference code. > > Signed-off-by: Simon Glass > --- > > arch/x86/Kco

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Friday, November 07, 2014 at 11:08:44 AM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Friday, November 07, 2014 at 09:59:25 AM, Lukasz Majewski > > > wrote: > > > > Hi Marek, > > > > > > > > > On Tuesday, November 04, 2014 at 08:34:21 PM, Pavel Machek > > > > > wrote: > > >

Re: [U-Boot] [PATCH 4/5] usb: s3c-otg: Allow custom gusbcfg

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Friday, November 07, 2014 at 10:11:35 AM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Tuesday, November 04, 2014 at 08:36:57 PM, Pavel Machek wrote: > > > > On Tue 2014-11-04 06:07:33, Marek Vasut wrote: > > > > > Allow passing in a custom configuration of the gusbcfg > > > >

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-07 Thread Lukasz Majewski
Hi Marek, > Add example of an USB UDC configuration with DFU and UMS. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Pavel Machek > Cc: Stefan Roese > Cc: Lukasz Majewski > --- > board/altera/socfpga/socfpga_cyclone5.c | 21 +++

Re: [U-Boot] [PATCH 20/39] x86: Emit post codes in startup code

2014-11-07 Thread Simon Glass
Hi Bin, On 7 November 2014 06:37, Bin Meng wrote: > Hi Simon, > > On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: >> On x86 it is common to use 'post codes' which are 8-bit hex values emitted >> from the code and visible to the user. Traditionally two 7-segment displays >> were made available

Re: [U-Boot] [PATCH 21/39] x86: chromebook_link: Implement CAR support (cache as RAM)

2014-11-07 Thread Simon Glass
Hi Bin, On 7 November 2014 07:07, Bin Meng wrote: > Hi Simon, > > On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: >> Add support for CAR so that we have memory to use prior to DRAM init. >> On link there is a total of 128KB of CAR available, although some is >> used for the memory reference c

Re: [U-Boot] [PATCH 06/39] x86: config: Move common x86 configs to a common file

2014-11-07 Thread Bin Meng
Hi Simon, On Fri, Nov 7, 2014 at 4:19 AM, Simon Glass wrote: > Many of the x86 CONFIG options will be common across different boards. Move > them to a common file. > > Signed-off-by: Simon Glass > --- > > include/configs/coreboot.h | 289 > ++- > inclu

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 03:40:00 PM, Lukasz Majewski wrote: > Hi Marek, [...] > > + * USB Gadget (DFU, UMS) > > + */ > > +#if defined(CONFIG_CMD_DFU) || defined(CONFIG_CMD_USB_MASS_STORAGE) > > +#define CONFIG_USB_GADGET > > +#define CONFIG_USB_GADGET_S3C_UDC_OTG > > +#define CONFIG_USB_GAD

Re: [U-Boot] [PATCH 3/4 v4] arm: socfpga: dts: Add spi0 alias for Cadence QSPI driver

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 12:37:51 PM, Stefan Roese wrote: > Without this alias, DM based probing does not work. So lets add this > alias to get the bus numbering correct. > > Signed-off-by: Stefan Roese > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Marek Vasut > Cc:

Re: [U-Boot] [PATCH 3/6] spi: Add designware master SPI DM driver used on SoCFPGA

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 01:50:31 PM, Stefan Roese wrote: > This patch adds the driver for the Designware master SPI controller. This > IP core is integrated on the Altera SoCFPGA. This implementation is a > driver model (DM) implementation. So multiple SPI drivers can be used. > Thats neces

Re: [U-Boot] [PATCH v3 1/3] usb:ehci-mx6 add board_usb_phy_mode function

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 12:45:51 PM, Peng Fan wrote: > 在 11/7/2014 7:09 PM, Marek Vasut 写道: > > On Friday, November 07, 2014 at 12:03:30 PM, Peng Fan wrote: > > > > [...] > > > @@ -160,7 +174,7 @@ static int usb_phy_enable(int index, struct > usb_ehci *ehci) val |= (USBPHY_CTRL_

Re: [U-Boot] [PATCH 1/6] arm: socfpga: Add DW master SPI clock to clock_manager.c

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 01:50:29 PM, Stefan Roese wrote: > This function will be needed by the upcoming Designware master SPI > driver. > > Signed-off-by: Stefan Roese > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Marek Vasut > Cc: Pavel Machek Awww, was this mis

Re: [U-Boot] [PATCH v3] arm: socfpga: Add DT support for SoCFPGA and add socfpga_socrates target

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 02:10:41 PM, Stefan Roese wrote: > This patch includes the latest DT sources for socfpga from the current > Linux kernel. And enables CONFIG_OF_CONTROL for the new build target > "socfpga_socrates" (the EBV SoCrates board) to make use of this new DT > support. > > U

Re: [U-Boot] [PATCH 1/4 v4] spi: Add Cadence QSPI DM driver used by SoCFPGA

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 12:37:49 PM, Stefan Roese wrote: Hi! > This driver is cloned from the Altera Rockerboard.org U-Boot > repository. I used this git tag: ACDS14.0.1_REL_GSRD_RC2. With Some > modification to support the U-Boot driver model (DM). > > As mentioned above, in this new ve

Re: [U-Boot] [PATCH 1/4 v4] spi: Add Cadence QSPI DM driver used by SoCFPGA

2014-11-07 Thread Stefan Roese
Hi Dinh, Hi Vince! a quick question for you: On 07.11.2014 16:04, Marek Vasut wrote: >> diff --git a/drivers/spi/cadence_qspi_apb.c >> b/drivers/spi/cadence_qspi_apb.c new file mode 100644 >> index 000..00a115f >> --- /dev/null >> +++ b/drivers/spi/cadence_qspi_apb.c >> @@ -0,0 +1,898 @@ >

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Friday, November 07, 2014 at 03:40:00 PM, Lukasz Majewski wrote: > > Hi Marek, > [...] > > > + * USB Gadget (DFU, UMS) > > > + */ > > > +#if defined(CONFIG_CMD_DFU) || > > > defined(CONFIG_CMD_USB_MASS_STORAGE) +#define CONFIG_USB_GADGET > > > +#define CONFIG_USB_GADGET_S3C_UDC_OTG

Re: [U-Boot] [PATCH v2] test: ums: Add sleep before unmount directory

2014-11-07 Thread Stephen Warren
On 11/07/2014 06:05 AM, Lukasz Majewski wrote: This change helps to run script on machines with quite long uptime. Without this the following error emerges: File: ./dat_14M.img umount: /mnt/tmp-ums-test: device is busy. (In some cases useful info about processes that use the d

[U-Boot] [PATCH V4 2/3] usb: eth: add ASIX AX88179 DRIVER

2014-11-07 Thread Rene Griessl
This patch adds driver support for the ASIX AX88179 USB3.0 to GbE network adapter. Driver has been tested on the RECS5250 COM module (similar to ARDALE5250). Testcase was DHCP and PXE boot. Signed-off-by: Rene Griessl --- changes for v4: -added dynamic RX bulk configuration changes for v

[U-Boot] [PATCH V4 3/3] usb: eth: enable AX88179 DRIVER for ARNDALE 5250

2014-11-07 Thread Rene Griessl
Patch enables AX88179 driver for ARNDALE 5250 Signed-off-by: Rene Griessl --- include/configs/arndale.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index f9ee40f..3c2d010 100644 --- a/include/configs/arndale.h +++ b/include/configs/ar

[U-Boot] [PATCH V4 1/3] usb: eth: fix Makefile

2014-11-07 Thread Rene Griessl
fix obj-y term Signed-off-by: Rene Griessl --- drivers/usb/eth/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/eth/Makefile b/drivers/usb/eth/Makefile index 94551c4..e6ae9f1 100644 --- a/drivers/usb/eth/Makefile +++ b/drivers/usb/eth/Makefile @@ -5,8 +

Re: [U-Boot] [PATCH 4/5] usb: s3c-otg: Allow custom gusbcfg

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 03:33:10 PM, Lukasz Majewski wrote: > Hi Marek, > > > On Friday, November 07, 2014 at 10:11:35 AM, Lukasz Majewski wrote: > > > Hi Marek, > > > > > > > On Tuesday, November 04, 2014 at 08:36:57 PM, Pavel Machek wrote: > > > > > On Tue 2014-11-04 06:07:33, Marek Vas

Re: [U-Boot] [PATCH v2] test: ums: Add sleep before unmount directory

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 02:05:55 PM, Lukasz Majewski wrote: > This change helps to run script on machines with quite long uptime. > Without this the following error emerges: > > File: ./dat_14M.img > umount: /mnt/tmp-ums-test: device is busy. > (In some cases useful info about proc

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 03:23:42 PM, Lukasz Majewski wrote: > Hi Marek, > > > On Friday, November 07, 2014 at 11:08:44 AM, Lukasz Majewski wrote: > > > Hi Marek, > > > > > > > On Friday, November 07, 2014 at 09:59:25 AM, Lukasz Majewski > > > > > > > > wrote: > > > > > Hi Marek, > > > >

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 04:28:10 PM, Lukasz Majewski wrote: > Hi Marek, > > > On Friday, November 07, 2014 at 03:40:00 PM, Lukasz Majewski wrote: > > > Hi Marek, > > > > [...] > > > > > > + * USB Gadget (DFU, UMS) > > > > + */ > > > > +#if defined(CONFIG_CMD_DFU) || > > > > defined(CONFI

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-07 Thread Marek Vasut
On Friday, November 07, 2014 at 03:40:00 PM, Lukasz Majewski wrote: > Hi Marek, > > > Add example of an USB UDC configuration with DFU and UMS. > > > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Dinh Nguyen > > Cc: Vince Bridgers > > Cc: Pavel Machek > > Cc: Stefan Roese > >

Re: [U-Boot] [PATCH 17/39] x86: Add chromebook_link board

2014-11-07 Thread Simon Glass
Hi Bin, On 7 November 2014 03:18, Bin Meng wrote: > > Hi Simon, > > On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass wrote: > > This board is a 'bare' version of the existing 'link 'board. It does not > > require coreboot to run, but is intended to start directly from the reset > > vector. > > > > Th

Re: [U-Boot] [PATCH v1 0/6] Update gdsys board support

2014-11-07 Thread Kim Phillips
On Fri, 7 Nov 2014 13:58:37 +0100 Dirk Eibach wrote: > Hi Kim, > > 2014-11-05 11:43 GMT+01:00 Stefan Roese : > > Hi Dirk, > > > > On 05.11.2014 10:45, Dirk Eibach wrote: > >> > >> will you look after this series? I ask because there is also some > >> mpc83xx stuff involved. > > > > > > Yes, I ju

Re: [U-Boot] uboot uImage binary does not boot in Qemu

2014-11-07 Thread Andreas Färber
Hi, Am 06.11.2014 um 07:37 schrieb pegasus711: > I cross compiled u-boot's latest version 2014-10 using buildroot's built-in > cross compiler and generated uboot.bin. > > When I try to invoke it like so: > > > it throws an error complaining wrong image format: > > > I've checked qemu's sour

Re: [U-Boot] verified boot of beaglebone black

2014-11-07 Thread Simon Glass
Hi, On 4 November 2014 00:39, Srinivasan S wrote: > Thanks a lot for your replies > The issue was where at symbol was supposed to be changed to @ > > + kernel at 1 { > + data = /incbin/("Image.lzo"); > + type = "kernel"; > +

Re: [U-Boot] [PATCH v2] test: ums: Add sleep before unmount directory

2014-11-07 Thread Lukasz Majewski
Hi Marek, > On Friday, November 07, 2014 at 02:05:55 PM, Lukasz Majewski wrote: > > This change helps to run script on machines with quite long uptime. > > Without this the following error emerges: > > > > File: ./dat_14M.img > > umount: /mnt/tmp-ums-test: device is busy. > > (In some cas

Re: [U-Boot] [PATCH 06/39] x86: config: Move common x86 configs to a common file

2014-11-07 Thread Simon Glass
Hi Bin, On 7 November 2014 08:05, Bin Meng wrote: > Hi Simon, > > On Fri, Nov 7, 2014 at 4:19 AM, Simon Glass wrote: >> Many of the x86 CONFIG options will be common across different boards. Move >> them to a common file. >> >> Signed-off-by: Simon Glass >> --- >> >> include/configs/coreboot.h

  1   2   >