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 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 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] [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 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 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 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 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 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 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] [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 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

[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 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 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 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 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 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

[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 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 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 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 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

[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 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

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

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] 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] [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] [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] 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,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] 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

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] [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, 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] [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] [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 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] 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

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 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 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 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] [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] [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

[U-Boot] [PATCH] Revert "dm: pinctrl: Prevent (re-)configuring pins when already done before relocation"

2019-01-09 Thread Lukasz Majewski
This reverts commit a7f4b4b344396590845e6552c82829ef68ef9f89. As reported by Alex Kiernan the above optimization introduces a regression in the below use case where: 1. Device has defined 'u-boot,dm-spl' property (@ eMMC DTS node) 2. The device downloads its MLO/SPL via UART (not eMMC - the

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

2019-01-09 Thread Marek Vasut
On 1/9/19 10:42 PM, Simon Goldschmidt wrote: > > > Am Mi., 9. Jan. 2019, 22:39 hat Marek Vasut > geschrieben: > > On 1/9/19 10:34 PM, Simon Goldschmidt wrote: > > > > > > Am Mi., 9. Jan. 2019, 22:31 hat Marek Vasut > >

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

2019-01-09 Thread Simon Goldschmidt
Am Mi., 9. Jan. 2019, 22:39 hat Marek Vasut geschrieben: > On 1/9/19 10:34 PM, Simon Goldschmidt wrote: > > > > > > Am Mi., 9. Jan. 2019, 22:31 hat Marek Vasut > > geschrieben: > > > > On 1/9/19 10:30 PM, Simon Goldschmidt wrote: > > > > > > > > > Am Mi.,

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

2019-01-09 Thread Marek Vasut
On 1/9/19 10:34 PM, Simon Goldschmidt wrote: > > > Am Mi., 9. Jan. 2019, 22:31 hat Marek Vasut > geschrieben: > > On 1/9/19 10:30 PM, Simon Goldschmidt wrote: > > > > > > Am Mi., 9. Jan. 2019, 22:27 hat Marek Vasut > >

Re: [U-Boot] [PATCH v1] tools: logos: crop Toradex logo slightly

2019-01-09 Thread Lukasz Majewski
On Wed, 9 Jan 2019 16:41:40 +0100 Stefano Babic wrote: > Hi Stefan, Lukasz, > > On 04/01/19 16:05, Stefan Agner wrote: > > Hi Stefano, > > > > On 14.12.2018 14:40, Stefano Babic wrote: > >> On 14/12/18 14:30, Tom Rini wrote: > >>> On Fri, Dec 14, 2018 at 02:26:22PM +0100, Stefan Agner

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

2019-01-09 Thread Simon Goldschmidt
Am Mi., 9. Jan. 2019, 22:31 hat Marek Vasut geschrieben: > On 1/9/19 10:30 PM, Simon Goldschmidt wrote: > > > > > > Am Mi., 9. Jan. 2019, 22:27 hat Marek Vasut > > geschrieben: > > > > On 1/9/19 8:56 PM, Simon Goldschmidt wrote: > > > socfpga_common.h defines

Re: [U-Boot] [PATCH 1/3] arm: socfpga: move legacy i2c defines to vining

2019-01-09 Thread Marek Vasut
On 1/9/19 10:31 PM, Simon Goldschmidt wrote: > > > Am Mi., 9. Jan. 2019, 22:27 hat Marek Vasut > geschrieben: > > On 1/9/19 8:56 PM, Simon Goldschmidt wrote: > > All socfpga boards exept for vining_fpga use DM_I2C. Move the non-DM > > i2c defines from

Re: [U-Boot] [PATCH 1/3] arm: socfpga: move legacy i2c defines to vining

2019-01-09 Thread Simon Goldschmidt
Am Mi., 9. Jan. 2019, 22:27 hat Marek Vasut geschrieben: > On 1/9/19 8:56 PM, Simon Goldschmidt wrote: > > All socfpga boards exept for vining_fpga use DM_I2C. Move the non-DM > > i2c defines from socfpga_common.h to socfpga_vining_fpga.h to prevent > > i2c getting enabled for those boards when

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

2019-01-09 Thread Marek Vasut
On 1/9/19 10:30 PM, Simon Goldschmidt wrote: > > > Am Mi., 9. Jan. 2019, 22:27 hat Marek Vasut > geschrieben: > > On 1/9/19 8:56 PM, Simon Goldschmidt wrote: > > socfpga_common.h defines CONFIG_SYS_BOOTMAPSZ to 64 MiB. > > > > Since having this define

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

2019-01-09 Thread Simon Goldschmidt
Am Mi., 9. Jan. 2019, 22:27 hat Marek Vasut geschrieben: > On 1/9/19 8:56 PM, 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

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

2019-01-09 Thread Marek Vasut
On 1/9/19 8:56 PM, 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

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

2019-01-09 Thread Marek Vasut
On 1/9/19 8:56 PM, Simon Goldschmidt wrote: > Remove outdated defines (not used any more, outdated due to DM > conversion) from socfpga_common.h. > > Signed-off-by: Simon Goldschmidt Acked-by: Marek Vasut > --- > > include/configs/socfpga_common.h | 13 - > 1 file changed, 13

Re: [U-Boot] [PATCH 1/3] arm: socfpga: move legacy i2c defines to vining

2019-01-09 Thread Marek Vasut
On 1/9/19 8:56 PM, Simon Goldschmidt wrote: > All socfpga boards exept for vining_fpga use DM_I2C. Move the non-DM > i2c defines from socfpga_common.h to socfpga_vining_fpga.h to prevent > i2c getting enabled for those boards when DM_I2C is deselected. Can you just flip the board to DM I2C ? I

[U-Boot] [PATCH 1/1] efi_loader: fix CopyMem()

2019-01-09 Thread Heinrich Schuchardt
CopyMem() must support overlapping buffers. So replace memcpy() by memmove(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index

Re: [U-Boot] [PATCH 1/2] env: fix allow to build multiple environments

2019-01-09 Thread York Sun
On 1/2/19 8:37 PM, Rajesh Bhagat wrote: > Patch fixes build error when enabling CONFIG_ENV_IS_IN_SPI_FLASH > and CONFIG_ENV_IS_IN_MMC at the same time mentioned issue in > below link: > > Refer: https://lists.denx.de/pipermail/u-boot/2018-February/319565.html > > build error when enabling

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

2019-01-09 Thread Praneeth Bajjuri
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 a/include/environment/ti/boot.h b/include/environment/ti/boot.h index

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

2019-01-09 Thread Simon Goldschmidt
Remove outdated defines (not used any more, outdated due to DM conversion) from socfpga_common.h. Signed-off-by: Simon Goldschmidt --- include/configs/socfpga_common.h | 13 - 1 file changed, 13 deletions(-) diff --git a/include/configs/socfpga_common.h

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

2019-01-09 Thread Simon Goldschmidt
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 (which is initialized to 160 MiB in the same

[U-Boot] [PATCH 1/3] arm: socfpga: move legacy i2c defines to vining

2019-01-09 Thread Simon Goldschmidt
All socfpga boards exept for vining_fpga use DM_I2C. Move the non-DM i2c defines from socfpga_common.h to socfpga_vining_fpga.h to prevent i2c getting enabled for those boards when DM_I2C is deselected. Signed-off-by: Simon Goldschmidt --- include/configs/socfpga_common.h | 26

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

2019-01-09 Thread Simon Goldschmidt
This series cleans up the include/configs/socfpga_common.h file a bit. It removes some defines that are used nowhere and cleans up some leftovers after various subsystems have been converted to use DM. Simon Goldschmidt (3): arm: socfpga: move legacy i2c defines to vining arm: socfpga:

[U-Boot] [PATCH] serial: ns16550: fix debug uart putc called before init

2019-01-09 Thread Simon Goldschmidt
If _debug_uart_putc() is called before _debug_uart_init(), the ns16550 debug uart driver hangs in a tight loop waiting for the tx FIFO to get empty. As this can happen via a printf sneaking in before the port calls debug_uart_init(), introduce a config option to ignore characters before the debug

[U-Boot] [PATCH] drivers: serial: DEBUG_UART_SKIP_INIT depends on DEBUG_UART

2019-01-09 Thread Simon Goldschmidt
DEBUG_UART_SKIP_INIT is used only by debug UART and thus should depend on DEBUG_UART. Signed-off-by: Simon Goldschmidt --- drivers/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index b7ff2960ab..e67ea52338 100644 ---

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, Am 09.01.2019 um 09:35 schrieb 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

[U-Boot] [PATCH v2] 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] imx7d SPL driver fails to allocate memory.

2019-01-09 Thread Rens Dol
Hi all, I am trying to get SPL working on a imx7 based board. I need to configure the DDR voltage before u-boot can be loaded from NAND. I am using the pico-imx7_defconfig as a starting point. It already has SPL configured to initialize ddr. From board_init_f I call spl_early_init() to

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

2019-01-09 Thread Daniel Schwierzeck
Am 09.01.19 um 09:25 schrieb 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 |

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

2019-01-09 Thread Daniel Schwierzeck
Am 09.01.19 um 09:25 schrieb 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 +

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

2019-01-09 Thread Daniel Schwierzeck
Am 09.01.19 um 09:21 schrieb 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

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] [PATCH] mmc: sunxi: Fix mmc clocks for DM_MMC

2019-01-09 Thread Priit Laes
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 configure code for Allwinner platforms which support > DM_MMC and

[U-Boot] [PATCH v3 5/8] arm: dts: imx7s-warp: Create alias for mmc0 to

2019-01-09 Thread Bryan O'Donoghue
This patch sets up an alias for mmc0 to usdhc3. Before the DM conversion only usdhc3 was enabled and therefore it appeared as MMC 0 to u-boot. After enabling MMC DM though usdhc3 defaults to MMC 2, which left unattended would drive changes to existing warp7 bootscripts and environment variables

[U-Boot] [PATCH v3 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 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 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 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 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

[U-Boot] [PATCH v3 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: Lukas Auer --- arch/arm/dts/imx7d-pinfunc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v3 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 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 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 v2 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 v2 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 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 v2 5/8] arm: dts: imx7s-warp: Create alias for mmc0 to

2019-01-09 Thread Bryan O'Donoghue
This patch sets up an alias for mmc0 to usdhc3. Before the DM conversion only usdhc3 was enabled and therefore it appeared as MMC 0 to u-boot. After enabling MMC DM though usdhc3 defaults to MMC 2, which left unattended would drive changes to existing warp7 bootscripts and environment variables

[U-Boot] [PATCH v2 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

[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

  1   2   >