[U-Boot] [PATCH V2] lib: div64: sync with Linux

2017-04-09 Thread Peng Fan
Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'"). Signed-off-by: Peng Fan Cc: Tom Rini --- V2: Use `./tools/buildman/buildman -v` to do the build, the following 3 build fails, but not related to this patch. x86: + qemu-x86_64 x86:

Re: [U-Boot] [PATCH 1/5] rockchip: i2c: enable i2c for rk3399

2017-04-09 Thread Heiko Schocher
Hello Eric, Am 08.04.2017 um 14:22 schrieb Eric Gao: From: "eric.gao" To enable mipi display, we need to enable pmic rk808 first for lcd3v3 power,which use i2c0 to communicate with soc. So enable i2c0. Signed-off-by: eric.gao Signed-off-by:

Re: [U-Boot] [PATCH 2/3] fsl-ppa: Kconfig: Support to load PPA hdr from eMMC/SD and NAND Flash

2017-04-09 Thread Sumit Garg
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Friday, April 07, 2017 9:41 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Vini Pillai

[U-Boot] [bug report] Incorrect result from clk_get_by_name

2017-04-09 Thread Ziyuan
hi all, I hit an issue about clk_get_by_name w/ fdt. I wanna get a specified clock cell from dts via clk_get_by_name. eg: clk_get_by_name(, "ciu-sample",..) from 'emmc: dwmmc@ff0f' on rk3288 platform which it has four clock cell: "biu", "ciu", "ciu_drv", "ciu_sample". I found that the

[U-Boot] [PATCH 5/5] rockchip: configs: Enable mipi dsi for rk3399

2017-04-09 Thread Eric Gao
Enable mipi dsi by default for rk3399-evb board Signed-off-by: Eric Gao --- configs/evb-rk3399_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index aac6d2d..f41cbf9 100644 ---

[U-Boot] [PATCH 4/5] rockchip: dts: Add mipi dsi support for rk3399

2017-04-09 Thread Eric Gao
Add dts config for mipi display, include vop, mipi controller, panel, backlight.And Enable rk808 for lcd_3v3 in another patch. Signed-off-by: Eric Gao --- arch/arm/dts/rk3399-evb.dts | 84 + arch/arm/dts/rk3399.dtsi|

[U-Boot] [PATCH 3/5] rockchip: video: Add mipi dsi driver for rk3399

2017-04-09 Thread Eric Gao
Add mipi dsi driver for rk chip, To enable this you need to enable DM, DM_VIDEO, DM_ROCKCHIP_VIDEO, DISPLAY_MIPI in menuconfig. And enable rk808,and it's corresponding i2c. Signed-off-by: Eric Gao --- arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 1 +

[U-Boot] [PATCH 2/5] rockchip: pmic: Enable RK808 for rk3399 evb

2017-04-09 Thread Eric Gao
For using mipi display, we need to enable lcd3v3 which supplied by rk808,so enable rk808 first. Signed-off-by: Eric Gao --- arch/arm/dts/rk3399-evb.dts | 39 +++ configs/evb-rk3399_defconfig | 5 + 2 files changed, 44

[U-Boot] [PATCH 1/5] rockchip: i2c: Enable i2c for rk3399

2017-04-09 Thread Eric Gao
To enable mipi display, we need to enable pmic rk808 first for lcd3v3 power,which use i2c0 to communicate with soc. So enable i2c0. Signed-off-by: Eric Gao --- arch/arm/dts/rk3399.dtsi | 16 configs/evb-rk3399_defconfig | 1 +

[U-Boot] [PATCH 0/5]

2017-04-09 Thread Eric Gao
This serials patches add mipi dsi support for rk3399. Except the basic mipi driver, we need also enable pmic rk808 for lcd power and enable i2c for rk808 communication. what's more, the needed clk and pwm for backlight is init in spl stage, make sure spl work first. Eric Gao (5):

Re: [U-Boot] [PATCH] rockchip: rk3399: defconfig: add CONFIG_OF_EMBED support

2017-04-09 Thread Kever Yang
Hi Simon, On 04/10/2017 03:28 AM, Simon Glass wrote: Hi Kever, On 7 April 2017 at 04:35, Kever Yang wrote: Need to enablt CONFIG_OF_EMBED if we use separate uboot and dtb in FIT image for SPL loading. Can you please explain that a bit more? We shouldn't OF_EMBED

[U-Boot] Please pull u-boot-x86

2017-04-09 Thread Bin Meng
Hi Tom, The following changes since commit 04735a8fc45ba7c9f5b17d4837a0c649087b29e1: Merge branch 'master' of git://git.denx.de/u-boot-samsung (2017-04-08 10:20:26 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to

[U-Boot] [PATCH 1/5] rockchip: i2c: Enable i2c for rk3399

2017-04-09 Thread Eric Gao
To enable mipi display, we need to enable pmic rk808 first for lcd3v3 power,which use i2c0 to communicate with soc. So enable i2c0. Signed-off-by: Eric Gao --- arch/arm/dts/rk3399.dtsi | 16 configs/evb-rk3399_defconfig | 1 +

[U-Boot] [PATCH 0/5]

2017-04-09 Thread Eric Gao
This serials patches add mipi dsi support for rk3399. Except the basic mipi driver, we need also enable pmic rk808 for lcd power and enable i2c for rk808 communication. what's more, the needed clk and pwm for backlight is init in spl stage, make sure spl work first. Eric Gao (5):

Re: [U-Boot] [PATCH v3 2/2] x86: Introduce minimal PMU driver for Intel MID platforms

2017-04-09 Thread Bin Meng
On Thu, Apr 6, 2017 at 11:44 AM, Simon Glass wrote: > Hi Andy, > > On 1 April 2017 at 07:21, Andy Shevchenko > wrote: >> This simple PMU driver allows to tyrn power on and off for selected >> devices. In particularly Intel Tangier needs to

Re: [U-Boot] [PATCH v3] serial: Add serial driver for Intel MID

2017-04-09 Thread Bin Meng
On Sat, Apr 1, 2017 at 12:22 PM, Simon Glass wrote: > +Bin > > Hi, > > On 26 March 2017 at 05:48, Andy Shevchenko > wrote: >> On Mon, 2017-03-13 at 16:09 +0200, Andy Shevchenko wrote: >>> On Fri, Mar 3, 2017 at 12:31 PM, Kever Yang

[U-Boot] [PATCH] video: Fix crash when scroll screen

2017-04-09 Thread Eric Gao
After enable log printing to lcd,when the screen start scroll,system crash, log is shown as bellow. "Synchronous Abort" handler, esr 0x9645 "Synchronous Abort" handler, esr 0x9645 Checking the source code, we found that the variate "pixels" get a wrong value. int pixels =

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

2017-04-09 Thread Bin Meng
On Thu, Apr 6, 2017 at 11:44 AM, Simon Glass wrote: > Hi Andy, > > On 1 April 2017 at 07:21, Andy Shevchenko > wrote: >> From: Felipe Balbi >> >> Intel MID platforms have few microcontrollers inside SoC, one of

Re: [U-Boot] [PATCH] tools: binman: Add missing filenames for various x86 rom tests

2017-04-09 Thread Bin Meng
On Mon, Apr 10, 2017 at 3:27 AM, Simon Glass wrote: > On 4 April 2017 at 22:17, Bin Meng wrote: >> With recent changes, some x86-specific rom tests of binman fail to >> run. Fix it by adding missing filenames in corresponding entries. >> >> Signed-off-by:

[U-Boot] [PATCH] rockchip: rk3399: Add missing sentinel in syscon

2017-04-09 Thread Eric Gao
when enable PMIC rk808,the system will halt at very early stage,log is shown as bellow. INFO:plat_rockchip_pmu_init(1211): pd status 3e INFO:BL31: Initializing runtime services INFO:BL31: Preparing for EL3 exit to normal world INFO:Entry point address = 0x20 INFO:SPSR =

Re: [U-Boot] [U-Boot, v3] Makefile: Fix linking with modern binutils

2017-04-09 Thread Vagrant Cascadian
On 2017-04-09, Andreas Färber wrote: > From: Joel Stanley > > Since Binutils 1a9ccd70f9a7[1] u-boot will not link targets that set > CONFIG_SYS_TEXT_BASE=0 with the following error: > > LD u-boot > arm-linux-gnueabi-ld.bfd: u-boot: Not enough room for

[U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-04-09 Thread Simon Glass
This is not to be applied. It is needed to test using CONFIG_DM_MMC on x86 since SCSI is broken with this setup. Signed-off-by: Simon Glass --- include/configs/x86-common.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/configs/x86-common.h

[U-Boot] [PATCH 2/2] x86: Convert MMC to driver model

2017-04-09 Thread Simon Glass
Convert the pci_mmc driver over to driver model and migrate all x86 boards that use it. Signed-off-by: Simon Glass --- arch/Kconfig | 1 + arch/x86/cpu/baytrail/valleyview.c | 12 -- arch/x86/cpu/quark/quark.c | 10 -

[U-Boot] [PATCH 0/2] x86: Convert all boards to use MMC to driver model

2017-04-09 Thread Simon Glass
This serial converts x86 boards to use MMC for driver model. It has to disable SCSI to make this work, for now. Once SCSI is sorted out, we can apply the patch. Simon Glass (2): WIP: Disable SCSI on x86 x86: Convert MMC to driver model arch/Kconfig | 1 +

Re: [U-Boot] [PATCH v4 00/35] ARM: i.MX6: SabreSD: Add dts support

2017-04-09 Thread Fabio Estevam
On Sun, Apr 9, 2017 at 4:12 PM, Jagan Teki wrote: > Bcz we need to define dtb through CONFIG_DEFAULT_DEVICE_TREE Having 3 defconfigs for SPL is not good. Looks like a step in the opposite direction. Can this limitation be changed?

Re: [U-Boot] [U-Boot, v2, 8/8] defconfigs: Add a config for AM335x High Security EVM with UART Boot support

2017-04-09 Thread Tom Rini
On Fri, Apr 07, 2017 at 10:11:26AM -0500, Andrew F. Davis wrote: > Add a new defconfig file for the AM335x High Security EVM. This config > is specific for the case of UART booting > > Signed-off-by: Andrew F. Davis Please note that with gcc-4.9 and gcc-5.x this does not link,

Re: [U-Boot] [PATCH] video: Remove dependecy of I2C_EDID

2017-04-09 Thread Jernej Škrabec
Hi, Dne nedelja, 09. april 2017 ob 21:28:47 CEST je Simon Glass napisal(a): > Hi, > > On 28 March 2017 at 16:39, Jernej Skrabec wrote: > > I2C_EDID currently selects DM_I2C. However, it is not needed. I2C_EDID > > is used for building edid.c, which doesn't even use I2C

[U-Boot] OMAP_HSMMC and MMC getcd discrepancy

2017-04-09 Thread Adam Ford
I am trying to port my OMAP3630 board to use DM_MMC and OMAP_HSMMC_USE_GPIO without CONFIG_DM_MMC_OPS and with OF support by porting the OMAP3 device tree and I think there might be an issue with card detect. I am hoping someone might be able to clarify it for me. For what it's worth, the card

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

2017-04-09 Thread Simon Glass
Hi Tom, On 20 March 2017 at 08:27, Tom Rini wrote: > On Mon, Mar 20, 2017 at 10:58:57AM +0530, Lokesh Vutla wrote: >> Hi Simon, >> >> On Wednesday 15 March 2017 08:13 PM, Simon Glass wrote: >> > From: Eddie Cai >> > >> > At present

Re: [U-Boot] [PATCH 1/4] dm: device_remove: Don't return in device_chld_remove() upon error

2017-04-09 Thread Simon Glass
Hi Stefan, On 6 April 2017 at 07:29, Stefan Roese wrote: > On my x86 platform I've noticed, that calling dm_uninit() or the new > function dm_remove_devices_flags() does not remove the desired device at > all. Debugging showed, that the serial uclass returns -EPERM in >

Re: [U-Boot] [PATCH 3/4] x86: bootm: Add dm_remove_devices_flags() call to bootm_announce_and_cleanup()

2017-04-09 Thread Simon Glass
On 6 April 2017 at 07:29, Stefan Roese wrote: > This patch adds a call to dm_remove_devices_flags() to > bootm_announce_and_cleanup() so that drivers that have one of the removal > flags set (e.g. DM_FLAG_ACTIVE_DMA_REMOVE) in their driver struct, may > do some last-stage cleanup

Re: [U-Boot] [PATCH] rockchip: sysreset: rk3188: Make sure remap is off on warm-resets

2017-04-09 Thread Simon Glass
On 7 April 2017 at 04:38, Heiko Stuebner wrote: > The warm-reset of rk3188 socs keeps the remap setting as it was, so if > it was enabled, the cpu would start from address 0x0 of the sram instead > of address 0x0 of the bootrom, thus making the reset hang. > > Therefore make sure

Re: [U-Boot] [PATCH 1/5] rockchip: i2c: enable i2c for rk3399

2017-04-09 Thread Simon Glass
Hi Eric, On 8 April 2017 at 06:17, Eric Gao wrote: > From: "eric.gao" > > To enable mipi display, we need to enable pmic > rk808 first for lcd3v3 power,which use i2c0 to > communicate with soc. So enable i2c0. > > Signed-off-by: eric.gao

Re: [U-Boot] [PATCH] rockchip: rk3399: do not use lower address

2017-04-09 Thread Simon Glass
On 7 April 2017 at 04:12, Kever Yang wrote: > The lower address is reserved for ATF, do not use it. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3399_common.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [U-Boot] [PATCH v2 07/10] scsi: make the LUN a parameter of scsi_detect_dev()

2017-04-09 Thread Simon Glass
On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: > This is a cosmetic change. target and LUN have kind of the same role in > this function. One of them was passed as a parameter and the other was > embedded in a structure. For consistency, pass both of them as parameters. > >

Re: [U-Boot] [EXT] Re: [PATCH 3/7] scsi: call children devices' probe functions automatically

2017-04-09 Thread Simon Glass
Hi Ken, On 5 April 2017 at 02:47, Ken Ma wrote: > Hi Simon > > Please see my inline reply, thanks a lot! > > Yours, > Ken > > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2017年4月1日 12:22 > To: Ken Ma > Cc: U-Boot

Re: [U-Boot] [PATCH] rockchip: cosmetic: Move rock board to its correct position

2017-04-09 Thread Simon Glass
On 5 April 2017 at 16:19, Heiko Stuebner wrote: > Somehow 43b5c78d8d91 ("rockchip: cosmetic: Sort RK3288 boards") moved > the rock board in between some rk3288 board, probably as a result of > rebasing. > > So move it back to its original position above all rk3288 boards. > >

Re: [U-Boot] [PATCH 5/6] cmd: led: add DM-based implementation

2017-04-09 Thread Simon Glass
Hi, On 5 April 2017 at 07:24, Ziping Chen wrote: > > > 2017-04-01 12:22 GMT+08:00 Simon Glass : >> >> Hi, > > > Hi, Simon > > I have seen your version, and I deem your code is more appropriate. > I'll learn from your code. That is very kind of you.

Re: [U-Boot] Loading kernel from SD card slow on MinnowBoard Turbot since v2016.09

2017-04-09 Thread Simon Glass
Hi, On 8 November 2016 at 05:10, Raschen Josef wrote: > Hi, > >> From my tests it should be somewhere between these two commits: >> 1c62d999528da1f052cb4b07cbb540b148c52537OK >> ceec08f50b66df0c988033842ec057a32658cfe0NOK > > I did some more tests and it

Re: [U-Boot] [PATCH 4/4] spi: ich: Configure SPI BIOS parameters for Linux upon U-Boot exit

2017-04-09 Thread Simon Glass
On 6 April 2017 at 07:29, Stefan Roese wrote: > This patch adds a remove function to the Intel ICH SPI driver, that will > be called upon U-Boot exit, directly before the OS (Linux) is started. > This function takes care of configuring the BIOS registers in the SPI > controller

Re: [U-Boot] [PATCH] video: Remove dependecy of I2C_EDID

2017-04-09 Thread Simon Glass
Hi, On 28 March 2017 at 16:39, Jernej Skrabec wrote: > I2C_EDID currently selects DM_I2C. However, it is not needed. I2C_EDID > is used for building edid.c, which doesn't even use I2C bus, and by I2C > command, which knows how to use DM and old style I2C interface, so it

Re: [U-Boot] [PATCH v2 08/10] scsi: move the partition initialization out of the scsi detection

2017-04-09 Thread Simon Glass
On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: > We might want to get information about the scsi device without initializing > the partition. > > Signed-off-by: Jean-Jacques Hiblot > --- > common/scsi.c | 3 ++- > 1 file changed, 2 insertions(+), 1

Re: [U-Boot] [PATCH v2] rockchip: rk3188: enable remap function

2017-04-09 Thread Simon Glass
On 5 April 2017 at 16:19, Heiko Stuebner wrote: > Most Rockchip socs have the ability to either map the bootrom or a sram > area to the starting address of the cpu by flipping a bit in the GRF. > > Newer socs leave this untouched and mapped to the bootrom but the legacy > loaders

Re: [U-Boot] [PATCH 06/21] usb: ehci: Add STi ehci support

2017-04-09 Thread Simon Glass
Hi Patrice, On 3 April 2017 at 03:39, Patrice CHOTARD wrote: > Hi Simon > > On 04/01/2017 06:21 AM, Simon Glass wrote: >> Hi Patrice, >> >> On 23 March 2017 at 03:59, Patrice CHOTARD wrote: >>> Hi Simon >>> >>> On 03/22/2017 02:05 PM, Simon Glass

Re: [U-Boot] [PATCH v2 3/4] env_sf: re-order error handling in single-buffer env_relocate_spec

2017-04-09 Thread Simon Glass
On 8 April 2017 at 03:59, Andreas Fenkart wrote: > this makes it easier comparable to the double-buffered version > > Signed-off-by: Andreas Fenkart > Reviewed-by: Simon Glass > --- > common/env_sf.c | 20 +++- > 1 file

Re: [U-Boot] __FILE__ usage and and SPL limits for SRAM

2017-04-09 Thread Simon Glass
Hi Tom, On 4 April 2017 at 13:06, Tom Rini wrote: > On Tue, Mar 28, 2017 at 11:37:45AM +0530, Lokesh Vutla wrote: >> + more folks. >> >> On Tuesday 28 March 2017 03:14 AM, Nishanth Menon wrote: >> > Hi, >> > >> > we've kind of run into an interesting situation recently, but

Re: [U-Boot] [PATCH v2 09/10] dm: scsi: fix divide-by-0 error in scsi_scan()

2017-04-09 Thread Simon Glass
Hi, On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: > With DM_SCSI enabled, blk_create_devicef() is called with blkz = 0, leading > to a divide-by-0 exception. > scsi_detect_dev() can be used to get the required parameters (block size > and number of blocks) from the drive

Re: [U-Boot] [PATCH v4 0/7] board: sama5d4: convert boards to support DM/DT

2017-04-09 Thread Simon Glass
+Tom Hi, On 7 April 2017 at 01:28, Yang, Wenyou wrote: > Hi Andreas, > > Could you help find a time to take these patch series? > > They are here for a long time. > Tom might be able to take it, or if not I could bring it in via DM I suppose, since it is a

Re: [U-Boot] [PATCH v2 2/4] enf_sf: reuse setup_flash_device instead of open coding it

2017-04-09 Thread Simon Glass
On 8 April 2017 at 03:59, Andreas Fenkart wrote: > setup_flash_device selects one of two code paths depending on the driver > model being used (=CONFIG_DM_SPI_FLASH). env_relocate_spec only used > the non driver-model code path. I'm unsure why, either none of the > platforms

Re: [U-Boot] [PATCH] dts: rk3399-puma: make the DTS dual-licensed

2017-04-09 Thread Simon Glass
On 7 April 2017 at 11:09, Philipp Tomsich wrote: > The RK3399-Q7 (Puma) DTS should (of course) be dual-licensed. > This updates the licensing info in the rk3399-puma.dts. > > Signed-off-by: Philipp Tomsich > > --- > >

Re: [U-Boot] [PATCH v2 03/10] drivers: phy: add generic PHY framework

2017-04-09 Thread Simon Glass
Hi, On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: > The PHY framework provides a set of APIs to control a PHY. This API is > derived from the linux version of the generic PHY framework. > Currently the API supports init(), deinit(), power_on, power_off() and > reset().

Re: [U-Boot] [PATCH] power: regulator: pwm: support pwm polarity setting

2017-04-09 Thread Simon Glass
Hi, On 7 April 2017 at 05:02, Kever Yang wrote: > The latest kernel PWM drivers enable the polarity settings. When system > run from U-Boot to kerenl, if there are differences in polarity set or > duty cycle, the PMW will re-init: > close -> set polarity and duty

Re: [U-Boot] [PATCH v2] ARM64: rockchip: split RK3399-Q7 board off the RK3399-EVB board

2017-04-09 Thread Simon Glass
On 7 April 2017 at 11:13, Philipp Tomsich wrote: > From: Klaus Goger > > The RK3399-Q7 SoM is a Qseven-compatible (70mm x 70mm, MXM-230 > connector) system-on-module from Theobroma Systems, featuring the > Rockchip RK3399.

Re: [U-Boot] [PATCH 2/4] dm: core: Add DM_FLAG_PRE_OS_FINALIZE flag

2017-04-09 Thread Simon Glass
Hi Stefan, On 6 April 2017 at 07:29, Stefan Roese wrote: > This new flag can be added to DM device drivers, which need to do some > final configuration before U-Boot exits and the OS (e.g. Linux) is > started. The remove functions of those drivers will get called at > this stage to

Re: [U-Boot] [PATCH] tools: allow to override python

2017-04-09 Thread Simon Glass
On 5 April 2017 at 09:46, Stefano Babic wrote: > Not force to use python from PATH. Issue was noted when building with > Yocto, because python from the distro is always taken instead of > python-native built during Yocto process. > > Signed-off-by: Stefano Babic >

Re: [U-Boot] [EXT] Re: [PATCH 7/7] scsi: dts: a3700: add scsi node

2017-04-09 Thread Simon Glass
Hi Ken, On 5 April 2017 at 19:32, Ken Ma wrote: > Hi Stefan > > Please see my inline reply, thanks! > > Yours, > Ken > > -Original Message- > From: Stefan Roese [mailto:s...@denx.de] > Sent: 2017年4月5日 21:46 > To: Ken Ma; Simon Glass > Cc: u-boot@lists.denx.de; Michal

Re: [U-Boot] [PATCH] core/uclass: Print name of device in uclass_find_device_by_seq()

2017-04-09 Thread Simon Glass
On 4 April 2017 at 11:46, Alexandru Gagniuc wrote: > uclass_find_device_by_seq() prints seq and req_seq when debugging is > enabled, but this information is not very useful by itself. Add the > name of he driver to this information. This improves debugging as it > shows which

Re: [U-Boot] [PATCH v2 01/10] image: Fixes build warning with CONFIG_FIT_IMAGE_POST_PROCESS

2017-04-09 Thread Simon Glass
On 7 April 2017 at 09:00, Andrew F. Davis wrote: > From: Madan Srinivas > > The function 'board_fit_image_post_process' is defined only when the > config option CONFIG_FIT_IMAGE_POST_PROCESS is enabled. For secure > systems that do not use SPL but do use FIT kernel

Re: [U-Boot] [PATCH v2 4/4] env_sf: use DIV_ROUND_UP to calculate number of sectors to erase

2017-04-09 Thread Simon Glass
On 8 April 2017 at 03:59, Andreas Fenkart wrote: > simpler to read > > Signed-off-by: Andreas Fenkart > --- > common/env_sf.c | 18 +- > 1 file changed, 5 insertions(+), 13 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH] rockchip: arm: halt when enable bucks of PMIC rk808

2017-04-09 Thread Simon Glass
Hi Eric, On 6 April 2017 at 00:58, Eric Gao wrote: > From: "Eric Gao" > > when enable PMIC rk808,the system will halt at very > early stage,log is shown as bellow. > > INFO:plat_rockchip_pmu_init(1211): pd status 3e > INFO:BL31:

Re: [U-Boot] [PATCH] rockchip: rk3399: defconfig: add CONFIG_OF_EMBED support

2017-04-09 Thread Simon Glass
Hi Kever, On 7 April 2017 at 04:35, Kever Yang wrote: > Need to enablt CONFIG_OF_EMBED if we use separate uboot and dtb > in FIT image for SPL loading. > Can you please explain that a bit more? We shouldn't OF_EMBED in production code, only for debug/test. > Run make

Re: [U-Boot] [PATCH v2 08/18] dm: gpio: Add driver for stm32f7 gpio controller

2017-04-09 Thread Simon Glass
Hi Vikas, On 4 April 2017 at 15:45, Vikas Manocha wrote: > This patch adds gpio driver supporting driver model for stm32f7 gpio. > > Signed-off-by: Vikas Manocha > cc: Christophe KERELLO > --- > > Changes in v2: > -

Re: [U-Boot] [EXT] Re: [PATCH 1/7] scsi: move base, max_lun and max_id to uclass plat data

2017-04-09 Thread Simon Glass
Hi Ken, On 5 April 2017 at 02:38, Ken Ma wrote: > Hi Simon > > Please see my inline reply, thanks a lot! > > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2017年4月1日 12:22 > To: Ken Ma > Cc: U-Boot Mailing List;

Re: [U-Boot] [PATCH v2 06/10] drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device

2017-04-09 Thread Simon Glass
On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: > From: Mugunthan V N > > Implement a sata driver for Synopsys DWC sata device based on > U-boot driver model. > > Signed-off-by: Mugunthan V N > Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] [PATCH] tools: binman: Add missing filenames for various x86 rom tests

2017-04-09 Thread Simon Glass
On 4 April 2017 at 22:17, Bin Meng wrote: > With recent changes, some x86-specific rom tests of binman fail to > run. Fix it by adding missing filenames in corresponding entries. > > Signed-off-by: Bin Meng > --- > >

Re: [U-Boot] [PATCH v2 04/10] drivers: phy: add PIPE3 phy driver

2017-04-09 Thread Simon Glass
On 7 April 2017 at 05:42, Jean-Jacques Hiblot wrote: > This phy is found on omap platforms with sata capabilities. > Except for the part related to the DM and the PHY framework, the code is > basically a copy paste from arch/arm/mach-omap2/pipe3-phy.c > > Signed-off-by:

Re: [U-Boot] [PATCH v2 0/5] Patches to reduce TPL code size

2017-04-09 Thread Simon Glass
Hi Heiko, On 4 April 2017 at 04:43, Heiko Stuebner wrote: > Am Dienstag, 4. April 2017, 11:34:52 CEST schrieb Heiko Stübner: >> Am Sonntag, 2. April 2017, 09:50:27 CEST schrieb Simon Glass: >> > With the rockchip 'rock' board some build and code size problems have come >> > to

Re: [U-Boot] [RFC] tiny-printf: Add support for %p format

2017-04-09 Thread Simon Glass
Hi Vignesh, On 7 April 2017 at 12:12, Vignesh R wrote: > > > On 4/7/2017 8:40 PM, Tom Rini wrote: >> On Fri, Apr 07, 2017 at 03:20:34PM +0530, Vignesh R wrote: >> >>> Add support for %p, %pa[p], %pM, %pm and %pI4 formats to tiny-printf. >>> %pM and %pI4 are widely used by SPL

Re: [U-Boot] [EXT] Re: [PATCH 1/3] arm64: mvebu: Trigger PCI devices scan at early init stage

2017-04-09 Thread Simon Glass
Hi, On 2 April 2017 at 05:50, Konstantin Porotchkin wrote: > Hi, Simon, > > On 04/01/2017 07:23 AM, Simon Glass wrote: >> >> External Email >> >> -- >> >> Hi Konstanitin, >> >> On 30 March 2017 at 07:58,

Re: [U-Boot] [PATCH 5/6] Initial support for the Android Bootloader flow

2017-04-09 Thread Simon Glass
Hi Alex, On 2 April 2017 at 02:49, Alex Deymo wrote: > An Android Bootloader must comply with certain boot modes and change > the kernel command line accordingly. This patch introduces the Android > boot mode concept which determines whether the device should boot to > one of

Re: [U-Boot] [PATCH v4 00/35] ARM: i.MX6: SabreSD: Add dts support

2017-04-09 Thread Jagan Teki
On Sun, Apr 9, 2017 at 6:17 PM, Fabio Estevam wrote: > Hi Jagan, > > On Sun, Apr 9, 2017 at 3:52 AM, Jagan Teki wrote: >> This series has full possible dts support for SabreSD DualLite, >> Quad and Quad Plus and DCD code for DualLite has added in SPL code.

Re: [U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Andreas Färber
Am 09.04.2017 um 20:04 schrieb Tom Rini: > On Sun, Apr 09, 2017 at 02:02:56PM -0400, Tom Rini wrote: >> On Sun, Apr 09, 2017 at 03:33:47PM +0200, Andreas Färber wrote: >>> Am 09.04.2017 um 15:21 schrieb Andreas Färber: Hello, In v2017.03 the firefly-rk3288 target fails to link with

[U-Boot] [PATCH v3] Makefile: Fix linking with modern binutils

2017-04-09 Thread Andreas Färber
From: Joel Stanley Since Binutils 1a9ccd70f9a7[1] u-boot will not link targets that set CONFIG_SYS_TEXT_BASE=0 with the following error: LD u-boot arm-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try linking with -N arm-linux-gnueabi-ld.bfd: final

Re: [U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Tom Rini
On Sun, Apr 09, 2017 at 02:02:56PM -0400, Tom Rini wrote: > On Sun, Apr 09, 2017 at 03:33:47PM +0200, Andreas Färber wrote: > > Am 09.04.2017 um 15:21 schrieb Andreas Färber: > > > Hello, > > > > > > In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. > > > I've tried gcc

Re: [U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Tom Rini
On Sun, Apr 09, 2017 at 03:33:47PM +0200, Andreas Färber wrote: > Am 09.04.2017 um 15:21 schrieb Andreas Färber: > > Hello, > > > > In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. > > I've tried gcc 7.0.1 (CC=gcc-7), but no change. > > > > [ 99s] LD u-boot > > [

[U-Boot] [PATCH] sunxi: set up PLL1 on sun6i+ without use dividers

2017-04-09 Thread Icenowy Zheng
According to the researching result of Ondrej Jirman, the factor M of PLL1 shouldn't be used and the factor P should be used only if the intended frequency is lower than 288MHz. This is proven by the clk-sun8iw7_tbl.c in the BSP source code -- in there the M value is always 0 and the maximum

Re: [U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Andreas Färber
Am 09.04.2017 um 15:21 schrieb Andreas Färber: > Hello, > > In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. > I've tried gcc 7.0.1 (CC=gcc-7), but no change. > > [ 99s] LD u-boot > [ 99s] ld.bfd: u-boot: Not enough room for program headers, try > linking with

[U-Boot] [v2017.03] firefly-rk3288 link failure

2017-04-09 Thread Andreas Färber
Hello, In v2017.03 the firefly-rk3288 target fails to link with our gcc 6.3.1. I've tried gcc 7.0.1 (CC=gcc-7), but no change. [ 99s] LD u-boot [ 99s] ld.bfd: u-boot: Not enough room for program headers, try linking with -N [ 99s] ld.bfd: final link failed: Bad value [ 99s] make:

[U-Boot] [PATCH RFC] omap_hsmmc: update struct hsmmc to accommodate omap3 from DT

2017-04-09 Thread Adam Ford
I am working on porting an OMAP3630 board to support device tree, and I attempted to change enable DM_MMC. Unfortunately, that broke MMC. I discovered that the base addresses were originally updated to reflect a change in the base address when using the device tree for some devices. This was

Re: [U-Boot] [PATCH v4 00/35] ARM: i.MX6: SabreSD: Add dts support

2017-04-09 Thread Fabio Estevam
Hi Jagan, On Sun, Apr 9, 2017 at 3:52 AM, Jagan Teki wrote: > This series has full possible dts support for SabreSD DualLite, > Quad and Quad Plus and DCD code for DualLite has added in SPL code. > > The main intention of this series is to add the dts node step > by step and

[U-Boot] [PATCH] OMAP3: Correct name of omap34xx_gpios when using DM_GPIO

2017-04-09 Thread Adam Ford
The name of the gpio bank under DM_GPIO appear to be a copy-paste error. This changes the name of the gpio bank from am33xx_gpios to omap34xx_gpios. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c index

[U-Boot] [PATCH v4 23/35] ARM: i.MX6DL: sabresd: Move DCD reginit on SPL

2017-04-09 Thread Jagan Teki
From: Jagan Teki DCD register initialization from mx6dlsabresd.cfg are moved to SPL code in mx6dl_dcd_table. Now mx6sabresd SPL code support Dual Lite, Quad, Quad Plus. mx6dl_dcd_table reginit as - GPR io regs - DRAM io regs, - MMDC Calibration io regs - dram sdcke0

[U-Boot] [PATCH v4 33/35] ARM: i.MX6: sabresd: Update README

2017-04-09 Thread Jagan Teki
From: Jagan Teki Now SabreSD board support SPL and non-SPL with devicetree enabled, so update the README according with images generated with respective builds. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi

[U-Boot] [PATCH v4 34/35] ARM: i.MX6: sabresd: Drop checkboard

2017-04-09 Thread Jagan Teki
From: Jagan Teki Since SabreSD is supporting fdt, there is no use of printing the board name explicitly using checkboard because dtb supported u-boot will print model like this Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board Cc: Stefano Babic

[U-Boot] [PATCH v4 21/35] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_power

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add imx6_pcie_toggle_power on board file using dm_gpio_* calls for OF_CONTROL configs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki

[U-Boot] [PATCH v4 11/35] ARM: i.MX6: sabresd: Enable DM_I2C and DM_PMIC

2017-04-09 Thread Jagan Teki
From: Jagan Teki Enable DM_I2C, DM_PMIC and DM_PMIC_PFUZE100 for dt supported sabresd config boards: - imx6q_sabresd_spl_defconfig - imx6qp_sabresd_spl_defconfig I2C Log: => i2c bus Bus 0: i2c@021a Bus 1: i2c@021a4000 08: pfuze100@08, offset len 1,

[U-Boot] [PATCH v4 29/35] ARM: i.MX6: sabresd: Drop legacy non-fdt code

2017-04-09 Thread Jagan Teki
- Removed non-fdt code (becuase which has dt support) - Remove mx6sabresd_spl_defconfig - Re-arrange the header includes and removed unneeded includes. - Move the SPL code in #ifdef CONFIG_SPL_BUILD area. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael

[U-Boot] [PATCH v4 18/35] ARM: i.MX6: sabre: Move CONFIG_FEC_MXC to defconfigs

2017-04-09 Thread Jagan Teki
From: Jagan Teki Moved CONFIG_FEC_MXC from include/configs/mxsabresd.h to imx6 sabresd and sabreauto defconfigs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan

[U-Boot] [PATCH v4 35/35] ARM: i.MX6: sabresd: Cleanup board code

2017-04-09 Thread Jagan Teki
From: Jagan Teki - Give proper tab alignment for display_info_t structure - Add tab spaces UART_PAD_CTRL and SPI_PAD_CTRL - Give proper alignment of reg init values on setup_display - Add space and newline on board_init_f Cc: Stefano Babic Cc: Fabio

[U-Boot] [PATCH v4 17/35] ARM: dts: imx6qdl-sabresd: Add FEC node

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add FEC node for i.MX6QDL Sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v4, v3,

[U-Boot] [PATCH v4 14/35] ARM: dts: imx6qdl-sabresd: Add usb otg node

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add usb otg node for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v4,

[U-Boot] [PATCH v4 24/35] ARM: dts: imx6qdl-sabresd: Add imx6dl-sabresd.dts

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add initial dts support for i.MX6 DualLite Sabresd board. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v4 15/35] ARM: i.MX6: sabresd: Enable CONFIG_DM_REGULATOR

2017-04-09 Thread Jagan Teki
From: Jagan Teki Enable CONFIG_DM_REGULATOR for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v4 13/35] ARM: dts: imx6qdl-sabresd: Add usb host node

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add usb host node for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for

[U-Boot] [PATCH v4 10/35] ARM: dts: imx6qdl-sabresd: Add PMIC pfuze100 node

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add PMIC pfuze100 node via i2c2 for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH v4 07/35] ARM: i.MX6QP: sabresd: Add initial devicetree support

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add initial dts support for i.MX6 Quad Plus Sabresd board. Boot from MMC: - U-Boot SPL 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29) Trying to boot from MMC1 U-Boot 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29 +0530)

[U-Boot] [PATCH v4 19/35] ARM: i.MX6: sabresd: Enable DM_ETH

2017-04-09 Thread Jagan Teki
From: Jagan Teki Enable DM_ETH for dt supported sabresd config boards: - imx6q_sabresd_defconfig - imx6qp_sabresd_defconfig Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi

[U-Boot] [PATCH v4 09/35] ARM: dts: imx6qdl-sabresd: Add I2C node's

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add I2C nodes for i.MX6QDL sabresd boards. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v4,

[U-Boot] [PATCH v4 22/35] ARM: i.MX6: sabresd: Add imx6_pcie_toggle_reset

2017-04-09 Thread Jagan Teki
From: Jagan Teki Add imx6_pcie_toggle_reset on board file using dm_gpio_* calls for OF_CONTROL configs. Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi Signed-off-by: Jagan Teki

[U-Boot] [PATCH v4 16/35] ARM: i.MX6: sabresd: Enable DM_USB

2017-04-09 Thread Jagan Teki
From: Jagan Teki Enable DM_USB for dt supported sabresd config boards: - imx6q_sabresd_defconfig - imx6qp_sabresd_defconfig Cc: Stefano Babic Cc: Fabio Estevam Cc: Michael Trimarchi

  1   2   >