Re: [U-Boot] [U-Boot, RESEND, 2/2] rockchip: clk: add device_bind_driver_to_node for reset driver

2017-11-27 Thread Dr. Philipp Tomsich
> On 27 Nov 2017, at 11:15, Kever Yang wrote: > > Philipp, > > > On 11/22/2017 06:55 AM, Philipp Tomsich wrote: >> >> >> On Fri, 3 Nov 2017, Kever Yang wrote: >> >>> From: Elaine Zhang >>> >>> all rockchip socs add

[U-Boot] [PATCH] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Andy Yan
After commit d962e5dadc2c("rockchip: mkimage: use spl_boot0 for all Rockchip SoCs"), the mkimage will not pad the Tag memroy, so we shoud pass a Taged ddr.bin/spl.bin to it. Signed-off-by: Andy Yan --- board/rockchip/evb_rv1108/README | 5 ++--- 1 file changed, 2

[U-Boot] [PATCH] serial: sh: Add support for R7S72100 (RZ/A1)

2017-11-27 Thread Chris Brandt
Add support for RZ/A1 series SoCs. Signed-off-by: Chris Brandt --- drivers/serial/serial_sh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h index 4d27122243..365d944b62 100644 ---

Re: [U-Boot] [PULL] Please pull u-boot-rockchip/master

2017-11-27 Thread Tom Rini
On Sun, Nov 26, 2017 at 09:42:21PM +0100, Dr. Philipp Tomsich wrote: > Tom, > > Please pull u-boot-rockchip/master. > > This finally merges the SPL-changes for improved ATF support that > had been in the works since 2 merge-windows ago. Plus, there’s a > few fixes to platform-support (e.g.

Re: [U-Boot] UBI / UBIFS booting from NAND support

2017-11-27 Thread jsanabria
El 27/11/17 a las 12:31, Ladislav Michl escribió: Dear Jose Miguel, On Mon, Nov 27, 2017 at 11:45:11AM +0100, Jose Miguel Sanchez Sanabria wrote: Hi everyone. I was testing the booting process from NAND using an UBI/UBIFS image in an igepv2 board. I'm happy to see someone from ISEE being

Re: [U-Boot] [PATCH] mmc: sh_mmcif: RZ/A1 does not support HS mode

2017-11-27 Thread Chris Brandt
On Monday, November 27, 2017, Jaehoon Chung wrote: > On 11/14/2017 05:41 AM, Chris Brandt wrote: > > Since RZ/A1 (R7S72100) does not support HS mode, remove it from the > > host caps. > > Doesn't HS mode? Then it's only supported the legacy mode? Sorry, please ignore this patch. The MMC

Re: [U-Boot] [PATCH] power: pmic/regulator: Add basic support for TPS65910

2017-11-27 Thread Felix Brack
Hello Simon, On 26.11.2017 12:38, Simon Glass wrote: > Hi Felix, > > On 23 November 2017 at 08:36, Felix Brack wrote: >> >> >> On 22.11.2017 11:39, Felix Brack wrote: >>> Hello Simon, >>> >>> Many thanks for taking the time to review my patch. >>> >>> On 20.11.2017 16:38, Simon

[U-Boot] [PATCH v3 v2/2] mx6sxsabresd: Load the correct dtb for revA board

2017-11-27 Thread Fabio Estevam
From: Fabio Estevam Currently only imx6sx-sdb.dtb is loaded, but if revA board is used the correct dtb is imx6sx-sdb-reva.dtb, so make this possible. While at it, remove an extra 'mmc dev'. Signed-off-by: Fabio Estevam --- Changes since v2: -

[U-Boot] [PATCH v3 1/2] imx: Add a common way for detecting NXP boards revision

2017-11-27 Thread Fabio Estevam
From: Fabio Estevam NXP development boards based on i.MX6/i.MX7 contain the board revision information stored in the fuses. Introduce a common function that can be shared by different boards and convert mx6sabreauto to use this new mechanism. Signed-off-by: Fabio Estevam

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Wolfgang Denk
Dear Masahiro, In message you wrote: > > When we talk about "relocation", two things are happening. > > [1] U-Boot proper copies itself to the very end of DRAM ...to the very end of DRAM minus space reserved for any memory

[U-Boot] UBI / UBIFS booting from NAND support

2017-11-27 Thread Jose Miguel Sanchez Sanabria
Hi everyone. I was testing the booting process from NAND using an UBI/UBIFS image in an igepv2 board. However MLO tries to boot first kernel (falcon mode activated) and then falls back to u-boot (as expected anyway I just wanted to load u-boot from ubi) trying to load volume 0, but fails. U-Boot

[U-Boot] SECURE_BOOT on mx6qsabrelite

2017-11-27 Thread Roger No-Spam
Hi, I'm trying to enable CONFIG_SECURE_BOOT for an i.MX6 board (mx6qsabrelite). The image boots and seems to be working fine until I do a 'saveenv' command. Then my u-boot image stops working. My initial guess was that CONFIG_ENV_OFFSET was too small, leading to a 'saveenv' command

Re: [U-Boot] [PATCH 2/4] i2c: meson: reduce timeout

2017-11-27 Thread Simon Glass
On 26 November 2017 at 09:40, Beniamino Galvani wrote: > The datasheet doesn't specify a suggested timeout and 500ms seems very > long: reduce it to 100ms. > > Signed-off-by: Beniamino Galvani > --- > drivers/i2c/meson_i2c.c | 2 +- > 1 file changed, 1

Re: [U-Boot] [PATCH 3/4] i2c: meson: fix return codes on error

2017-11-27 Thread Simon Glass
On 26 November 2017 at 09:40, Beniamino Galvani wrote: > Change meson_i2c_xfer_msg() to return -EREMOTEIO in case of NACK, as > done by other drivers. Also, don't change the return error in > meson_i2c_xfer(). > > Signed-off-by: Beniamino Galvani > --- >

Re: [U-Boot] [PATCH v2 1/4] dm: mmc: update mmc_of_parse()

2017-11-27 Thread Simon Glass
Hi Jean-Jacques, On 27 November 2017 at 02:59, Jean-Jacques Hiblot wrote: > * convert to livetree API > * don't fail because of an invalid bus-width, instead default to 1-bit. > * recognize 1.2v DDR and 1.2v HS200 flags > > Signed-off-by: Jean-Jacques Hiblot >

Re: [U-Boot] [PATCH v2 4/4] mmc: all hosts support 1-bit bus width and legacy timings

2017-11-27 Thread Simon Glass
On 27 November 2017 at 02:59, Jean-Jacques Hiblot wrote: > Make sure that those basic capabilities are advertised by the host. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Lukasz Majewski > --- > > no change since v1 > >

[U-Boot] [PATCHv3] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Jorge Ramirez-Ortiz
the following commit enables accessing the environment in an ext4 partition. In order to do that, some definitions need to be added to include/configs/board_x.h file. For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem,

Re: [U-Boot] [PATCH v2] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-11-27 Thread Stefan Roese
Hi Bin, On 27.11.2017 10:46, Bin Meng wrote: On Fri, Nov 24, 2017 at 5:29 PM, Stefan Roese wrote: Hi Bin, On 24.11.2017 09:29, Bin Meng wrote: On Mon, Nov 20, 2017 at 6:43 PM, Stefan Roese wrote: Hi Bin, On 20.11.2017 08:24, Bin Meng wrote: On Fri, Nov

Re: [U-Boot] [PATCH 1/4] i2c: meson: improve Kconfig description

2017-11-27 Thread Simon Glass
On 26 November 2017 at 09:40, Beniamino Galvani wrote: > Expand the Kconfig description with hardware features. > > Signed-off-by: Beniamino Galvani > --- > drivers/i2c/Kconfig | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Simon Glass
(Tom - any thoughts about a more expansive cc list on this?) Hi Masahiro, On 26 November 2017 at 07:16, Masahiro Yamada wrote: > 2017-11-26 20:38 GMT+09:00 Simon Glass : >> Hi Philipp, >> >> On 25 November 2017 at 16:31, Dr. Philipp Tomsich >>

Re: [U-Boot] [PATCH] power: pmic/regulator: Add basic support for TPS65910

2017-11-27 Thread Simon Glass
Hi Felix, On 27 November 2017 at 06:51, Felix Brack wrote: > Hello Simon, > > On 26.11.2017 12:38, Simon Glass wrote: >> Hi Felix, >> >> On 23 November 2017 at 08:36, Felix Brack wrote: >>> >>> >>> On 22.11.2017 11:39, Felix Brack wrote: Hello Simon,

Re: [U-Boot] [PATCH v2 2/3] cosmetic: atcpit100_timer: Rename function name as atcpit100

2017-11-27 Thread Simon Glass
Hi Andes, On 26 November 2017 at 20:03, Andes wrote: > From: Rick Chen > > Integrate function and struct name as atcpit100 will be > more reasonable. > > Signed-off-by: Rick Chen > --- > drivers/timer/atcpit100_timer.c | 34

Re: [U-Boot] [PATCH v2 3/4] mmc: Fixed a problem with old sd or mmc that do not support High speed

2017-11-27 Thread Simon Glass
On 27 November 2017 at 02:59, Jean-Jacques Hiblot wrote: > As the legacy modes were not added to the list of supported modes, old > cards that do not support other modes could not be used. > > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Lukasz Majewski

Re: [U-Boot] [PATCH] usb: r8a66597: Add support for RZ/A series

2017-11-27 Thread Chris Brandt
Hello Marek, On Friday, November 17, 2017, Marek Vasut wrote: > > +#ifdef RZA_USB > > + dcpctr = r8a66597_read(r8a66597, DCPCTR); > > use wait_for_bit() . > > > + if ((dcpctr & PID) == PID_BUF) { > > + timeout2 = 1; > > + while (!(dcpctr & BSTS)) { > > +

[U-Boot] [PATCH] env: enable CONFIG_ENV_IS_IN_EXT4

2017-11-27 Thread Jorge Ramirez-Ortiz
--- env/Kconfig | 10 ++ env/env.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/env/Kconfig b/env/Kconfig index 2477bf8..4387a2c 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -81,6 +81,16 @@ config ENV_IS_IN_FAT - CONFIG_FAT_WRITE: This must be enabled.

Re: [U-Boot] [PATCH v3] power: extend prefix match to regulator-name property

2017-11-27 Thread Simon Glass
On 27 November 2017 at 01:14, Felix Brack wrote: > This patch extends pmic_bind_children prefix matching. In addition to > the node name the property regulator-name is used while trying to match > prefixes. This allows assigning different drivers to regulator nodes > named

Re: [U-Boot] [PATCH u-boot v2] ARM: arch-meson: build memory banks using reported memory from registers

2017-11-27 Thread Simon Glass
On 27 November 2017 at 02:35, Neil Armstrong wrote: > As discussed at [1], the Amlogic Meson GX SoCs can embed a BL31 firmware > and a secondary BL32 firmware. > Since mid-2017, the reserved memory address of the BL31 firmware was moved > and grown for security reasons. >

[U-Boot] [PATCHv2] env: enable accessing the environemnt in EXT4 partition

2017-11-27 Thread Jorge Ramirez-Ortiz
the following commit enables accessing the environment in an ext4 partition. In order to do that, some definitions need to be added to include/configs/board_x.h file. For example to store the environment in a file named "uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, you

Re: [U-Boot] [PATCHv3] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Jorge Ramirez
On 11/27/2017 06:49 PM, Tom Rini wrote: On Mon, Nov 27, 2017 at 06:45:35PM +0100, Jorge Ramirez-Ortiz wrote: the following commit enables accessing the environment in an ext4 partition. In order to do that, some definitions need to be added to include/configs/board_x.h file. For example to

Re: [U-Boot] [PATCHv3] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Tom Rini
On Mon, Nov 27, 2017 at 07:06:02PM +0100, Jorge Ramirez wrote: > On 11/27/2017 06:51 PM, Jorge Ramirez wrote: > >On 11/27/2017 06:49 PM, Tom Rini wrote: > >>On Mon, Nov 27, 2017 at 06:45:35PM +0100, Jorge Ramirez-Ortiz wrote: > >>>the following commit enables accessing the environment in an ext4 >

Re: [U-Boot] [PATCH 1/2] i2c: add Amlogic Meson driver

2017-11-27 Thread Simon Glass
Hi Benjamin, On 26 November 2017 at 09:49, Beniamino Galvani wrote: > On Mon, Nov 20, 2017 at 08:36:34AM -0700, Simon Glass wrote: >> Hi Benjamin, >> >> On 29 October 2017 at 03:09, Beniamino Galvani wrote: >> > >> > Add a driver for the I2C controller

Re: [U-Boot] [PATCH] MAINTAINERS: update maintained files for Rockchip

2017-11-27 Thread Simon Glass
On 26 November 2017 at 16:18, Philipp Tomsich wrote: > With some of the recent cleanups (e.g. moving the DRAM controller > drivers for Rockchip devices to drivers/ram/rockchip), the files > and paths listed in MAINTAINERS no longer covered what really is >

Re: [U-Boot] [PATCH 1/2] libfdt: move fdt_find_regions() to fdt_region.c from fdt_wip.c

2017-11-27 Thread Simon Glass
On 27 November 2017 at 00:06, Masahiro Yamada wrote: > All the other fdt_*_region() functions are located in fdt_region.c, > while only fdt_find_regions() was added to fdt_wip.c, strangely. > > Move it to the suitable place. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCHv3] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Tom Rini
On Mon, Nov 27, 2017 at 06:45:35PM +0100, Jorge Ramirez-Ortiz wrote: > the following commit enables accessing the environment in an ext4 > partition. In order to do that, some definitions need to be added to > include/configs/board_x.h file. > > For example to store the environment in a file

Re: [U-Boot] [PATCHv3] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Jorge Ramirez
On 11/27/2017 06:51 PM, Jorge Ramirez wrote: On 11/27/2017 06:49 PM, Tom Rini wrote: On Mon, Nov 27, 2017 at 06:45:35PM +0100, Jorge Ramirez-Ortiz wrote: the following commit enables accessing the environment in an ext4 partition. In order to do that, some definitions need to be added to

Re: [U-Boot] [PATCH v3 00/18] efi_loader: manage protocols in a linked list (v3)

2017-11-27 Thread Simon Glass
Hi, On 26 November 2017 at 06:05, Heinrich Schuchardt wrote: > Up to now the protocols of an EFI handle where contained in an > array of fixed size. With the patch series the protocols are > managed in a linked list. This both saves memory and gives > more flexibility. > >

Re: [U-Boot] [PATCH 1/2] rockchip: rk3399-puma: add code to allow forcing a power-on reset

2017-11-27 Thread Dr. Philipp Tomsich
> On 27 Nov 2017, at 18:10, Simon Glass wrote: > > Hi Philipp, > > On 26 November 2017 at 16:22, Philipp Tomsich > wrote: >> The reset circuitry in the RK3399 only resets 'almost all logic' when >> a software reset is performed. To

Re: [U-Boot] [PATCH 2/2] libfdt: migrate fdt_wip.c to a wrapper of scripts/dtc/libfdt/fdt_wip.c

2017-11-27 Thread Simon Glass
On 27 November 2017 at 00:06, Masahiro Yamada wrote: > Now, lib/libfdt/fdt_wip.c is the same as scripts/dtc/libfdt/fdt_wip.c > > Change the former to a wrapper of the latter. > > Signed-off-by: Masahiro Yamada > --- > >

Re: [U-Boot] [PATCH] env: enable CONFIG_ENV_IS_IN_EXT4

2017-11-27 Thread Tom Rini
On Mon, Nov 27, 2017 at 05:26:19PM +0100, Jorge Ramirez-Ortiz wrote: Please add a line or two here, thanks. > --- > env/Kconfig | 10 ++ > env/env.c | 2 ++ > 2 files changed, 12 insertions(+) > > diff --git a/env/Kconfig b/env/Kconfig > index 2477bf8..4387a2c 100644 > ---

Re: [U-Boot] [PATCH 1/2] rockchip: rk3399-puma: add code to allow forcing a power-on reset

2017-11-27 Thread Simon Glass
Hi Philipp, On 26 November 2017 at 16:22, Philipp Tomsich wrote: > The reset circuitry in the RK3399 only resets 'almost all logic' when > a software reset is performed. To make our software maintenance > easier in the future, we want to have the option

Re: [U-Boot] [PATCH v2 1/3] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-27 Thread Simon Glass
On 26 November 2017 at 19:33, Andes wrote: > From: Rick Chen > > ATCPIT100 is Andestech timer IP which is embeded > in AE3XX and AE250 boards. So rename AE3XX to > ATCPIT100 will be more make sence. > > Signed-off-by: Rick Chen > ---

Re: [U-Boot] [PATCH 4/4] i2c: meson: add some comments

2017-11-27 Thread Simon Glass
On 26 November 2017 at 09:40, Beniamino Galvani wrote: > Add some comment describing the purpose of struct members and > functions. > > Signed-off-by: Beniamino Galvani > --- > drivers/i2c/meson_i2c.c | 25 +++-- > 1 file changed, 19

Re: [U-Boot] [PATCH v2 1/5] ARM: arch-meson: add ethernet common init function

2017-11-27 Thread Simon Glass
Hi Neil, On 27 November 2017 at 01:48, Neil Armstrong wrote: > On 26/11/2017 12:39, Simon Glass wrote: >> Hi Neil, >> >> On 25 November 2017 at 02:45, Neil Armstrong wrote: >>> Hi Simon, >>> >>> Le 24/11/2017 23:35, Simon Glass a écrit : Hi

Re: [U-Boot] [PATCH 4/5] test/py: Allow any unit test suite to be found

2017-11-27 Thread Stephen Warren
On 11/25/2017 11:57 AM, Simon Glass wrote: The u-boot.sym file is scanned to find unit test suites for execution. At present it only finds those whose names start with 'dm' or 'env'. This code is buried in the bowels of the test code so when adding a new suite it is not easy to discover why it

Re: [U-Boot] [U-Boot, v2, 5/7] rockchip: rk3128: add evb-rk3128 support

2017-11-27 Thread Philipp Tomsich
> evb-rk3128 is an evb from Rockchip based on rk3128 SoC: > - 2 USB2.0 Host port; > - 1 HDMI port; > - 2 10/100M eth port; > - 2GB ddr; > - 16GB eMMC; > - UART to USB debug port; > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - enable usb nodes > >

Re: [U-Boot] [PATCHv4] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Tom Rini
On Mon, Nov 27, 2017 at 08:19:20PM +0100, Jorge Ramirez-Ortiz wrote: > For example to store the environment in a file named "/uboot.env" in MMC > "0", where partition "1" contains the EXT4 filesystem, the following > configs should be added to the board's default config: > >

Re: [U-Boot] [U-Boot,v2,4/7] rockchip: rk3128: add pinctrl driver

2017-11-27 Thread Philipp Tomsich
> Add rk3128 pinctrl driver and grf/iomux structure definition. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > Changes in v2: > - remove debug info > - update GPIO2C4/C5 SHIFT > >

Re: [U-Boot] [U-Boot, v2, 2/7] rockchip: rk3128: add soc basic support

2017-11-27 Thread Philipp Tomsich
> RK3128 is a SoC from Rockchip with quad-core Cortex-A7 CPU > and mali400 GPU. Support Nand flash, eMMC, SD card, USB 2.0 host > and device, HDMI/LVDS/MIPI display. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > ---

Re: [U-Boot] [U-Boot, v2, 6/7] rockchip: rk3128: add defconfig for evb-rk3128

2017-11-27 Thread Philipp Tomsich
> Enable board config for evb-rk3128. > Serial output and eMMC works in this version. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > Changes in v2: None > > configs/evb-rk3128_defconfig | 56 >

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Tom Rini
On Sun, Nov 26, 2017 at 11:16:45PM +0900, Masahiro Yamada wrote: [snip] > This discussion should have happened. > U-Boot boot sequence is crazily inefficient. > > > > When we talk about "relocation", two things are happening. > > [1] U-Boot proper copies itself to the very end of DRAM > [2]

Re: [U-Boot] U-Boot proper(not SPL) relocate option

2017-11-27 Thread Tom Rini
On Mon, Nov 27, 2017 at 10:13:09AM -0700, Simon Glass wrote: > (Tom - any thoughts about a more expansive cc list on this?) Not really, sorry. > Hi Masahiro, > > On 26 November 2017 at 07:16, Masahiro Yamada > wrote: > > 2017-11-26 20:38 GMT+09:00 Simon Glass

Re: [U-Boot] MAINTAINERS: update maintained files for Rockchip

2017-11-27 Thread Philipp Tomsich
> With some of the recent cleanups (e.g. moving the DRAM controller > drivers for Rockchip devices to drivers/ram/rockchip), the files > and paths listed in MAINTAINERS no longer covered what really is > looked after as part of the Rockchip port. > > This commit updates the files/paths listed in

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
> After commit d962e5dadc2c("rockchip: mkimage: use spl_boot0 for all Rockchip > SoCs"), > the mkimage will not pad the Tag memroy, so we shoud > pass a Taged ddr.bin/spl.bin to it. > > Signed-off-by: Andy Yan > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: rk3128: add device tree file

2017-11-27 Thread Philipp Tomsich
> Add dts binding header for rk3128, files origin from kernel. > > Series-Changes: 2 > - fix i2c address > - add saradc and usb phy node > - emmc using fifo mode for there is no dma support in rk3128 emmc > - add some clock id in cru.h > > Signed-off-by: Kever Yang >

Re: [U-Boot] [U-Boot, v2, 2/7] rockchip: rk3128: add soc basic support

2017-11-27 Thread Philipp Tomsich
> RK3128 is a SoC from Rockchip with quad-core Cortex-A7 CPU > and mali400 GPU. Support Nand flash, eMMC, SD card, USB 2.0 host > and device, HDMI/LVDS/MIPI display. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - update setup_boot_mode() with master > -

Re: [U-Boot] [U-Boot, v2, 6/7] rockchip: rk3128: add defconfig for evb-rk3128

2017-11-27 Thread Philipp Tomsich
> Enable board config for evb-rk3128. > Serial output and eMMC works in this version. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > configs/evb-rk3128_defconfig | 56 > > 1 file changed, 56

Re: [U-Boot] [U-Boot,v2,7/7] rockchip: rk3128: add sdram driver

2017-11-27 Thread Philipp Tomsich
> RK3128 support up to 2GB DDR3 sdram, one channel, 32bit data width. > > This patch is only used for U-Boot, but not for SPL which will > comes later, maybe after we merge all the common code into a common > file. > > Signed-off-by: Kever Yang > --- > > Changes in

Re: [U-Boot] [U-Boot, v2, 5/7] rockchip: rk3128: add evb-rk3128 support

2017-11-27 Thread Philipp Tomsich
On Mon, 27 Nov 2017, Kever Yang wrote: evb-rk3128 is an evb from Rockchip based on rk3128 SoC: - 2 USB2.0 Host port; - 1 HDMI port; - 2 10/100M eth port; - 2GB ddr; - 16GB eMMC; - UART to USB debug port; Signed-off-by: Kever Yang Acked-by: Philipp Tomsich

Re: [U-Boot] MAINTAINERS: update maintained files for Rockchip

2017-11-27 Thread Philipp Tomsich
> With some of the recent cleanups (e.g. moving the DRAM controller > drivers for Rockchip devices to drivers/ram/rockchip), the files > and paths listed in MAINTAINERS no longer covered what really is > looked after as part of the Rockchip port. > > This commit updates the files/paths listed in

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
> After commit d962e5dadc2c("rockchip: mkimage: use spl_boot0 for all Rockchip > SoCs"), > the mkimage will not pad the Tag memroy, so we shoud > pass a Taged ddr.bin/spl.bin to it. > > Signed-off-by: Andy Yan > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,v2,7/7] rockchip: rk3128: add sdram driver

2017-11-27 Thread Philipp Tomsich
> RK3128 support up to 2GB DDR3 sdram, one channel, 32bit data width. > > This patch is only used for U-Boot, but not for SPL which will > comes later, maybe after we merge all the common code into a common > file. > > Signed-off-by: Kever Yang > Acked-by: Philipp

Re: [U-Boot] [PATCHv4] env: enable accessing the environment in an EXT4 partition

2017-11-27 Thread Jorge Ramirez
On 11/27/2017 08:51 PM, Tom Rini wrote: On Mon, Nov 27, 2017 at 08:19:20PM +0100, Jorge Ramirez-Ortiz wrote: For example to store the environment in a file named "/uboot.env" in MMC "0", where partition "1" contains the EXT4 filesystem, the following configs should be added to the board's

[U-Boot] [PATCH v2] usb: r8a66597: Add support for RZ/A series

2017-11-27 Thread Chris Brandt
While the USB HW in the RZ/A is basically the same, there are some differences from the original versions that were in the SH SoCs. Signed-off-by: Chris Brandt --- v2 * Changed to CONFIG_RZA_USB to be set in Kconfig * Fixed multi-line comments * Switched to using

Re: [U-Boot] [U-Boot,v2,3/7] rockchip: rk3128: add clock driver

2017-11-27 Thread Philipp Tomsich
> Add rk3128 clock driver and cru structure definition. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add clock for saradc, vop, nandc, i2c > - update driver bind for sysreset driver and reset driver > - add "rockchip,rk3126-cru" for compatible > >

Re: [U-Boot] [U-Boot,v2,4/7] rockchip: rk3128: add pinctrl driver

2017-11-27 Thread Philipp Tomsich
> Add rk3128 pinctrl driver and grf/iomux structure definition. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - remove debug info > - update GPIO2C4/C5 SHIFT > > arch/arm/include/asm/arch-rockchip/grf_rk3128.h | 551 > >

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
> After commit d962e5dadc2c("rockchip: mkimage: use spl_boot0 for all Rockchip > SoCs"), > the mkimage will not pad the Tag memroy, so we shoud > pass a Taged ddr.bin/spl.bin to it. > > Signed-off-by: Andy Yan > --- > > board/rockchip/evb_rv1108/README | 5 ++--- > 1

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
> After commit d962e5dadc2c("rockchip: mkimage: use spl_boot0 for all Rockchip > SoCs"), > the mkimage will not pad the Tag memroy, so we shoud > pass a Taged ddr.bin/spl.bin to it. > > Signed-off-by: Andy Yan > --- > > board/rockchip/evb_rv1108/README | 5 ++--- > 1

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: rk3128: add device tree file

2017-11-27 Thread Philipp Tomsich
> Add dts binding header for rk3128, files origin from kernel. > > Series-Changes: 2 > - fix i2c address > - add saradc and usb phy node > - emmc using fifo mode for there is no dma support in rk3128 emmc > - add some clock id in cru.h > > Signed-off-by: Kever Yang >

[U-Boot] [PATCH 2/5] warp: imximage.cfg: Handle the CONFIG_SECURE_BOOT case

2017-11-27 Thread Breno Lima
From: Breno Lima Secure boot is not enabled in warp imximage.cfg, add support for it. Signed-off-by: Breno Lima --- board/warp/imximage.cfg | 9 + 1 file changed, 9 insertions(+) diff --git a/board/warp/imximage.cfg b/board/warp/imximage.cfg

[U-Boot] [PATCH 3/5] mx6sl: Select MX6SL option via Kconfig

2017-11-27 Thread Breno Lima
From: Breno Lima Currently the MX6SL option is selected via CONFIG_SYS_EXTRA_OPTIONS, but it is better to select it directly via Kconfig. Signed-off-by: Breno Lima --- arch/arm/mach-imx/mx6/Kconfig | 2 ++ configs/mx6slevk_defconfig| 2 +-

[U-Boot] [PATCH 5/5] imx: Kconfig: Add HAS_CAAM option

2017-11-27 Thread Breno Lima
From: Breno Lima Currently CONFIG_SECURE_BOOT is selecting FSL_CAAM for all i.MX devices, this causes the following error when building mx6sl boards since this SoC doesn't have the CAAM block: In file included from drivers/crypto/fsl/jobdesc.c:12:0:

[U-Boot] [PATCH v2 2/2] mx6sxsabresd: Load the correct dtb for revA board

2017-11-27 Thread Fabio Estevam
From: Fabio Estevam Currently only imx6sx-sdb.dtb is loaded, but if revA board is used the correct dtb is imx6sx-sdb-reva.dtb, so make this possible. While at it, remove an extra 'mmc dev'. Signed-off-by: Fabio Estevam --- Changes since v1: - Add

[U-Boot] [PATCH] ARM: imx: display5: config: Update display5_factory_defconfig to use USE_BOOTCOMMAND

2017-11-27 Thread Lukasz Majewski
This commit switch display5_factory_defconfig to use new, generic USE_BOOTCOMMAND Kconfig option. Signed-off-by: Lukasz Majewski --- configs/display5_factory_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/display5_factory_defconfig

[U-Boot] [PATCH v2 1/2] imx: Add a common way for detecting NXP boards revision

2017-11-27 Thread Fabio Estevam
From: Fabio Estevam NXP development boards based on i.MX6/i.MX7 contain the board revision information stored in the fuses. Introduce a common function that can be shared by different boards and convert mx6sabreauto to use this new mechanism. Signed-off-by: Fabio Estevam

Re: [U-Boot] UBI / UBIFS booting from NAND support

2017-11-27 Thread Ladislav Michl
Dear Jose Miguel, On Mon, Nov 27, 2017 at 11:45:11AM +0100, Jose Miguel Sanchez Sanabria wrote: > Hi everyone. > > I was testing the booting process from NAND using an UBI/UBIFS image in an > igepv2 board. I'm happy to see someone from ISEE being interested in mainline support for their own

[U-Boot] [PATCH v3 2/4] cosmetic: atcpit100_timer: Rename function name as atcpit100

2017-11-27 Thread Andes
From: Rick Chen Integrate function and struct name as atcpit100 will be more reasonable. Signed-off-by: rick Signed-off-by: Rick Chen --- drivers/timer/atcpit100_timer.c | 34 +- 1 file changed,

[U-Boot] [PATCH v3 3/4] cosmetic: atcpit100_timer: Use device api to get platdata

2017-11-27 Thread Andes
From: Rick Chen Use dev_get_platdata to get private platdata. Signed-off-by: rick Signed-off-by: Rick Chen --- drivers/timer/atcpit100_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v3 4/4] dt-bindings: timer: Add andestech atcpit100 timer

2017-11-27 Thread Andes
From: Rick Chen Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: rick Signed-off-by: Rick Chen Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v3 1/4] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-27 Thread Andes
From: Rick Chen ATCPIT100 is Andestech timer IP which is embeded in AE3XX and AE250 boards. So rename AE3XX to ATCPIT100 will be more make sence. Signed-off-by: rick Signed-off-by: Rick Chen Reviewed-by: Simon Glass

[U-Boot] [PATCH v3 1/4] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-27 Thread Rick Chen
ATCPIT100 is Andestech timer IP which is embeded in AE3XX and AE250 boards. So rename AE3XX to ATCPIT100 will be more make sence. Signed-off-by: rick Signed-off-by: Rick Chen Reviewed-by: Simon Glass --- configs/adp-ae3xx_defconfig

[U-Boot] [PATCH v3 0/4] Rename AE3XX timer to ATCPIT100

2017-11-27 Thread Rick Chen
Changelog v3 - Patch 1/4: No change. - Patch 2/4: No change. - Patch 3/4: New. - Patch 4/4: No change. Patch 3/4 1. Use dev_get_platdata to get dev private platdata. Rick Chen (4): ae3xx: timer: Rename AE3XX to ATCPIT100 cosmetic: atcpit100_timer: Rename function name

[U-Boot] [PATCH v3 3/4] cosmetic: atcpit100_timer: Use device api to get platdata

2017-11-27 Thread Rick Chen
Use dev_get_platdata to get private platdata. Signed-off-by: rick Signed-off-by: Rick Chen --- drivers/timer/atcpit100_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/timer/atcpit100_timer.c

[U-Boot] [PATCH] SPL: Add FIT data-position property support

2017-11-27 Thread Peng Fan
For external data, FIT has a optional property "data-position" which can set the external data to a fixed offset to FIT beginning. Add the support for this property in SPL FIT. Signed-off-by: Ye Li Signed-off-by: Peng Fan Cc: Simon Glass Cc:

[U-Boot] [PATCH v3 2/4] cosmetic: atcpit100_timer: Rename function name as atcpit100

2017-11-27 Thread Rick Chen
Integrate function and struct name as atcpit100 will be more reasonable. Signed-off-by: rick Signed-off-by: Rick Chen --- drivers/timer/atcpit100_timer.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff

[U-Boot] [PATCH v3 1/4] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-27 Thread Rick Chen
ATCPIT100 is Andestech timer IP which is embeded in AE3XX and AE250 boards. So rename AE3XX to ATCPIT100 will be more make sence. Signed-off-by: rick Signed-off-by: Rick Chen Reviewed-by: Simon Glass --- configs/adp-ae3xx_defconfig

[U-Boot] [PATCH v3 4/4] dt-bindings: timer: Add andestech atcpit100 timer

2017-11-27 Thread Rick Chen
Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: rick Signed-off-by: Rick Chen Reviewed-by: Simon Glass --- doc/device-tree-bindings/timer/atcpit100_timer.txt | 31 ++

[U-Boot] [PATCH v3 2/4] cosmetic: atcpit100_timer: Rename function name as atcpit100

2017-11-27 Thread Rick Chen
Integrate function and struct name as atcpit100 will be more reasonable. Signed-off-by: rick Signed-off-by: Rick Chen --- drivers/timer/atcpit100_timer.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff

[U-Boot] [PATCH v3 3/4] cosmetic: atcpit100_timer: Use device api to get platdata

2017-11-27 Thread Rick Chen
Use dev_get_platdata to get private platdata. Signed-off-by: rick Signed-off-by: Rick Chen --- drivers/timer/atcpit100_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/timer/atcpit100_timer.c

[U-Boot] [PATCH v3 0/4] Rename AE3XX timer to ATCPIT100

2017-11-27 Thread Rick Chen
Changelog v3 - Patch 1/4: No change. - Patch 2/4: No change. - Patch 3/4: New. - Patch 4/4: No change. Patch 3/4 1. Use dev_get_platdata to get dev private platdata. Rick Chen (4): ae3xx: timer: Rename AE3XX to ATCPIT100 cosmetic: atcpit100_timer: Rename function name

Re: [U-Boot] [PATCH] usb: r8a66597: Add support for RZ/A series

2017-11-27 Thread Marek Vasut
On 11/27/2017 06:27 PM, Chris Brandt wrote: > Hello Marek, > > On Friday, November 17, 2017, Marek Vasut wrote: >>> +#ifdef RZA_USB >>> + dcpctr = r8a66597_read(r8a66597, DCPCTR); >> >> use wait_for_bit() . >> >>> + if ((dcpctr & PID) == PID_BUF) { >>> + timeout2 = 1; >>> +

Re: [U-Boot] [PATCH v2] usb: r8a66597: Add support for RZ/A series

2017-11-27 Thread Marek Vasut
On 11/27/2017 08:04 PM, Chris Brandt wrote: > While the USB HW in the RZ/A is basically the same, there are some > differences from the original versions that were in the SH SoCs. > > Signed-off-by: Chris Brandt > --- > v2 > * Changed to CONFIG_RZA_USB to be set in

[U-Boot] [PATCH v3 4/4] dt-bindings: timer: Add andestech atcpit100 timer

2017-11-27 Thread Rick Chen
Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: rick Signed-off-by: Rick Chen Reviewed-by: Simon Glass --- doc/device-tree-bindings/timer/atcpit100_timer.txt | 31 ++

Re: [U-Boot] [PATCH v3 1/4] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-27 Thread rick
Hi Simon According to your suggestions. I have applied a gmail account for patch works I send the patchs via rickche...@gmail.com, but I can not see the patchs appear in the patchwaotk list. http://patchwork.ozlabs.org/project/uboot/list/ But if I send via Andes , the

Re: [U-Boot] [PATCH v3 1/4] ae3xx: timer: Rename AE3XX to ATCPIT100

2017-11-27 Thread rick
> -Original Message- > From: Rick Jian-Zhi Chen(陳建志) > Sent: Tuesday, November 28, 2017 11:27 AM > To: 'Rick Chen'; u-boot@lists.denx.de; w...@denx.de; s...@chromium.org > Subject: RE: [PATCH v3 1/4] ae3xx: timer: Rename AE3XX to ATCPIT100 > > Hi Simon > > According to your suggestions.

[U-Boot] [PATCHv2] spl: TI: Do not default to SPL_FIT_IMAGE_TINY being enabled

2017-11-27 Thread Tom Rini
This option prevents booting on am335x_evm at least along with most likely other platforms. Fixes: 337bbb629777 ("spl: fit: add SPL_FIT_IMAGE_TINY config to reduce code-size") Signed-off-by: Tom Rini --- Changes in v2: - Turn off SPL_USE_ARCH_MEMSET/MEMCPY on

[U-Boot] [PATCH] armv8: ls1088ardb: support force SDHC mode by hwconfig

2017-11-27 Thread Yangbo Lu
The BRDCFG5[SPISDHC] register field of Qixis device is used to control SPI and SDHC signal routing. 10 = Force SDHC Mode - SPI_CS[0] is routed to CPLD for SDHC_VS use. - SPI_CS[1] is unused. - SPI_CS[2:3] are routed to the TDMRiser slot. 11 = Force eMMC Mode - SPI_CS[0:3] are routed to

[U-Boot] [PATCH v3] power: extend prefix match to regulator-name property

2017-11-27 Thread Felix Brack
This patch extends pmic_bind_children prefix matching. In addition to the node name the property regulator-name is used while trying to match prefixes. This allows assigning different drivers to regulator nodes named regulator@1 and regulator@10 for example. I have discarded the idea of using

Re: [U-Boot] Problem with initialize in mmc_initialize in mmc.c

2017-11-27 Thread Jaehoon Chung
Hi Faiz, On 11/02/2017 11:23 PM, Faiz Abbas wrote: > > > On Monday 30 October 2017 07:37 PM, Faiz Abbas wrote: >> Hi, >> >> The variable *initialized* in mmc_initialize() is declared as static and >> initialised to 0 in the following commit. This makes the compiler put it >> in the .bss section

Re: [U-Boot] [PATCH v2 3/5] sunxi: Enable EMAC on the Cubietruck Plus

2017-11-27 Thread Chen-Yu Tsai
On Mon, Nov 27, 2017 at 4:09 PM, Maxime Ripard wrote: > Hi, > > On Sat, Nov 25, 2017 at 01:08:30PM +0800, Chen-Yu Tsai wrote: >> The Cubietruck Plus has an RTL8211E PHY connected to the EMAC using >> RGMII. The PHY is powered by DLDO4 @ 3.3V, while the I/O pins

[U-Boot] [v2] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for RDB

2017-11-27 Thread Yangbo Lu
For LS1012ARDB RevD and later versions, the I2C reading for DIP switch setting had been no longer reliable since the board was reworked. This patch is to add hwconfig support to enable/disable eSDHC1 manually. Signed-off-by: Yangbo Lu --- Changes for v2: - Just used

  1   2   >