Re: [U-Boot] [Patch v3 0/4] imx: mx6: use OTP for teperature grade info

2015-05-19 Thread Stefano Babic
Hi Peng, Tim, On 19/05/2015 02:21, Peng Fan wrote: > > U-Boot 2015.07-rc1-00260-g44bf513 (May 19 2015 - 09:14:52) > > CPU: Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz) > CPU: Extended Commercial temperature grade (-20C to 105C) at 33C > Reset cause: POR > Board: MX6SX SABRE SDB > I

Re: [U-Boot] [PATCH] arm/imx-common: Fix warning 'get_reset_cause' defined but not used

2015-05-19 Thread Stefano Babic
Hi Prabhakar, Eric, On 18/05/2015 16:44, Eric Nelson wrote: > Hi Prabhakar, > > On 05/18/2015 04:43 AM, Prabhakar Kushwaha wrote: >> Fix below warning >> arch/arm/imx-common/cpu.c:29:14: warning: ‘get_reset_cause’ defined but >> not used >> static char *get_reset_cause(void) >> >> Signed-off-by:

Re: [U-Boot] [PATCH] usb: ohci: enable cache support

2015-05-19 Thread Hans de Goede
Hi, On 19-05-15 12:44, Josh Wu wrote: Remove the CONFIG_DM_USB limitation to enable cache support functions. Tested on SAMA5D3x-EK board. Signed-off-by: Josh Wu Looks good to me: Acked-by: Hans de Goede Regards, Hans --- drivers/usb/host/ohci-hcd.c | 10 +- drivers/usb/host

[U-Boot] [PATCH] usb: ohci: enable cache support

2015-05-19 Thread Josh Wu
Remove the CONFIG_DM_USB limitation to enable cache support functions. Tested on SAMA5D3x-EK board. Signed-off-by: Josh Wu --- drivers/usb/host/ohci-hcd.c | 10 +- drivers/usb/host/ohci.h | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ohci-

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

2015-05-19 Thread Marek Vasut
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD for you to fetch changes up to 9cf3c384ad96c3e00c12e1d151d7f32c5b760a

[U-Boot] [PATCH] ARM: atmel: switch to usb ehci for sama5d3 boards

2015-05-19 Thread Josh Wu
From: Bo Shen As the cache coherence issue in OHCI HCD, when enable I/D cache for sama5d3 SoC, the OHCI can not work properly. So, switch to EHCI, then the USB can work well. Signed-off-by: Bo Shen [rebase to mainline] Signed-off-by: Josh Wu --- include/configs/sama5d3_xplained.h | 21 +++---

Re: [U-Boot] [PATCH] ARM: atmel: switch to usb ehci for sama5d3 boards

2015-05-19 Thread Hans de Goede
Hi, On 19-05-15 12:54, Josh Wu wrote: From: Bo Shen As the cache coherence issue in OHCI HCD, when enable I/D cache for sama5d3 SoC, the OHCI can not work properly. So, switch to EHCI, then the USB can work well. Signed-off-by: Bo Shen [rebase to mainline] Signed-off-by: Josh Wu I'm confu

Re: [U-Boot] [PATCH] ARM: atmel: switch to usb ehci for sama5d3 boards

2015-05-19 Thread Josh Wu
Hi, Hans On 5/19/2015 6:57 PM, Hans de Goede wrote: Hi, On 19-05-15 12:54, Josh Wu wrote: From: Bo Shen As the cache coherence issue in OHCI HCD, when enable I/D cache for sama5d3 SoC, the OHCI can not work properly. So, switch to EHCI, then the USB can work well. Signed-off-by: Bo Shen [r

Re: [U-Boot] [PATCH 0/10 v2] i.MX6: move duplicated options to mx6_common to standardise mx6 config

2015-05-19 Thread Stefano Babic
Hi Peter, On 11/05/2015 18:22, Peter Robinson wrote: > There's a lot of common options in the i.MX6 boards that are repeated across > a > lot of the devices. There's a mx6_common.h which is little used but makes > sense > to be the central location for all the options we want across all mx6 boa

Re: [U-Boot] [PATCH v2] sunxi: Make dram odt-en configurable through Kconfig for A33 based boards

2015-05-19 Thread Hans de Goede
Hi, On 17-05-15 12:25, Ian Campbell wrote: On Fri, 2015-05-15 at 20:43 +0200, Hans de Goede wrote: Some A33 based boards use odt, while others do not, so make odt_en configurable for sun8i too by moving the existing Kconfig option for it out of the #if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I blo

[U-Boot] [PATCH v3] sunxi: Make DRAM_ODT_EN Kconfig setting a bool

2015-05-19 Thread Hans de Goede
Make DRAM_ODT_EN Kconfig setting a bool, add a separate DRAM_ODT_CORRECTION setting for A23 SoCs and use DRAM_ODT_EN Kconfig everywhere instead of only in dram_sun4i.c and hardcoding odt_en elsewhere. Note this commit makes no functional changes for existing boards, its purpose is to allow changin

Re: [U-Boot] [PATCH] env_nand: use nand_spl_load_image for readenv if SPL

2015-05-19 Thread Stefano Babic
Hi Tim, On 15/05/2015 20:59, Scott Wood wrote: > On Thu, 2015-05-14 at 11:48 -0700, Tim Harvey wrote: >> The readenv() implementation of env_nand uses the mtd layer which is >> unnecessary overhead in SPL when we already have a nand_spl_load_image() >> function that doesn't need it. Using this ins

Re: [U-Boot] [PATCH v2 08/19] imx: ventana: config: use MMC SPL RAW support

2015-05-19 Thread Stefano Babic
On 15/05/2015 18:14, Tim Harvey wrote: > Switch to MMC RAW support for SPL. We will place the uboot.img at 69KB. > > Signed-off-by: Tim Harvey > --- > v2: remove unnecessary CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR define > > Signed-off-by: Tim Harvey > --- > include/configs/gw_ventana.h | 4

Re: [U-Boot] [PATCH v2 17/19] imx: ventana: add pmic_setup to SPL

2015-05-19 Thread Stefano Babic
On 15/05/2015 18:18, Tim Harvey wrote: > We need to do any PMIC setup in the SPL if we are to bypass U-Boot for > falcon mode. > > Signed-off-by: Tim Harvey > --- > v2: rebased > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v2 09/19] imx: ventana: (cosmetic) clean up size defines for improved readability

2015-05-19 Thread Stefano Babic
On 15/05/2015 18:17, Tim Harvey wrote: > Use the SZ_1M and SZ_1K macros from linuz/sizes.h for improved readability > > Signed-off-by: Tim Harvey > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX S

Re: [U-Boot] [PATCH] hummingboard: Remove unused directory

2015-05-19 Thread Stefano Babic
On 15/05/2015 21:10, Fabio Estevam wrote: > From: Fabio Estevam > > The 'mx6-microsom' directory was only used for the previous mx6solo > hummingboard support, which has been removed in favour of the SPL > version. > > Remove the remaining piece of the old mx6solo hummingboard support. > > Si

Re: [U-Boot] [PATCH 1/3] imx: riotboard, marsboard: Enable thermal support

2015-05-19 Thread Stefano Babic
On 18/05/2015 01:10, Nikolay Dimitrov wrote: > Signed-off-by: Nikolay Dimitrov > --- > include/configs/embestmx6boards.h |1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/embestmx6boards.h > b/include/configs/embestmx6boards.h > index e9f5bed..16b5826 100644 > --- a/

Re: [U-Boot] [PATCH 2/3] imx: riotboard: Enable thermal DM support

2015-05-19 Thread Stefano Babic
On 18/05/2015 01:10, Nikolay Dimitrov wrote: > Signed-off-by: Nikolay Dimitrov > --- > configs/riotboard_defconfig |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/riotboard_defconfig b/configs/riotboard_defconfig > index c0b689b..ae0036a 100644 > --- a/configs/riotboard_d

Re: [U-Boot] [PATCH 3/3] imx: marsboard: Enable thermal DM support

2015-05-19 Thread Stefano Babic
On 18/05/2015 01:10, Nikolay Dimitrov wrote: > Signed-off-by: Nikolay Dimitrov > --- > configs/marsboard_defconfig |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/marsboard_defconfig b/configs/marsboard_defconfig > index f54fdd0..460e2d0 100644 > --- a/configs/marsboard_d

Re: [U-Boot] [PATCH] imx: mx6sx enable SION for i2c pin mux

2015-05-19 Thread Stefano Babic
Hi Peng, On 18/05/2015 07:37, Peng Fan wrote: > Enable IOMUX_CONFIG_SION for all I2C pin mux settings, otherwise > we will get erros when doing i2c operations. > error log like the following: > " > wait_for_sr_state: failed sr=81 cr=a0 state=2020 > i2c_init_transfer: failed for chip 0xb retry=1 >

Re: [U-Boot] [PATCH] pmic: pfuze100 fix typo

2015-05-19 Thread Stefano Babic
On 18/05/2015 07:37, Peng Fan wrote: > Change PUZE_100_SW1ABCONF to PFUZE100_SW1ABCONF > > Signed-off-by: Peng Fan > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH] arm/imx-common: Fix warning 'get_reset_cause' defined but not used

2015-05-19 Thread Stefano Babic
On 18/05/2015 13:43, Prabhakar Kushwaha wrote: > Fix below warning > arch/arm/imx-common/cpu.c:29:14: warning: ‘get_reset_cause’ defined but > not used > static char *get_reset_cause(void) > > Signed-off-by: Prabhakar Kushwaha > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babi

Re: [U-Boot] [PATCH] arm: mx6: ddr: set fast-exit on DDR3 if pd_fast_exit specified

2015-05-19 Thread Stefano Babic
On 18/05/2015 16:07, Tim Harvey wrote: > Commit fa8b7d66f49f0c7bd41467fe78f6488d8af6976a introduced fast-exit support > to the MMDC however enabling it on the DDR3 got missed. Make sure we enable > it on the DDR3 as well. > > Gateworks uses Micron memory as well as Winbond in MX6. We have found

Re: [U-Boot] [PATCH 19/19] imx: ventana: config: enable Falcon mode

2015-05-19 Thread Tim Harvey
On Mon, May 18, 2015 at 4:25 PM, Fabio Estevam wrote: > Hi Tim, > > On Fri, May 8, 2015 at 10:28 PM, Tim Harvey wrote: >> Falcon mode entails the SPL booting the OS directly instead of U-Boot. > > I would like to give this a try, but I am not sure where the dtb > should be placed in the SD card.

Re: [U-Boot] [PATCH 19/19] imx: ventana: config: enable Falcon mode

2015-05-19 Thread Fabio Estevam
Hi Tim, On Tue, May 19, 2015 at 10:26 AM, Tim Harvey wrote: > Fabio, > > I will be posting a README in the next day or so to document Falcon > mode usage on the Gateworks Ventana boards. In general the > documentation will be the same for any board using it but I'll provide > some detail about w

Re: [U-Boot] [PATCH v3] sunxi: Make DRAM_ODT_EN Kconfig setting a bool

2015-05-19 Thread Ian Campbell
On Tue, 2015-05-19 at 14:56 +0200, Hans de Goede wrote: > diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > b/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > index c736fa3..f7b4915 100644 > --- a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > +++ b/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > @@ -508,7 +508,7 @@ s

Re: [U-Boot] [PATCH v4 05/10] moveconfig: Cleanup headers in arch and board

2015-05-19 Thread Joe Hershberger
On Mon, May 18, 2015 at 8:41 PM, Masahiro Yamada wrote: > Hi Joe, > > > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> Some config.h files live in arch and board directories. They will need >> to be cleaned up as well, so run the same filters there. >> >> Signed-off-by: Joe Hershberger >> >> ---

Re: [U-Boot] [PATCH v3] sunxi: Make DRAM_ODT_EN Kconfig setting a bool

2015-05-19 Thread Siarhei Siamashka
On Tue, 19 May 2015 14:56:39 +0200 Hans de Goede wrote: > Make DRAM_ODT_EN Kconfig setting a bool, add a separate DRAM_ODT_CORRECTION > setting for A23 SoCs and use DRAM_ODT_EN Kconfig everywhere instead of > only in dram_sun4i.c and hardcoding odt_en elsewhere. > > Note this commit makes no fun

Re: [U-Boot] [PATCH v3] sunxi: Make DRAM_ODT_EN Kconfig setting a bool

2015-05-19 Thread Siarhei Siamashka
On Tue, 19 May 2015 15:13:18 +0100 Ian Campbell wrote: > On Tue, 2015-05-19 at 14:56 +0200, Hans de Goede wrote: > > diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > > b/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > > index c736fa3..f7b4915 100644 > > --- a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c >

Re: [U-Boot] [RFC PATCH] tools: get-toolchais: a tool to get cross-tools for all architectures

2015-05-19 Thread Joe Hershberger
On Fri, May 15, 2015 at 6:01 AM, Masahiro Yamada wrote: > When we send patches, we are supposed to test them by build utilities > such as MAKEALL, buildman. When we want to test global changes, the > first hurdle is, I think, to collect toolchains for all the architectures. > > We have some docum

Re: [U-Boot] [PATCH v2] tools: moveconfig: a tool to move CONFIGs from headers to defconfigs

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san On Thu, May 14, 2015 at 11:44 PM, Masahiro Yamada wrote: > This tool was originally written for my local use to ease the task > of tons of CONFIG moves, but there have been some requests for > mainlining it. > So, I have tidied up the code with nicer comments, and here it is. > >

Re: [U-Boot] [PATCH v4 01/10] moveconfig: Always run savedefconfig on the moved config

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 8:58 PM, Masahiro Yamada wrote: > Hi Joe, > > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> This will ensure that the order of the defconfig entries will always >> match that of the Kconfig files. After one slightly painful (but >> still early in the proc

Re: [U-Boot] [PATCH v4 04/10] moveconfig: Add a switch to only cleanup headers

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 9:03 PM, Masahiro Yamada wrote: > Hi Joe, > > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> In some case you may want to only cleanup the headers. Make it possible >> without waiting for all boards to compile. >> >> Signed-off-by: Joe Hershberger >> >> -

Re: [U-Boot] [PATCH v4 06/10] moveconfig: Remove probable debug print

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 9:10 PM, Masahiro Yamada wrote: > Hi Joe > > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> This print seems to be redundant and unformatted compared to the next >> few lines, so remove it. >> >> Signed-off-by: Joe Hershberger >> --- >> >> Changes in v4:

Re: [U-Boot] [PATCH v4 07/10] moveconfig: Output a list of failed boards

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 10:12 PM, Masahiro Yamada wrote: > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> If boards fail, output that list to a file so that it can easily be >> passed back into moveconfig.py using the -d option. >> >> Signed-off-by: Joe Hershberger >> --- >> >>

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-19 Thread Stephen Warren
On 05/18/2015 03:33 PM, Simon Glass wrote: Hi Stephen, On 15 May 2015 at 09:34, Stephen Warren wrote: On 05/13/2015 07:56 AM, Simon Glass wrote: Hi Stephen, On 25 February 2015 at 16:31, Stephen Warren wrote: On 02/17/2015 03:29 PM, Simon Glass wrote: We need to match the device tree

Re: [U-Boot] fdt: Pass the board serial number through devicetree

2015-05-19 Thread Hans de Goede
Hi Simon, About: https://patchwork.ozlabs.org/patch/455720/ AFAIK on the kernel side all the relevant patches (including devicetree binding documentation binding) have been queued up for 4.2, so this ready to be merged now. Paul, can you confirm this ? Regards, Hans __

Re: [U-Boot] [PATCH v3] sunxi: Make DRAM_ODT_EN Kconfig setting a bool

2015-05-19 Thread Hans de Goede
Hi, On 05/19/2015 04:13 PM, Ian Campbell wrote: On Tue, 2015-05-19 at 14:56 +0200, Hans de Goede wrote: diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c b/arch/arm/cpu/armv7/sunxi/dram_sun4i.c index c736fa3..f7b4915 100644 --- a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c +++ b/arch/arm/cpu/armv7/

Re: [U-Boot] [PATCH] arm: imx: Switch Wandboard to use config_distro_bootcmd.h.

2015-05-19 Thread XoD
Any new of this ? it can be merged ? I have tested and successfully boot a fedora on a Wandboard Quad with this. The improvement of the console variable management can be done with an other patch ? Thank you for working on this. -- XoD 2015-03-29 15:05 GMT+02:00 Tom Rini : > On Sat, Mar 28, 2

Re: [U-Boot] [PATCH v3] sunxi: Make DRAM_ODT_EN Kconfig setting a bool

2015-05-19 Thread Hans de Goede
Hi, On 05/19/2015 04:54 PM, Siarhei Siamashka wrote: On Tue, 19 May 2015 14:56:39 +0200 Hans de Goede wrote: Make DRAM_ODT_EN Kconfig setting a bool, add a separate DRAM_ODT_CORRECTION setting for A23 SoCs and use DRAM_ODT_EN Kconfig everywhere instead of only in dram_sun4i.c and hardcoding o

Re: [U-Boot] [PATCH 1/2] sunxi: VBUS detection function fixup in g_dnl_board_usb_cable_connected

2015-05-19 Thread Hans de Goede
Hi, Thanks for these 2 fixes, I've added both to my personal tree. I'll send a pull-req to get these into u-boot/master soon. Regards, Hans On 05/16/2015 07:52 PM, Paul Kocialkowski wrote: sunxi_usbc_vbus_detect was renamed to sunxi_usb_phy_vbus_detect but g_dnl_board_usb_cable_connected was

Re: [U-Boot] fdt: Pass the board serial number through devicetree

2015-05-19 Thread Paul Kocialkowski
Le mardi 19 mai 2015 à 18:37 +0200, Hans de Goede a écrit : > Hi Simon, > > About: https://patchwork.ozlabs.org/patch/455720/ > > AFAIK on the kernel side all the relevant patches (including > devicetree binding documentation binding) have been queued > up for 4.2, so this ready to be merged now.

[U-Boot] [Patch 3/3] e1000: remove unnecessary clearing of SWSM.SWSM_SMBI

2015-05-19 Thread Tim Harvey
remove unnecessary clearing of SWSM.SWSM_SMBI when obtaining the SW semaphore. This was introduced in 951860634fdb557bbb58e0f99215391bc0c29779 while adding i210 support and should be now resolved by releasing the semaphore when no longer needed. Cc: Marcel Ziswiler Cc: Marek Vasut Cc: Aneesh Ban

[U-Boot] [Patch 1/3] e1000: releasing semaphore once no longer needed

2015-05-19 Thread Tim Harvey
Once the hwsw semaphore is acquired, it must be released when access to the hw is completed. Without this subsequent calls to acquire will timeout obtaining the semaphore. Cc: Marcel Ziswiler Cc: Marek Vasut Cc: Aneesh Bansal Cc: Naveen Burmi Cc: Po Liu Cc: Bin Meng Cc: Alison Wang Cc: Rein

[U-Boot] [Patch 2/3] Revert "e1000: fix sw fw sync on igb i210/i211"

2015-05-19 Thread Tim Harvey
This reverts commit 17da7120249bfdef877f46be5bbcb3cc01212eb9. The i210/i211 do have the SW_FW_SYNC (0x5b5c) register and this is what should be used when acquiring the semaphore. I believe the issue that this patch was trying to resolve is now resolved by properly releasing the semaphore once no

[U-Boot] [PATCH 0/3] e1000: fix semaphore sync issues

2015-05-19 Thread Tim Harvey
The following patchset resolves semaphore sync issues I've encountered on a board with an i210 (programmed, copper mode) using the internal phy. The first patch adds releasing of the semaphore once they are no longer needed, and the other two patches revert logic that I believe was working around

Re: [U-Boot] fdt: Pass the board serial number through devicetree

2015-05-19 Thread Simon Glass
Hi Paul, On 19 May 2015 at 10:57, Paul Kocialkowski wrote: > Le mardi 19 mai 2015 à 18:37 +0200, Hans de Goede a écrit : >> Hi Simon, >> >> About: https://patchwork.ozlabs.org/patch/455720/ >> >> AFAIK on the kernel side all the relevant patches (including >> devicetree binding documentation bind

Re: [U-Boot] [RFC PATCH] tools: get-toolchais: a tool to get cross-tools for all architectures

2015-05-19 Thread Simon Glass
Hi Masahiro, On 18 May 2015 at 23:04, Masahiro Yamada wrote: > Hi Simon, > > > 2015-05-18 2:50 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 15 May 2015 at 22:58, Masahiro Yamada >> wrote: >>> Hi Joe, >>> (added Simon) >>> >>> 2015-05-16 4:52 GMT+09:00 Joe Hershberger : Hi Masahiro-san,

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

2015-05-19 Thread Tom Rini
On Tue, May 19, 2015 at 12:48:19PM +0200, Marek Vasut wrote: > The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: > > Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb.git

Re: [U-Boot] [PATCH v4 08/10] moveconfig: Print a message for missing compiler

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 10:23 PM, Masahiro Yamada wrote: > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> A common case for failed builds is a missing compiler. Print a message >> for that case to tell the user concisely which compiler was expected >> that was not found. >> >> Th

Re: [U-Boot] [PATCH v4 09/10] moveconfig: Add a switch to enable printing errors

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 10:25 PM, Masahiro Yamada wrote: > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> In some cases the build for the autoconf breaks. This outputs the errors >> following the status so that action can be taken without building again >> manually. >> >> Signed-

Re: [U-Boot] [PATCH v2] usb: kbd: Fix key repeat not always using

2015-05-19 Thread Marek Vasut
On Wednesday, May 13, 2015 at 02:47:51 PM, Hans de Goede wrote: > The usb-kbd key repeat code assumes that reports get repeated every 40 ms, > this is never true when using CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP, and > does not always works for CONFIG_SYS_USB_EVENT_POLL and > CONFIG_SYS_USB_EVENT

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

2015-05-19 Thread Marek Vasut
Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead: The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400) are available in the git repository at: git://git.denx.de/u-boot-u

Re: [U-Boot] [PATCH] usb: ohci: enable cache support

2015-05-19 Thread Marek Vasut
On Tuesday, May 19, 2015 at 12:44:24 PM, Josh Wu wrote: > Remove the CONFIG_DM_USB limitation to enable cache support functions. > Tested on SAMA5D3x-EK board. > > Signed-off-by: Josh Wu Applied, thanks! Best regards, Marek Vasut ___ U-Boot mailing li

Re: [U-Boot] [PATCH v4 03/10] moveconfig: Add a parameter to accept a list to build

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 11:33 PM, Masahiro Yamada wrote: > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> This is helpful to re-attempt to move failed boards from a previous run >> without starting over. >> >> Signed-off-by: Joe Hershberger >> >> --- >> >> Changes in v4: None >>

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-19 Thread Simon Glass
Hi Stephen, On 19 May 2015 at 09:41, Stephen Warren wrote: > On 05/18/2015 03:33 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 15 May 2015 at 09:34, Stephen Warren wrote: >>> >>> On 05/13/2015 07:56 AM, Simon Glass wrote: Hi Stephen, On 25 February 2015 at 16:31, Ste

Re: [U-Boot] fdt: Pass the board serial number through devicetree

2015-05-19 Thread Hans de Goede
Hi, On 05/19/2015 06:57 PM, Paul Kocialkowski wrote: Le mardi 19 mai 2015 à 18:37 +0200, Hans de Goede a écrit : Hi Simon, About: https://patchwork.ozlabs.org/patch/455720/ AFAIK on the kernel side all the relevant patches (including devicetree binding documentation binding) have been queued

Re: [U-Boot] [PATCH v4 01/10] moveconfig: Always run savedefconfig on the moved config

2015-05-19 Thread Joe Hershberger
Hi Masahiro-san, On Mon, May 18, 2015 at 8:58 PM, Masahiro Yamada wrote: > Hi Joe, > > 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >> This will ensure that the order of the defconfig entries will always >> match that of the Kconfig files. After one slightly painful (but >> still early in the proc

Re: [U-Boot] [RFC PATCH] tools: get-toolchais: a tool to get cross-tools for all architectures

2015-05-19 Thread Joe Hershberger
Hi Simon, On Tue, May 19, 2015 at 12:16 PM, Simon Glass wrote: > Hi Masahiro, > > On 18 May 2015 at 23:04, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2015-05-18 2:50 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 15 May 2015 at 22:58, Masahiro Yamada >>> wrote: Hi Joe, (adde

Re: [U-Boot] [RFC PATCH] tools: get-toolchais: a tool to get cross-tools for all architectures

2015-05-19 Thread Simon Glass
Hi Joe, On 19 May 2015 at 12:13, Joe Hershberger wrote: > > Hi Simon, > > On Tue, May 19, 2015 at 12:16 PM, Simon Glass wrote: > > Hi Masahiro, > > > > On 18 May 2015 at 23:04, Masahiro Yamada > > wrote: > >> Hi Simon, > >> > >> > >> 2015-05-18 2:50 GMT+09:00 Simon Glass : > >>> Hi Masahiro, >

[U-Boot] [PATCH v5 1/9] moveconfig: Always run savedefconfig on the moved config

2015-05-19 Thread Joe Hershberger
This will ensure that the order of the defconfig entries will always match that of the Kconfig files. After one slightly painful (but still early in the process) pass over all boards, this should keep the defconfigs clean from here on. Users must edit the Kconfig first to add the menu entries and

[U-Boot] [PATCH v5 2/9] moveconfig: Ignore duplicate configs when moving

2015-05-19 Thread Joe Hershberger
When moving configs, it is important to know what was defined in the config header even if it duplicates the configs coming from Kconfig. This is specifically needed for the case where a config is set to default 'y' in the Kconfig. This would previously cause the actual value from the include conf

[U-Boot] [PATCH v5 5/9] moveconfig: Cleanup headers in arch and board

2015-05-19 Thread Joe Hershberger
Some config.h files live in arch and board directories. They will need to be cleaned up as well, so run the same filters there. Signed-off-by: Joe Hershberger --- Changes in v5: -Consolidate code to clean up dirs Changes in v4: -New for version 4 Changes in v3: None Changes in v2: None tool

[U-Boot] [PATCH v5 7/9] moveconfig: Print a message for missing compiler

2015-05-19 Thread Joe Hershberger
A common case for failed builds is a missing compiler. Print a message for that case to tell the user concisely which compiler was expected that was not found. This patch also has the effect of not printing build errors any longer. The next patch will add a switch to optionally bring that back. S

[U-Boot] [PATCH v5 6/9] moveconfig: Output a list of failed boards

2015-05-19 Thread Joe Hershberger
If boards fail, output that list to a file so that it can easily be passed back into moveconfig.py using the -d option. Signed-off-by: Joe Hershberger --- Changes in v5: -Changed file handling to use with/as Changes in v4: None Changes in v3: None Changes in v2: None tools/moveconfig.py | 4

[U-Boot] [PATCH v5 8/9] moveconfig: Add a switch to enable printing errors

2015-05-19 Thread Joe Hershberger
In some cases the build for the autoconf breaks. This outputs the errors following the status so that action can be taken without building again manually. Signed-off-by: Joe Hershberger --- Changes in v5: -Remove redundant destination Changes in v4: None Changes in v3: None Changes in v2: -New

[U-Boot] [PATCH v5 9/9] moveconfig: Print status about the processed defconfigs

2015-05-19 Thread Joe Hershberger
This gives a basic idea about progress. Signed-off-by: Joe Hershberger --- Changes in v5: None Changes in v4: None Changes in v3: -New for version 3 Changes in v2: None tools/moveconfig.py | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/tools/moveconfig.

[U-Boot] [PATCH v5 4/9] moveconfig: Add a switch to only cleanup headers

2015-05-19 Thread Joe Hershberger
In some case you may want to only cleanup the headers. Make it possible without waiting for all boards to compile. Signed-off-by: Joe Hershberger --- Changes in v5: -Move check_top_directory to main Changes in v4: None Changes in v3: -New for version 3 Changes in v2: None tools/moveconfig.p

[U-Boot] [PATCH v5 3/9] moveconfig: Add a parameter to accept a list to build

2015-05-19 Thread Joe Hershberger
This is helpful to re-attempt to move failed boards from a previous run without starting over. Signed-off-by: Joe Hershberger --- Changes in v5: -Remove default 'r' mode on open Changes in v4: None Changes in v3: -Fixed command line options order (alphabetize) Changes in v2: -New for version

Re: [U-Boot] [PATCH v3] sunxi: Make DRAM_ODT_EN Kconfig setting a bool

2015-05-19 Thread Ian Campbell
On Tue, 2015-05-19 at 18:39 +0200, Hans de Goede wrote: > Hi, > > On 05/19/2015 04:13 PM, Ian Campbell wrote: > > On Tue, 2015-05-19 at 14:56 +0200, Hans de Goede wrote: > >> diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > >> b/arch/arm/cpu/armv7/sunxi/dram_sun4i.c > >> index c736fa3..f7b491

[U-Boot] Pull request: u-boot-net.git master

2015-05-19 Thread Joe Hershberger
Hi Tom, This contains a few bug fixes and features from earlier in the merge window. The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400) are available in the git repository at: git://git.denx.de/u-

Re: [U-Boot] [PATCH V2 11/13] test: dm: test.dts - move to sandbox dts directory

2015-05-19 Thread Joe Hershberger
Hi Simon, On Fri, May 15, 2015 at 8:56 AM, Simon Glass wrote: > On 13 May 2015 at 05:38, Przemyslaw Marczak wrote: >> The file test.dts from driver model test directory, >> was compiled by call dtc in script: test/dm/test-dm.sh. >> >> This doesn't allow for including of dtsi files and using >> o

Re: [U-Boot] [PATCH V2 11/13] test: dm: test.dts - move to sandbox dts directory

2015-05-19 Thread Joe Hershberger
Hi Simon, On Tue, May 19, 2015 at 2:21 PM, Joe Hershberger wrote: > Hi Simon, > > On Fri, May 15, 2015 at 8:56 AM, Simon Glass wrote: >> On 13 May 2015 at 05:38, Przemyslaw Marczak wrote: >>> The file test.dts from driver model test directory, >>> was compiled by call dtc in script: test/dm/tes

Re: [U-Boot] [PATCH v6 1/4] mtd, spi: add MTD layer driver

2015-05-19 Thread Jagan Teki
Hi Heiko, I have tested this sf-mtd stuff, please see below and enabled prints in all the func calls. zynq-uboot> mtdparts add nor0 0x1@0x0 env mtdparts variable not set, see 'help mtdparts' zynq-uboot> mtdparts device nor0 , # parts = 1 #: namesizeoffset

Re: [U-Boot] [PATCH 04/12] sunxi: Update sunxi-common.h to deal with different DRAM base addr on sun9i

2015-05-19 Thread Hans de Goede
Hi Ian, On 01/17/2015 11:44 PM, Ian Campbell wrote: On Thu, 2015-01-15 at 15:52 +0100, Hans de Goede wrote: The DRAM Base differs between sun9i and the others and we cannot use math in various places like the environment setting and linker scripts, so "simply" define everything which contains t

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

2015-05-19 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for various small bugfixes, improvements and one new board. The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400) are available in the git repository

Re: [U-Boot] [PATCH v4 00/26] Improve env var handling for net stack

2015-05-19 Thread Joe Hershberger
Hi Tom, On Thu, May 7, 2015 at 4:48 AM, Joe Hershberger wrote: > This includes moving CONFIG_REGEX to Kconfig and adding support for > regex to the env_attr lists (when CONFIG_REGEX is enabled). > > This allows ethaddrs to all be checked for access and format by default. > Also use callbacks to k

Re: [U-Boot] [PATCH] arm: imx: Switch Wandboard to use config_distro_bootcmd.h.

2015-05-19 Thread Vagrant Cascadian
On 2015-05-19, XoD wrote: > Any new of this ? it can be merged ? I think my submitted patch was a bit too invasive by removing most of the environment, and have reworked the patch to leave much of the environment: https://anonscm.debian.org/cgit/collab-maint/u-boot.git/tree/debian/patches/wand

[U-Boot] [PATCH v4] usb: kbd: Fix key repeat not always working

2015-05-19 Thread Hans de Goede
The usb-kbd key repeat code assumes that reports get repeated every 40 ms, this is never true when using CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP, and does not always works for CONFIG_SYS_USB_EVENT_POLL and CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE since not all usb keyboards honor the usb_set_idle()

Re: [U-Boot] [PATCH V2 11/13] test: dm: test.dts - move to sandbox dts directory

2015-05-19 Thread Simon Glass
Hi Joe, On 19 May 2015 at 13:23, Joe Hershberger wrote: > > Hi Simon, > > On Tue, May 19, 2015 at 2:21 PM, Joe Hershberger > wrote: > > Hi Simon, > > > > On Fri, May 15, 2015 at 8:56 AM, Simon Glass wrote: > >> On 13 May 2015 at 05:38, Przemyslaw Marczak wrote: > >>> The file test.dts from dri

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-19 Thread Stephen Warren
On 05/19/2015 12:01 PM, Simon Glass wrote: Hi Stephen, On 19 May 2015 at 09:41, Stephen Warren wrote: On 05/18/2015 03:33 PM, Simon Glass wrote: Hi Stephen, On 15 May 2015 at 09:34, Stephen Warren wrote: On 05/13/2015 07:56 AM, Simon Glass wrote: Hi Stephen, On 25 February 2015 at 16

Re: [U-Boot] Fix fsl_elbc_nand driver

2015-05-19 Thread Scott Wood
On Mon, 2015-05-18 at 19:16 -0700, Andrei Yakimov wrote: > This is my best try. I have test it with my old u-boot, > but not with master. Do not have a bench for it. A bench? > This is not very important patch. I do not find > any other ONFI user in u-boot. > Andrei > > From d76b4ae8e866affa15d

Re: [U-Boot] u-boot compilation error for altera socfpga cyclon 5 if gpio included

2015-05-19 Thread Simon Glass
Hi, On 12 May 2015 at 07:53, Altunbas Sabri (DC-IA/EAH2) wrote: > Hi All, > > I use u-boot for altera socfpga cyclone 5 and want to include > gpio-functionality with > > "#define CONFIG_CMD_GPIO" > > in file > > uboot-socfpga/include/configs/ socfpga_cyclone5.h > > and get the following compilat

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-19 Thread Simon Glass
+Tom Rini in case he is interested... Hi Stephen, On 19 May 2015 at 15:36, Stephen Warren wrote: > On 05/19/2015 12:01 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 19 May 2015 at 09:41, Stephen Warren wrote: >>> >>> On 05/18/2015 03:33 PM, Simon Glass wrote: Hi Stephen,

Re: [U-Boot] Fix fsl_elbc_nand driver

2015-05-19 Thread Andrei Yakimov
On Tue, 2015-05-19 at 17:38 -0500, Scott Wood wrote: > On Tue, 2015-05-19 at 15:29 -0700, Andrei Yakimov wrote: > > I did not compiling latest, I still in 2011.9 and 2.6.38. > > I have go over latest kernel and can see they using > > NAND_CMD_PARAM with sub command 0x40 - to get JEDEC > > informa

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-19 Thread Stephen Warren
On 05/19/2015 05:27 PM, Simon Glass wrote: > +Tom Rini in case he is interested... > > Hi Stephen, > > On 19 May 2015 at 15:36, Stephen Warren wrote: >> On 05/19/2015 12:01 PM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 19 May 2015 at 09:41, Stephen Warren wrote: On 05/18/2015

[U-Boot] [PATCH] imx: dma: correct MXS_DMA_ALIGNMENT

2015-05-19 Thread Peng Fan
We should not hardcode MXS_DMA_ALIGNMENT to 32, since we can not guarantee that socs' cache line size is 32 bytes. If on chips whose cache line size is 64 bytes, error occurs: " NAND: ERROR: v7_dcache_inval_range - start address is not aligned - 0xbdf1d1a0 ERROR: v7_dcache_inval_range - stop addre

[U-Boot] [PATCH v3] tools: moveconfig: a tool to move CONFIGs from headers to defconfigs

2015-05-19 Thread Masahiro Yamada
This tool was originally written for my local use to ease the task of tons of CONFIG moves, but there have been some requests for mainlining it. So, I have tidied up the code with nicer comments, and here it is. See the comment block of the script for usage. The first draft was http://patchwork.o

[U-Boot] [PATCH v4] tools: moveconfig: a tool to move CONFIGs from headers to defconfigs

2015-05-19 Thread Masahiro Yamada
This tool was originally written for my local use to ease the task of tons of CONFIG moves, but there have been some requests for mainlining it. So, I have tidied up the code with nicer comments, and here it is. See the comment block of the script for usage. The first draft was http://patchwork.o

Re: [U-Boot] i.MX53 USB Client not working

2015-05-19 Thread Fabio Estevam
Hi Matthew, On Thu, May 14, 2015 at 7:39 PM, Matthew Starr wrote: > It appears that setting CONFIG_MXC_USB_PORT to 0 then loads the OTG port on > the i.MX53. The code appears to be in drivers/usb/host/ehci-mx5.c.The > problem then is that the USB host port is then not usable since my i.MX5

Re: [U-Boot] [PATCH 20/20] tegra: config: nyan-big: Add options required by Chrome OS boot

2015-05-19 Thread Simon Glass
Hi Stephen, On 19 May 2015 at 19:44, Stephen Warren wrote: > On 05/19/2015 05:27 PM, Simon Glass wrote: >> +Tom Rini in case he is interested... >> >> Hi Stephen, >> >> On 19 May 2015 at 15:36, Stephen Warren wrote: >>> On 05/19/2015 12:01 PM, Simon Glass wrote: Hi Stephen, O

Re: [U-Boot] [PATCH v4 03/10] moveconfig: Add a parameter to accept a list to build

2015-05-19 Thread Masahiro Yamada
2015-05-20 2:58 GMT+09:00 Joe Hershberger : > Hi Masahiro-san, > > On Mon, May 18, 2015 at 11:33 PM, Masahiro Yamada > wrote: >> 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >>> This is helpful to re-attempt to move failed boards from a previous run >>> without starting over. >>> >>> Signed-off-by:

Re: [U-Boot] [PATCH v4 08/10] moveconfig: Print a message for missing compiler

2015-05-19 Thread Masahiro Yamada
2015-05-20 2:51 GMT+09:00 Joe Hershberger : > Hi Masahiro-san, > > On Mon, May 18, 2015 at 10:23 PM, Masahiro Yamada > wrote: >> 2015-05-16 6:40 GMT+09:00 Joe Hershberger : >>> A common case for failed builds is a missing compiler. Print a message >>> for that case to tell the user concisely which

Re: [U-Boot] [PATCH v2] tools: moveconfig: a tool to move CONFIGs from headers to defconfigs

2015-05-19 Thread Masahiro Yamada
2015-05-20 0:33 GMT+09:00 Joe Hershberger : >> +if len(failed_boards) > 0: >> +msg = [ "The following boards were not processed due to error:" >> ] >> +msg += failed_boards >> +print msg > > This is an extra print. Fixed. Thanks! -- Best Regards M

Re: [U-Boot] [PATCH v5 1/9] moveconfig: Always run savedefconfig on the moved config

2015-05-19 Thread Masahiro Yamada
Hi Joe, 2015-05-20 3:21 GMT+09:00 Joe Hershberger : > This will ensure that the order of the defconfig entries will always > match that of the Kconfig files. After one slightly painful (but > still early in the process) pass over all boards, this should keep > the defconfigs clean from here on.

Re: [U-Boot] [RFC PATCH] tools: get-toolchais: a tool to get cross-tools for all architectures

2015-05-19 Thread Masahiro Yamada
2015-05-20 3:17 GMT+09:00 Simon Glass : >> In my case I do some work on an old distro and on that machine I have >> wget, but not python 3. >> >> 8< snip >8 > > One option there might be Python 2 and urllib2 like buildman? In > general it is nice to support older platforms if we can as it reduces

[U-Boot] [PATCH] powerpc: gitignore: ignore PowerPC DTBs

2015-05-19 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/powerpc/dts/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/powerpc/dts/.gitignore diff --git a/arch/powerpc/dts/.gitignore b/arch/powerpc/dts/.gitignore new file mode 100644 index 000..b60ed20 --- /dev/null +++ b/arch/powerp

Re: [U-Boot] [PATCH v6 1/4] mtd, spi: add MTD layer driver

2015-05-19 Thread Heiko Schocher
Hello Jagan, Am 19.05.2015 22:09, schrieb Jagan Teki: Hi Heiko, I have tested this sf-mtd stuff, please see below and enabled prints in all the func calls. Thanks for testing! zynq-uboot> mtdparts add nor0 0x1@0x0 env mtdparts variable not set, see 'help mtdparts' zynq-uboot> mtdparts