[U-Boot] [PATCH] imx: mx6ulevk: change mtest memory size to 128M

2016-01-04 Thread Peng Fan
From: Peng Fan To i.MX6UL 14x14 EVK, system memory is 512M; to i.MX6UL 9x9 EVK, system memory is 256M. If setting mtest size to 256M, mtest will crash uboot for i.MX6UL 9x9 evk. So change mtest size to 128M. Signed-off-by: Peng Fan Cc: Stefano Babic --- include/configs/mx6ul_14x14_evk.h | 2 +

[U-Boot] [PATCH 11/11] imx: mx7d: isolate resources to domain 0 for A7 core

2016-01-04 Thread Peng Fan
From: Peng Fan In current design, if any peripheral was assigned to both A7 and M4, it will receive ipg_stop or ipg_wait when any of the 2 platforms enter low power mode. We will have a risk that, if A7 enter wait, M4 enter stop, peripheral will have chance to get ipg_stop and ipg_wait asserted s

[U-Boot] [PATCH 10/11] imx: mx7dsabresd: add command and macros for boot m4 core

2016-01-04 Thread Peng Fan
From: Peng Fan Introduce macros and command to support booting M4 core for i.MX7D SabreSD board. Signed-off-by: Ye.Li Signed-off-by: Peng Fan --- include/configs/mx7dsabresd.h | 24 1 file changed, 24 insertions(+) diff --git a/include/configs/mx7dsabresd.h b/include

[U-Boot] [PATCH 09/11] imx: mx7: implement functions to boot auxiliary core

2016-01-04 Thread Peng Fan
From: Peng Fan Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up. arch_auxiliary_core_check_up is used to check whether M4 is running or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will use the pc and stack which is set in arch_auxiliary_core_up to set R15 and R13

[U-Boot] [PATCH 07/11] imx: mx6: implement functions to boot auxiliary core

2016-01-04 Thread Peng Fan
From: Peng Fan Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up. arch_auxiliary_core_check_up is used to check whether M4 is running or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will use the pc and stack which is set in arch_auxiliary_core_up to set R15 and R13

[U-Boot] [PATCH 08/11] imx: mx6sxsabresd: add command and macros for boot m4 core

2016-01-04 Thread Peng Fan
From: Peng Fan Introduce macros and command to support booting M4 core for i.MX6SX SabreSD board. Signed-off-by: Ye.Li Signed-off-by: Peng Fan --- include/configs/mx6sxsabresd.h | 24 1 file changed, 24 insertions(+) diff --git a/include/configs/mx6sxsabresd.h b/incl

[U-Boot] [PATCH 06/11] imx: imx-common: introduce boot auxiliary core

2016-01-04 Thread Peng Fan
From: Peng Fan To boot a auxiliary core in asymmetric multicore system, introduce the new command "bootaux" to do it. Example of boot auxliary core from 0x7000 where stores the boot head information that should be parsed by auxiliary core, "bootaux 0x7000". Introduce Kconfig option IMX_BO

[U-Boot] [PATCH 05/11] imx: mx7d: clock support for RDC

2016-01-04 Thread Peng Fan
From: Peng Fan If CONFIG_IMX_RDC is enabled, enable clock for RDC and SEMAPHORE. Signed-off-by: Peng Fan --- arch/arm/cpu/armv7/mx7/clock.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/cpu/armv7/mx7/clock.c b/arch/arm/cpu/armv7/mx7/clock.c index 77db6e8..4d68ad2 100644 --

[U-Boot] [PATCH 03/11] imx: mx6sx Add RDC mappings of masters and peripherals

2016-01-04 Thread Peng Fan
From: Peng Fan Add the definitions for the RDC mappings for i.MX6 SoloX. Signed-off-by: Ye.Li Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx6/imx-rdc.h | 4 + arch/arm/include/asm/arch-mx6/mx6sx_rdc.h | 155 ++ 2 files changed, 159 insertions(+) crea

[U-Boot] [PATCH 04/11] imx: mx7d: Add RDC support

2016-01-04 Thread Peng Fan
From: Peng Fan Add the peripherals/masters definitions and registers base addresses for mx7d RDC. Signed-off-by: Ye.Li Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx7/imx-rdc.h | 16 +++ arch/arm/include/asm/arch-mx7/imx-regs.h | 3 + arch/arm/include/asm/arch-mx7/mx7d_rdc.h | 1

[U-Boot] [PATCH 02/11] imx: imx-common: introduce Resource Domain Controller support

2016-01-04 Thread Peng Fan
From: Peng Fan Introduce Resource Domain Controller support for i.MX. Now i.MX6SX and i.MX7D supports this feature to assign masters and peripherals to different domains. Signed-off-by: Ye.Li Signed-off-by: Peng Fan --- arch/arm/imx-common/Kconfig| 8 ++ arch/arm/imx-common/

[U-Boot] [PATCH 01/11] imx: mx6: introduce rdc regs

2016-01-04 Thread Peng Fan
From: Peng Fan Introudce rdc regs structure and rdc sema reg structure for i.MX6. For now, to i.MX6, only i.MX6SX supports this. Signed-off-by: Ye.Li Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx6/imx-regs.h | 24 1 file changed, 24 insertions(+) diff --gi

[U-Boot] [PATCH 00/11] imx: introduce rdc and boot auxiliary core

2016-01-04 Thread Peng Fan
From: Peng Fan To i.MX6SX and i.MX7D, there is a M4 core embedded. Resources can be shared or occupied exclusively by setting Resource domain controller between A9/7 core and M4 core. Refer "Chapter 52 Resource Domain Controller (RDC)" of i.MX 6SoloX RM and "Chapter 3.2 Resource Domain Controlle

[U-Boot] [PATCH] usb: dwc2: Enhance interrupt handling for CONTROL transaction

2016-01-04 Thread Chin Liang See
Per DesignWare USB OTG databook, driver should retry up to 3 times when transaction error (hcint.xacterr) happen. But the 3 times doesn't count when the response is nack (hcint.nak) or frame overrun (hcint.frmoverun) This patch solved the enumeration error as spotted at socfpga cyclone5_socdk when

Re: [U-Boot] Pull request: u-boot-net

2016-01-04 Thread Bin Meng
Hi Tom, On Mon, Jan 4, 2016 at 10:22 PM, Tom Rini wrote: > On Mon, Jan 04, 2016 at 09:48:08PM +0800, Bin Meng wrote: >> Hi Dirk, >> >> On Mon, Jan 4, 2016 at 7:46 PM, Dirk Eibach wrote: >> > Hi Bin, >> > >> >> ... >> >> The simple fix is to change change iocon to a more larger size since >> >> i

Re: [U-Boot] Pull request: u-boot-net

2016-01-04 Thread Bin Meng
Hi Tom, On Mon, Jan 4, 2016 at 10:24 PM, Tom Rini wrote: > On Mon, Jan 04, 2016 at 04:31:05PM +0800, Bin Meng wrote: > [snip] >> $ ./install.sh -d /share/toolchain/eldk-5.6 -s toolchain -r - -a i686 >> powerpc-4xx >> *** Installing >> ./targets/powerpc-4xx/eldk-eglibc-i686-powerpc-toolchain-5.6.

Re: [U-Boot] [PATCH v6 08/10] mips: ath79: add spi driver

2016-01-04 Thread Thomas Chou
Hi Wills, On 2016年01月04日 19:14, Wills Wang wrote: Signed-off-by: Wills Wang --- Changes in v6: - Add rrw_delay in ath79_spi_priv for more accurate timing - Remove ath79_spi_delay - Calculate delay in ath79_spi_set_speed Changes in v5: - remove ar933x_spi_platdata - Import document "spi-ath79.

Re: [U-Boot] [PATCH v6 01/10] mips: implement to access the KSEG0/1 memory range in map_physmem

2016-01-04 Thread Thomas Chou
Hi Wills, On 2016年01月04日 19:14, Wills Wang wrote: U-boot just use the no MMU virtual address segment(KSEG0/1), this patch enable access the uncached memory range(KSEG1) by flag "MAP_NOCACHE", other flag for KSEG0 access. Signed-off-by: Wills Wang --- Changes in v6: - Remove useless "else" Ch

[U-Boot] [PATCH] MAINTAINERS: add entry for Rockchip

2016-01-04 Thread Masahiro Yamada
Rockchip has its own git repository maintained by Simon. Document this. Signed-off-by: Masahiro Yamada --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5b3c93a..5208b9d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -107,6 +107,12 @@ T: gi

Re: [U-Boot] [PATCH] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2016-01-04 Thread Peng Fan
Hi Tom, On Mon, Jan 04, 2016 at 10:50:16AM -0500, Tom Rini wrote: >On Fri, Dec 11, 2015 at 03:30:24PM +, Dongsheng Wang wrote: >> Hi Tom, >> >> > On Fri, Dec 11, 2015 at 10:15:03AM +, Dongsheng Wang wrote: >> > > Hi Tom, >> > > >> > > Thanks for your review. >> > > >> > > > On Thu, Dec 10,

Re: [U-Boot] [PATCH] fdt: Allow fdt_translate_address() to work with buses

2016-01-04 Thread Simon Glass
Hi Stephen, On 4 January 2016 at 13:15, Stephen Warren wrote: > On 01/03/2016 04:04 PM, Simon Glass wrote: >> >> It is common for I2C and SPI buses to have a single-cell address and a >> size >> of 0. These produce a warning at present. For example on snow: >> >> __of_translate_address: Bad cell

Re: [U-Boot] [PATCH] fdt: fix address cell count checking in fdt_translate_address()

2016-01-04 Thread Simon Glass
Hi Przemyslaw, On 5 November 2015 at 23:47, Stefan Roese wrote: > On 06.11.2015 04:16, Simon Glass wrote: >> >> Hi, >> >> On 3 November 2015 at 02:57, Przemyslaw Marczak >> wrote: >>> >>> Hello All, >>> >>> >>> On 10/29/2015 06:15 PM, Simon Glass wrote: Hi Stefan, On 28

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2016-01-04 Thread Simon Glass
Hi Stephen, On 4 January 2016 at 13:02, Stephen Warren wrote: > > On 12/29/2015 01:47 AM, Przemyslaw Marczak wrote: >> >> Hello Stephen, >> >> On 12/16/2015 07:53 PM, Stephen Warren wrote: >>> >>> On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote: commit: dm: core: Enable optional use of

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2016-01-04 Thread Simon Glass
Hi Wolfgang, On 29 December 2015 at 07:23, Wolfgang Denk wrote: > Dear Simon, > > In message > you > wrote: >> >> >>> create mode 100644 common/cmd_clk.c >> >>> create mode 100644 include/clk.h > ... >> Sorry, I only just noticed it. I'll see if I can create a patch to get >> the clock info

Re: [U-Boot] [PATCH 3/7] arm: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-04 Thread Simon Glass
Hi Thomas, On 28 December 2015 at 17:55, Thomas Chou wrote: > > Hi Simon, > > On 2015年12月29日 08:22, Simon Glass wrote: >> >> Hi Thomas, >> >> On 27 December 2015 at 19:16, Bin Meng wrote: >>> >>> On Sun, Dec 27, 2015 at 9:44 PM, Thomas Chou wrote: Use generic dtb rule with CONFIG_DEFA

Re: [U-Boot] [PATCH v2] mx6cuboxi: Fix the reset delay for the AR8035 PHY

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 09:38:08PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is > registered") Ethernet is no longer functional: > > Booting from net ... >

[U-Boot] [PATCH v2] mx6cuboxi: Fix the reset delay for the AR8035 PHY

2016-01-04 Thread Fabio Estevam
From: Fabio Estevam Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is registered") Ethernet is no longer functional: Booting from net ... FEC Waiting for PHY auto negotiation to complete. TIMEOUT !

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Fabio Estevam
On Mon, Jan 4, 2016 at 9:11 PM, Troy Kisky wrote: > Try adding a delay after releasing reset > > mdelay(2); > gpio_set_value(ETH_PHY_RESET, 1); > udelay(100); > > Perhaps the first time it didn't read 4dd072 That works :-) Here is a minimal fix: --- a/board/solidrun/mx6

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Troy Kisky
On 1/4/2016 3:50 PM, Fabio Estevam wrote: > On Mon, Jan 4, 2016 at 8:45 PM, Troy Kisky > wrote: > >> Can you add >> >> printf("%s at %d\n", phydev->drv->name, phydev->addr); > > It prints: > > Generic PHY at 0 > > Not sure why it picks the Generic PHY driver instead of the Atheros PHY one. >

Re: [U-Boot] [PATCHv2 1/3] nand_spl_simple: Add a simple flash read function

2016-01-04 Thread Marek Vasut
On Monday, January 04, 2016 at 11:42:52 PM, Scott Wood wrote: > On Mon, 2016-01-04 at 23:40 +0100, Marek Vasut wrote: > > On Monday, January 04, 2016 at 10:45:08 PM, Scott Wood wrote: > > > On Mon, 2016-01-04 at 22:17 +0100, Ladislav Michl wrote: > > > > On Mon, Jan 04, 2016 at 07:38:23PM +0100, La

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Fabio Estevam
On Mon, Jan 4, 2016 at 8:45 PM, Troy Kisky wrote: > Can you add > > printf("%s at %d\n", phydev->drv->name, phydev->addr); It prints: Generic PHY at 0 Not sure why it picks the Generic PHY driver instead of the Atheros PHY one. ___ U-Boot mailing lis

Re: [U-Boot] [PATCH 0/9] EFI payload / application support

2016-01-04 Thread Alexander Graf
On 04.01.16 23:37, Dennis Gilmore wrote: > On Monday, January 04, 2016 02:54:40 PM Tom Rini wrote: >> On Mon, Jan 04, 2016 at 07:41:42PM +0100, Andreas Färber wrote: >>> Am 04.01.2016 um 19:03 schrieb Andreas Färber: Am 04.01.2016 um 17:56 schrieb Tom Rini: > Please note that with the ge

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Troy Kisky
On 1/4/2016 3:10 PM, Fabio Estevam wrote: > On Mon, Jan 4, 2016 at 8:08 PM, Fabio Estevam wrote: >> On Mon, Jan 4, 2016 at 8:06 PM, Troy Kisky >> wrote: >> >>> => mii read 6 2 >>> 004D >>> => mii read 6 3 >>> D072 >>> => >>> >>> Do you get a different value? >> >> Yes, I get all : >> >> => mi

Re: [U-Boot] [PATCHv2 1/3] nand_spl_simple: Add a simple flash read function

2016-01-04 Thread Scott Wood
On Mon, 2016-01-04 at 23:40 +0100, Marek Vasut wrote: > On Monday, January 04, 2016 at 10:45:08 PM, Scott Wood wrote: > > On Mon, 2016-01-04 at 22:17 +0100, Ladislav Michl wrote: > > > On Mon, Jan 04, 2016 at 07:38:23PM +0100, Ladislav Michl wrote: > > > > On Mon, Jan 04, 2016 at 12:23:36PM -0600,

Re: [U-Boot] [PATCHv2 1/3] nand_spl_simple: Add a simple flash read function

2016-01-04 Thread Marek Vasut
On Monday, January 04, 2016 at 10:45:08 PM, Scott Wood wrote: > On Mon, 2016-01-04 at 22:17 +0100, Ladislav Michl wrote: > > On Mon, Jan 04, 2016 at 07:38:23PM +0100, Ladislav Michl wrote: > > > On Mon, Jan 04, 2016 at 12:23:36PM -0600, Scott Wood wrote: > > > > On Mon, 2016-01-04 at 16:54 +0100, L

Re: [U-Boot] [PATCH 0/9] EFI payload / application support

2016-01-04 Thread Dennis Gilmore
On Monday, January 04, 2016 02:54:40 PM Tom Rini wrote: > On Mon, Jan 04, 2016 at 07:41:42PM +0100, Andreas Färber wrote: > > Am 04.01.2016 um 19:03 schrieb Andreas Färber: > > > Am 04.01.2016 um 17:56 schrieb Tom Rini: > > >> Please note that with the generic distro framework U-Boot will grok > >

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Troy Kisky
On 1/4/2016 3:08 PM, Fabio Estevam wrote: > On Mon, Jan 4, 2016 at 8:06 PM, Troy Kisky > wrote: > >> => mii read 6 2 >> 004D >> => mii read 6 3 >> D072 >> => >> >> Do you get a different value? > > Yes, I get all : > > => mii read 6 3 > > => mii read 6 2 > > . > Sorry, your phy

Re: [U-Boot] [PATCHv2 3/5] igep00x0: Do not include config_distro_defaults.h

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 11:08:00PM +0100, Enric Balletbo i Serra wrote: > From: Ladislav Michl > > File is already included: > omap3_igep00x0.h -> ti_omap3_common.h -> ti_armv7_omap.h -> > ti_armv7_common.h -> config_distro_defaults.h > > Signed-off-by: Ladislav Michl > Acked-by: Enric Balletb

Re: [U-Boot] [PATCHv2 4/5] igep00x0: Fix config header indentation

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 11:08:01PM +0100, Enric Balletbo i Serra wrote: > From: Ladislav Michl > > The patch fixes some indentation style problems in omap3_igep00x0.h file. > > Signed-off-by: Ladislav Michl > Acked-by: Enric Balletbo Serra Reviewed-by: Tom Rini -- Tom signature.asc Desc

Re: [U-Boot] [PATCHv2 5/5] igep00x0: Remove no-op macros from config header

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 11:08:02PM +0100, Enric Balletbo i Serra wrote: > From: Ladislav Michl > > The patch removes some macros that are not used. > > Signed-off-by: Ladislav Michl > Acked-by: Enric Balletbo Serra Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signatur

[U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-04 Thread Tom Rini
Hey all, I've tagged and uploaded 2016.01-rc4 now. I grabbed a few general bugfix patches that I saw outstanding. At this point, I really do just want bug fixes and I think there's a few net related ones outstanding, along with something for mx6cuboxi and maybe some others. Thanks all! -- Tom

Re: [U-Boot] [PATCHv2 0/5] igep00x0: Minor cleanup

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 11:07:57PM +0100, Enric Balletbo i Serra wrote: > Hi Tom, > > The following patches are minor cleanups that I think are safe to apply. I > know that we're very close to next release so it's up to you apply now or > wait for the next merge window. I'd like to see it merged

Re: [U-Boot] checkpatch: fix left brace warning

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 09:17:19AM +0100, Heiko Schocher wrote: > using checkpatch with Perl 5.22.0 generates a warning, > this is fixed in linux through commit: > > commit 4e5d56bdf892e18832a6540b63ebf709966bce2a > Author: Eddie Kovsky > Date: Wed Sep 9 15:37:52 2015 -0700 > > checkpatch: fi

Re: [U-Boot] [PATCHv2 1/5] igep00x0: enable CONFIG_NET_RANDOM_ETHADDR

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 11:07:58PM +0100, Enric Balletbo i Serra wrote: > Enable CONFIG_NET_RANDOM_ETHADDR to generate a random MAC address > when ETHADDR is not set. > > Signed-off-by: Enric Balletbo i Serra Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, V2] common: nvedit: use snprintf instead of sprintf

2016-01-04 Thread Tom Rini
On Wed, Dec 23, 2015 at 12:08:09PM +0800, Peng Fan wrote: > From: Peng Fan > > Use snprintf to replace sprintf. > > Coverity log: > " > Unbounded source buffer (STRING_SIZE) > string_size: Passing string init_val of unknown size to sprintf. > " > > Reported-by: Coverity > Signed-off-by: Peng F

Re: [U-Boot] [U-Boot,1/1] common: cli: avoid memory leak

2016-01-04 Thread Tom Rini
On Tue, Dec 22, 2015 at 05:14:13PM +0800, Peng Fan wrote: > From: Peng Fan > > Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always > check to free 'buff' to avoid memory leak. > > Signed-off-by: Peng Fan > Cc: Tom Rini > Cc: Masahiro Yamada > Cc: Simon Glass Applied to u-boot/m

Re: [U-Boot] [U-Boot,V2] common: env: initialize scalar variable

2016-01-04 Thread Tom Rini
On Wed, Dec 23, 2015 at 12:07:24PM +0800, Peng Fan wrote: > From: Peng Fan > > Before calling hsearch_r, initialize callback entry to NULL. > > Coverity log: > " > Uninitialized scalar variable (UNINIT) > uninit_use_in_call: Using uninitialized value e. > Field e.callback is uninitialized when

Re: [U-Boot] qemu-ppce500: pass 'range_id' around in pci_map_region

2016-01-04 Thread Tom Rini
On Mon, Dec 21, 2015 at 01:19:59AM -0800, Miao Yan wrote: > In pci_map_region(), pass 'range_id' to fdt_read_range(), > otherwise the same address will be mapped again in other > calls to pci_map_region() > > Signed-off-by: Miao Yan > Reviewed-by: Bin Meng > Reviewed-by: Alexander Graf Applie

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2016-01-04 Thread Stephen Warren
On 12/19/2015 03:24 PM, Simon Glass wrote: Hi Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or attach to the U-Boot console, run the entire sc

Re: [U-Boot] [U-Boot, v2] net: e1000: use correct helper to do endianness conversion

2016-01-04 Thread Tom Rini
On Mon, Dec 21, 2015 at 02:07:02AM -0800, Miao Yan wrote: > In struct e1000_rx_desc, field 'length' is declared as > uint16_t, so use le16_to_cpu() to do endianness conversion. > > Also drop conversion on 'status' which is declared as > uint8_t. > > Signed-off-by: Miao Yan > Reviewed-by: Bin Me

Re: [U-Boot] mmc: update MMC_ERASE argument to match Linux kernel.

2016-01-04 Thread Tom Rini
On Mon, Dec 07, 2015 at 07:50:01AM -0700, Eric Nelson wrote: > Table 41 of the JEDEC standard for eMMC says that bit 31 of > the command argument is obsolete when issuing the ERASE > command (CMD38) on page 115 of this document: > http://www.jedec.org/sites/default/files/docs/jesd84-B45.pdf

Re: [U-Boot] [PATCH] armv7: Add missing newline after OMAP die ID

2016-01-04 Thread Enric Balletbo Serra
2016-01-03 18:24 GMT+01:00 Ladislav Michl : > Signed-off-by: Ladislav Michl > --- > arch/arm/cpu/armv7/omap-common/utils.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/cpu/armv7/omap-common/utils.c > b/arch/arm/cpu/armv7/omap-common/utils.c > index 602d99

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Fabio Estevam
On Mon, Jan 4, 2016 at 8:08 PM, Fabio Estevam wrote: > On Mon, Jan 4, 2016 at 8:06 PM, Troy Kisky > wrote: > >> => mii read 6 2 >> 004D >> => mii read 6 3 >> D072 >> => >> >> Do you get a different value? > > Yes, I get all : > > => mii read 6 3 > > => mii read 6 2 > Ops, in my cas

[U-Boot] [PATCHv2 5/5] igep00x0: Remove no-op macros from config header

2016-01-04 Thread Enric Balletbo i Serra
From: Ladislav Michl The patch removes some macros that are not used. Signed-off-by: Ladislav Michl Acked-by: Enric Balletbo Serra --- include/configs/omap3_igep00x0.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h i

[U-Boot] [PATCHv2 3/5] igep00x0: Do not include config_distro_defaults.h

2016-01-04 Thread Enric Balletbo i Serra
From: Ladislav Michl File is already included: omap3_igep00x0.h -> ti_omap3_common.h -> ti_armv7_omap.h -> ti_armv7_common.h -> config_distro_defaults.h Signed-off-by: Ladislav Michl Acked-by: Enric Balletbo Serra --- include/configs/omap3_igep00x0.h | 2 -- 1 file changed, 2 deletions(-) di

[U-Boot] [PATCHv2 4/5] igep00x0: Fix config header indentation

2016-01-04 Thread Enric Balletbo i Serra
From: Ladislav Michl The patch fixes some indentation style problems in omap3_igep00x0.h file. Signed-off-by: Ladislav Michl Acked-by: Enric Balletbo Serra --- include/configs/omap3_igep00x0.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/omap3_igep

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Fabio Estevam
On Mon, Jan 4, 2016 at 8:06 PM, Troy Kisky wrote: > => mii read 6 2 > 004D > => mii read 6 3 > D072 > => > > Do you get a different value? Yes, I get all : => mii read 6 3 => mii read 6 2 ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] [PATCHv2 2/5] igep00x0: Cleanup ethernet support

2016-01-04 Thread Enric Balletbo i Serra
From: Ladislav Michl - move chip reset to separate function - use CONFIG_SMC911X_BASE instead of hardcoded value - remove unneeded local variable from board_eth_init. Signed-off-by: Ladislav Michl Reviewed-by: Tom Rini Acked-by: Enric Balletbo Serra --- board/isee/igep00x0/igep00x0.c | 33 ++

[U-Boot] [PATCHv2 1/5] igep00x0: enable CONFIG_NET_RANDOM_ETHADDR

2016-01-04 Thread Enric Balletbo i Serra
Enable CONFIG_NET_RANDOM_ETHADDR to generate a random MAC address when ETHADDR is not set. Signed-off-by: Enric Balletbo i Serra --- configs/igep0020_defconfig | 1 + configs/igep0020_nand_defconfig | 1 + configs/igep0032_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a

[U-Boot] [PATCHv2 0/5] igep00x0: Minor cleanup

2016-01-04 Thread Enric Balletbo i Serra
Hi Tom, The following patches are minor cleanups that I think are safe to apply. I know that we're very close to next release so it's up to you apply now or wait for the next merge window. I'd like to see it merged but I don't any objection if you decide wait. Thanks, Enric Enric Balletbo i Serr

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Troy Kisky
On 1/4/2016 2:50 PM, Fabio Estevam wrote: > Hi Troy, > > On Mon, Jan 4, 2016 at 6:40 PM, Troy Kisky > wrote: > >> Except for clearing bit 2 (which is undocumented), this looks just like the >> default >> implementation, which you are still calling below. >> >> So, it looks like this subroutine

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Fabio Estevam
Hi Troy, On Mon, Jan 4, 2016 at 6:40 PM, Troy Kisky wrote: > Except for clearing bit 2 (which is undocumented), this looks just like the > default > implementation, which you are still calling below. > > So, it looks like this subroutine can be replaced with an appropriate delay. > If bit 2 doe

Re: [U-Boot] [PATCHv2 1/3] nand_spl_simple: Add a simple flash read function

2016-01-04 Thread Scott Wood
On Mon, 2016-01-04 at 22:17 +0100, Ladislav Michl wrote: > On Mon, Jan 04, 2016 at 07:38:23PM +0100, Ladislav Michl wrote: > > On Mon, Jan 04, 2016 at 12:23:36PM -0600, Scott Wood wrote: > > > On Mon, 2016-01-04 at 16:54 +0100, Ladislav Michl wrote: > > > > From: Thomas Gleixner > > > > > > > > T

Re: [U-Boot] [PATCH V2 7/7] test/py: test the ums command

2016-01-04 Thread Stephen Warren
On 12/19/2015 03:24 PM, Simon Glass wrote: HI Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: From: Stephen Warren This test invokes the "ums" command in U-Boot, and validates that a USB storage device is enumerated on the test host system, and can be read from. Signed-off-by: S

Re: [U-Boot] [PATCH V2 6/7] test/py: test the shell if command

2016-01-04 Thread Stephen Warren
On 12/19/2015 03:24 PM, Simon Glass wrote: Hi Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: From: Stephen Warren Migrate all most tests from command_ut.c into the Python test system. This allows the tests to be run against any U-Boot binary that supports the if command (i.e. wh

Re: [U-Boot] [PATCHv2 1/3] nand_spl_simple: Add a simple flash read function

2016-01-04 Thread Ladislav Michl
On Mon, Jan 04, 2016 at 07:38:23PM +0100, Ladislav Michl wrote: > On Mon, Jan 04, 2016 at 12:23:36PM -0600, Scott Wood wrote: > > On Mon, 2016-01-04 at 16:54 +0100, Ladislav Michl wrote: > > > From: Thomas Gleixner > > > > > > To support UBI in SPL we need a simple flash read function. Add one to

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2016-01-04 Thread Stephen Warren
On 12/19/2015 03:24 PM, Simon Glass wrote: Hi Stephen, On 2 December 2015 at 15:18, Stephen Warren wrote: This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or attach to the U-Boot console, run the entire sc

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Troy Kisky
On 1/4/2016 9:36 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is > registered") Ethernet is no longer functional: > > Booting from net ... > > FEC Waiting for PH

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2016-01-04 Thread Stephen Warren
On 01/04/2016 05:41 AM, Michal Simek wrote: On 18.12.2015 19:33, Stephen Warren wrote: On 12/18/2015 07:50 AM, Michal Simek wrote: Hi Stephen, Finally, the example scripts support two boards; my home/laptop dev setup that uses a Numato relay board to co

Re: [U-Boot] [PATCH] fdt: Allow fdt_translate_address() to work with buses

2016-01-04 Thread Stephen Warren
On 01/03/2016 04:04 PM, Simon Glass wrote: It is common for I2C and SPI buses to have a single-cell address and a size of 0. These produce a warning at present. For example on snow: __of_translate_address: Bad cell count for gpc4 __of_translate_address: Bad cell count for gpx0 __of_translate_add

Re: [U-Boot] [PATCH 0/9] EFI payload / application support

2016-01-04 Thread Matwey V. Kornilov
2016-01-04 19:56 GMT+03:00 Tom Rini : > On Mon, Jan 04, 2016 at 05:25:44PM +0100, Alexander Graf wrote: > > [snip] >> I am not aware of anyone using the U-Boot API for grub these days, so >> I'm not sure it's an incredibly useful goal. The main pain point distros >> seem to have is to make somethin

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2016-01-04 Thread Stephen Warren
On 12/29/2015 01:47 AM, Przemyslaw Marczak wrote: Hello Stephen, On 12/16/2015 08:07 PM, Stephen Warren wrote: On 12/16/2015 11:53 AM, Stephen Warren wrote: On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote: commit: dm: core: Enable optional use of fdt_translate_address() enables device's bus

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2016-01-04 Thread Stephen Warren
On 12/29/2015 01:47 AM, Przemyslaw Marczak wrote: Hello Stephen, On 12/16/2015 07:53 PM, Stephen Warren wrote: On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote: commit: dm: core: Enable optional use of fdt_translate_address() enables device's bus/child address translation method, depending on

Re: [U-Boot] [PATCH 1/1] common: cli: avoid memory leak

2016-01-04 Thread Tom Rini
On Mon, Dec 28, 2015 at 01:12:21PM +0800, Peng Fan wrote: > Hi Simon, > On Sun, Dec 27, 2015 at 09:22:01PM -0700, Simon Glass wrote: > >Hi Peng, > > > >On 22 December 2015 at 02:14, Peng Fan wrote: > >> From: Peng Fan > >> > >> Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always > >>

Re: [U-Boot] [PATCH] ti_omap3_common: Do not define CONFIG_SPL_NAND_SUPPORT

2016-01-04 Thread Tom Rini
On Wed, Dec 30, 2015 at 02:45:26AM +0100, Ladislav Michl wrote: > Symbol is already defined in ti_armv7_common.h which is included > via ti_armv7_omap.h > > Signed-off-by: Ladislav Michl Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH] igep00x0: cleanup ethernet support

2016-01-04 Thread Tom Rini
On Wed, Dec 30, 2015 at 02:54:29AM +0100, Ladislav Michl wrote: > Move chip reset to separate function, use CONFIG_SMC911X_BASE instead > of hardcoded value, remove unneeded local variable from board_eth_init. > > Signed-off-by: Ladislav Michl Reviewed-by: Tom Rini -- Tom signature.asc Des

Re: [U-Boot] [PATCH] image: check "bootm_low" and "bootm_size" if "initrd_high" is missing

2016-01-04 Thread Tom Rini
On Thu, Dec 17, 2015 at 05:19:35PM +0900, Masahiro Yamada wrote: > To boot Linux, we should prevent Initramdisk and FDT from going too > high. OK, why? I could be entirely wrong here but I had thought for some reason that if the ramdisk was in "highmem" the kernel would relocate contents (or if

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 02:36:18PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is > registered") Ethernet is no longer functional: > > Booting from net ... >

Re: [U-Boot] [PATCH RFC 1/4] configs: am43xx: enabled USB support for U-boot

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 07:33:50PM +0530, Mugunthan V N wrote: > Currently USB is enabled only when boot from USB host mode. > Enable USB for U-boot so that Kernel/U-boot binaries can be > loaded from USB for update or booting. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] [PATCH 1/2] mx6cuboxi: Fix the delay for the AR8035 PHY

2016-01-04 Thread Tom Rini
On Mon, Jan 04, 2016 at 02:36:17PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > As per the AR8035 datasheet: > > "For a reliable power on reset, suggest to keep asserting the reset > low long enough (10ms) to ensure the clock is stable and clock-to-reset > 1ms requirement is satisfied.

Re: [U-Boot] [PATCH v2 19/19] defconfig: dra74_evm: enable timer driver model

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:22PM +0530, Mugunthan V N wrote: > Enable timer driver model for dra74_evm_defconfig as omap-timer > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v2 17/19] defconfig: dra72_evm: enable timer driver model

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:20PM +0530, Mugunthan V N wrote: > Enable timer driver model for dra72_evm_defconfig as omap-timer > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH v2 16/19] arm: dts: dra72-evm: add tick-timer to chosen node

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:19PM +0530, Mugunthan V N wrote: > Specify timer2 to be used as tick-timer in chosen node. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 18/19] arm: dts: dra7-evm: add tick-timer to chosen node

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:21PM +0530, Mugunthan V N wrote: > Specify timer2 to be used as tick-timer in chosen node. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 15/19] ti_omap5_common: timer: do not define CONFIG_TIMER for spl

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:18PM +0530, Mugunthan V N wrote: > Since OMAP's spl doesn't support DM currently, do not define > CONFIG_TIMER for spl build. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 14/19] defconfig: am335x_gp_evm: enable timer driver model

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:17PM +0530, Mugunthan V N wrote: > Enable timer driver model for am335x_gp_evm as omap-timer supports > driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 13/19] arm: dts: am335x-evm: add tick-timer to chosen node

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:16PM +0530, Mugunthan V N wrote: > Specify timer2 to be used as tick-timer in chosen node. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 10/19] am335x_evm: timer: do not define CONFIG_TIMER for spl

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:13PM +0530, Mugunthan V N wrote: > Since OMAP's spl doesn't support DM currently, do not define > CONFIG_TIMER for spl build. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 12/19] defconfig: am335x_boneblack_vboot: enable timer driver model

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:15PM +0530, Mugunthan V N wrote: > Enable timer driver model for am335x_boneblack_vboot as > omap-timer supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v2 11/19] arm: dts: am335x-boneblack: add tick-timer to chosen node

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:14PM +0530, Mugunthan V N wrote: > Specify which timer to be used as tick-timer in chosen node. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot ma

Re: [U-Boot] [PATCH v2 08/19] arm: dts: am437x-gp-evm: add tick-timer to chosen node

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:11PM +0530, Mugunthan V N wrote: > Specify which timer to be used as tick-timer in chosen node. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot ma

Re: [U-Boot] [PATCH v2 09/19] defconfig: am437x_gp_evm: enable timer driver model

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:12PM +0530, Mugunthan V N wrote: > Enable timer driver model for am437x_gp_evm as omap-timer supports > driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 06/19] arm: dts: am437x-sk-evm: add tick-timer to chosen node

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:09PM +0530, Mugunthan V N wrote: > Specify which timer to be used as tick-timer in chosen node. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot ma

Re: [U-Boot] [PATCH v2 07/19] defconfig: am437x_sk_evm: enable timer driver model

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:10PM +0530, Mugunthan V N wrote: > Enable timer driver model for am437x_sk_evm as omap-timer supports > driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 03/19] dm: timer: uclass: Add flag to control sequence numbering

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:06PM +0530, Mugunthan V N wrote: > Like SPI and I2C, timer devices also have multiple chip > instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in > timer_uclass driver to control device sequence numbering. > > Signed-off-by: Mugunthan V N > Reviewed-by: Sim

Re: [U-Boot] [PATCH v2 04/19] drivers: timer: omap_timer: add timer driver for omap devices based on dm

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:07PM +0530, Mugunthan V N wrote: > Adding a timer driver for omap devices based on driver model > and device tree. > > Signed-off-by: Mugunthan V N [snip] > +static const struct udevice_id omap_timer_ids[] = { > + { .compatible = "ti,am335x-timer" }, > + { .

Re: [U-Boot] [PATCH v2 05/19] am43xx_evm: timer: do not define CONFIG_TIMER for spl

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:08PM +0530, Mugunthan V N wrote: > Since OMAP's spl doesn't support DM currently, do not define > CONFIG_TIMER for spl build. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 01/19] arm: omap-common: do not build timer when CONFIG_TIMER defined

2016-01-04 Thread Tom Rini
On Thu, Dec 24, 2015 at 04:08:04PM +0530, Mugunthan V N wrote: > To prepare timer driver to DM/DT conversion do not build the > exiting timer driver when CONFIG_TIMER is defined. But since > omap's SPL doesn't support DM yet so built timer driver only for > SPL build when CONFIG_TIMER is defined.

Re: [U-Boot] [PATCHv2 1/3] nand_spl_simple: Add a simple flash read function

2016-01-04 Thread Scott Wood
On Mon, 2016-01-04 at 16:54 +0100, Ladislav Michl wrote: > From: Thomas Gleixner > > To support UBI in SPL we need a simple flash read function. Add one to > nand_spl_simple and keep it as simple as it goes. > > Signed-off-by: Thomas Gleixner Where is your signoff? Did Thomas really write thi

Re: [U-Boot] [PATCHv2 1/3] nand_spl_simple: Add a simple flash read function

2016-01-04 Thread Scott Wood
On Mon, 2016-01-04 at 19:38 +0100, Ladislav Michl wrote: > On Mon, Jan 04, 2016 at 12:23:36PM -0600, Scott Wood wrote: > > On Mon, 2016-01-04 at 16:54 +0100, Ladislav Michl wrote: > > > From: Thomas Gleixner > > > > > > To support UBI in SPL we need a simple flash read function. Add one to > > >

  1   2   3   >