Re: [U-Boot] [linux-sunxi] Re: [PATCH 2/6] sunxi: Rename bus-width related macros in H3 DRAM code

2017-03-14 Thread Icenowy Zheng
2017年3月15日 08:23于 André Przywara 写道: > > On 13/03/17 17:50, Icenowy Zheng wrote: > > The DesignWare DRAM controller used by H3 and newer SoCs use a bit to > > identify whether the DRAM is half-width. > > > > As H3 itself come with 32-bit DRAM, the two modes of the bit

Re: [U-Boot] [linux-sunxi] Re: [PATCH 1/6] sunxi: makes an invisible option for H3-like DRAM controllers

2017-03-14 Thread Icenowy Zheng
2017年3月15日 08:23于 André Przywara 写道: > > On 13/03/17 17:50, Icenowy Zheng wrote: > > Hi Icenowy, > > as mentioned before, I like this patch. > In general, can you rebase this series on top of sunxi/master? There are > some rather easy conflicts due to the H5 support

Re: [U-Boot] [linux-sunxi] Re: [PATCH 5/8] sunxi: Add clock support for DE2/HDMI/TCON on newer SoCs

2017-03-14 Thread Icenowy Zheng
2017年3月13日 20:33于 Simon Glass 写道: > > Hi, > > On 8 March 2017 at 16:34, Jernej Skrabec wrote: > > This is needed for HDMI, which will be added later. > > > > Signed-off-by: Jernej Skrabec > > --- > > > > 

[U-Boot] [PATCH 2/4] Kconfig: introduce md5sum command selection

2017-03-14 Thread Andre Przywara
So far CONFIG_MD5SUM would need to be set by a board's include file. Since the command is really generic, move it over to Kconfig to allow it to be defined by either a board's defconfig, menuconfig or some config snippet merged via mergeconfig.sh. Signed-off-by: Andre Przywara

[U-Boot] [PATCH 4/4] configs: move CMD_MD5SUM definition to defconfigs

2017-03-14 Thread Andre Przywara
Boards with an apparent need for the md5sum command had the connected config symbol defined in their board header file. Move this over to the respective defconfig files now that md5sum is configured via Kconfig. (This is a manual effort, which differs from moveconfig.py, not sure who is right

[U-Boot] [PATCH 3/4] Kconfig: define MD5 dependency for FIT support

2017-03-14 Thread Andre Przywara
FIT images require MD5 support to verify image checksums. So far this was expressed by defining a CPP symbol in image.h. Since MD5 is now a first class Kconfig citizen, express that in Kconfig instead. Signed-off-by: Andre Przywara --- Kconfig | 1 +

[U-Boot] [PATCH 1/4] kirkwood: remove get_random_hex() and MD5 dependency

2017-03-14 Thread Andre Przywara
Commit 19a5944fcd62 ("mvgbe: remove setting of ethaddr within the driver") removed the usage of get_random_hex() from the mvgbe driver about six years ago. However the prototype of that function survived till today in some kirkwood header file. Remove that prototype and the CONFIG_MD5 dependency

[U-Boot] [PATCH 0/4] Kconfig: convert MD5 and CMD_MD5SUM

2017-03-14 Thread Andre Przywara
This series move CONFIG_MD5 and the associated CONFIG_CMD_MD5SUM over to Kconfig, so it can easily be selected either by menuconfig or by a _defconfig (without resorting to header file hacks). Cheers, Andre. Andre Przywara (4): kirkwood: remove get_random_hex() and MD5 dependency Kconfig:

Re: [U-Boot] [PATCH 3/6] sunxi: add option for 16-bit DW DRAM controller

2017-03-14 Thread André Przywara
On 13/03/17 17:50, Icenowy Zheng wrote: Hi Icenowy, > Some Allwinner SoCs features a DesignWare-like controller with only 16 > bit bus width. > > Add support for them. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/mach-sunxi/dram_sunxi_dw.c | 34

Re: [U-Boot] [PATCH 5/8] sunxi: Add selective DRAM type and timing

2017-03-14 Thread Dr. Philipp Tomsich
> On 15 Mar 2017, at 01:42, André Przywara wrote: > > On 11/03/17 16:19, Icenowy Zheng wrote: >> DRAM chip varies, and one code cannot satisfy all DRAMs. >> >> Add options to select a timing set. >> >> Currently only DDR3-1333 (the original set) is added into it. > >

Re: [U-Boot] [PATCH 6/6] sunxi: enable dual rank detection in DesignWare-like DRAM code

2017-03-14 Thread André Przywara
On 13/03/17 17:50, Icenowy Zheng wrote: > The DesignWare-like DRAM code used to set the controller defaultly to > single rank mode, which makes it not able to detect the second rank. > > Set the default value to dual rank, thus the rank detection code can > work and finally the rank setting will

Re: [U-Boot] [PATCH 4/8] sunxi: add bank detection code to H3 DRAM initialization code

2017-03-14 Thread André Przywara
On 15/03/17 00:26, André Przywara wrote: > On 11/03/17 16:19, Icenowy Zheng wrote: >> Some DDR2 DRAM have only four banks, not eight. >> >> Add code to detect this situation. >> >> Signed-off-by: Icenowy Zheng > Reviewed-by: Andre Przywara Argh, this

Re: [U-Boot] [PATCH 5/8] sunxi: Add selective DRAM type and timing

2017-03-14 Thread André Przywara
On 11/03/17 16:19, Icenowy Zheng wrote: > DRAM chip varies, and one code cannot satisfy all DRAMs. > > Add options to select a timing set. > > Currently only DDR3-1333 (the original set) is added into it. Yes, separating the timings sounds like a good idea. Eventually we should move these

Re: [U-Boot] [U-Boot, v2] board: ns2: Add support for Broadcom Northstar 2

2017-03-14 Thread Tom Rini
On Wed, Mar 08, 2017 at 11:55:36AM -0500, Jon Mason wrote: > Add support for the Broadcom Northstar2 SoC and SVK (bcm958712k). The > BCM5871X is a series of quad-core 64-bit 2GHz ARMv8 Cortex-A57 > processors targeting a broad range of networking applications. > > Signed-off-by: Jon Mason

Re: [U-Boot] [PATCH 4/8] sunxi: add bank detection code to H3 DRAM initialization code

2017-03-14 Thread André Przywara
On 11/03/17 16:19, Icenowy Zheng wrote: > Some DDR2 DRAM have only four banks, not eight. > > Add code to detect this situation. > > Signed-off-by: Icenowy Zheng Reviewed-by: Andre Przywara Thanks, Andre. > --- > arch/arm/mach-sunxi/dram_sunxi_dw.c

Re: [U-Boot] [PATCH 2/6] sunxi: Rename bus-width related macros in H3 DRAM code

2017-03-14 Thread André Przywara
On 13/03/17 17:50, Icenowy Zheng wrote: > The DesignWare DRAM controller used by H3 and newer SoCs use a bit to > identify whether the DRAM is half-width. > > As H3 itself come with 32-bit DRAM, the two modes of the bit used to be > named "MCTL_CR_32BIT" and "MCTL_CR_16BIT", but for SoCs with

Re: [U-Boot] [PATCH 1/6] sunxi: makes an invisible option for H3-like DRAM controllers

2017-03-14 Thread André Przywara
On 13/03/17 17:50, Icenowy Zheng wrote: Hi Icenowy, as mentioned before, I like this patch. In general, can you rebase this series on top of sunxi/master? There are some rather easy conflicts due to the H5 support being merged in. One minor thing below... > Allwinner SoCs after H3 (e.g. A64,

[U-Boot] [PATCH v3 2/2] rockchip: rk3288: use spl_early_init() instead of spl_init()

2017-03-14 Thread Simon Glass
From: Eddie Cai Use spl_early_init() to make sure that early malloc() is initialised. This fixes booting on firefly-rk3288, for example. Signed-off-by: Eddie Cai Signed-off-by: Simon Glass --- Changes in v3: - Rewrite

[U-Boot] [PATCH v3 1/2] spl: Add spl_early_init()

2017-03-14 Thread Simon Glass
From: Eddie Cai At present malloc_base/_limit/_ptr are not initialised in spl_init() when we call spl_init() in board_init_f(). This is due to a recent change aimed at avoiding overwriting the malloc area set up on some boards by spl_relocate_stack_gd(). However if

Re: [U-Boot] rockchip: config: enable the USB host for rk3288 based board

2017-03-14 Thread Simon Glass
On 13 March 2017 at 06:33, Simon Glass wrote: > On 6 March 2017 at 21:47, Eddie Cai wrote: >> RK3288 using the dwc2 USB host controller, enable it and other usb host >> funtion like storage and ethernet. >> >> Signed-off-by: Eddie Cai

Re: [U-Boot] [PATCH 2/8] rockchip: video: Remove CSC initialization (HDMI)

2017-03-14 Thread Simon Glass
On 13 March 2017 at 06:33, Simon Glass wrote: > On 8 March 2017 at 16:34, Jernej Skrabec wrote: >> Despite the comment in the code, CSC unit is never used. According to >> the only public description of DW HDMI controller (i.MX6 manual), CSC >> unit is

Re: [U-Boot] [PATCH 1/3] dm: Return actual bools in dm_fdt_pre_reloc

2017-03-14 Thread Simon Glass
On 2 March 2017 at 21:52, Simon Glass wrote: > On 23 February 2017 at 09:30, Heiko Stuebner wrote: >> Documentation says that we're returning true/false, not 1/0 so adapt >> the function to return actual booleans. >> >> Signed-off-by: Heiko Stuebner

Re: [U-Boot] [PATCH] rockchip: rk3036: dts: bind usb vbus-supply source

2017-03-14 Thread Simon Glass
On 13 March 2017 at 06:32, Simon Glass wrote: > On 6 March 2017 at 05:36, Kever Yang wrote: >> Bind usb host and otg vbus to its source. >> >> Signed-off-by: Kever Yang >> --- >> >> arch/arm/dts/rk3036-sdk.dts | 2 ++ >>

Re: [U-Boot] [PATCH v1 1/2] misc: Add SCU IPC driver for Intel MID platforms

2017-03-14 Thread Simon Glass
Hi Andy, On 13 March 2017 at 08:05, Andy Shevchenko wrote: > On Sun, 2017-03-12 at 14:21 -0600, Simon Glass wrote: >> > # subarchitectures-specific options below >> > config INTEL_MID >> > bool "Intel MID platform support" >> > + select

Re: [U-Boot] [PATCH 3/3] rockchip: rk3188: drop CONFIG_SYS_NO_FLASH

2017-03-14 Thread Simon Glass
On 2 March 2017 at 21:52, Simon Glass wrote: > On 23 February 2017 at 09:30, Heiko Stuebner wrote: >> Commit e856bdcfb492 ("flash: complete CONFIG_SYS_NO_FLASH move with >> renaming") >> obsoleted the CONFIG_SYS_NO_FLASH option, which still is in our >>

Re: [U-Boot] rockchip: dts: tinker: add usb host power supply node

2017-03-14 Thread Simon Glass
On 13 March 2017 at 06:33, Simon Glass wrote: > On 6 March 2017 at 21:46, Eddie Cai wrote: >> Tinker board have a usb host. add dts node to provide power supply. >> >> Signed-off-by: Eddie Cai >> --- >>

Re: [U-Boot] [PATCH 1/8] rockchip: video: Fix HDMI audio clocks

2017-03-14 Thread Simon Glass
On 13 March 2017 at 06:33, Simon Glass wrote: > On 8 March 2017 at 16:34, Jernej Skrabec wrote: >> Function hdmi_lookup_n_cts() is feed with clock in Hz, which gets >> compared with clocks in kHz. Fix that by converting all clocks to Hz. >> >>

Re: [U-Boot] [PATCH 2/2] rockchip: configs: Enable networking support on rk3288 boards

2017-03-14 Thread Simon Glass
On 2 March 2017 at 21:52, Simon Glass wrote: > On 22 February 2017 at 23:20, Jacob Chen wrote: >> At current, only firefly and rock2 have network enabled. >> Let's enable other boards. >> >> Signed-off-by: Jacob Chen >>

Re: [U-Boot] dts: rk3036: add sdmmc for rk3036

2017-03-14 Thread Simon Glass
On 21 February 2017 at 20:59, Simon Glass wrote: > On 19 February 2017 at 23:03, Eddie Cai wrote: >> rk3036 support sdmmc, add dts node to support it. >> >> Signed-off-by: Eddie Cai >> --- >> arch/arm/dts/rk3036.dtsi | 13

Re: [U-Boot] [PATCH 1/2] ARM: dts: rockchip: enable gmac for rk3288 boards

2017-03-14 Thread Simon Glass
On 2 March 2017 at 21:52, Simon Glass wrote: > On 22 February 2017 at 23:20, Jacob Chen wrote: >> Enable gmac interface for rk3288 board dts. >> use "okay" not "ok" >> >> Signed-off-by: Jacob Chen >> --- >> >>

Re: [U-Boot] dts: rk3399: add mmc alias for rk3399

2017-03-14 Thread Simon Glass
On 21 February 2017 at 20:59, Simon Glass wrote: > On 19 February 2017 at 23:02, Eddie Cai wrote: >> add mmc alias for rk3399 >> >> Signed-off-by: Eddie Cai >> --- >> arch/arm/dts/rk3399.dtsi | 2 ++ >> 1 file changed, 2

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Siarhei Siamashka
On Tue, 14 Mar 2017 20:06:42 +0530 Anand Moon wrote: > On 14 March 2017 at 15:24, Siarhei Siamashka > wrote: > > You can just clone my git branch: > > > >git clone -b 20170306-unbreak-odroid https://github.com/ssvb/u-boot.git > > > > Then

Re: [U-Boot] [PATCH v2 2/2] rockchip: use spl_early_init instead of spl_init

2017-03-14 Thread Simon Glass
Hi, On 14 March 2017 at 16:13, Liviu Dudau wrote: > On Tue, Mar 14, 2017 at 01:54:41PM -0600, Simon Glass wrote: >> From: Eddie Cai >> >> use spl_early_init to avoid malloc_base, limit, ptr not initualized. >> >> Signed-off-by: Eddie Cai

[U-Boot] [PATCH v2 2/2] rockchip: use spl_early_init instead of spl_init

2017-03-14 Thread Simon Glass
From: Eddie Cai use spl_early_init to avoid malloc_base, limit, ptr not initualized. Signed-off-by: Eddie Cai Signed-off-by: Simon Glass --- Changes in v2: - Add v2 to the series since this is a new version

[U-Boot] [PATCH v2 1/2] spl: Add spl_early_init()

2017-03-14 Thread Simon Glass
From: Eddie Cai Andrew F. Davis's below patch will make malloc_base, limit, ptr not initialised in spl_init() when we call spl_init() in board_init_f(). Add spl_early_init() which can be called in board_init_f() to fix this issue. Fixes: b3d2861e (spl: Remove

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-03-14 Thread york sun
Tom, The following changes since commit 8537ddd769f460d7fb7a62a3dcc9669049702e51: Prepare v2017.03 (2017-03-13 13:54:16 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to 9b6639fa85bddd90df4c371f25a89c791a6ee6ef:

[U-Boot] [PATCH] net: link_local: Fix netmask endianness bug

2017-03-14 Thread Sylvain Lemieux
From: Alexandre Messier The network mask must be stored in network order when in a 'struct in_addr'. This fix removes the "gatewayip needed but not set" message on the console when using a link-local IP setup. Signed-off-by: Alexandre Messier

[U-Boot] [PATCH v3 2/2] stm32f7: enable instruction & data cache

2017-03-14 Thread Vikas Manocha
It also enables commands for cache enable/disable/status. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v3: None Changed in v2: None arch/arm/mach-stm32/stm32f7/soc.c | 2 ++ include/configs/stm32f746-disco.h | 4 +--- 2

[U-Boot] [PATCH v3 1/2] armv7m: add instruction & data cache support

2017-03-14 Thread Vikas Manocha
This patch adds armv7m instruction & data cache support. Signed-off-by: Vikas Manocha cc: Christophe KERELLO --- Changed in v3: - uint32 replcaed with u32. - multiple read of hardware register replaced with single. - pointers replaced with

[U-Boot] [PATCH v3 0/2] add armv7m cache support

2017-03-14 Thread Vikas Manocha
This patchset adds armv7m instruction/data caches support & enable it for stm32f7. Changed in v3: - uint32 replcaed with u32. - multiple read of hardware register replaced with single. - pointers replaced with macros for base address. - register names added as comment for system control block

Re: [U-Boot] [ANN] U-Boot v2017.03 is released

2017-03-14 Thread Tom Rini
On Tue, Mar 14, 2017 at 06:44:25PM +0200, Andy Shevchenko wrote: > On Mon, Mar 13, 2017 at 8:02 PM, Tom Rini wrote: > > Hey all, > > > > I've released v2017.03 and it's now live on git and FTP and ACD (along > > with PGP sig file). > > Thanks for release! > We are closer to

Re: [U-Boot] [ANN] U-Boot v2017.03 is released

2017-03-14 Thread Andy Shevchenko
On Mon, Mar 13, 2017 at 8:02 PM, Tom Rini wrote: > Hey all, > > I've released v2017.03 and it's now live on git and FTP and ACD (along > with PGP sig file). Thanks for release! We are closer to get Intel Edison support out of the box. > So, some biggish news. As things

Re: [U-Boot] [PATCH] Ensure device tree DTS is compiled

2017-03-14 Thread Andy Shevchenko
On Tue, Mar 14, 2017 at 7:38 AM, James Balean wrote: > Enables custom DTS files, or those not associated with a specific target, to > be compiled into a boot image. > +ARCH_PATH := arch/$(ARCH)/dts > +DTB := $(ARCH_PATH)/dts/$(DEVICE_TREE).dtb dts/dts ? > +

[U-Boot] [PATCH 2/2] rockchip: use spl_early_init instead of spl_init

2017-03-14 Thread Simon Glass
From: Eddie Cai use spl_early_init to avoid malloc_base, limit, ptr not initualized. Signed-off-by: Eddie Cai Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 1/2] spl: Add spl_early_init()

2017-03-14 Thread Simon Glass
From: Eddie Cai Andrew F. Davis's below patch will make malloc_base, limit, ptr not initialised in spl_init() when we call spl_init() in board_init_f(). Add spl_early_init() which can be called in board_init_f() to fix this issue. Fixes: b3d2861e (spl: Remove

Re: [U-Boot] [u-boot PATCH v5 04/10] ti: common: board_detect: commodify ethaddr environment setting code

2017-03-14 Thread Felipe Balbi
Hi, On Tue, Mar 14, 2017 at 3:05 PM Roger Quadros wrote: +void board_ti_set_ethaddr(int index) +{ + uint8_t mac_addr[6]; + int i; + u64 mac1, mac2; + u8 mac_addr1[6], mac_addr2[6]; + int num_macs; + /* +* Export any Ethernet MAC

Re: [U-Boot] accessing eMMC boot partitions from U-Boot

2017-03-14 Thread Stephen Warren
On 03/14/2017 07:07 AM, Tim Harvey wrote: On Mon, Mar 13, 2017 at 6:08 PM, Sergey Kubushyn wrote: On Mon, 13 Mar 2017, Stephen Warren wrote: On 03/13/2017 03:34 PM, Tim Harvey wrote: Greetings, I'm working with some boards with eMMC FLASH and understand that I can set

[U-Boot] [PATCH] arm: lpc32xx: Add i2c DM support

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Since the driver does not yet support devicetree bindings, the i2c buses need to be defined and probed when the bus is initialized. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Note: * In the

[U-Boot] [PATCH] usb: lpc32xx: Add i2c DM support

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Add DM support for i2c functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- Note: * This patch is require as part of the DM support of the LPC32xx I2C driver. All I2C drivers should be

[U-Boot] [PATCH 6/7] i2c: lpc32xx: Move definitions to header file

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Since the lpc32xx i2c driver does not yet support the devicetree bindings, this structure is also needed by the board file as the hardware description is done there. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux

[U-Boot] [PATCH 3/7] i2c: lpc32xx: Factor out i2c_adapter parameter

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. It will enable the driver to support DM and non-DM configurations using the same functions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux

[U-Boot] [PATCH 4/7] i2c: lpc32xx: Add DM for lpc32xx I2C

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Adding DM specific wrapper functions and definitions. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 91 +++ 1 file

[U-Boot] [PATCH 5/7] i2c: lpc32xx: Remove note for DM conversation

2017-03-14 Thread Sylvain Lemieux
From: Sylvain Lemieux Removed note in the LPC32xx I2C driver for DM conversation. Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/i2c/lpc32xx_i2c.c

[U-Boot] [PATCH 7/7] i2c: lpc32xx: Force consistent bus numbering

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin Normally, this would probably be done by adding devicetree aliases to the main dtsi file for the lpc32xx and using bus->req_seq instead. Since we want to have consistent i2c numbering, we cannot force the bus->req_seq because. If for instance we have 3

[U-Boot] [PATCH 2/7] i2c: lpc32xx: Prepare compatibility functions

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- drivers/i2c/lpc32xx_i2c.c | 47 ++-

[U-Boot] [PATCH 1/7] i2c: lpc32xx: Rename probe function

2017-03-14 Thread Sylvain Lemieux
From: Liam Beguin This is part of the prep work for the migration to the driver model. What used to be the probe function is now called probe_chip. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux ---

[U-Boot] [PATCH 0/7] i2c: lpc32xx: add DM support

2017-03-14 Thread Sylvain Lemieux
From: Sylvain Lemieux This patchset add DM support to the I2C LPC32xx platform. All I2C drivers should be converted, to DM, by the end of June 2017. The I2C driver is supporting the DM and non-DM setup. Since the mainline LPC32xx boards are not supporting the devicetree

[U-Boot] [PATCH 3/3] OpenRISC: Remove

2017-03-14 Thread Tom Rini
The OpenRISC architecture is currently unmaintained, remove. Cc: Stefan Kristiansson Signed-off-by: Tom Rini --- MAINTAINERS| 5 - arch/Kconfig | 4 -

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Anand Moon
Hi Siarhei On 14 March 2017 at 15:24, Siarhei Siamashka wrote: > On Tue, 14 Mar 2017 14:44:26 +0530 > Anand Moon wrote: > >> Hi Siarhei/Jaehoon >> >> On 14 March 2017 at 14:31, Jaehoon Chung wrote: >> > On 03/14/2017

Re: [U-Boot] [PATCH v2 2/8] Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible"

2017-03-14 Thread Rush, Jason A.
Marek Vasut wrote: > On 03/07/2017 04:18 PM, Rush, Jason A. wrote: >> Marek Vasut wrote: >>> On 03/03/2017 04:17 PM, Rush, Jason A. wrote: Marek Vasut wrote: > On 03/01/2017 05:36 PM, Rush, Jason A. wrote: >> This reverts commit b63b46313ed29e9b0c36b3d6b9407f6eade40c8f. >> >>

Re: [U-Boot] [PATCH] PMIC: TI: TPS65903X errata (SLIA087) code

2017-03-14 Thread Tom Rini
On Fri, Mar 10, 2017 at 11:40:27PM +0100, Lukasz Majewski wrote: > This patch adds code, which comply with TPS65903X errata pseudocode > described in SLIA087 - "Guide to Using the GPADC in TPS65903x and > TPS6591x Devices". > > It is enabled by proper Kconfig option, when TI's palmas PMIC

Re: [U-Boot] [PATCH v1] env_mmc: configure environment offsets via device tree

2017-03-14 Thread Igor Grinberg
Hi Simon, On 03/12/17 22:21, Simon Glass wrote: > Hi Igor, > > On 5 March 2017 at 01:39, Igor Grinberg wrote: >> Hi Simon, >> >> On 03/03/17 06:53, Simon Glass wrote: >>> Hi Igor, >>> >>> On 22 February 2017 at 00:35, Igor Grinberg wrote:

Re: [U-Boot] accessing eMMC boot partitions from U-Boot

2017-03-14 Thread Tim Harvey
On Mon, Mar 13, 2017 at 6:08 PM, Sergey Kubushyn wrote: > On Mon, 13 Mar 2017, Stephen Warren wrote: > >> On 03/13/2017 03:34 PM, Tim Harvey wrote: >>> >>> Greetings, >>> >>> I'm working with some boards with eMMC FLASH and understand that I can >>> set the fields of the

[U-Boot] [u-boot PATCH v5 04/10] ti: common: board_detect: commodify ethaddr environment setting code

2017-03-14 Thread Roger Quadros
Keystone and OMAP platforms will need this to set ethernet MAC addresses from board EEPROM. Signed-off-by: Roger Quadros Reviewed-by: Lokesh Vutla Reviewed-by: Tom Rini --- v5: - Set upto 50 MAC addresses if more than 50 are provided in

Re: [U-Boot] accessing eMMC boot partitions from U-Boot

2017-03-14 Thread Tim Harvey
On Mon, Mar 13, 2017 at 2:49 PM, Stephen Warren wrote: > On 03/13/2017 03:34 PM, Tim Harvey wrote: >> >> Greetings, >> >> I'm working with some boards with eMMC FLASH and understand that I can >> set the fields of the PARTITION_CONFIG with the 'mmc partconf' command >> to

[U-Boot] [PATCH] T1042RDB: Remove nand secure boot compilation error

2017-03-14 Thread Vinitha Pillai-B57223
After application of SPL size reduction patch, powerPC compilation breaks, as a macro CONFIG_CMD_BLOB is being defined for powerpc, but for SPL size reducion blobbing has been removed for SPL compilation. So that had to be removed from SPL compilation for powerPC platform as well. Signed-off-by:

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Anand Moon
Hi Siarhei/Jaehoon On 14 March 2017 at 14:31, Jaehoon Chung wrote: > On 03/14/2017 04:52 PM, Siarhei Siamashka wrote: >> On Mon, 6 Mar 2017 12:18:50 +0200 >> Siarhei Siamashka wrote: >> >>> On Thu, 12 Jan 2017 14:02:48 +0530 >>> Anand Moon

Re: [U-Boot] [PATCH 3/8] rockchip: video: Split out HDMI controller code

2017-03-14 Thread Mike Valk
On Thursday, March 9, 2017 at 12:36:31 AM UTC+1, Jernej Škrabec wrote: > > Designware HDMI controller and phy are used in other SoCs as well. Split > out platform independent code. > > DW HDMI has 8 bit registers but they can be represented as 32 bit > registers as well. Add support to select

Re: [U-Boot] [PATCH] ARM: keystone: Pass SPI MTD partition table via kernel command line

2017-03-14 Thread Vignesh R
[...] On Friday 10 March 2017 11:32 PM, Tom Rini wrote: >> Yes, I agree that initial DT layout of 512K may not have been good >> design, but it would be good to have an agreeable way of fixing up MTD >> partitions when there is overflow. So, is fdt_fixup_mtdparts() preferred >> approach? > You

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Siarhei Siamashka
On Tue, 14 Mar 2017 18:01:11 +0900 Jaehoon Chung wrote: > On 03/14/2017 04:52 PM, Siarhei Siamashka wrote: > > On Mon, 6 Mar 2017 12:18:50 +0200 > > Siarhei Siamashka wrote: > > > >> On Thu, 12 Jan 2017 14:02:48 +0530 > >> Anand Moon

Re: [U-Boot] [PATCH 00/17] SPL: extend FIT loading support

2017-03-14 Thread Dr. Philipp Tomsich
Reviewed-by: Philipp Tomsich > On 01 Mar 2017, at 03:25, Andre Przywara wrote: > > This is an updated and slightly extended version of the SPL FIT loading > series I posted as an RFC some weeks ago. > I tried to fix all bugs that

Re: [U-Boot] [PATCH 05/17] SPL: FIT: allow loading multiple images

2017-03-14 Thread Lokesh Vutla
On Wednesday 01 March 2017 07:55 AM, Andre Przywara wrote: > So far we were not using the FIT image format to its full potential: > The SPL FIT loader was just loading the first image from the /images > node plus one of the listed DTBs. > Now with the refactored loader code it's easy to load an

Re: [U-Boot] [PATCH 04/17] SPL: FIT: factor out spl_load_fit_image()

2017-03-14 Thread Lokesh Vutla
On Wednesday 01 March 2017 07:55 AM, Andre Przywara wrote: > At the moment we load two images from a FIT image: the actual U-Boot > image and the DTB. Both times we have very similar code to deal with > alignment requirement the media we load from imposes upon us. > Factor out this code into a

Re: [U-Boot] [PATCH 03/17] SPL: FIT: rework U-Boot image loading

2017-03-14 Thread Lokesh Vutla
On Wednesday 01 March 2017 07:55 AM, Andre Przywara wrote: > Currently the SPL FIT loader always looks only for the first image in > the /images node a FIT tree, which it loads and later executes. > > Generalize this by looking for a "firmware" property in the matched > configuration subnode,

Re: [U-Boot] [PATCH 02/17] SPL: FIT: refactor FDT loading

2017-03-14 Thread Lokesh Vutla
On Wednesday 01 March 2017 07:55 AM, Andre Przywara wrote: > Currently the SPL FIT loader uses the spl_fit_select_fdt() function to > find the offset to the right DTB within the FIT image. > For this it iterates over all subnodes of the /configuration node in > the FIT tree and compares all

Re: [U-Boot] [u-boot PATCH v4 04/10] ti: common: board_detect: commodify ethaddr environment setting code

2017-03-14 Thread Roger Quadros
On 13/03/17 15:15, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >> +void board_ti_set_ethaddr(int index) >> +{ >> +uint8_t mac_addr[6]; >> +int i; >> +u64 mac1, mac2; >> +u8 mac_addr1[6], mac_addr2[6]; >> +int num_macs; >> +/* >> + * Export

Re: [U-Boot] accessing eMMC boot partitions from U-Boot

2017-03-14 Thread Ziyuan
hi Stephen, On 03/14/2017 12:41 PM, Stephen Warren wrote: On 03/13/2017 06:54 PM, Ziyuan wrote: hi Stephen, On 03/14/2017 05:49 AM, Stephen Warren wrote: On 03/13/2017 03:34 PM, Tim Harvey wrote: Greetings, I'm working with some boards with eMMC FLASH and understand that I can set the

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Siarhei Siamashka
On Tue, 14 Mar 2017 14:44:26 +0530 Anand Moon wrote: > Hi Siarhei/Jaehoon > > On 14 March 2017 at 14:31, Jaehoon Chung wrote: > > On 03/14/2017 04:52 PM, Siarhei Siamashka wrote: > >> On Mon, 6 Mar 2017 12:18:50 +0200 > >> Siarhei Siamashka

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Jaehoon Chung
Hi Anand, On 03/14/2017 06:14 PM, Anand Moon wrote: > Hi Siarhei/Jaehoon > > On 14 March 2017 at 14:31, Jaehoon Chung wrote: >> On 03/14/2017 04:52 PM, Siarhei Siamashka wrote: >>> On Mon, 6 Mar 2017 12:18:50 +0200 >>> Siarhei Siamashka

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Jaehoon Chung
On 03/14/2017 04:52 PM, Siarhei Siamashka wrote: > On Mon, 6 Mar 2017 12:18:50 +0200 > Siarhei Siamashka wrote: > >> On Thu, 12 Jan 2017 14:02:48 +0530 >> Anand Moon wrote: >> >>> Hi All, >>> >>> I tried to compile the latest u-boot for Odroid

Re: [U-Boot] Ethernet not detecting on Odroid u3

2017-03-14 Thread Siarhei Siamashka
On Mon, 6 Mar 2017 12:18:50 +0200 Siarhei Siamashka wrote: > On Thu, 12 Jan 2017 14:02:48 +0530 > Anand Moon wrote: > > > Hi All, > > > > I tried to compile the latest u-boot for Odroid U3. > > issue is that Ethernet is not able to detected.

Re: [U-Boot] [PATCH] mmc: sdhci: only flush cache for data command

2017-03-14 Thread Jaehoon Chung
Hi Kevin, On 03/08/2017 04:16 PM, Kevin Liu wrote: > No need to flush cache for command without data. > > Signed-off-by: Kevin Liu Applied on u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > drivers/mmc/sdhci.c | 6 -- > 1 file changed, 4 insertions(+), 2

Re: [U-Boot] [PATCH 5/8] sunxi: Add clock support for DE2/HDMI/TCON on newer SoCs

2017-03-14 Thread Jernej Škrabec
Hi, Dne ponedeljek, 13. marec 2017 ob 13:33:43 CET je Simon Glass napisal(a): > Hi, > > On 8 March 2017 at 16:34, Jernej Skrabec wrote: > > This is needed for HDMI, which will be added later. > > > > Signed-off-by: Jernej Skrabec > > --- > >

Re: [U-Boot] accessing eMMC boot partitions from U-Boot

2017-03-14 Thread Sergey Kubushyn
On Mon, 13 Mar 2017, Stephen Warren wrote: On 03/13/2017 07:08 PM, Sergey Kubushyn wrote: On Mon, 13 Mar 2017, Stephen Warren wrote: > On 03/13/2017 03:34 PM, Tim Harvey wrote: > > Greetings, > > > > I'm working with some boards with eMMC FLASH and understand that I > > can > >

[U-Boot] [PATCH] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-14 Thread Wenbin song
Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds and ls1046aqds boards. Signed-off-by: Wenbin Song --- include/configs/ls1043a_common.h | 7 --- include/configs/ls1046aqds.h | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff