Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Stefano Babic
Hi Fabio, On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and > board variant on the fly and change the dtb name. > > Based on the scheme done on am335x board. > > Signed-off-by: Fabio Estevam > --- > Chang

[U-Boot] [PATCH] t4240qds: apply some updates

2015-04-27 Thread shh.xie
From: Shaohui Xie 1. board/freescale/t4qds/t4_rcw.cfg 1.8GHz support is requested as default frequency, so update the rcw. 2. remove un-used configs configs/T4160QDS_SPIFLASH_defconfig configs/T4240QDS_SPIFLASH_defconfig SPI boot is not available on T4QDS, so the configs should be removed. 3. b

[U-Boot] [PATCH v2 2/2] spl: spl_mmc: Partition raw boot mode for eMMC

2015-04-27 Thread Paul Kocialkowski
This adds support for providing a partition number instead of a sector for eMMC. Signed-off-by: Paul Kocialkowski --- common/spl/spl_mmc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index d8be1f0..9d8af51 100644 --- a/common/spl/spl_mmc.c

[U-Boot] [PATCH v2 1/2] spl: spl_mmc: Clearer structure in spl_mmc_load_image and cosmetics

2015-04-27 Thread Paul Kocialkowski
This refactors spl_mmc_load_image to use a switch/case structure and easier to understand spl_start_uboot checks. This also introduces some more automatic fallback on the next mmc boot mode as long as it keeps failing. Lines that go beyond 80 chars are also reduced by reducing the number of tabs.

Re: [U-Boot] [PATCH 1/2] spl: spl_mmc: Clearer structure in spl_mmc_load_image and cosmetics

2015-04-27 Thread Paul Kocialkowski
Le mardi 21 avril 2015 à 09:32 -0400, Tom Rini a écrit : > On Sun, Apr 19, 2015 at 09:30:08PM +0200, Paul Kocialkowski wrote: > > > This refactors spl_mmc_load_image to use a switch/case structure and easier > > to understand spl_start_uboot checks. It also drops fallbacks on boot > > devices > >

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-04-27 Thread Hans de Goede
Hi, On 27-04-15 03:09, Marek Vasut wrote: On Friday, March 27, 2015 at 09:47:25 AM, Hans de Goede wrote: Hi, Hi! [...] scanning usb for storage devices... 1 Storage Device(s) found that EHCI timeout appears to be random, it pops up maybe 20% of the time. tried with a few differ

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Fabio Estevam
Hi Stefano, On Mon, Apr 27, 2015 at 4:51 AM, Stefano Babic wrote: >> +int board_late_init(void) >> +{ >> +#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG >> + if (is_hummingboard()) >> + setenv("board_name", "HUMMINGBOARD"); >> + else >> + setenv("board_name", "CUBOXI

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Stefano Babic
Hi Fabio, On 27/04/2015 12:11, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Apr 27, 2015 at 4:51 AM, Stefano Babic wrote: > >>> +int board_late_init(void) >>> +{ >>> +#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG >>> + if (is_hummingboard()) >>> + setenv("board_name", "HUMMINGBO

Re: [U-Boot] [PATCH v5 1/6] mx6cuboxi: Fix the defconfig name

2015-04-27 Thread Stefano Babic
On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > The correct name of the defconfig file is 'mx6cuboxi_defconfig'. > > Signed-off-by: Fabio Estevam > --- > Changes since v4: > - None > > board/solidrun/mx6cuboxi/MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 delet

Re: [U-Boot] [PATCH v5 2/6] mx6cuboxi: Prepare for multi SoC support

2015-04-27 Thread Stefano Babic
On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, > mx6dual and mx6quad. > > Use IOMUX_PADS() macro in order to prepare for the multi-SoC support. > Also pass 'MX6QDL' in the defconfig to indicate it.

Re: [U-Boot] [PATCH v5 3/6] mx6cuboxi: Introduce multi-SoC support

2015-04-27 Thread Stefano Babic
On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite, > mx6dual and mx6quad. Add support for the different SoC/memory sizes > combinations. > > DDR initialization values were extracted from Solid-run inter

Re: [U-Boot] [PATCH v5 4/6] mx6cuboxi: Differentiate Cubox-i and Hummingboard

2015-04-27 Thread Stefano Babic
On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > Introduce is_hummingboard() function that reads GPIOs that can distinguish > between Cubox-i and Hummingboard. > > Print the board name accordingly. > > Based on a patch from Rabeeh Khoury. > > Signed-off-by: Rabeeh Khoury

Re: [U-Boot] [PATCH v5 5/6] mx6cuboxi: Use more standard namings for fdt variables

2015-04-27 Thread Stefano Babic
On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > README file suggests to use 'fdtfile' for the dtb file name and > 'fdt_addr_r' for the dtb address in RAM, so do as suggested. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Ba

Re: [U-Boot] [PATCH v5 6/6] mx6cuboxi: Load the correct 'fdtfile' variable

2015-04-27 Thread Stefano Babic
On 25/04/2015 23:47, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and > board variant on the fly and change the dtb name. > > Based on the scheme done on am335x board. > > Signed-off-by: Fabio Estevam > ---Applied to u-boot

Re: [U-Boot] [U-Boot PATCH 3/8] spi: Zap ftssp010_spi driver

2015-04-27 Thread Jagan Teki
Hi Axel, On 22 April 2015 at 06:09, Axel Lin wrote: > 2015-04-22 2:26 GMT+08:00 Jagannadha Sutradharudu Teki > : >> Zap ftssp010_spi driver since the boards used this driver >> is no longer been active. > > I'm not sure if this is correct thing to do... > It's fine to drop unmaintained boards, bu

Re: [U-Boot] MinnowBoard Max uboot

2015-04-27 Thread Beaman, Thomas
Hi Simon, Thanks for the update and I will be glad to help with testing if needed. Tom -Original Message- From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: Sunday, April 26, 2015 8:36 PM To: Beaman, Thomas Cc: u-boot@lists.denx.de; Bin Meng; gabriel huau Subj

[U-Boot] [PATCH 1/2] hummingboard: Remove mx6solo specific support

2015-04-27 Thread Fabio Estevam
Hummingboard dual, dual-lite and solo are now supported via SPL mechanism. Remove the previous hummingboard support, which does not use SPL and supported only the solo variant. Signed-off-by: Fabio Estevam --- arch/arm/Kconfig | 5 - board/solidrun/hummingboard/Kconf

[U-Boot] [PATCH 2/2] mx6cuboxi: Mention Cubox-i in the README

2015-04-27 Thread Fabio Estevam
Cubox-i boards are also supported, so update the README file. Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/README | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/board/solidrun/mx6cuboxi/README b/board/solidrun/mx6cuboxi/README index 3050c48..b417ff0 1

[U-Boot] [PATCH V3] i2c: mxc: refactor i2c driver and support dm

2015-04-27 Thread Peng Fan
1. Introduce a new structure `struct mxc_i2c_bus`, this structure will used for non-DM and DM. 2. Remove `struct mxc_i2c_regs` structure, but use register offset to access registers based on `base` entry of `struct mxc_i2c_bus`. 3. Remove most `#ifdef I2C_QUIRK_REG`. Using driver_data to cont

[U-Boot] HUSH logical AND/OR expressions

2015-04-27 Thread Joakim Tjernlund
Trying to get a better handle of HUSH shell expressions, this does not work as I expect: => false && true || echo ECHO => false && false || echo ECHO none prints ECHO, seems like a bug? This the only one that prints ECHO >= true && false || echo ECHO Jocke _

[U-Boot] Compile u-boot with specific options (bootargs)

2015-04-27 Thread Shanx
Hello, after a lot of attempts, I've finally managed to automatize deployment of images on i.mx6 sabresd using network. I initially boot from SD card, where there is u-boot. The boot.scr makes u-boot download a kernel and a minimal rootfs (a .cpio.gz.uboot) and boot on RAM. From this minimal image

[U-Boot] Upgrading U-Boot stops Linux booting.

2015-04-27 Thread Ben Hewson
Hi, I am having some trouble and wondered if anyone has any suggestions. I have a iMX6 (Quad core, 1Gb Ram) based board by Digi.com. It follows pretty closely the Sabrelite reference design. I am trying to boot Android from SATA on this board. Booting from the SD card works fine, using the u-

[U-Boot] [PATCH] bugfix i.mx6 pwm: prevent overflow of period_c * duty_ns by casting duty_ns to ull first. This bug came up when trying to create a 200 Hz PWM.

2015-04-27 Thread Brecht Neyrinck
--- drivers/pwm/pwm-imx-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 drivers/pwm/pwm-imx-util.c diff --git a/drivers/pwm/pwm-imx-util.c b/drivers/pwm/pwm-imx-util.c index f1d0b35..777a8bf 100644 --- a/drivers/pwm/pwm-imx-util.c +++ b/drivers/pwm/pwm-i

Re: [U-Boot] [U-Boot PATCH v2] sf: Fix to compute proper sector_size

2015-04-27 Thread Jagan Teki
On 27 April 2015 at 10:54, Bin Meng wrote: > Hi Jagan, > > On Fri, Apr 24, 2015 at 5:43 PM, Jagannadha Sutradharudu Teki > wrote: >> Upto now flash sector_size is assigned from params which isn't >> necessarily a sector size from vendor, so based on the SECT_* >> flags from flash_params the erase

Re: [U-Boot] [U-Boot 1/7] dm: spi: zynq_spi: Convert to driver model

2015-04-27 Thread Jagan Teki
Hi Simon, On 23 April 2015 at 23:53, Simon Glass wrote: > Hi Jagan, > > On 23 April 2015 at 08:15, Jagannadha Sutradharudu Teki > wrote: >> This converts the zynq spi driver to use the driver model. >> >> Minimal functional changes like using meaningful name on >> structure members wrt mainlined

Re: [U-Boot] [U-Boot 0/7] dm: spi: Convert few drivers to driver model

2015-04-27 Thread Jagan Teki
Hi Siva Durga Prasad, On 23 April 2015 at 19:45, Jagannadha Sutradharudu Teki wrote: > Driver model conversion, patches. - drivers/spi/zynq_spi.c and > drivers/spi/xilinx_spi.c > > thanks! > -- > Jagan. > > Jagannadha Sutradharudu Teki (7): > dm: spi: zynq_spi: Convert to driver model > zynq:

[U-Boot] switching to single .config configuration issues

2015-04-27 Thread Hanna Hawa
Hi everyone, I'm working on the latest u-boot 2015.04 trying to rebase my repository to latest code. And I have question regarding patch e02ee2548afe (kconfig: switch to single .config configuration) Issues that I face in the current solution (single .config): For my usage most of the CONFIG op

[U-Boot] [PATCH 3/5] x86: Kconfig: MARK_GRAPHICS_MEM_WRCOMB cosmetics

2015-04-27 Thread Bin Meng
Remove the ending period of the MARK_GRAPHICS_MEM_WRCOMB option. Also fix the indention of its help text. Signed-off-by: Bin Meng --- arch/x86/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 43062cd..2387fb7 100644 --

[U-Boot] [PATCH 1/5] x86: Kconfig: Divide the target selection to vendor/model

2015-04-27 Thread Bin Meng
Let arch/x86/Kconfig prompt board vendor first, then select the board model under that vendor. This way arch/x86/Kconfig only needs concern board vendor and leave the supported target list to board//Kconfig. Signed-off-by: Bin Meng --- arch/x86/Kconfig| 92 ++

[U-Boot] [PATCH 2/5] x86: Kconfig: Move platform options forward

2015-04-27 Thread Bin Meng
Move platform-specific options under in arch/x86/Kconfig forward right after the board-specific options but before any architecture-specific options. When it comes to the same Kconfig option, board-specific one takes take the highest precedence, then platform-specific one, and finally architecture-

[U-Boot] [PATCH 4/5] x86: Kconfig: Move DM_SPI & DM_SPI_FLASH to arch/Kconfig

2015-04-27 Thread Bin Meng
Since all x86 boards have been converted to use DM_SPI and DM_SPI_FLASH, move them to arch/Kconfig x86 section. Signed-off-by: Bin Meng --- arch/Kconfig | 2 ++ arch/x86/Kconfig | 6 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 1102

[U-Boot] [PATCH 5/5] x86: Kconfig: Remove deprecated CONFIG_SYS_EXTRA_OPTIONS

2015-04-27 Thread Bin Meng
Currently all x86 boards still use CONFIG_SYS_EXTRA_OPTIONS to define the text base address. Since it is deprecated, just remove it and use CONFIG_SYS_TEXT_BASE directly. Signed-off-by: Bin Meng --- Kconfig| 2 +- board/coreboot/coreboot/Kconfig| 3 +++ b

[U-Boot] [PATCH] builderthread.py: Keep 'SPL'

2015-04-27 Thread Tom Rini
On i.MX platforms the SPL binary is called "SPL" so make sure we keep that. Cc: Simon Glass Signed-off-by: Tom Rini --- tools/buildman/builderthread.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py index

[U-Boot] [PATCH v3] sf: Fix to compute proper sector_size

2015-04-27 Thread Jagannadha Sutradharudu Teki
Upto now flash sector_size is assigned from params which isn't necessarily a sector size from vendor, so based on the SECT_* flags from flash_params the erase_size will compute and it will become the sector_size finally. Bug report (from Bin Meng): => sf probe SF: Detected SST25VF016B with page si

Re: [U-Boot] [PATCH v2] spi: omap3: Fix timeout handling

2015-04-27 Thread Jagan Teki
On 24 April 2015 at 17:04, D. Dueck wrote: > As requested: > Tested-by: David Dueck > > > Am Freitag, 24. April 2015 schrieb Jagan Teki : >> >> On 7 April 2015 at 05:55, Tom Rini wrote: >> > On Wed, Apr 01, 2015 at 04:21:50PM +0100, Andy Pont wrote: >> >> Hi David, >> >> >> >> >> >> >> >> >

Re: [U-Boot] installing u-boot on a virtual x86 machine

2015-04-27 Thread Simon Glass
Hi Francesco, On 27 April 2015 at 00:56, Francesco Lucconi wrote: > > 2015-04-25 1:04 GMT+02:00 Bin Meng : >> >> Hi Francesco, >> >> On Fri, Apr 24, 2015 at 3:20 PM, Francesco Lucconi >> wrote: >> > I'm Francesco Lucconi from Italy, and I'm involved into a x86 project >> > where >> > my issue is

Re: [U-Boot] [PATCH] builderthread.py: Keep 'SPL'

2015-04-27 Thread Simon Glass
On 27 April 2015 at 09:34, Tom Rini wrote: > On i.MX platforms the SPL binary is called "SPL" so make sure we keep > that. > > Cc: Simon Glass > Signed-off-by: Tom Rini > --- > tools/buildman/builderthread.py |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass ___

Re: [U-Boot] [PATCH 3/4][v2]include:configs:ls1021atwr: Enable USB IP support

2015-04-27 Thread Marek Vasut
On Monday, April 27, 2015 at 07:44:15 AM, Ramneek Mehresh wrote: [...] > > > diff --git a/include/linux/usb/xhci-fsl.h > > > b/include/linux/usb/xhci-fsl.h index 8eaab2c..329abf7 100644 > > > --- a/include/linux/usb/xhci-fsl.h > > > +++ b/include/linux/usb/xhci-fsl.h > > > @@ -46,6 +46,11 @@ > > >

Re: [U-Boot] [PATCH] socfpga: implement arria V socdk SPI flash config in dts

2015-04-27 Thread Marek Vasut
On Monday, April 27, 2015 at 08:09:41 AM, Pavel Machek wrote: > On Mon 2015-04-27 03:08:27, Marek Vasut wrote: > > On Saturday, April 25, 2015 at 09:36:16 PM, Pavel Machek wrote: > > > Arria V SocDK has same QSPI and SPI flash configuration as Socrates. > > > Add support for it. > > > > > > Signed

Re: [U-Boot] [RFC PATCH 4/4 v3] mtd: sf: Add CONFIG_SPI_N25Q256A_RESET for software-reset

2015-04-27 Thread Marek Vasut
On Saturday, April 25, 2015 at 09:48:31 PM, Pavel Machek wrote: > On Thu 2014-10-02 00:34:48, Jagan Teki wrote: > > On 2 October 2014 00:27, Stefan Roese wrote: > > > On 01.10.2014 20:25, Marek Vasut wrote: > > >> On Wednesday, October 01, 2014 at 05:13:11 PM, Stefan Roese wrote: > > >>> This is n

Re: [U-Boot] [PATCH] stm32f4: fix serial output

2015-04-27 Thread Kamil Lulko
2015-04-24 21:27 GMT+02:00 kunhuahuang : > This patch fix the serial output. > The source is from Kamil Lulko's "stm32f429-discovery board support" > > Signed-off-by: kunhuahuang > --- > drivers/serial/serial_stm32.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/serial/seri

Re: [U-Boot] [PATCH v2] gpio: stm32_gpio: Use clrsetbits_le32() at appropriate places

2015-04-27 Thread Kamil Lulko
On 26/04/15 04:32, Axel Lin wrote: Signed-off-by: Axel Lin Reviewed-by:Kamil Lulko http://lists.denx.de/mailman/listinfo/u-boot>> ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-27 Thread Tom Rini
On Thu, Apr 23, 2015 at 11:13:47PM +0200, Marek Vasut wrote: > On Thursday, April 23, 2015 at 03:13:51 PM, Tom Rini wrote: > > On Thu, Apr 23, 2015 at 06:08:43PM +0530, maitysancha...@gmail.com wrote: > > > Hello, > > > > > > On 15-04-15 16:24:21, Sanchayan Maity wrote: > > > > Hello, > > > > > >

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-27 Thread Marek Vasut
On Monday, April 27, 2015 at 07:54:15 PM, Tom Rini wrote: [...] > > > > Ping!? > > > > > > > > Anything preventing this patch from getting applied? > > > > > > I'll pick this up soon, thanks! > > > > This should go through u-boot-imx though ;-) > > For the record, since they aren't quite imx

[U-Boot] [PATCH v2] stm32f4: fix serial output

2015-04-27 Thread kunhuahuang
This patch fix the serial output. The source is from Kamil Lulko's "stm32f429-discovery board support" Thanks, Varcain. I learned a lot. Signed-off-by: kunhuahuang --- drivers/serial/serial_stm32.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/serial/serial_stm32.c b/drivers/s

Re: [U-Boot] [PATCH] use CONFIG_CMD_HOST to enable the host command

2015-04-27 Thread Joe Hershberger
Hi Sjoerd, On Sun, Apr 26, 2015 at 3:29 PM, Sjoerd Simons wrote: > Rather then building the host command depending on the configured board > (CONFIG_SANDBOX being defined), use the more common way of enabling it > via the board configuration. > > Fixes building of the env target for sandbox as co

[U-Boot] [PATCH v2] stm32f4: add serial print port

2015-04-27 Thread kunhuahuang
Add the stm32F4 board's serial ports support. User can use it easily. The user only need to edit the number of the usart. The patch also fix the serial print out. Last, this version of patch fix the first patch checkpatch.pl error. Thanks to Kamil Lulko. Signed-off-by: kunhuahuang --- arch/arm/

Re: [U-Boot] [PATCH] mpc85xx/T104xD4RDB: Add T104xD4RDB boards support

2015-04-27 Thread York Sun
On 04/16/2015 12:14 PM, York Sun wrote: > > On 03/25/2015 07:46 AM, Vijay Rai wrote: > > > > Please do not use CONFIG_SYS_EXTRA_OPTIONS for new boards. > As Masahiro explained, it is too early to enforce CONFIG_SYS_EXTRA_OPTIONS. This patch is moved back into the queue. York

Re: [U-Boot] [PATCH 05/11] env: Simplify the reverse_strstr() interface

2015-04-27 Thread Joe Hershberger
Hi Simon, On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote: > Hi Joe, > > On 21 April 2015 at 16:02, Joe Hershberger wrote: >> The logic to find the whole matching name was split needlessly between >> the reverse_strstr function and its caller. Fully contain it to make the >> interface for ca

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

2015-04-27 Thread Joe Hershberger
Hi Simon, On Thu, Apr 23, 2015 at 11:32 PM, Simon Glass wrote: > Hi Joe, > > On 21 April 2015 at 16:02, 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 b

Re: [U-Boot] [PATCH 05/11] env: Simplify the reverse_strstr() interface

2015-04-27 Thread Joe Hershberger
Hi Simon, On Mon, Apr 27, 2015 at 2:24 PM, Joe Hershberger wrote: > Hi Simon, > > On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote: >> Hi Joe, >> >> On 21 April 2015 at 16:02, Joe Hershberger wrote: >>> The logic to find the whole matching name was split needlessly between >>> the reverse_st

Re: [U-Boot] [PATCH 09/11] net: Apply default format rules to all ethaddr

2015-04-27 Thread Joe Hershberger
Hi Simon, On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote: > On 21 April 2015 at 16:02, Joe Hershberger wrote: >> Use a regular expression to apply the default formatting flags for all >> ethaddr env vars. >> >> Signed-off-by: Joe Hershberger >> --- >> >> include/env_flags.h | 11 -

Re: [U-Boot] [PATCH 10/11] net: Use env callbacks for net variables

2015-04-27 Thread Joe Hershberger
Hi Simon, On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote: > Hi Joe, > > On 21 April 2015 at 16:02, Joe Hershberger wrote: >> Instead of checking for changes to the env each time we enter the >> net_loop, use the env callbacks to update the values of the variables. >> Don't update the variab

Re: [U-Boot] [PATCH v2] net/phy: refactor RTL8211F initialization

2015-04-27 Thread Joe Hershberger
On Fri, Apr 24, 2015 at 3:57 AM, Shengzhou Liu wrote: > RTL8211F needs to enalbe TXDLY for RGMII during > phy initialization, so move it to rtl8211f_config > for early initialization. > > Signed-off-by: Shengzhou Liu > cc: Joe Hershberger Acked-by: Joe Hershberger _

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

2015-04-27 Thread Simon Glass
Hi Joe, On 27 April 2015 at 12:20, Joe Hershberger wrote: > Hi Simon, > > On Thu, Apr 23, 2015 at 11:32 PM, Simon Glass wrote: >> Hi Joe, >> >> On 21 April 2015 at 16:02, Joe Hershberger wrote: >>> This includes moving CONFIG_REGEX to Kconfig and adding support for >>> regex to the env_attr lis

Re: [U-Boot] [PATCH 05/11] env: Simplify the reverse_strstr() interface

2015-04-27 Thread Simon Glass
Hi Joe, On 27 April 2015 at 13:31, Joe Hershberger wrote: > Hi Simon, > > On Mon, Apr 27, 2015 at 2:24 PM, Joe Hershberger > wrote: >> Hi Simon, >> >> On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote: >>> Hi Joe, >>> >>> On 21 April 2015 at 16:02, Joe Hershberger wrote: The logic to fi

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-04-27 Thread Simon Glass
Hi Iain, On 27 March 2015 at 02:42, Iain Paton wrote: > On 26/03/15 19:08, Hans de Goede wrote: > >> Perhaps someone can test the reproducer on another board >> with usb: > > on an A20-OLinuXino-lime2 > > U-Boot SPL 2015.04-rc4-00073-g07d8f86 (Mar 27 2015 - 08:05:11) > DRAM: 1024 MiB > CPU: 91200

Re: [U-Boot] [PATCH 09/11] net: Apply default format rules to all ethaddr

2015-04-27 Thread Simon Glass
Hi Joe, On 27 April 2015 at 13:35, Joe Hershberger wrote: > Hi Simon, > > On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote: >> On 21 April 2015 at 16:02, Joe Hershberger wrote: >>> Use a regular expression to apply the default formatting flags for all >>> ethaddr env vars. >>> >>> Signed-off

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-27 Thread Otavio Salvador
On Mon, Apr 27, 2015 at 3:18 PM, Marek Vasut wrote: > On Monday, April 27, 2015 at 07:54:15 PM, Tom Rini wrote: > > [...] > >> > > > Ping!? >> > > > >> > > > Anything preventing this patch from getting applied? >> > > >> > > I'll pick this up soon, thanks! >> > >> > This should go through u-boot-i

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-27 Thread Stefano Babic
Hi Tom, On 27/04/2015 19:54, Tom Rini wrote: Anything preventing this patch from getting applied? >>> >>> I'll pick this up soon, thanks! >> >> This should go through u-boot-imx though ;-) > > For the record, since they aren't quite imx platforms I didn't want to > throw another SoC on some

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

2015-04-27 Thread Joe Hershberger
On Mon, Apr 27, 2015 at 2:53 PM, Simon Glass wrote: > Hi Joe, > > On 27 April 2015 at 12:20, Joe Hershberger wrote: >> Hi Simon, >> >> On Thu, Apr 23, 2015 at 11:32 PM, Simon Glass wrote: >>> Hi Joe, >>> >>> On 21 April 2015 at 16:02, Joe Hershberger wrote: This includes moving CONFIG_REGE

Re: [U-Boot] [PATCH] x86: Correct Minnowboard instructions to use the right descriptor

2015-04-27 Thread Simon Glass
Hi Tom, On 25 April 2015 at 11:54, Tom Rini wrote: > On Sat, Apr 25, 2015 at 11:46:43AM -0600, Simon Glass wrote: >> The descriptor provided with the FSP does not seem to work. Update the >> instructions to use the descriptor from the original Intel firmware. >> >> Signed-off-by: Simon Glass >>

Re: [U-Boot] [PATCH] sandbox: Don't try distro_bootcmd by default

2015-04-27 Thread Simon Glass
Hi Sjoerd, On 26 April 2015 at 14:31, Sjoerd Simons wrote: > For the distro_bootcmds to succeed on the sandbox a bit of setup is > required (e.g. network configured or host image bound), so running them > by default isn't that useful. > > Add a -b/--boot command to the sandbox binary, which trigg

Re: [U-Boot] [PATCH v3 0/7] Add support for Colibri Vybrid Modules

2015-04-27 Thread Marek Vasut
On Monday, April 27, 2015 at 10:00:01 PM, Otavio Salvador wrote: > On Mon, Apr 27, 2015 at 3:18 PM, Marek Vasut wrote: > > On Monday, April 27, 2015 at 07:54:15 PM, Tom Rini wrote: > > > > [...] > > > >> > > > Ping!? > >> > > > > >> > > > Anything preventing this patch from getting applied? > >

Re: [U-Boot] Regression in usb-storage in u-boot 2015.04 ???

2015-04-27 Thread Marek Vasut
On Monday, April 27, 2015 at 09:57:52 PM, Simon Glass wrote: > Hi Iain, > > On 27 March 2015 at 02:42, Iain Paton wrote: > > On 26/03/15 19:08, Hans de Goede wrote: > >> Perhaps someone can test the reproducer on another board > > > >> with usb: > > on an A20-OLinuXino-lime2 > > > > U-Boot SPL

[U-Boot] [PATCH 02/20] dm: core: Add a function to bind a driver for a device tree node

2015-04-27 Thread Simon Glass
Some device tree nodes do not have compatible strings but do require drivers. This is pretty rare, and somewhat unfortunate. Add a function to permit creation of a driver for any device tree node. Signed-off-by: Simon Glass --- drivers/core/lists.c | 9 - include/dm/lists.h | 16

[U-Boot] [PATCH 01/20] Fix comment nits in board_f.c

2015-04-27 Thread Simon Glass
Try to make it a little clearer. Signed-off-by: Simon Glass --- common/board_f.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 322e070..fbbad1b 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -73,7 +73,7 @@ DECLARE

[U-Boot] [PATCH 04/20] x86: Disable -Werror

2015-04-27 Thread Simon Glass
This is annoying during development and serves no useful purpose since warnings are clearly displayed now that we are using Kbuild. Remove this option. Signed-off-by: Simon Glass --- arch/x86/cpu/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/config.m

[U-Boot] [PATCH 03/20] x86: Remove unwanted MMC debugging

2015-04-27 Thread Simon Glass
This printf() should not have made it into the code. Signed-off-by: Simon Glass --- arch/x86/cpu/baytrail/valleyview.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/cpu/baytrail/valleyview.c b/arch/x86/cpu/baytrail/valleyview.c index a3e837d..9915da5 100644 --- a/arch/x86/cpu/bay

[U-Boot] [PATCH 13/20] x86: Store the GDT pointer in global_data

2015-04-27 Thread Simon Glass
When we start up additional CPUs we want them to use the same Global Descriptor Table. Store the address of this in global_data so we can reference it later. Signed-off-by: Simon Glass --- arch/x86/cpu/cpu.c | 1 + arch/x86/include/asm/global_data.h | 1 + 2 files changed, 2 ins

[U-Boot] [PATCH 05/20] Move display_options functions to their own header

2015-04-27 Thread Simon Glass
Before adding one more function, create a separate header to help reduce the size of common.h. Add the missing function comments and tidy up. Signed-off-by: Simon Glass --- include/common.h | 16 +--- include/display_options.h | 48 ++

[U-Boot] [PATCH 07/20] x86: Add support for the Simple Firmware Interface (SFI)

2015-04-27 Thread Simon Glass
This provides a way of passing information to Linux without requiring the full ACPI horror. Provide a rudimentary implementation sufficient to be recognised and parsed by Linux. Signed-off-by: Simon Glass --- arch/x86/Kconfig | 28 + arch/x86/lib/Makefile | 1 + arch/x86/lib/sfi

[U-Boot] [PATCH 11/20] x86: Add defines for fixed MTRRs

2015-04-27 Thread Simon Glass
Add MSR numbers for the fixed MTRRs. Signed-off-by: Simon Glass --- arch/x86/include/asm/mtrr.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h index fda4eae..3841593 100644 --- a/arch/x86/include/asm/mtrr.h +++ b/arc

[U-Boot] [PATCH 17/20] x86: Allow CPUs to be set up after relocation

2015-04-27 Thread Simon Glass
This permits init of additional CPU cores after relocation and when driver model is ready. Signed-off-by: Simon Glass --- arch/x86/cpu/cpu.c| 37 + arch/x86/include/asm/cpu.h| 14 ++ arch/x86/include/asm/u-boot-x86.h | 2 +

[U-Boot] [PATCH 06/20] Add print_freq() to display frequencies nicely

2015-04-27 Thread Simon Glass
Add a function similar to print_size() that works for frequencies. It can handle from Hz to GHz. Signed-off-by: Simon Glass --- include/display_options.h | 11 +++ lib/display_options.c | 41 + 2 files changed, 52 insertions(+) diff --git a/i

[U-Boot] [PATCH 18/20] x86: Add a CPU driver for baytrail

2015-04-27 Thread Simon Glass
This driver supports multi-core init and sets up the CPU frequencies correctly. Signed-off-by: Simon Glass --- arch/x86/cpu/baytrail/Makefile | 1 + arch/x86/cpu/baytrail/cpu.c | 206 +++ arch/x86/include/asm/arch-baytrail/msr.h | 30 +

[U-Boot] [PATCH 20/20] x86: Enable multi-core init for Minnowboard MAX

2015-04-27 Thread Simon Glass
Enable the CPU uclass and Simple Firmware interface for Minnowbaord MAX. This enables multi-core support in Linux. Signed-off-by: Simon Glass --- arch/x86/dts/minnowmax.dts | 20 configs/minnowmax_defconfig | 4 2 files changed, 24 insertions(+) diff --git a/arch/x8

[U-Boot] [PATCH 10/20] x86: Add atomic operations

2015-04-27 Thread Simon Glass
Add a subset of this header file from Linux 4.0 to support atomic operations in U-Boot. Signed-off-by: Simon Glass --- arch/x86/include/asm/atomic.h | 115 ++ 1 file changed, 115 insertions(+) create mode 100644 arch/x86/include/asm/atomic.h diff --git

[U-Boot] [PATCH 19/20] x86: Tidy up the LAPIC init code

2015-04-27 Thread Simon Glass
We don't need to support really old x86 CPUs, so drop this code. Signed-off-by: Simon Glass --- arch/x86/cpu/lapic.c | 20 arch/x86/include/asm/lapic.h | 7 --- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/arch/x86/cpu/lapic.c b/arch/x86/cpu

[U-Boot] [PATCH 14/20] x86: Provide access to the IDT

2015-04-27 Thread Simon Glass
Add a function to return the address of the Interrupt Descriptor Table. Signed-off-by: Simon Glass --- arch/x86/cpu/interrupts.c| 5 + arch/x86/include/asm/interrupt.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/arch/x86/cpu/interrupts.c b/arch/x86/cpu/interrupts.c index

[U-Boot] [PATCH 09/20] Add a 'cpu' command to print CPU information

2015-04-27 Thread Simon Glass
Add a simple command which provides access to a list of available CPUs along with descriptions and basic information. Signed-off-by: Simon Glass --- common/Kconfig | 8 common/Makefile | 1 + common/cmd_cpu.c | 113 +++ 3 files cha

[U-Boot] [PATCH 15/20] x86: Add multi-processor init

2015-04-27 Thread Simon Glass
Most modern x86 CPUs include more than one CPU core. The OS normally requires that these 'Application Processors' (APs) be brought up by the boot loader. Add the required support to U-Boot to init additional APs. Signed-off-by: Simon Glass --- arch/x86/Kconfig | 25 ++ arch

[U-Boot] [PATCH 12/20] x86: Add an mfence macro

2015-04-27 Thread Simon Glass
Provide access to this x86 instruction from C code. Signed-off-by: Simon Glass --- arch/x86/include/asm/cpu.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index c839291..37aa6b9 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arc

[U-Boot] [PATCH 16/20] x86: Add functions to set and clear bits on MSRs

2015-04-27 Thread Simon Glass
Since we do these sorts of operations a lot, it is useful to have a simpler API, similar to clrsetbits_le32(). Signed-off-by: Simon Glass --- arch/x86/include/asm/msr.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr

Re: [U-Boot] [PATCH v6 2/4] mtd, nand: move common functions from cmd_nand.c to common place

2015-04-27 Thread Scott Wood
On Mon, 2015-04-27 at 07:42 +0200, Heiko Schocher wrote: > move common functions from cmd_nand.c (for calculating offset > and size from cmdline paramter) to common place, so they could > used from other commands which use mtd partitions. > > For onenand the arg_off_size() is left in common/cmd_on

[U-Boot] [PATCH] cmd_part: fix usage text

2015-04-27 Thread Maxin B. John
Fix the usage info from: part part uuid : to part uuid : Signed-off-by: Maxin B. John --- common/cmd_part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_part.c b/common/cmd_part.c index d04588e..8483c12 100644 --- a/common/cmd_part.c +++ b/common/cmd_part.c @@

Re: [U-Boot] [PATCH 1/2] hummingboard: Remove mx6solo specific support

2015-04-27 Thread Tom Rini
On Mon, Apr 27, 2015 at 09:20:52AM -0300, Fabio Estevam wrote: > Hummingboard dual, dual-lite and solo are now supported via SPL mechanism. > > Remove the previous hummingboard support, which does not use SPL and supported > only the solo variant. > > Signed-off-by: Fabio Estevam Reviewed-by: T

Re: [U-Boot] [PATCH 01/20] Fix comment nits in board_f.c

2015-04-27 Thread Bin Meng
On Tue, Apr 28, 2015 at 6:48 AM, Simon Glass wrote: > Try to make it a little clearer. > > Signed-off-by: Simon Glass > --- > > common/board_f.c | 9 - > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/common/board_f.c b/common/board_f.c > index 322e070..fbbad1b 100644 >

Re: [U-Boot] [PATCH 03/20] x86: Remove unwanted MMC debugging

2015-04-27 Thread Bin Meng
On Tue, Apr 28, 2015 at 6:48 AM, Simon Glass wrote: > This printf() should not have made it into the code. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/baytrail/valleyview.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/x86/cpu/baytrail/valleyview.c > b/arch/x86/cpu/bayt

Re: [U-Boot] [PATCH 04/20] x86: Disable -Werror

2015-04-27 Thread Bin Meng
On Tue, Apr 28, 2015 at 6:48 AM, Simon Glass wrote: > This is annoying during development and serves no useful purpose since > warnings are clearly displayed now that we are using Kbuild. Remove this > option. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/config.mk | 2 +- > 1 file chang

Re: [U-Boot] [PATCH 05/20] Move display_options functions to their own header

2015-04-27 Thread Bin Meng
Hi Simon, On Tue, Apr 28, 2015 at 6:48 AM, Simon Glass wrote: > Before adding one more function, create a separate header to help reduce > the size of common.h. Add the missing function comments and tidy up. > > Signed-off-by: Simon Glass > --- Reviewed-by: Bin Meng But please see comments be

[U-Boot] [PATCH 2/4] mx6cuboxi: Add USB host support

2015-04-27 Thread Fabio Estevam
From: Fabio Estevam Enable USB Host1 port. Signed-off-by: Rabeeh Khoury Signed-off-by: Fabio Estevam --- board/solidrun/mx6cuboxi/mx6cuboxi.c | 26 ++ include/configs/mx6cuboxi.h | 12 2 files changed, 38 insertions(+) diff --git a/board/solidrun

[U-Boot] [PATCH 1/4] mx6cuboxi: Add HDMI output support

2015-04-27 Thread Fabio Estevam
From: Fabio Estevam Add HDMI output using PLL5 as the source for the IPU DI clocks, and accurate VESA timings. These settings are based on the patch from Soeren Moch submitted for the tbs2910 mx6 based board. It allows the display to work properly at 1024x768@60. This should make the hdmi out

[U-Boot] [PATCH 3/4] mx6cuboxi: Allow HDMI and USB keyboard to be stdout/stdin

2015-04-27 Thread Fabio Estevam
From: Fabio Estevam There are users of Cuboxi and Hummingboard that use these boards without connecting them to a USB/serial adapter. Allow such usage by allowing the HDMI port to act as stdout and USB keyboard as stdin. The serial console still also works as stdin/stdout. Signed-off-by: Rabee

[U-Boot] [PATCH 4/4] logos: Add Solidrun's logo

2015-04-27 Thread Fabio Estevam
From: Fabio Estevam Let Solidrun's logo appear on Cuboxi and Hummingboard by default. Signed-off-by: Rabeeh Khoury Signed-off-by: Fabio Estevam --- tools/logos/solidrun.bmp | Bin 0 -> 5558 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/logos/solidrun.bmp dif

Re: [U-Boot] [PATCH v6 0/26] tegra: Add eDP support for nyan-big

2015-04-27 Thread Simon Glass
Hi Tom, Jimmy, On 14 April 2015 at 21:03, Simon Glass wrote: > This series adds eDP support for nyan-big so that the display works. > > Nyan-big is based on tegra124. > > Some support is added for new clocks to make this work. The drm_dp_helper.h > file is brought in from Linux since many of the

Re: [U-Boot] [PATCH] dm: i2c-gpio: Remove redundant dm_gpio_set_value() call

2015-04-27 Thread Simon Glass
On 25 April 2015 at 21:05, Axel Lin wrote: > dm_gpio_set_dir_flags() will also set gpio output value when switching to > gpio output. So it's not necessary to call dm_gpio_set_value() after > dm_gpio_set_dir_flags() call. > > Signed-off-by: Axel Lin > --- > drivers/i2c/i2c-gpio.c | 13 +++---

Re: [U-Boot] [PATCH 05/29] fdt: arm: Drop device tree padding

2015-04-27 Thread Simon Glass
Hi Masahiro, On 22 April 2015 at 23:40, Masahiro Yamada wrote: > Hi Simon, > > > 2015-02-28 14:06 GMT+09:00 Simon Glass : >> The 4KB padding doesn't seem necessary since we don't normally adjust the >> control device tree file within U-Boot. >> >> Signed-off-by: Simon Glass >> --- >> >> arch/ar

Re: [U-Boot] [PATCH v2 2/6] sunxi: axp: Move axp pmic register helpers to a separate file

2015-04-27 Thread Simon Glass
On 26 April 2015 at 03:51, Hans de Goede wrote: > Move the register helpers used to access the registers via p2wi resp. > rsb bus on the otherwise identical axp221 and axp223 pmics to a separate > file, so that they can be used by the upcoming standalone axp gpio driver > too. > > Signed-off-by: H

Re: [U-Boot] [PATCH v2 3/6] sunxi: axp: Add support for i2c based PMICs to the pmic-bus helpers

2015-04-27 Thread Simon Glass
On 26 April 2015 at 03:51, Hans de Goede wrote: > Add support for the axp152 and axp209 PMICs to the pmic register access > helpers. This is a preparation patch for moving the axp gpio code to a > separate gpio driver. > > Signed-off-by: Hans de Goede > --- > arch/arm/cpu/armv7/sunxi/Makefile

  1   2   >