Re: [U-Boot] [PATCH] FIX: fat: Provide correct return code from disk_{read|write} to upper layers

2015-09-09 Thread Lukasz Majewski
Hi, > It is very common that FAT code is using following pattern: > if (disk_{read|write}() < 0) > return -1; > > Up till now the above code was dead, since disk_{read|write) could > only return value >= 0. > As a result some errors from medium layer (i.e. eMMC/SD) were not > caught. >

Re: [U-Boot] [PATCH 3/4] mx6ul_14x14_evk: Remove CONFIG_SPL_FAT_SUPPORT

2015-09-09 Thread Stefano Babic
Hi Peng, Fabio, On 09/09/2015 05:29, Peng Fan wrote: > Hi Fabio, > > On Tue, Sep 08, 2015 at 02:43:11PM -0300, Fabio Estevam wrote: >> If the SD card does not contain the u-boot.img then we get the >> following error: >> >> U-Boot SPL 2015.10-rc2-23947-g7ad5930 (Sep 08 2015 - 14:10:29)

[U-Boot] [PATCH 1/2] nios2: call board_init_f_mem

2015-09-09 Thread Thomas Chou
We will need CONFIG_SYS_MALLOC_F_LEN to use serial uclass. So we shall undefine CONFIG_SYS_GENERIC_GLOBAL_DATA, and call board_init_f_mem() to allocates early malloc() memory with size of CONFIG_SYS_MALLOC_F_LEN in board_f.c. Signed-off-by: Thomas Chou ---

Re: [U-Boot] [PATCH v2 3/3] omap3: cm-t3517: change environment size

2015-09-09 Thread Igor Grinberg
On 09/09/15 11:25, Dmitry Lifshitz wrote: > Mainline CM-T3517 U-Boot environment size differs from that one > shipped with CM-T3517 boards. > > Update environment size, to avoid backward compatibility issues. > > Signed-off-by: Dmitry Lifshitz Acked-by: Igor Grinberg

[U-Boot] [PATCH] common/board_f.c: modify the macro to use get_clocks() more common

2015-09-09 Thread Gong Qianyu
get_clocks() should not be limited by ESDHC. Signed-off-by: Gong Qianyu --- common/board_f.c | 2 +- include/configs/BSC9132QDS.h | 1 + include/configs/MPC8308RDB.h | 1 + include/configs/MPC837XEMDS.h | 1 +

Re: [U-Boot] [ANN] U-Boot v2015.10-rc3 released

2015-09-09 Thread Guillaume Gardet
Hi, Le 08/09/2015 02:19, Tom Rini a écrit : Hey all, I've pushed v2015.10-rc3 out to the repository and tarballs should exist soon. Would it be possible to push -rc3 tarball on FTP, please? -rc2 is missing too. Guillaume I think this looks reasonable overall and we're on pace for

Re: [U-Boot] Zynq build failure

2015-09-09 Thread Jagan Teki
On 9 September 2015 at 11:02, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > > >> -Original Message- >> From: Jagan Teki [mailto:jt...@openedev.com] >> Sent: Tuesday, September 08, 2015 11:22 PM >> To: Michal Simek >> Cc: Siva Durga Prasad Paladugu;

[U-Boot] [PATCH] arm/ls102xa: Add STANDBY implement based on PSCI

2015-09-09 Thread Dongsheng Wang
From: Wang Dongsheng Base on PSCI services, implement CPU_SUSPEND for ls102xa platform. Signed-off-by: Wang Dongsheng diff --git a/arch/arm/cpu/armv7/ls102xa/psci.S b/arch/arm/cpu/armv7/ls102xa/psci.S index cf5cd48..1bc7e45 100644

Re: [U-Boot] Zynq build failure

2015-09-09 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Tuesday, September 08, 2015 11:22 PM > To: Michal Simek > Cc: Siva Durga Prasad Paladugu; u-boot@lists.denx.de > Subject: Re: [U-Boot] Zynq build failure > > On 8 September 2015 at 20:06, Michal Simek

[U-Boot] [PATCH] arm/asm: Data types defined for 64 bit Physical Address

2015-09-09 Thread Gong Qianyu
From: Aneesh Bansal Data types and I/O functions have been defined for 64 bit addresses in ARM. Signed-off-by: Aneesh Bansal Signed-off-by: Gong Qianyu --- arch/arm/include/asm/io.h| 4 +++-

Re: [U-Boot] Zynq build failure

2015-09-09 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: Wednesday, September 09, 2015 12:57 PM > To: Siva Durga Prasad Paladugu > Cc: Michal Simek; u-boot@lists.denx.de > Subject: Re: [U-Boot] Zynq build failure > > On 9 September 2015 at 11:02, Siva Durga

[U-Boot] [PATCH] ARMv7/ls1021a: move ns_access to common file

2015-09-09 Thread Gong Qianyu
From: Mingkai Hu Config Security Level Register is different between different SoCs, so put the CSL register definition into the arch speicific directory. Signed-off-by: Mingkai Hu Signed-off-by: Gong Qianyu ---

Re: [U-Boot] [PATCH 1/2] mx6: remove SYS_SOC from board Kconfig

2015-09-09 Thread Igor Grinberg
On 09/07/15 09:59, Peng Fan wrote: > Remove duplicated SYS_SOC Kconfig entry from board Kconfig, > because we have this entry in arch/arm/cpu/armv7/mx6/Kconfig. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Heiko Schocher > Cc:

Re: [U-Boot] [PATCH 07/10] ARM: tegra: fix malloc region sizing

2015-09-09 Thread Lukasz Majewski
Hi Stephen, > On 09/08/2015 02:45 PM, Stephen Warren wrote: > > On 09/08/2015 09:53 AM, Tom Warren wrote: > >> Stephen, > >> > >> Stephen Warren wrote at Friday, September 04, 2015 9:04 PM: > >>> From: Stephen Warren > >>> > >>> Commit 52a7c98a1772 "tegra-common: increase

[U-Boot] [PATCH 2/2] nios2: enable malloc() pool before relocation

2015-09-09 Thread Thomas Chou
Enable malloc() pool before relocation, because this is needed to use serial uclass. Signed-off-by: Thomas Chou --- configs/nios2-generic_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig index

[U-Boot] [PATCH v2 3/3] omap3: cm-t3517: change environment size

2015-09-09 Thread Dmitry Lifshitz
Mainline CM-T3517 U-Boot environment size differs from that one shipped with CM-T3517 boards. Update environment size, to avoid backward compatibility issues. Signed-off-by: Dmitry Lifshitz --- Changes in v2: * Removed unjustified CONFIG_SYS_MALLOC_LEN change.

[U-Boot] [PATCH] omap3: cm-t3517: define CONFIG_MACH_TYPE

2015-09-09 Thread Dmitry Lifshitz
Define CONFIG_MACH_TYPE to allow non DT Linux boot. Signed-off-by: Dmitry Lifshitz --- include/configs/cm_t3517.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index fbc10dd..27c023c

Re: [U-Boot] [PATCH] net: eth: Do sanity test on eth dev before eth_get_ops(dev)->start

2015-09-09 Thread Bin Meng
Hi Joe, On Wed, Sep 9, 2015 at 11:19 AM, Bin Meng wrote: > Hi Joe, > > On Wed, Sep 9, 2015 at 1:23 AM, Joe Hershberger > wrote: >> Hi Bin, >> >> On Tue, Sep 8, 2015 at 11:24 AM, Bin Meng wrote: >>> Hi Joe, >>> >>> On Wed, Sep

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

2015-09-09 Thread Lukasz Majewski
Hi, > The commit: d9dbb97be0e4a550457aec5f11afefb446169c90 > "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for > end of dw mmc transfer. > > For some workloads - dfu test @ Odroid XU3 (sending 8MiB file) - > and SD cards (e.g. MicroSD Kingston 4GiB, Adata 4GiB) > the default

Re: [U-Boot] [PATCH] driver: misc: correct Kconfig entry

2015-09-09 Thread Peng Fan
Hi Simon, On Tue, Sep 08, 2015 at 08:19:36AM -0600, Simon Glass wrote: >Hi Peng, > >On 7 September 2015 at 17:56, Peng Fan wrote: >> Hi, >> >> On Wed, Aug 26, 2015 at 06:19:38AM -0700, Simon Glass wrote: >>>On 26 August 2015 at 00:41, Peng Fan wrote:

Re: [U-Boot] [PATCH 2/4] spi: cadence_qspi: Fix fdt read of spi-max-frequency

2015-09-09 Thread Pavel Machek
On Mon 2015-09-07 20:18:24, Chin Liang See wrote: > Fix the fdt read for spi-max-frequency as it's contained > in the child node. Current state of code is always > returning default value. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen >

Re: [U-Boot] [PATCH] omap3: cm-t3517: define CONFIG_MACH_TYPE

2015-09-09 Thread Igor Grinberg
On 09/09/15 11:27, Dmitry Lifshitz wrote: > Define CONFIG_MACH_TYPE to allow non DT Linux boot. > > Signed-off-by: Dmitry Lifshitz Acked-by: Igor Grinberg > --- > include/configs/cm_t3517.h |2 ++ > 1 files changed, 2 insertions(+), 0

[U-Boot] [PATCH 1/2] sun4i: Add defconfig and dts for inet9f-rev03 based tablets

2015-09-09 Thread Hans de Goede
The inet9f-rev03 pcb is specially designed for gaming tablets, such as the qware tb-g100 tablet. These 7" tablets feature a dpad, firebuttons and 2 joysticks on the sides of the screen. Besides this they have the usual connectors: power-barrel, mini usb, mini hdmi, headphone and micro-sd slot.

[U-Boot] [PATCH 2/2] sun4i: Add dts and defconfig for iNet-1 based tablets

2015-09-09 Thread Hans de Goede
The iNet-tek iNet-1 PCB is a PCB found in various generic 10.1" 1024x600 A10 based tablets such as the Point of View Protab2 XXL and the Cherry M1007. This patch has been tested on both rev2 and rev5 of this board / these tablets. These tablets feature the usual connectors: headphone, mini hdmi,

Re: [U-Boot] [PATCH 4/7] dm: pmic: add s2mps11 PMIC I/O driver

2015-09-09 Thread Przemyslaw Marczak
Hello Minkyu, On 09/07/2015 02:11 AM, Minkyu Kang wrote: Dear Przemyslaw Marczak, Just some minor comment, On 28/08/15 22:59, Przemyslaw Marczak wrote: This driver allows I/O operations on the Samsung S2MPS11 PMIC, which provides lots of LDO/BUCK outputs. To enable it, update defconfig

[U-Boot] [UBOOT PATCH 1/1] gpio: lpc32xx: fix issues with port3 gpio

2015-09-09 Thread slemieux . tyco
From: Sylvain Lemieux The current simplify lpc32xx gpio driver implementation assume a maximum of 32 GPIO per port; there are a total of 22 GPI, 24 GPO and 6 GPIO to managed on port 3. Update the driver to fix the following: 1) When requesting GPI_xx and GPO_xx on port 3

Re: [U-Boot] [PATCH 3/4] mx6ul_14x14_evk: Remove CONFIG_SPL_FAT_SUPPORT

2015-09-09 Thread Fabio Estevam
Hi Peng and Stefano, On Wed, Sep 9, 2015 at 4:37 AM, Stefano Babic wrote: >>> #define CONFIG_SPL_LIBCOMMON_SUPPORT >>> #define CONFIG_SPL_MMC_SUPPORT >>> -#define CONFIG_SPL_FAT_SUPPORT >> >> Can we keep this? Without this, we need to burn u-boot.img into sdcard, but >> i prefer

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

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 09:01:30 AM, Lukasz Majewski wrote: > Hi, > > > The commit: d9dbb97be0e4a550457aec5f11afefb446169c90 > > "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for > > end of dw mmc transfer. > > > > For some workloads - dfu test @ Odroid XU3 (sending

Re: [U-Boot] [PATCH] nios2: zap dly_clks

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 07:09:51 AM, Thomas Chou wrote: > The dly_clks() in start.S is no use after switching to > generic timer. Remove it. > > Signed-off-by: Thomas Chou Cool :) Acked-by: Marek Vasut Best regards, Marek Vasut

Re: [U-Boot] [PATCH] nios2: zap version_string

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 07:42:44 AM, Thomas Chou wrote: > There is a weak version_string[] at common/cmd_version.c . > Remove the one in start.S. > > Signed-off-by: Thomas Chou Acked-by: Marek Vasut Best regards, Marek Vasut

Re: [U-Boot] [PATCH 2/2] nios2: enable malloc() pool before relocation

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 10:03:25 AM, Thomas Chou wrote: > Enable malloc() pool before relocation, because this is needed > to use serial uclass. > > Signed-off-by: Thomas Chou Reviewed-by: Marek Vasut Best regards, Marek Vasut

Re: [U-Boot] [PATCH 01/28] dm: input: Create a keyboard uclass

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 06:32:24 AM, Simon Glass wrote: > Add a uclass for keyboard input, mirroring the existing stdio methods. > This is enabled by a new CONFIG_DM_KEYBOARD option. > > Signed-off-by: Simon Glass > --- [...] > +static int

Re: [U-Boot] [PATCH 1/2] nios2: call board_init_f_mem

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 10:03:24 AM, Thomas Chou wrote: > We will need CONFIG_SYS_MALLOC_F_LEN to use serial uclass. > So we shall undefine CONFIG_SYS_GENERIC_GLOBAL_DATA, and > call board_init_f_mem() to allocates early malloc() memory > with size of CONFIG_SYS_MALLOC_F_LEN in

Re: [U-Boot] Zynq build failure

2015-09-09 Thread Jagan Teki
On 9 September 2015 at 14:25, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jt...@openedev.com] >> Sent: Wednesday, September 09, 2015 12:57 PM >> To: Siva Durga Prasad Paladugu >> Cc: Michal Simek;

Re: [U-Boot] PCI configuration Issue for QEMU ACPI Support

2015-09-09 Thread Bin Meng
Hi Saket, On Wed, Sep 9, 2015 at 12:44 PM, Saket Sinha wrote: > Hi, > > This is regarding the PCI configuration Issue for QEMU ACPI Support. > > I am comparing arch/x86/cpu/qemu/acpi/pci-crs.asl and > arch/x86/dts/qemu-x86_q35.dts and we find there are different ranges

[U-Boot] [PATCH 6/7] mx6ul_14x14_evk: Remove CONFIG_FEC_DMA_MINALIGN

2015-09-09 Thread Fabio Estevam
From: Fabio Estevam CONFIG_FEC_DMA_MINALIGN is not used anywhere, so let's remove it. Signed-off-by: Fabio Estevam --- include/configs/mx6ul_14x14_evk.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 3/4] mx6ul_14x14_evk: Remove CONFIG_SPL_FAT_SUPPORT

2015-09-09 Thread Otavio Salvador
On Wed, Sep 9, 2015 at 9:26 AM, Fabio Estevam wrote: > On Wed, Sep 9, 2015 at 4:37 AM, Stefano Babic wrote: #define CONFIG_SPL_LIBCOMMON_SUPPORT #define CONFIG_SPL_MMC_SUPPORT -#define CONFIG_SPL_FAT_SUPPORT >>> >>> Can we keep this? Without

[U-Boot] [PATCH 7/7] mx6ul_14x14_evk: Use the default CONFIG_SYS_PBSIZE

2015-09-09 Thread Fabio Estevam
From: Fabio Estevam Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message:

[U-Boot] [PATCH 5/7] mx6ul_14x14_evk: Do not undef config options

2015-09-09 Thread Fabio Estevam
From: Fabio Estevam There is no need to undef the config options. Signed-off-by: Fabio Estevam --- include/configs/mx6ul_14x14_evk.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/configs/mx6ul_14x14_evk.h

Re: [U-Boot] [PATCH 3/4] mx6ul_14x14_evk: Remove CONFIG_SPL_FAT_SUPPORT

2015-09-09 Thread Stefano Babic
Hi Fabio, On 09/09/2015 14:26, Fabio Estevam wrote: > Hi Peng and Stefano, > > On Wed, Sep 9, 2015 at 4:37 AM, Stefano Babic wrote: > #define CONFIG_SPL_LIBCOMMON_SUPPORT #define CONFIG_SPL_MMC_SUPPORT -#define CONFIG_SPL_FAT_SUPPORT >>> >>> Can we keep this?

[U-Boot] [PATCH 1/7] mx6ul_14x14_evk: Remove CONFIG_CMD_FUSE option

2015-09-09 Thread Fabio Estevam
From: Fabio Estevam CONFIG_CMD_FUSE and CONFIG_MXC_OCOTP are selected by mx6_common.h, so there is no need to define them locally. Signed-off-by: Fabio Estevam --- include/configs/mx6ul_14x14_evk.h | 5 - 1 file changed, 5

[U-Boot] [PATCH 2/7] cgtqmx6eval: Remove CONFIG_CMD_FUSE option

2015-09-09 Thread Fabio Estevam
From: Fabio Estevam CONFIG_CMD_FUSE and CONFIG_MXC_OCOTP are selected by mx6_common.h, so there is no need to define them locally. Signed-off-by: Fabio Estevam --- include/configs/cgtqmx6eval.h | 5 - 1 file changed, 5 deletions(-)

[U-Boot] [PATCH 4/7] mx6ul_14x14_evk: Remove unused config option

2015-09-09 Thread Fabio Estevam
From: Fabio Estevam CONFIG_ROM_UNIFIED_SECTIONS is not used anywhere, so let's remove it. Signed-off-by: Fabio Estevam --- include/configs/mx6ul_14x14_evk.h | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 3/7] mx6ul_14x14_evk: Remove CONFIG_SYS_GENERIC_BOARD

2015-09-09 Thread Fabio Estevam
From: Fabio Estevam CONFIG_SYS_GENERIC_BOARD is selected by mx6_common.h, so there is no need to define it locally. Signed-off-by: Fabio Estevam --- include/configs/mx6ul_14x14_evk.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 1/7] mx6ul_14x14_evk: Remove CONFIG_CMD_FUSE option

2015-09-09 Thread Peng Fan
Hi Fabio, I have one patch to fix this and 2/7: https://patchwork.ozlabs.org/patch/512680/ Regards, Peng. On Wed, Sep 09, 2015 at 11:16:38AM -0300, Fabio Estevam wrote: >From: Fabio Estevam > >CONFIG_CMD_FUSE and CONFIG_MXC_OCOTP are selected by mx6_common.h, >so

[U-Boot] [PATCH v2 1/1] gpio: lpc32xx: fix issues with port3 gpio

2015-09-09 Thread slemieux . tyco
From: Sylvain Lemieux The current simplify lpc32xx gpio driver implementation assume a maximum of 32 GPIO per port; there are a total of 22 GPI, 24 GPO and 6 GPIO to managed on port 3. Update the driver to fix the following: 1) When requesting GPI_xx and GPO_xx on port 3

Re: [U-Boot] [PATCH 3/7] mx6ul_14x14_evk: Remove CONFIG_SYS_GENERIC_BOARD

2015-09-09 Thread Peng Fan
On Wed, Sep 09, 2015 at 11:16:40AM -0300, Fabio Estevam wrote: >From: Fabio Estevam > >CONFIG_SYS_GENERIC_BOARD is selected by mx6_common.h, so there is no >need to define it locally. > >Signed-off-by: Fabio Estevam >--- >

[U-Boot] [PATCH v4 12/16] drivers/net/vsc9953: Add commands to manipulate the FDB for VSC9953

2015-09-09 Thread Codrin Ciubotariu
The new command: ethsw [port ] [vlan ] fdb { [help] | show | flush | { add | del } } Can be used to add and delete FDB entries. Also, the command can be used to show entries from the FDB tables. When used with [port ] and [vlan ], only the matching the FDB entries can be seen or flushed.

Re: [U-Boot] [PATCH 07/10] ARM: tegra: fix malloc region sizing

2015-09-09 Thread Tom Warren
> -Original Message- > From: Lukasz Majewski [mailto:l.majew...@samsung.com] > Sent: Tuesday, September 08, 2015 11:51 PM > To: Stephen Warren > Cc: Tom Warren; Tom Rini; Stephen Warren; u-boot@lists.denx.de; Simon > Glass; Przemyslaw Marczak > Subject: Re: [PATCH 07/10] ARM: tegra: fix

Re: [U-Boot] [PATCH 3/4] mx6ul_14x14_evk: Remove CONFIG_SPL_FAT_SUPPORT

2015-09-09 Thread Peng Fan
On Wed, Sep 09, 2015 at 03:36:38PM +0200, Stefano Babic wrote: >Hi Fabio, > >On 09/09/2015 14:26, Fabio Estevam wrote: >> Hi Peng and Stefano, >> >> On Wed, Sep 9, 2015 at 4:37 AM, Stefano Babic wrote: >> > #define CONFIG_SPL_LIBCOMMON_SUPPORT > #define

Re: [U-Boot] [PATCH 5/7] mx6ul_14x14_evk: Do not undef config options

2015-09-09 Thread Peng Fan
On Wed, Sep 09, 2015 at 11:16:42AM -0300, Fabio Estevam wrote: >From: Fabio Estevam > >There is no need to undef the config options. > >Signed-off-by: Fabio Estevam >--- > include/configs/mx6ul_14x14_evk.h | 9 - > 1 file changed,

Re: [U-Boot] [PATCH 6/7] mx6ul_14x14_evk: Remove CONFIG_FEC_DMA_MINALIGN

2015-09-09 Thread Peng Fan
On Wed, Sep 09, 2015 at 11:16:43AM -0300, Fabio Estevam wrote: >From: Fabio Estevam > >CONFIG_FEC_DMA_MINALIGN is not used anywhere, so let's remove it. > >Signed-off-by: Fabio Estevam >--- > include/configs/mx6ul_14x14_evk.h | 1 - > 1

Re: [U-Boot] [PATCH 4/7] mx6ul_14x14_evk: Remove unused config option

2015-09-09 Thread Peng Fan
On Wed, Sep 09, 2015 at 11:16:41AM -0300, Fabio Estevam wrote: >From: Fabio Estevam > >CONFIG_ROM_UNIFIED_SECTIONS is not used anywhere, so let's remove it. > >Signed-off-by: Fabio Estevam >--- > include/configs/mx6ul_14x14_evk.h | 1 - >

[U-Boot] [PATCH v4 11/16] common/env_flags.c: Add function to validate a MAC address

2015-09-09 Thread Codrin Ciubotariu
The code that checks if a string has the format of a MAC address has been moved to a separate function called eth_validate_ethaddr_str(). This has been done to allow other components (such as vsc9953 driver) to validate a MAC address. Signed-off-by: Codrin Ciubotariu

Re: [U-Boot] [PATCH 3/4] mx6ul_14x14_evk: Remove CONFIG_SPL_FAT_SUPPORT

2015-09-09 Thread Fabio Estevam
Hi Peng, On Wed, Sep 9, 2015 at 10:33 AM, Peng Fan wrote: > Fabio and Stefano, > > I agree that we have a common way for Freescale boards. But why > not choose SPL_FAT? In future we may add QSPI or SPI SPL boot, then we We have boards that boot from SPI SPL today and this

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Scott Wood
On Tue, 2015-09-08 at 21:01 +0300, ivan.khoronzhuk wrote: > Hi, Andreas > > On 07.09.15 14:43, Andreas Bießmann wrote: > > From: Heiko Schocher > > > > introduce BIT() definition, used in at91_udc gadget > > driver. > > > > Signed-off-by: Heiko Schocher > > [remove

Re: [U-Boot] [PATCH V2] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback

2015-09-09 Thread Fabio Estevam
On Thu, Aug 27, 2015 at 10:20 PM, Peng Fan wrote: > Implement endpoint dequeue callback function. > > Without this function, uboot will hang when executing fastboot comamnd. > See following flow: >

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 06:30:20 AM, Peng Fan wrote: > Hi Marek, Hi! > On Wed, Sep 09, 2015 at 11:24:37AM +0800, Peng Fan wrote: > >On Tue, Sep 08, 2015 at 07:17:22PM -0700, Stephen Warren wrote: > >>On 09/03/2015 03:11 PM, Marek Vasut wrote: > >>> On Tuesday, September 01, 2015 at

Re: [U-Boot] [PATCH V2] usb: gadget: ci_udc: implement usb_ep_ops dequeue callback

2015-09-09 Thread Marek Vasut
On Thursday, September 10, 2015 at 01:04:23 AM, Fabio Estevam wrote: > On Thu, Aug 27, 2015 at 10:20 PM, Peng Fan wrote: > > Implement endpoint dequeue callback function. > > > > Without this function, uboot will hang when executing fastboot comamnd. > > See following

Re: [U-Boot] Fastboot is not detected

2015-09-09 Thread Fabio Estevam
Hi Bo, On Wed, Sep 9, 2015 at 7:32 PM, Bo Shen wrote: > Please check whether the fastboot application supports your vendor ID. If > not, add "-i in your command line. Thanks a lot! Now fastboot communicates well with -i: $ fastboot getvar bootloader-version -i 0x0525

[U-Boot] [PATCH] arm: move edb93xx to generic board architecture

2015-09-09 Thread Sergey Kostanbev
From: Sergey Kostanbaev Use CONFIG_SYS_GENERIC_BOARD in EDB93XX board family --- include/configs/edb93xx.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/edb93xx.h b/include/configs/edb93xx.h index efe2a9d..e3e32aa 100644 ---

Re: [U-Boot] Fastboot is not detected

2015-09-09 Thread Bo Shen
Hi Fabio, On 09/10/2015 05:02 AM, Fabio Estevam wrote: Hi, I am trying to add fastboot support for mx6qsabresd and I did the following changes on against top of head U-boot: --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -238,6 +238,12 @@ #define

Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-09-09 Thread Bo Shen
Hi Wenyou, On 09/09/2015 10:29 AM, Wenyou Yang wrote: Some peripherals may need a second clock source that may be different from the system clock. This second clock is the generated clock (GCK) and is managed by the PMC via PMC_PCR. For simplicity, the source of the GCK is fixed to PLLA_CLK.

Re: [U-Boot] [PATCH 2/4] spi: cadence_qspi: Fix fdt read of spi-max-frequency

2015-09-09 Thread Chin Liang See
Hi, On Tue, 2015-09-08 at 13:19 +0200, ma...@denx.de wrote: > On Tuesday, September 08, 2015 at 03:18:24 AM, Chin Liang See wrote: > > Fix the fdt read for spi-max-frequency as it's contained > > in the child node. Current state of code is always > > returning default value. > > > >

Re: [U-Boot] [PATCH 2/4] spi: cadence_qspi: Fix fdt read of spi-max-frequency

2015-09-09 Thread Chin Liang See
Hi, On Wed, 2015-09-09 at 09:16 +0200, ZY - pavel wrote: > On Mon 2015-09-07 20:18:24, Chin Liang See wrote: > > Fix the fdt read for spi-max-frequency as it's contained > > in the child node. Current state of code is always > > returning default value. > > > > Signed-off-by: Chin Liang See

Re: [U-Boot] [PATCH 2/4] spi: cadence_qspi: Fix fdt read of spi-max-frequency

2015-09-09 Thread Chin Liang See
Hi, On Tue, 2015-09-08 at 15:39 +0530, Jagan Teki wrote: > On 8 September 2015 at 06:48, Chin Liang See wrote: > > Fix the fdt read for spi-max-frequency as it's contained > > in the child node. Current state of code is always > > returning default value. > > > > Signed-off-by:

[U-Boot] [PATCH v3 1/5] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-09 Thread Chin Liang See
Ensuring spi_calibration is run when there is a change of sclk frequency. This will ensure the qspi flash access works for high sclk frequency Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Marek Vasut

Re: [U-Boot] [PATCH 3/4] spi: cadence_qspi: Ensure check for max frequency in place

2015-09-09 Thread Chin Liang See
Hi, On Tue, 2015-09-08 at 17:51 +0530, Jagan Teki wrote: > On 8 September 2015 at 06:48, Chin Liang See wrote: > > Ensure the intended SCLK frequency not exceeding the maximum > > frequency. If that happen, SCLK will set to maximum frequency. > > > > Signed-off-by: Chin Liang

[U-Boot] [PATCH v3 5/5] common: Enable fdt_support in SPL build

2015-09-09 Thread Chin Liang See
Enable more device tree function support such as fdt_getprop_u32_default_node in SPL. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Marek Vasut Cc: Stefan Roese Cc: Vikas

[U-Boot] [PATCH v3 4/5] arm: dts: socfpga: Increase the spi-max-frequency for QSPI flash

2015-09-09 Thread Chin Liang See
With a working QSPI calibration, the SCLK can now run up to 100MHz Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Marek Vasut Cc: Stefan Roese Cc: Vikas Manocha

[U-Boot] [PATCH v3 3/5] spi: cadence_qspi: Ensure check for max frequency in place

2015-09-09 Thread Chin Liang See
Ensure the intended SCLK frequency not exceeding the maximum frequency. If that happen, SCLK will set to maximum frequency. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Marek Vasut Cc:

[U-Boot] [PATCH v3 2/5] spi: cadence_qspi: Fix fdt read of spi-max-frequency

2015-09-09 Thread Chin Liang See
Fix the fdt read for spi-max-frequency as it's contained in the child node. Current state of code is always returning default value. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Marek Vasut

Re: [U-Boot] DM: uclass for timer

2015-09-09 Thread Simon Glass
Hi Thomas, On 8 September 2015 at 05:35, Thomas Chou wrote: > Hi Simon, > > Shall we have a timer class in driver model? > > I am trying to get the base address and clock rate of timer from device > tree, and use them for timer_init() in common/board_f.c and lib/time.c . >

Re: [U-Boot] DM: uclass for timer

2015-09-09 Thread Thomas Chou
Hi Simon, On 09/10/2015 10:45 AM, Simon Glass wrote: Yes I guess so. We will need it sooner or later. You could add a microsecond API also. Thanks for the help. I will try to add a timer uclass soon. I am all new to the driver model though. Best regard, Thomas Chou

Re: [U-Boot] [PATCH v2 1/2] arm: serial: Add debug UART capability to the pl01x driver

2015-09-09 Thread Simon Glass
On 9 September 2015 at 13:35, Sergey Temerkhanov wrote: > This patch adds an ability to use pl01x as a debug UART. It must > be configured like other types of debug UARTs > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan

Re: [U-Boot] [PATCH v2 2/2] arm: serial: Add Kconfig entries to facilitate usage of the pl01x driver for early debug output

2015-09-09 Thread Simon Glass
On 9 September 2015 at 13:35, Sergey Temerkhanov wrote: > This patch adds Kconfig entries to facilitate usage of pl01x as > a debug UART. > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan Chintakuntla >

Re: [U-Boot] [PATCH 4/5] dm: usb: Add support for USB keyboards with driver model

2015-09-09 Thread Simon Glass
Hi Marek, On 8 September 2015 at 12:33, Marek Vasut wrote: > On Tuesday, September 08, 2015 at 07:15:11 PM, Simon Glass wrote: >> Switch USB keyboards over to use driver model instead of scanning with the >> horrible usb_get_dev_index() function. This involves creating a new

Re: [U-Boot] [PATCH 1/2] ARM: tegra124: Clear IDDQ when enabling PLLC

2015-09-09 Thread Stephen Warren
On 09/08/2015 02:38 AM, Thierry Reding wrote: > From: Thierry Reding > > Enabling a PLL while IDDQ is high. The Linux kernel checks for this Is there some word missing in/at-the-end-of that first sentence? It doesn't seem complete. > condition and warns about it verbosely,

Re: [U-Boot] [PATCH 3/8] x86: Convert to use driver model pci on quark/galileo

2015-09-09 Thread Simon Glass
On 31 August 2015 at 18:32, Simon Glass wrote: > On 31 August 2015 at 03:52, Bin Meng wrote: >> Move to driver model pci for Intel quark/galileo. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cpu/quark/pci.c | 42

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

2015-09-09 Thread Simon Glass
On 3 September 2015 at 06:37, Bin Meng wrote: > Introduce device_is_on_pci_bus() which can be utilized by driver > to test if a device is on a PCI bus. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v4: None

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

2015-09-09 Thread Simon Glass
On 9 September 2015 at 12:05, Simon Glass wrote: > Hi Joe, > > On 8 September 2015 at 09:09, Joe Hershberger > wrote: >> Hi Simon, >> >> On Tue, Sep 8, 2015 at 9:22 AM, Simon Glass wrote: >>> Hi Joe, >>> >>> On 4 September 2015

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

2015-09-09 Thread Simon Glass
On 3 September 2015 at 06:37, Bin Meng wrote: > This adds static register programming for PCIe and USB after memory > init as required by Quark firmware writer guide. Although not doing > this did not cause any malfunction, just do it for safety. > > Signed-off-by: Bin Meng

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

2015-09-09 Thread Stefan Roese
Hi Simon, On 09.09.2015 20:07, Simon Glass wrote: On Thursday, 3 September 2015, Stefan Roese wrote: The current "simple" address translation simple_bus_translate() is not working on some platforms (e.g. MVEBU). As here more complex "ranges" properties are used in many nodes

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts for the pov protab2-ips9 tablet

2015-09-09 Thread Ian Campbell
On Sat, 2015-09-05 at 10:53 +0200, Hans de Goede wrote: > The Point of View protab2-ips9 is a tablet with a 9" ips 1024x768 lcd > screen, microsd slot, headphones, mini hdmi, mini usb b and power > barrel > connectors. > > The dts file is identical to the one submitted to the upstream > kernel. >

Re: [U-Boot] [PATCH] sunxi: Add q8_a13_tablet defconfig and dts

2015-09-09 Thread Ian Campbell
On Sat, 2015-09-05 at 17:05 +0200, Hans de Goede wrote: > This commits adds a generic support for q8 formfactor a13 based > tablets. > > These tablets ship in many variants, with the difference mainly being > the > touchscreen controller / accelerometer / wifi chip used. > > The wifi is USB

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Ivan Khoronzhuk
On 09.09.15 19:22, Scott Wood wrote: On Tue, 2015-09-08 at 21:01 +0300, ivan.khoronzhuk wrote: Hi, Andreas On 07.09.15 14:43, Andreas Bießmann wrote: From: Heiko Schocher introduce BIT() definition, used in at91_udc gadget driver. Signed-off-by: Heiko Schocher

Re: [U-Boot] [PATCH] RFC: dm: Add proposed timeline and guide for porting serial drivers

2015-09-09 Thread Simon Glass
Hi, On Saturday, 5 September 2015, Siarhei Siamashka wrote: > > On Sat, 5 Sep 2015 15:52:03 +0200 > Hans de Goede wrote: > > > Hi, > > > > On 05-09-15 15:45, Simon Glass wrote: > > > Add a README with a brief guide to porting serial drivers over

Re: [U-Boot] [PATCH 6/8] x86: galileo: Add PCIe root port IRQ routing

2015-09-09 Thread Simon Glass
On Tuesday, 8 September 2015, Bin Meng wrote: > > Now we have enabled PCIe root port on Quark SoC, add its PIRQ > routing information in the device tree as well. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/galileo.dts | 12 > 1 file

Re: [U-Boot] [PATCH 1/8] x86: galileo: Enable random mac address for Quark

2015-09-09 Thread Simon Glass
On Tuesday, 8 September 2015, Bin Meng wrote: > > Not like other Intel Ethernet controllers (e.g.: E1000), Intel Quark > SoC integrated designware Ethernet controller does not have a chipset > defined way to store/rest > > ore mac address. Enable random mac address > > so that

Re: [U-Boot] [PATCH 3/8] x86: quark: Convert to use clrbits, setbits, clrsetbits macros

2015-09-09 Thread Simon Glass
On Tuesday, 8 September 2015, Bin Meng wrote: > > Change existing codes to use clrbits, setbits, clrsetbits macros. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/quark/quark.c | 72 > ++ > 1 file changed,

Re: [U-Boot] [PATCH 2/2] sun4i: Add dts and defconfig for iNet-1 based tablets

2015-09-09 Thread Ian Campbell
On Wed, 2015-09-09 at 10:58 +0200, Hans de Goede wrote: > The iNet-tek iNet-1 PCB is a PCB found in various generic 10.1" > 1024x600 > A10 based tablets such as the Point of View Protab2 XXL and the > Cherry M1007. > > This patch has been tested on both rev2 and rev5 of this board / > these >

Re: [U-Boot] [PATCH 1/2] sun4i: Add defconfig and dts for inet9f-rev03 based tablets

2015-09-09 Thread Ian Campbell
On Wed, 2015-09-09 at 10:58 +0200, Hans de Goede wrote: > The inet9f-rev03 pcb is specially designed for gaming tablets, such > as > the qware tb-g100 tablet. > > These 7" tablets feature a dpad, firebuttons and 2 joysticks on the > sides > of the screen. > > Besides this they have the usual

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Ivan Khoronzhuk
On 09.09.15 20:10, Scott Wood wrote: On Wed, 2015-09-09 at 12:37 -0400, Tom Rini wrote: On Wed, Sep 09, 2015 at 11:22:25AM -0500, Scott Wood wrote: On Tue, 2015-09-08 at 21:01 +0300, ivan.khoronzhuk wrote: Hi, Andreas On 07.09.15 14:43, Andreas Bießmann wrote: From: Heiko Schocher

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Scott Wood
On Wed, 2015-09-09 at 21:52 +0300, Ivan Khoronzhuk wrote: > On 09.09.15 19:22, Scott Wood wrote: > > On Tue, 2015-09-08 at 21:01 +0300, ivan.khoronzhuk wrote: > > > Hi, Andreas > > > > > > On 07.09.15 14:43, Andreas Bießmann wrote: > > > > From: Heiko Schocher > > > > > > > >

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Scott Wood
On Wed, 2015-09-09 at 20:25 +0200, Wolfgang Denk wrote: > Dear Andreas, > > In message <1441626234-16364-1-git-send-email-andreas.de...@googlemail.com> > you wrote: > ... > > --- a/include/linux/bitops.h > > +++ b/include/linux/bitops.h > > @@ -3,6 +3,8 @@ > > > > #include > > > > +#define

[U-Boot] [PATCH 1/1] net: phy: micrel: add support for KSZ8021RNL & KSZ8031RNL

2015-09-09 Thread slemieux . tyco
From: Sylvain Lemieux This patch adds support for Micrel KSZ8021RNL & KSZ8031RNL. Signed-off-by: Sylvain Lemieux --- Note: I am sending the patch using , until I can submit patch using my regular e-mail

Re: [U-Boot] [PATCH 1/2] ARM: tegra124: Clear IDDQ when enabling PLLC

2015-09-09 Thread Nicolas Chauvet
Tested-by: Nicolas Chauvet Test-HW: jetson-tk1 Fix the issue on recent kernel Nicolas (kwizart) 2015-09-08 11:38 GMT+02:00 Thierry Reding : > From: Thierry Reding > > Enabling a PLL while IDDQ is high. The Linux kernel checks

[U-Boot] Fastboot is not detected

2015-09-09 Thread Fabio Estevam
Hi, I am trying to add fastboot support for mx6qsabresd and I did the following changes on against top of head U-boot: --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -238,6 +238,12 @@ #define CONFIG_G_DNL_VENDOR_NUM0x0525 #define

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Tom Rini
On Wed, Sep 09, 2015 at 11:22:25AM -0500, Scott Wood wrote: > On Tue, 2015-09-08 at 21:01 +0300, ivan.khoronzhuk wrote: > > Hi, Andreas > > > > On 07.09.15 14:43, Andreas Bießmann wrote: > > > From: Heiko Schocher > > > > > > introduce BIT() definition, used in at91_udc gadget > >

Re: [U-Boot] [PATCH v5] bitops: introduce BIT() definition

2015-09-09 Thread Scott Wood
On Wed, 2015-09-09 at 12:37 -0400, Tom Rini wrote: > On Wed, Sep 09, 2015 at 11:22:25AM -0500, Scott Wood wrote: > > On Tue, 2015-09-08 at 21:01 +0300, ivan.khoronzhuk wrote: > > > Hi, Andreas > > > > > > On 07.09.15 14:43, Andreas Bießmann wrote: > > > > From: Heiko Schocher > > >

  1   2   >