Re: [U-Boot] [U-Boot, v3, 2/2] dm: video: lcd: MIGRATION: Add migration plan for video

2019-01-09 Thread Tom Rini
On Fri, Dec 28, 2018 at 02:03:08PM -0700, Simon Glass wrote: > Add a migration plan for video which is an important subsystem in U-Boot. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] arm: Round the dma_alloc_coherent memory size to cache line aligned

2019-01-09 Thread Tom Rini
On Fri, Jan 04, 2019 at 09:24:14AM +, Ye Li wrote: > When running usb dwc3 gadget driver, we meet random USB enumeration failure > in fastboot. > The root cause is a cache coherence issue. When it happens, the ctrl_req in > gadget driver is allocated at 0xfe932f40, and the usb_composite_dev

Re: [U-Boot] [U-Boot, 1/2] igep003x: MAINTAINER: Remove myself as maintainer and add Javier

2019-01-09 Thread Tom Rini
On Fri, Dec 28, 2018 at 11:55:47AM +0100, Enric Balletbo i Serra wrote: > I can't continue maintaining the board because I don't have access to the > hardware anymore, so remove myself from the entry and add Javier who has > volunteered to help and maintain the board. > > Signed-off-by: Enric

Re: [U-Boot] Add a github template telling people to not use pull requests there

2019-01-09 Thread Tom Rini
On Thu, Dec 27, 2018 at 09:22:55AM -0500, Tom Rini wrote: > On our mirror account on github we have gotten a handful of pull > requests. At this time github does not allow you to disable pull > requests on a project. The generally suggested work-around is to add a > pull request template that

[U-Boot] [PATCH 18/18] rockchip: Add support for chromebook_bob

2019-01-09 Thread Simon Glass
Bob is a 10-inch chromebook produced by Asus. It has two USB 3.0 type-C ports, 4GB of SDRAM, WiFi and a 1280x800 display. It uses its USB ports for both power and external display. It includes a Chrome OS EC (Cortex-M3) to provide access to the keyboard and battery functions. Support so far

[U-Boot] [PATCH 10/18] rockchip: Clarify docs on SPI writing

2019-01-09 Thread Simon Glass
We use every second block when creating a SPI image, so update the text to say this explicitly. Signed-off-by: Simon Glass --- doc/README.rockchip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index a45b8a97b7..9b7e4bac11 100644

[U-Boot] [PATCH 13/18] rockchip: clk: Add mention of four new clocks

2019-01-09 Thread Simon Glass
These clocks are needed to get MMC running. We don't actually support setting them yet. Signed-off-by: Simon Glass --- drivers/clk/rockchip/clk_rk3399.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/clk/rockchip/clk_rk3399.c b/drivers/clk/rockchip/clk_rk3399.c

[U-Boot] [PATCH 17/18] rockchip: gru: Add extra device-tree settings

2019-01-09 Thread Simon Glass
Add some U-Boot-specific settings. These should really go in the *u-boot.dtsi file, but it seems that rk3399 does not use that yet. Signed-off-by: Simon Glass --- arch/arm/dts/rk3399-gru-bob.dts | 1 + arch/arm/dts/rk3399-gru-chromebook.dtsi | 1 + arch/arm/dts/rk3399-gru.dtsi

[U-Boot] [PATCH 16/18] rockchip: Implement spl_gpio in the GPIO driver

2019-01-09 Thread Simon Glass
Allow rockchip boards to use GPIOs before driver model is ready. This is really only useful for setting GPIOs to enable the early debug console, if needed on some platforms. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-rockchip/gpio.h | 29 ++ drivers/gpio/rk_gpio.c

[U-Boot] [PATCH 14/18] rockchip: Tidy up board include-file ordering

2019-01-09 Thread Simon Glass
These board files have inconsistent #include ordering. Fix them. Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/rk3036-board.c | 2 +- arch/arm/mach-rockchip/rk3188-board-spl.c | 2 +- arch/arm/mach-rockchip/rk3188-board.c | 2 +- arch/arm/mach-rockchip/rk322x-board.c |

[U-Boot] [PATCH 15/18] rockchip: rk3399: Add ROCKCHIP_DEVICE_SETTINGS to set env

2019-01-09 Thread Simon Glass
Some boards use different stdio environment variables from the default. Provide a #define for this which can be set before including the header file. Signed-off-by: Simon Glass --- include/configs/rk3399_common.h | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [U-Boot] [PATCH] ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig

2019-01-09 Thread Derald Woods
On Mon, Jan 7, 2019 at 3:40 AM wrote: > Hi Derald, > > Thank you for the patch, > > Some minor questions inline. > Sorry for the late response. Family and day job take priority. The patch is the simplest technical conversion that I could produce with my board (SAMA5D3-XPLD) as the test

[U-Boot] [PATCH 12/18] rockchip: Add settings for Samsung LPDDR3 4GB SDRAM 1866MHz

2019-01-09 Thread Simon Glass
This memory is used on Bob. Add settings for this, taken from coreboot. Signed-off-by: Simon Glass --- .../rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi | 1542 + 1 file changed, 1542 insertions(+) create mode 100644 arch/arm/dts/rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi diff

[U-Boot] [GIT] Pull request: u-boot-dfu (10.01.2019)

2019-01-09 Thread Lukasz Majewski
Dear Marek, I've build tested the patch set from Jean-Jacques on sunxi: ./tools/buildman/buildman.py --branch=HEAD sunxi --detail --verbose --show_errors --force-build --count=5 --output-dir=../BUILD/ It also passes on Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/477104303 The

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (10.01.2019)

2019-01-09 Thread Marek Vasut
On 1/10/19 12:21 AM, Lukasz Majewski wrote: > Dear Marek, > > I've build tested the patch set from Jean-Jacques on sunxi: > > ./tools/buildman/buildman.py --branch=HEAD sunxi --detail --verbose > --show_errors --force-build --count=5 --output-dir=../BUILD/ > > It also passes on Travis-CI: >

Re: [U-Boot] [PATCH 2/2] board: tbs2910: Remove FIT support in defconfig to reduce u-boot size

2019-01-09 Thread Soeren Moch
On 09.01.19 23:39, Tom Rini wrote: > On Wed, Jan 09, 2019 at 05:01:37PM +0100, Stefano Babic wrote: >> Hi Soeren, >> >> On 08/01/19 12:03, Soeren Moch wrote: >>> Hi Stefano, >>> >>> On 08.01.19 11:24, Stefano Babic wrote: Hi Soeren, On 08/01/19 11:14, Soeren Moch wrote: >

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-09 Thread AKASHI Takahiro
Alex, On Wed, Jan 09, 2019 at 10:06:16AM +0100, Alexander Graf wrote: > > > On 13.12.18 08:58, AKASHI Takahiro wrote: > > Heinrich, > > > > On Tue, Dec 11, 2018 at 08:55:41PM +0100, Heinrich Schuchardt wrote: > >> On 11/15/18 5:58 AM, AKASHI Takahiro wrote: > >>> Currently, efi_init_obj_list()

Re: [U-Boot] [PATCH 2/2] board: tbs2910: Remove FIT support in defconfig to reduce u-boot size

2019-01-09 Thread Tom Rini
On Thu, Jan 10, 2019 at 02:28:23AM +0100, Soeren Moch wrote: > > > On 09.01.19 23:39, Tom Rini wrote: > > On Wed, Jan 09, 2019 at 05:01:37PM +0100, Stefano Babic wrote: > >> Hi Soeren, > >> > >> On 08/01/19 12:03, Soeren Moch wrote: > >>> Hi Stefano, > >>> > >>> On 08.01.19 11:24, Stefano Babic

Re: [U-Boot] [U-Boot, 1/2] sunxi: drop default SPL_LIBDISK_SUPPORT enablement

2019-01-09 Thread Tom Rini
On Mon, Dec 17, 2018 at 10:05:44AM +, Andre Przywara wrote: > There is no code for using partition labels in the Allwinner SPL port. > Even so the name is slightly misleading, CONFIG_SPL_LIBDISK_SUPPORT was > meant to guard partition code for the SPL. > > Remove the "imply" line in the

Re: [U-Boot] Makefile: Correct logic for DM_SCSI + unconverted drivers check

2019-01-09 Thread Tom Rini
On Mon, Jan 07, 2019 at 10:57:56PM -0500, Tom Rini wrote: > When checking for boards that are enabling a SATA driver that isn't > converted to DM yet we need to be sure to not also trip over boards that > do set CONFIG_DM_SCSI by itself, as that is not a bug. > > Reported-by: Andy Shevchenko >

Re: [U-Boot] arm: ti: boot: Remove legacy Android partitions

2019-01-09 Thread Tom Rini
On Fri, Jan 04, 2019 at 10:09:08PM +0200, Sam Protsenko wrote: > Remove unused Android partitions: > - efs, crypto, cache: we don't use it anymore (images are not built > in AOSP > - ipu1, ipu2: IPU firmware is now a part of vendor image and doesn't > reside as a separate partition >

Re: [U-Boot] [PATCH v2] misc: fs_loader: Add support for initializing MMC

2019-01-09 Thread Chee, Tien Fong
On Wed, 2019-01-09 at 09:19 -0700, Simon Glass wrote: > Hi Tien Fong, > > On Sat, 29 Dec 2018 at 18:36, wrote: > > > > > > From: Tien Fong Chee > > > > Firmware loader would encounter problem if the MMC is accessed > > before > > initializing it. This patch would adding the support of

[U-Boot] [PATCH 07/18] rockchip: Bring in device tree files for rk3399-gru

2019-01-09 Thread Simon Glass
Bring in these files from Linux v4.20. Signed-off-by: Simon Glass --- arch/arm/dts/rk3399-gru-bob.dts | 79 +++ arch/arm/dts/rk3399-gru-chromebook.dtsi | 397 +++ arch/arm/dts/rk3399-gru-kevin.dts | 309 + arch/arm/dts/rk3399-gru.dtsi| 831

[U-Boot] [PATCH 08/18] rockchip: Adjust rk3399 device tree to be closer to linux

2019-01-09 Thread Simon Glass
This file has changed upstream, with some additions and changes. Move the U-Boot version towards this. Some USB changes seem to be incompatible with how the bindings work on rockchip in U-Boot. Testing is needed to make sure that USB still works correct, and adjust the code (not device tree) if

[U-Boot] [PATCH 05/18] rockchip: Add mention of other boards

2019-01-09 Thread Simon Glass
At present some Rockchip SoCs and boards are not mentioned in the README. So that people can see which SoCs are supported, expand the list to include everything. Signed-off-by: Simon Glass --- doc/README.rockchip | 43 +-- 1 file changed, 41

[U-Boot] [PATCH 04/18] gpio: Add a simple GPIO API for SPL

2019-01-09 Thread Simon Glass
In space-constrained environments or before driver model is available, it is sometimes necessary to set GPIO values. Add an SPL API for this, to allow early board code to change GPIOs. The caller must provide the register address, so that the drivers can be fairly generic. This API can be

[U-Boot] [PATCH 11/18] rockchip: Allow booting from SPI

2019-01-09 Thread Simon Glass
The u-boot,spl-boot-device property only allows MMC at present. Add SPI as well for boards that boot from SPI flash. Signed-off-by: Simon Glass --- arch/arm/mach-rockchip/spl-boot-order.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-rockchip/spl-boot-order.c

[U-Boot] [PATCH 06/18] rockchip: Drop note about supporting other SoCs

2019-01-09 Thread Simon Glass
Quite a wide range of Rockchip SoCs are supported in mainline U-Boot now, so drop the comment about needing to add more. Signed-off-by: Simon Glass --- doc/README.rockchip | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip

[U-Boot] [PATCH 09/18] rockchip: evb_rk3399: Tidy up the README

2019-01-09 Thread Simon Glass
Add mention of a prerequisite needed to build the image. Also adjust the English wording in a few places. Ideally this should move to using binman to produce images, and avoid the manual steps. Signed-off-by: Simon Glass --- board/rockchip/evb_rk3399/README | 33

Re: [U-Boot] [U-Boot, 2/2] mmc: bring back partition init for non-DM MMC drivers

2019-01-09 Thread Tom Rini
On Mon, Dec 17, 2018 at 10:05:45AM +, Andre Przywara wrote: > Commit d0851c893706 ("blk: Call part_init() in the post_probe() method") > removed the call to part_init() in mmc.c, as this is done by the DM_MMC > framework. > However Allwinner is (still) relying on a non-DM MMC driver, so we

Re: [U-Boot] [U-Boot,v1,2/2] gpio: stm32f7: Fix SPL code size

2019-01-09 Thread Tom Rini
On Fri, Jan 04, 2019 at 10:55:06AM +0100, Patrice Chotard wrote: > In order to keep SPL code size below the 32Kb limit, > put under CONFIG_SPL_BUILD flag all unused code in SPL. > This is needed for stm32f7xx board which are using SPL. > > Signed-off-by: Patrice Chotard Applied to

Re: [U-Boot] env: sata: Fix saveenv issue

2019-01-09 Thread Tom Rini
On Mon, Jan 07, 2019 at 09:22:35AM +, Ye Li wrote: > Wrong env buffer was passed into sata write function, cause the saveenv > not work. > > Signed-off-by: Ye Li Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v1, 1/2] gpio: stm32f7: Fix gpio bank hole management

2019-01-09 Thread Tom Rini
On Fri, Jan 04, 2019 at 10:55:05AM +0100, Patrice Chotard wrote: > In case "gpio-ranges" property is not present in device tree, > use default value for gpio_count and gpio_range. > This fixes an issue on stm32 F7 and H7 boards where "pinmux status -a" > command didn't return any pin status due

Re: [U-Boot] env: sata: Add missed env location for SATA boot

2019-01-09 Thread Tom Rini
On Fri, Jan 04, 2019 at 09:34:24AM +, Ye Li wrote: > The env location label ENVL_ESATA is missed in location tables, so > when we configure the ENV in SATA, u-boot fails to get correct env > location and cause boot hang in board_f. > > Signed-off-by: Ye Li > Reviewed-by: Peng Fan Applied

Re: [U-Boot] [U-Boot, v3, 1/2] dm: pci: MIGRATION: Add migration plan for PCI

2019-01-09 Thread Tom Rini
On Fri, Dec 28, 2018 at 02:03:07PM -0700, Simon Glass wrote: > Add a migration plan for PCI which is an important subsystem in U-Boot. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v2 3/3] efi_loader: remove block device details from efi file

2019-01-09 Thread AKASHI Takahiro
Alex, On Wed, Jan 09, 2019 at 10:18:16AM +0100, Alexander Graf wrote: > > > On 15.11.18 05:58, AKASHI Takahiro wrote: > > Logically, details on u-boot block device used to implement efi file > > protocol are mostly unnecessary, as well as being duplicated, in > > efi_file structure. > >

[U-Boot] [PATCH 00/18] rockchip: Add support for Bob Chromebook

2019-01-09 Thread Simon Glass
This series adds basic support for Bob which is based on RK3399. Quite a bit of work remains to get this into fully working condition. This series is based on the rockchip pinctrl drivers series by David Wu. Simon Glass (18): lib: Allow using display_buffer() in SPL clk: Improve debug

Re: [U-Boot] [PATCH 2/2] board: tbs2910: Remove FIT support in defconfig to reduce u-boot size

2019-01-09 Thread Tom Rini
On Wed, Jan 09, 2019 at 05:01:37PM +0100, Stefano Babic wrote: > Hi Soeren, > > On 08/01/19 12:03, Soeren Moch wrote: > > Hi Stefano, > > > > On 08.01.19 11:24, Stefano Babic wrote: > >> Hi Soeren, > >> > >> On 08/01/19 11:14, Soeren Moch wrote: > >>> Stefano, > >>> > >>> can you apply this for

Re: [U-Boot] [U-Boot,1/1] doc: README.commands: fix type

2019-01-09 Thread Tom Rini
On Sun, Dec 30, 2018 at 01:00:51PM +0100, Heinrich Schuchardt wrote: > %s/commmand/command/ > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH] arm: ti: boot: Fix am57xx evm fdtfile name

2019-01-09 Thread Lokesh Vutla
On 1/10/2019 1:55 AM, Praneeth Bajjuri wrote: > am57xx evm uses am57xx-evm-reva3.dtb. > update findfdt to pick the correct default dtb > > Signed-off-by: Praneeth Bajjuri > --- > include/environment/ti/boot.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[U-Boot] [PATCH 01/18] lib: Allow using display_buffer() in SPL

2019-01-09 Thread Simon Glass
At present this function uses printf() format strings that are not supported in SPL, so the output just consists of %llx strings on 64-bit. machines. Fix this by adding a special case. Signed-off-by: Simon Glass --- lib/display_options.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

[U-Boot] [PATCH 03/18] gpio: Use more command-specific enums values

2019-01-09 Thread Simon Glass
At present this file uses GPIO_OUTPUT and GPIO_INPUT as its sub-command values. These are pretty generic names. Add a 'C' suffix to avoid possible conflicts. Signed-off-by: Simon Glass --- cmd/gpio.c | 37 +++-- 1 file changed, 23 insertions(+), 14 deletions(-)

[U-Boot] [PATCH 02/18] clk: Improve debug message in clk_set_default_rates()

2019-01-09 Thread Simon Glass
It is helpful to print the clock number as well as the index, so that this can be looked up in the binding file. Update the debug() statement to do this. Signed-off-by: Simon Glass --- drivers/clk/clk-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-09 Thread André Przywara
On 08/01/2019 19:12, Jagan Teki wrote: > On Tue, Jan 8, 2019 at 5:09 PM Andre Przywara wrote: >> >> On Tue, 8 Jan 2019 16:27:14 +0530 >> Jagan Teki wrote: >> >> Hi, >> >>> On Mon, Jan 7, 2019 at 6:35 AM André Przywara >>> wrote: On 31/12/2018 16:59, Jagan Teki wrote: > Clock

Re: [U-Boot] [PATCH v5 02/26] reset: Add Allwinner RESET driver

2019-01-09 Thread André Przywara
On 31/12/2018 16:59, Jagan Teki wrote: > Add common reset driver for all Allwinner SoC's. > > Since CLK and RESET share common DT compatible, it is CLK driver > job is to bind the reset driver. So add CLK bind call on respective > SoC driver by passing ccu map descriptor so-that reset deassert, >

Re: [U-Boot] [PATCH v2 3/3] efi_loader: remove block device details from efi file

2019-01-09 Thread Alexander Graf
On 10.01.19 01:37, AKASHI Takahiro wrote: > Alex, > > On Wed, Jan 09, 2019 at 10:18:16AM +0100, Alexander Graf wrote: >> >> >> On 15.11.18 05:58, AKASHI Takahiro wrote: >>> Logically, details on u-boot block device used to implement efi file >>> protocol are mostly unnecessary, as well as being

Re: [U-Boot] [PATCH 2/3] arm: socfpga: clean up socfpga_common.h

2019-01-09 Thread Stefan Roese
On 09.01.19 20:56, Simon Goldschmidt wrote: Remove outdated defines (not used any more, outdated due to DM conversion) from socfpga_common.h. Signed-off-by: Simon Goldschmidt Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/3] arm: socfpga: remove CONFIG_SYS_BOOTMAPSZ

2019-01-09 Thread Stefan Roese
On 09.01.19 20:56, Simon Goldschmidt wrote: socfpga_common.h defines CONFIG_SYS_BOOTMAPSZ to 64 MiB. Since having this define overrides the 'bootm_size' env variable for the whole socfpga platform, let's remove this define from socfpga_common.h and instead rely on the 'bootm_size' env variable

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-09 Thread Alexander Graf
On 10.01.19 08:26, AKASHI Takahiro wrote: > Alex, > > On Thu, Jan 10, 2019 at 07:21:12AM +0100, Alexander Graf wrote: >> >> >> On 10.01.19 03:13, AKASHI Takahiro wrote: >>> Alex, >>> >>> On Wed, Jan 09, 2019 at 10:06:16AM +0100, Alexander Graf wrote: On 13.12.18 08:58, AKASHI

Re: [U-Boot] [PATCH v2 3/3] efi_loader: remove block device details from efi file

2019-01-09 Thread AKASHI Takahiro
On Thu, Jan 10, 2019 at 07:22:49AM +0100, Alexander Graf wrote: > > > On 10.01.19 01:37, AKASHI Takahiro wrote: > > Alex, > > > > On Wed, Jan 09, 2019 at 10:18:16AM +0100, Alexander Graf wrote: > >> > >> > >> On 15.11.18 05:58, AKASHI Takahiro wrote: > >>> Logically, details on u-boot block

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-09 Thread AKASHI Takahiro
Alex, On Thu, Jan 10, 2019 at 07:21:12AM +0100, Alexander Graf wrote: > > > On 10.01.19 03:13, AKASHI Takahiro wrote: > > Alex, > > > > On Wed, Jan 09, 2019 at 10:06:16AM +0100, Alexander Graf wrote: > >> > >> > >> On 13.12.18 08:58, AKASHI Takahiro wrote: > >>> Heinrich, > >>> > >>> On Tue,

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (10.01.2019)

2019-01-09 Thread Lukasz Majewski
On Thu, 10 Jan 2019 01:53:23 +0100 Marek Vasut wrote: > On 1/10/19 12:21 AM, Lukasz Majewski wrote: > > Dear Marek, > > > > I've build tested the patch set from Jean-Jacques on sunxi: > > > > ./tools/buildman/buildman.py --branch=HEAD sunxi --detail --verbose > > --show_errors --force-build

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-09 Thread Alexander Graf
On 10.01.19 03:13, AKASHI Takahiro wrote: > Alex, > > On Wed, Jan 09, 2019 at 10:06:16AM +0100, Alexander Graf wrote: >> >> >> On 13.12.18 08:58, AKASHI Takahiro wrote: >>> Heinrich, >>> >>> On Tue, Dec 11, 2018 at 08:55:41PM +0100, Heinrich Schuchardt wrote: On 11/15/18 5:58 AM, AKASHI

[U-Boot] [PATCH v3 2/7] MSCC: Add support for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
As the Ocelot and Luton SoCs, this family of SoCs are found in Microsemi Switches solution. Signed-off-by: Horatiu Vultur --- arch/mips/mach-mscc/Kconfig| 9 + arch/mips/mach-mscc/cpu.c | 7 + arch/mips/mach-mscc/dram.c

[U-Boot] [PATCH v3 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb110. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/jr2_pcb110.dts | 74 + arch/mips/dts/mscc,jr2.dtsi | 187 +++ 3 files changed, 262 insertions(+)

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Stefano Babic
Hi Peng, On 02/01/19 13:10, Peng Fan wrote: > Ping. > > Thanks, > Peng. > Sorry, I was on holidays and afterwards I have to resume some work in office ;-) I am now looking for which patches should be merged in release and I will pick them up. Regards, Stefano >> -Original Message-

[U-Boot] [PATCH] mmc: sunxi: Fix mmc clocks for DM_MMC

2019-01-09 Thread Jagan Teki
Existing clock configure code has been followed based on the legacy MMC dt node definitions and it cannot work with recent dts(i) sync from Linux. So, add clock configure code for Allwinner platforms which support DM_MMC and eventually this will drop once CLK support is in Mainline. Fixes:

[U-Boot] u-boot-fw-utils issue

2019-01-09 Thread Hardik Padhariya
Hello, We are trying to access uboot variables from our application running over Linux. We are using Yocto krogoth 2.1.1 for imx6ul evaluation kit "mx6ul_14x14_evk". We have built u-boot-fw-utils by adding "CORE_IMAGE_EXTRA_INSTALL += "u-boot-fw-utils" in the local.conf file. Issues:

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Stefano Babic
On 09/01/19 15:56, Chris Spencer wrote: > [CC'd the list this time..] > > On Wed, 9 Jan 2019 at 13:56, Stefano Babic wrote: >> Sorry, I was on holidays and afterwards I have to resume some work in >> office ;-) >> >> I am now looking for which patches should be merged in release and I >> will

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Chris Spencer
[CC'd the list this time..] On Wed, 9 Jan 2019 at 13:56, Stefano Babic wrote: > Sorry, I was on holidays and afterwards I have to resume some work in > office ;-) > > I am now looking for which patches should be merged in release and I > will pick them up. Hi Stefano, If I may make my own

Re: [U-Boot] [PATCH v2] usb: xhci-mem: Fix scratchpad array issue

2019-01-09 Thread Marek Vasut
On 1/9/19 8:05 AM, Bin Meng wrote: > On Tue, Jan 8, 2019 at 7:19 PM Marek Vasut wrote: >> >> On 1/8/19 7:34 AM, Bin Meng wrote: >>> On Tue, Jan 8, 2019 at 12:00 PM Ye Li wrote: On 1/7/2019 5:54 PM, Bin Meng wrote: > On Mon, Jan 7, 2019 at 10:45 AM Ye Li wrote: >> >> After

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-09 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: 2019年1月9日 21:56 > To: Peng Fan ; sba...@denx.de > Cc: Fabio Estevam ; u-boot@lists.denx.de; > dl-uboot-imx > Subject: Re: [PATCH 0/5] imx8: several fixes > > Hi Peng, > > On 02/01/19 13:10, Peng Fan

Re: [U-Boot] [PATCH 3/8] arm: imx7s-warp: Convert to DM MMC initialization

2019-01-09 Thread Bryan O'Donoghue
On 08/01/2019 13:22, Peng Fan wrote: Hi Bryan, -Original Message- From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] Sent: 2019年1月3日 9:45 To: u-boot@lists.denx.de Cc: Fabio Estevam ; Peng Fan ; Bryan O'Donoghue ; Albert Aribaud ; Stefano Babic Subject: [PATCH 3/8] arm:

Re: [U-Boot] [U-Boot, 2/2] mmc: bring back partition init for non-DM MMC drivers

2019-01-09 Thread Tom Rini
On Wed, Jan 09, 2019 at 09:03:19AM +, André Przywara wrote: > On 09/01/2019 03:44, Tom Rini wrote: > > On Mon, Dec 17, 2018 at 10:05:45AM +, Andre Przywara wrote: > > > >> Commit d0851c893706 ("blk: Call part_init() in the post_probe() method") > >> removed the call to part_init() in

Re: [U-Boot] Please pull from u-boot-i2c

2019-01-09 Thread Heiko Schocher
Hello Tom, Am 08.01.2019 um 15:33 schrieb Tom Rini: On Tue, Jan 08, 2019 at 12:33:06PM +0100, Heiko Schocher wrote: Hello Tom, please pull from u-boot-i2c.git master The following changes since commit 53240275666acf32cb9811e44eaf2fd571a6cb75: Merge tag 'for-v2019.01' of

Re: [U-Boot] [PATCH 5/8] warp7: defconfig: Switch on IMX7 pinctrl for both ports

2019-01-09 Thread Bryan O'Donoghue
On 08/01/2019 13:26, Peng Fan wrote: -Original Message- From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] Sent: 2019年1月3日 9:45 To: u-boot@lists.denx.de Cc: Fabio Estevam ; Peng Fan ; Bryan O'Donoghue ; Stefano Babic Subject: [PATCH 5/8] warp7: defconfig: Switch on IMX7

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-09 Thread Simon Goldschmidt
Hi Alexey, On Wed, Jan 9, 2019 at 9:36 AM Alexey Brodkin wrote: > > Hi Simon, > > > -Original Message- > > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > > Sent: Tuesday, January 8, 2019 12:14 AM > > To: Marek Vasut > > Cc: Simon Goldschmidt ; Patrice Chotard > > ;

Re: [U-Boot] [PATCH v2 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Hi Daniel, First, thank you for all the feedback. I have created a new patch series that will fix the issue that you addressed bellow but the fix it would not use compatible string, because that presume that I need to change the other pinctrl-drivers(ocelot, luton). I was thinking if it is OK

Re: [U-Boot] [U-Boot, 2/2] mmc: bring back partition init for non-DM MMC drivers

2019-01-09 Thread André Przywara
On 09/01/2019 03:44, Tom Rini wrote: > On Mon, Dec 17, 2018 at 10:05:45AM +, Andre Przywara wrote: > >> Commit d0851c893706 ("blk: Call part_init() in the post_probe() method") >> removed the call to part_init() in mmc.c, as this is done by the DM_MMC >> framework. >> However Allwinner is

Re: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2019-01-09 Thread Vignesh R
On 22/12/18 1:13 PM, Simon Goldschmidt wrote: > Am 21.12.2018 um 14:29 schrieb Simon Goldschmidt: >> Am 21.12.2018 um 12:11 schrieb Vignesh R: >>> Hi Simon, >>> [...] Hi Vignesh, I just did a quick test on this but it fails to boot. I guess this could be a size problem.

[U-Boot] [PATCH] i2c: Reflect correct dependency for !DM cadence driver

2019-01-09 Thread Michal Simek
Setup proper DM_I2C dependency. Signed-off-by: Michal Simek --- drivers/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 1ef22e6bcde2..09079e02d2ca 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -453,6 +453,7 @@

Re: [U-Boot] [PATCH 1/5] efi_loader: LoadImage: always allocate new pages

2019-01-09 Thread Heinrich Schuchardt
On 1/8/19 2:05 PM, Alexander Graf wrote: > > > On 28.12.18 12:41, Heinrich Schuchardt wrote: >> If we want to properly unload images in Exit() the memory should always be >> allocated in the same way. As we allocate memory when reading from file we >> should do the same when the original image

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-09 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Tuesday, January 8, 2019 12:14 AM > To: Marek Vasut > Cc: Simon Goldschmidt ; Patrice Chotard > ; > Simon Glass ; Anup Patel ; Lokesh > Vutla ; > Alexey Brodkin ; Patrick Delaunay

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-09 Thread Alexander Graf
On 13.12.18 08:58, AKASHI Takahiro wrote: > Heinrich, > > On Tue, Dec 11, 2018 at 08:55:41PM +0100, Heinrich Schuchardt wrote: >> On 11/15/18 5:58 AM, AKASHI Takahiro wrote: >>> Currently, efi_init_obj_list() scan disk devices only once, and never >>> change a list of efi disk devices. This

Re: [U-Boot] [PATCH v2 3/3] efi_loader: remove block device details from efi file

2019-01-09 Thread Alexander Graf
On 15.11.18 05:58, AKASHI Takahiro wrote: > Logically, details on u-boot block device used to implement efi file > protocol are mostly unnecessary, as well as being duplicated, in > efi_file structure. > Moreover, a newly introduced flag, _EFI_DISK_FLAG_INVALID, should be > honored in any file

Re: [U-Boot] [PATCH v3 3/7] MSCC: Add device tree for Jaguar2 board

2019-01-09 Thread Gregory CLEMENT
Hi Horatiu, On mer., janv. 09 2019, Horatiu Vultur wrote: > Add device tree based on evaluation board pcb110. > > Signed-off-by: Horatiu Vultur > --- > MAINTAINERS | 1 + > arch/mips/dts/jr2_pcb110.dts | 74 + > arch/mips/dts/mscc,jr2.dtsi | 187 >

[U-Boot] [PATCH] i2c: mux: Covert to livetree functions

2019-01-09 Thread Michal Simek
Updates i2c muxes drivers to support livetree. Similar changes were done by: "net: zynq_gem: convert to use livetree" (sha1: 26026e695afa794ac018a09e79a48120d322b60d) Signed-off-by: Michal Simek --- drivers/i2c/muxes/i2c-mux-uclass.c | 4 +--- drivers/i2c/muxes/pca954x.c| 2 +- 2 files

[U-Boot] [PATCH] serial: Get rid of CONFIG_DW_SERIAL

2019-01-09 Thread Alexey Brodkin
CONFIG_DW_SERIAL is no longer used anywhere so let's forget about it. Signed-off-by: Alexey Brodkin Cc: Tom Rini Cc: Adam Ford Cc: Mario Six Cc: Tuomas Tynkkynen Cc: Alex Kiernan Cc: Simon Glass Cc: "Jörg Krause" Cc: Stephen Warren --- include/configs/axs10x.h | 1 -

Re: [U-Boot] [PATCH 1/5] efi_loader: LoadImage: always allocate new pages

2019-01-09 Thread Alexander Graf
On 09.01.19 09:35, Heinrich Schuchardt wrote: > > > On 1/8/19 2:05 PM, Alexander Graf wrote: >> >> >> On 28.12.18 12:41, Heinrich Schuchardt wrote: >>> If we want to properly unload images in Exit() the memory should always be >>> allocated in the same way. As we allocate memory when reading

[U-Boot] [PATCH v3 7/7] MSCC: Add sysreset driver for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Create sysreset driver for Jaguar2 SOC family and update defconfig to use it. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + board/mscc/jr2/jr2.c| 8 +++ configs/mscc_jr2_defconfig | 2 ++ drivers/sysreset/Kconfig| 6 ++

Re: [U-Boot] [RFC PATCH] bitops: Fix GENMASK definition for Sandbox

2019-01-09 Thread Vignesh R
On 17/12/18 7:02 PM, Vignesh R wrote: > In arch/sandbox/include/asm/types.h we have > Therefore for 32 bit Sandbox build BITS_PER_LONG turns out to be 32 as > CONFIG_PHYS64 is not set > > This messes up the current logic of GENMASK macro due to mismatch b/w > size of unsigned long (64 bit) and

[U-Boot] [PATCH v3 1/7] pinctrl: mscc: Add gpio and pinctrl for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
The Jaguar2 SOC family has 63 gpio pins therefore I extended mscc-common to support new numbe of pins and remove any platform dependency from mscc-common. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + drivers/pinctrl/mscc/Kconfig | 9 +

[U-Boot] [PATCH v3 0/7] MSCC: Add Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
This patch series add support for MSCC Jaguar2 SOC family. In this family there are the following boards: Jagaur2(pcb110), Jaguar2-48(pcb111) and Serval2(pcb112). This is based off the u-boot-mips/next repository This version address comments from Daniel Schwierzeck v3-changes: - remove any

[U-Boot] [PATCH v3 6/7] MSCC: Add board support for Jaguar2 SOC family

2019-01-09 Thread Horatiu Vultur
Add board support and configuration for Jaguar2 SOC family. The detection of the board type in this family is based on the phy ids. Signed-off-by: Horatiu Vultur --- arch/mips/dts/Makefile | 1 + arch/mips/mach-mscc/Makefile | 5 +- board/mscc/common/Makefile | 4 ++

[U-Boot] [PATCH v3 4/7] MSCC: Add device tree for Jaguar2-48 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb111. Signed-off-by: Horatiu Vultur --- arch/mips/dts/jr2_pcb111.dts | 74 1 file changed, 74 insertions(+) create mode 100644 arch/mips/dts/jr2_pcb111.dts diff --git a/arch/mips/dts/jr2_pcb111.dts

[U-Boot] [PATCH v3 5/7] MSCC: add device tree for Serval2 board

2019-01-09 Thread Horatiu Vultur
Add device tree based on evaluation board pcb112. Signed-off-by: Horatiu Vultur --- MAINTAINERS | 1 + arch/mips/dts/serval2_pcb112.dts | 60 2 files changed, 61 insertions(+) create mode 100644 arch/mips/dts/serval2_pcb112.dts

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u -boot-imx-20190101

2019-01-09 Thread Stefano Babic
Hi Tom, On 02/01/19 02:02, Tom Rini wrote: > On Tue, Jan 01, 2019 at 02:51:53PM +0100, Stefano Babic wrote: > >> Hi Tom, >> >> I dropped for the moment the following patches from Denis: >> >> bootcount: i2c: Add bus switching to the I2C bootcount driver >> bootcount: Configure length

[U-Boot] [PATCH v2 1/8] arm: dts: imx7: Correct spelling mistake in GPIO name

2019-01-09 Thread Bryan O'Donoghue
As pointed out by Lucas WDOD1_WDOG_ANY should be WDOG1_WDOG_ANY. Once corrected we can import the latest kernel DTS unmodified. Signed-off-by: Bryan O'Donoghue Reported-by: Auer Lukas --- arch/arm/dts/imx7d-pinfunc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v2 7/8] warp7: defconfig: Switch to DM for I2C

2019-01-09 Thread Bryan O'Donoghue
This commit switches to DM I2C for warp7 and warp7_bl33 defconfigs. Signed-off-by: Bryan O'Donoghue Reviewed-by: Peng Fan Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 24 configs/warp7_bl33_defconfig | 1 +

[U-Boot] [PATCH v3 0/8] Convert i.MX7 WaRP7 ports to DM

2019-01-09 Thread Bryan O'Donoghue
V3: - Fix Lucas' mail address "Auer, Lucas" makes git send-mail choke V2: - Add review-by as indicated - Peng Fan - Squash commit 4 and 5 from v1 - Peng Fan - Leave usdhc1 intact because of alias of mmc0 to usdhc3 - Bryan - Add correction for spelling mistake in imx7d-pinfunc.h - Lukas Auer -

[U-Boot] [PATCH v3 4/8] arm: imx7s-warp: Convert to DM MMC initialization

2019-01-09 Thread Bryan O'Donoghue
Converts from fixed initialization of MMC to DM initialization of MMC. Signed-off-by: Bryan O'Donoghue Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 34 -- configs/warp7_bl33_defconfig | 1 +

Re: [U-Boot] [PATCH] mmc: sunxi: Fix mmc clocks for DM_MMC

2019-01-09 Thread Jagan Teki
On Wed, Jan 9, 2019 at 10:21 PM Priit Laes wrote: > > On Wed, Jan 09, 2019 at 07:31:43PM +0530, Jagan Teki wrote: > > Existing clock configure code has been followed based on the > > legacy MMC dt node definitions and it cannot work with recent > > dts(i) sync from Linux. > > > > So, add clock

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u -boot-imx-20190101

2019-01-09 Thread Tom Rini
On Wed, Jan 09, 2019 at 04:48:06PM +0100, Stefano Babic wrote: > Hi Tom, > > On 02/01/19 02:02, Tom Rini wrote: > > On Tue, Jan 01, 2019 at 02:51:53PM +0100, Stefano Babic wrote: > > > >> Hi Tom, > >> > >> I dropped for the moment the following patches from Denis: > >> > >> bootcount: i2c:

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx u -boot-imx-20190101

2019-01-09 Thread Stefano Babic
On 09/01/19 17:21, Tom Rini wrote: > On Wed, Jan 09, 2019 at 04:48:06PM +0100, Stefano Babic wrote: >> Hi Tom, >> >> On 02/01/19 02:02, Tom Rini wrote: >>> On Tue, Jan 01, 2019 at 02:51:53PM +0100, Stefano Babic wrote: >>> Hi Tom, I dropped for the moment the following patches from

[U-Boot] [PATCH v2 0/8] Convert i.MX7 WaRP7 ports to DM

2019-01-09 Thread Bryan O'Donoghue
V2: - Add review-by as indicated - Peng Fan - Squash commit 4 and 5 from v1 - Peng Fan - Leave usdhc1 intact because of alias of mmc0 to usdhc3 - Bryan - Add correction for spelling mistake in imx7d-pinfunc.h - Lukas Auer - Imports imx7s-warp7.dts from kernel unmodified as a result of #1 - Bryan

[U-Boot] [PATCH v2 4/8] arm: imx7s-warp: Convert to DM MMC initialization

2019-01-09 Thread Bryan O'Donoghue
Converts from fixed initialization of MMC to DM initialization of MMC. Signed-off-by: Bryan O'Donoghue Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 34 -- configs/warp7_bl33_defconfig | 1 +

[U-Boot] [PATCH v2 3/8] arm: imx7s-warp: Add DT file hooks

2019-01-09 Thread Bryan O'Donoghue
This patch adds DT file hooks for imx7s-warp.dtb to the warp7 and warp7_bl33 builds. Signed-off-by: Bryan O'Donoghue Reviewed-by: Peng Fan Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/dts/Makefile| 3 ++- configs/warp7_bl33_defconfig | 3 ++-

[U-Boot] [PATCH v3 6/8] warp7: defconfig: Switch on IMX7 GPIO/pinctrl for both ports

2019-01-09 Thread Bryan O'Donoghue
Switches on the IMX7 pinctrl driver for the warp7 and warp7_bl33 ports, necessary to convert over to DM for this board. It is necessary to switch on pinctrl and GPIO in one go. Signed-off-by: Bryan O'Donoghue Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- configs/warp7_bl33_defconfig

[U-Boot] [PATCH v3 8/8] arm: imx7s-warp: Convert to DM PMIC

2019-01-09 Thread Bryan O'Donoghue
This patch converts the warp7 and warp7_bl33 board ports over to using the DM PMIC model. Signed-off-by: Bryan O'Donoghue Reviewed-by: Peng Fan Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 27 +++ configs/warp7_bl33_defconfig |

[U-Boot] [PATCH v3 2/8] arm: dts: imx7s-warp: Import Linux warp7 dts

2019-01-09 Thread Bryan O'Donoghue
This patch imports the Linux kernel warp7 dts as at upstream kernel commit cf76c364a1e1. Signed-off-by: Bryan O'Donoghue Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/dts/imx7s-warp.dts | 438 1 file changed, 438

  1   2   >