[U-Boot] [PATCH 1/1] efi_loader: set image_base and image_size to correct values

2018-09-29 Thread Heinrich Schuchardt
From: AKASHI Takahiro Currently, image's image_base points to an address where the image was temporarily uploaded for further loading. Since efi_loader relocates the image to final destination, image_base and image_size should reflect that. This bug was detected in UEFI SCT, "Loaded Image

Re: [U-Boot] Pull request: u-boot-sunxi/master

2018-09-29 Thread Tom Rini
On Fri, Sep 28, 2018 at 10:14:28PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit bbef20d479441b01d62252cf127498c58078b2c3: > > Merge tag 'xilinx-for-v2018.11' of git://git.denx.de/u-boot-microblaze > (2018-09-27

Re: [U-Boot] Please pull u-boot-mpc85xx master

2018-09-29 Thread Tom Rini
On Fri, Sep 28, 2018 at 03:35:52PM +, York Sun wrote: > Tom, > > The following changes since commit 9dc8d155d4e88563f572ee79aab758eb4272f3fd: > > Merge git://git.denx.de/u-boot-imx (2018-09-19 20:35:27 -0400) > > are available in the git repository at: > >

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

2018-09-29 Thread Tom Rini
On Fri, Sep 28, 2018 at 03:04:42PM +, York Sun wrote: > Tom, > > The following changes since commit 9dc8d155d4e88563f572ee79aab758eb4272f3fd: > > Merge git://git.denx.de/u-boot-imx (2018-09-19 20:35:27 -0400) > > are available in the git repository at: > >

[U-Boot] [PATCH 3/5] video: anx6345: don't fail if there's no sleep or reset GPIOs

2018-09-29 Thread Vagrant Cascadian
From: Vasily Khoruzhick If there's no sleep or reset GPIOs, video_bridge_set_active() returns -ENOENT. Don't fail in this case, since these GPIOs are optional. Signed-off-by: Vasily Khoruzhick Signed-off-by: Vagrant Cascadian --- drivers/video/bridge/anx6345.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 2/5] dm: video: bridge: don't fail to activate bridge if sleep gpio is missing

2018-09-29 Thread Vagrant Cascadian
From: Vasily Khoruzhick Sleep gpio is optional, so it's possible to have reset gpio, but no sleep gpio. We shouldn't fail early in case of missing sleep gpio, otherwise we won't deassert reset. Signed-off-by: Vasily Khoruzhick Signed-off-by: Vagrant Cascadian ---

[U-Boot] [PATCH 4/5] sun50i: a64: add support for R_I2C controller

2018-09-29 Thread Vagrant Cascadian
From: Vasily Khoruzhick Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has two groups of pinmuxes on PL bank, so it's called R_I2C. Add support for this I2C controller and the pinmux which doesn't conflict with RSB Signed-off-by: Vasily Khoruzhick Signed-off-by: Vagrant

[U-Boot] [PATCH 5/5] sunxi: add support for Pinebook

2018-09-29 Thread Vagrant Cascadian
From: Vasily Khoruzhick Pinebook is a laptop produced by Pine64, with USB-connected keyboard, USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP bridge from Analogix. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Signed-off-by: Vagrant Cascadian ---

[U-Boot] [PATCH 1/5] mmc: sunxi: add support for automatic delay calibration

2018-09-29 Thread Vagrant Cascadian
From: Vasily Khoruzhick A64 supports automatic delay calibration and Linux driver uses it instead of hardcoded delays. Add support for it to u-boot driver. Fixes eMMC instability on Pinebook Signed-off-by: Vasily Khoruzhick Signed-off-by: Vagrant Cascadian ---

[U-Boot] [PATCH 0/5]

2018-09-29 Thread Vagrant Cascadian
This series adds support for the Pinebook, an allwinner A64 laptop produced by Pine64. It also adds support for mmc delay calibration, and the anx6345 video bridge, used on the Pinebook. Vasily Khoruzhick (5): mmc: sunxi: add support for automatic delay calibration dm: video: bridge: don't

[U-Boot] Please pull u-boot-video/master

2018-09-29 Thread Anatolij Gustschin
Hi Tom, The following changes since commit bbef20d479441b01d62252cf127498c58078b2c3: Merge tag 'xilinx-for-v2018.11' of git://git.denx.de/u-boot-microblaze (2018-09-27 08:29:10 -0400) are available in the Git repository at: git://git.denx.de/u-boot-video.git master for you to fetch

Re: [U-Boot] [PATCH v2] video: Add support for NXP's TDA19988 HDMI encoder

2018-09-29 Thread Anatolij Gustschin
On Fri, 28 Sep 2018 13:49:31 +0100 Liviu Dudau liviu.du...@foss.arm.com wrote: > Add support for the NXP TDA19988 HDMI encoder as used on the Juno > development board from Arm. > > Signed-off-by: Liviu Dudau > --- > Changelog: > - v2: Added MAINTAINERS entry and fixed checkpatch warnings. >

Re: [U-Boot] [PATCH v2] video: Add support for Arm's Mali Display Processors

2018-09-29 Thread Anatolij Gustschin
On Fri, 28 Sep 2018 13:50:53 +0100 Liviu Dudau liviu.du...@foss.arm.com wrote: > Add support for Arm Mali Display Processors DP500, DP550 and DP650. > Only one layer is being used to display the console or boot logo, > even if more layers are supported in the hardware. > > Signed-off-by: Liviu

[U-Boot] [PATCH v2 17/18] test: Reduce the number of tests run with sandbox_flattree

2018-09-29 Thread Simon Glass
We only need to run driver-model tests with this config, since this is the only thing that is different when CONFIG_OF_LIVE is not defined. Filter out the other tests to same time. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to reduce the number of tests run with

[U-Boot] [PATCH v2 18/18] binman: Run tests concurrently

2018-09-29 Thread Simon Glass
At present the tests run one after the other using a single CPU. This is not very efficient. Bring in the concurrencytest module and run the tests concurrently, using one process for each CPU by default. A -P option allows this to be overridden, which is necessary for code-coverage to function

[U-Boot] [PATCH v2 06/18] binman: Reorder tests to put helper functions first

2018-09-29 Thread Simon Glass
At present some helper functions are mixed in with the tests. Tidy this up by moving them to the top. For the few helpers that don't need to be full class members, make them nested functions. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/ftest.py | 249

[U-Boot] [PATCH v2 08/18] test: Simplify the PATH setup

2018-09-29 Thread Simon Glass
Use 'export' to avoid repeating the path setup for each command. Signed-off-by: Simon Glass --- Changes in v2: None test/run | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/run b/test/run index d77a1c371b4..6b73813f9bc 100755 --- a/test/run +++

[U-Boot] [PATCH v2 12/18] binman: Fix up removal of temporary directories

2018-09-29 Thread Simon Glass
At present 'make check' leaves some temporary directories around. Part of this is because we call tools.PrepareOutputDir() twice in some cases, without calling tools.FinaliseOutputDir() in between. Fix this. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/elf_test.py | 5

[U-Boot] [PATCH v2 02/18] sandbox: Unprotect DATA regions in bus tests

2018-09-29 Thread Simon Glass
On my Ubuntu 18.04.1 machine two driver-model bus tests have started failing recently. The problem appears to be that the DATA region of the executable is protected. This does not seem correct, but perhaps there is a reason. To work around it, unprotect the regions in these tests before accessing

[U-Boot] [PATCH v2 14/18] buildman: dtoc: Suppress unwanted output from test

2018-09-29 Thread Simon Glass
There are a few test cases which print output. Suppress this so that tests can run silently in the normal case. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/test.py | 4 +++- tools/dtoc/test_dtoc.py | 6 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v2 16/18] patman: Don't clear progress in tout unless it was used

2018-09-29 Thread Simon Glass
At present calling Uninit() always called ClearProgress() which outputs a \r character as well as spaces to remove any progress information on the line. This can mess up the normal output of binman and other tools. Fix this by outputing this only when progress information has actually been

[U-Boot] [PATCH v2 10/18] test: Tidy up comments and variable name

2018-09-29 Thread Simon Glass
The 'result' variable counts the number of failures in running the tests. Rename it to 'failures' to make this more obvious. Also tidy up a few comments. Signed-off-by: Simon Glass --- Changes in v2: None test/run | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v2 03/18] patman: Handle unicode in _ProjectConfigParser tests

2018-09-29 Thread Simon Glass
With Python 2.7.15rc1, ConfigParser.SafeConfigParser has unfortunately started returning unicode, for unknown reasons. Adjust the code to handle this by converting everything to unicode. We cannot convert things to ASCII since email addresses may be encoded with UTF-8. Signed-off-by: Simon Glass

[U-Boot] [PATCH v2 11/18] binman: Add a default path to libfdt.py

2018-09-29 Thread Simon Glass
This module is often available in the sandbox_spl build created by 'make check'. Use this as a default path so that just typing 'binman -t' (without setting PYTHONPATH) will generally run the tests. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/binman.py | 2 ++

[U-Boot] [PATCH v2 13/18] binman: Separate out testSplBssPad()

2018-09-29 Thread Simon Glass
At present this test runs binman twice, which means that the temporary files from the first run do not get cleaned up. Split this into two tests to fix this problem. Signed-off-by: Simon Glass --- Changes in v2: None tools/binman/ftest.py | 4 +++- 1 file changed, 3 insertions(+), 1

[U-Boot] [PATCH v2 09/18] test: Print the name of each test before running it

2018-09-29 Thread Simon Glass
At present the tests are run without any indication of what is running. For the tests which start with a build this is pretty obvious, but for tools it is not. Add a name for each test we run, and print it before starting the test. Signed-off-by: Simon Glass --- Changes in v2: - Quote @$

[U-Boot] [PATCH v2 07/18] Makefile: Add a 'check' target for make

2018-09-29 Thread Simon Glass
At present we use 'make tests' to run the tests. For many projects 'make check' is more common, so support that as well. Also add some help to 'make help'. Signed-off-by: Simon Glass --- Changes in v2: None Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 15/18] tools: Set an initial value for indir

2018-09-29 Thread Simon Glass
This variable is not documented or set up in the module. Fix this. Signed-off-by: Simon Glass --- Changes in v2: None tools/patman/tools.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/patman/tools.py b/tools/patman/tools.py index 1c9bf4e8100..bf099798e65 100644 ---

[U-Boot] [PATCH v2 04/18] test/py: Fix unicode handling for log filtering

2018-09-29 Thread Simon Glass
At present the unicode filtering seems to get confused at times with this error: UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 32: ordinal not in range(128) It seems to be due to self._nonprint being interpreted as UTF-8. Fix it by using ordinals instead of

[U-Boot] [PATCH v2 05/18] buildman: Make the toolchain test more forgiving

2018-09-29 Thread Simon Glass
The filenames of the toolchains on kernel.org changes every now and then. Fix it for the current change, and make the test use a regex so that it has a better chance of passing with future changes too. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/test.py | 6 -- 1

[U-Boot] [PATCH v2 01/18] test/py: ignore console read exceptions after test failure

2018-09-29 Thread Simon Glass
From: Stephen Warren After a test has failed, test/py drains the U-Boot console log to ensure that any relevant output is captured. At this point, we don't care about detecting any additional errors, since the test is already known to have failed, and U-Boot will be restarted. To ensure that the

[U-Boot] [PATCH v2 00/18] test: Various test refinements and improvements

2018-09-29 Thread Simon Glass
This series includes a number of small changes designed to make tests run more smoothly. The overall goal is that 'make check' runs cleanly without unnecessary output and all temporary files aare cleaned up. Changes in v2: - Quote @$ correctly so that quoted arguments can be passed to run_test -

[U-Boot] [PATCH 3/5] ARM: DTS: Add support for Logic PD OMAP35 Torpedo & SOM-LV

2018-09-29 Thread Adam Ford
The baseboards and SOM's are virtually identical to their DM37 counterparts, but OMAP36/37 and OMAP3 have some minor register differences. With the boards being mostly driven by device trees now, this synchronizes their respective device trees with linux-omap for-next branch destined for 4.20 (or

[U-Boot] [PATCH 4/5] ARM: DTS: Add Logic PD OMAP35/DM37 SOM-LV and OMAP35 Torpedo

2018-09-29 Thread Adam Ford
With the device trees doing most of the work of pin-muxing and DM doing much of the peripheral initialization, this creates new defconfig files for each of the Logic PD variants with proper register settings/pin-muxing. Signed-off-by: Adam Ford diff --git

[U-Boot] [PATCH 5/5] ARM: LogicPD: omap3logic: Remove Torpedo/SOM-LV autodection

2018-09-29 Thread Adam Ford
With there now being four device tree files, and 4 separate defconfig files, the code necessary to determine which board is being used is no longer necessary as the corresponding pin-muxing and board names are determined by the device tree. Signed-off-by: Adam Ford diff --git

[U-Boot] [PATCH 2/5] ARM: DTS: Remove unnecessary u-boot.dtsi options from omap3/36xx

2018-09-29 Thread Adam Ford
With the introduction of the omap serial driver, the need for some of these U-Boot specific modifications is gone. This cleans up this unnneeded stuff. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi

[U-Boot] [PATCH 1/5] ARM: DTS: LogicPD-SOM-LV & Torpedo: Resync DTS with Kernel

2018-09-29 Thread Adam Ford
The device tree entries are from linux-omap's for-next branch destined to me put into 4.20 (or whatever the version is after 4.19) Signed-off-by: Adam Ford diff --git a/arch/arm/dts/logicpd-som-lv-37xx-devkit.dts b/arch/arm/dts/logicpd-som-lv-37xx-devkit.dts index 2428373952..2aca9111c6 100644

Re: [U-Boot] [PATCH 01/15] sandbox: Unprotect DATA regions in bus tests

2018-09-29 Thread Simon Glass
Hi Alex, On 23 September 2018 at 23:34, Alexander Graf wrote: > > > On 24.09.18 00:47, Simon Glass wrote: >> On my Ubuntu 18.04.1 machine two driver-model bus tests have started >> failing recently. The problem appears to be that the DATA region of the > > Are you sure it's .data and not

Re: [U-Boot] [U-Boot, v4, 24/34] board: sama5d4_xplained: add pda detect call at init time

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:47AM +0300, Eugen Hristev wrote: > Call the PDA detection mechanism at boot time so we can have > the pda environment variable ready for use. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 22/34] board: sama5d27_som1_ek: add pda detect call at init time

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:45AM +0300, Eugen Hristev wrote: > Call the PDA detection mechanism at boot time so we can have > the pda environment variable ready for use. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 25/34] configs: sama5d2_xplained: add fdt overlay support

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:48AM +0300, Eugen Hristev wrote: > Add commands for fdt overlay merging. This is required for the boot scripts > that detect PDAs and apply specific overlays to the DTB passed on to kernel. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v4, 09/34] dt-bindings: w1-eeprom: eep_sandbox: create bindings

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:32AM +0300, Eugen Hristev wrote: > Bindings for sandbox onewire eeprom driver > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,v4,02/34] w1: Add 1-Wire gpio driver

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:25AM +0300, Eugen Hristev wrote: > From: Maxime Ripard > > Add a bus driver for bitbanging a 1-Wire bus over a GPIO. > > Signed-off-by: Maxime Ripard > [eugen.hris...@microchip.com: fixed some issues] > Signed-off-by: Eugen Hristev Applied to u-boot/master,

Re: [U-Boot] [U-Boot, v4, 10/34] w1: add command for onewire protocol

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:33AM +0300, Eugen Hristev wrote: > Add basic command for bus information and read for onewire > bus using Dallas 1-Wire protocol. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 26/34] configs: sama5d3_xplained: add fdt overlay support

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:49AM +0300, Eugen Hristev wrote: > Add commands for fdt overlay merging. This is required for the boot scripts > that detect PDAs and apply specific overlays to the DTB passed on to kernel. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v4, 33/34] ARM: dts: at91: sama5d2_ptc: add onewire connector for LCD eeprom

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:56AM +0300, Eugen Hristev wrote: > Add onewire node in device tree for TM series LCDs > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, v4, 16/34] configs: sama5d27_som1_ek: add onewire and eeprom drivers

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:39AM +0300, Eugen Hristev wrote: > SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have > an EEPROM memory for identification. A special GPIO can be used to read > this memory over 1wire protocol. > Enabling one wire and eeprom drivers for this memory.

Re: [U-Boot] [U-Boot, v4, 06/34] W1-EEPROM: add support for Maxim DS24 eeprom families

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:29AM +0300, Eugen Hristev wrote: > From: Maxime Ripard > > Add a driver that supports Maxim 1 wire EEPROMs families > DS24B33 and DS2431. > Can be extended for other families as well. > > Signed-off-by: Maxime Ripard > [eugen.hris...@microchip.com: reworked

Re: [U-Boot] [U-Boot, v4, 30/34] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:53AM +0300, Eugen Hristev wrote: > Add onewire node in device tree for TM series LCDs > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot,v4,01/34] w1: Add 1-Wire uclass

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:24AM +0300, Eugen Hristev wrote: > From: Maxime Ripard > > We might want to use 1-Wire devices connected on boards such as EEPROMs in > U-Boot. > > Provide a framework to be able to do that. > > Signed-off-by: Maxime Ripard > [eugen.hris...@microchip.com:

Re: [U-Boot] [U-Boot, v4, 03/34] dt-bindings: W1: w1-gpio: added bindings for w1-gpio

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:26AM +0300, Eugen Hristev wrote: > Added bindings specification for bitbanged gpio driver for Dallas > one wire protocol > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot,v4,08/34] W1-EEPROM: add sandbox driver

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:31AM +0300, Eugen Hristev wrote: > Add a sandbox driver for a one wire EEPROM memory > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, v4, 17/34] configs: sama5d2_ptc_ek: add onewire and eeprom drivers

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:40AM +0300, Eugen Hristev wrote: > SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have > an EEPROM memory for identification. A special GPIO can be used to read > this memory over 1wire protocol. > Enabling one wire and eeprom drivers for this memory.

Re: [U-Boot] Convert CONFIG_DISABLE_CONSOLE to Kconfig

2018-09-29 Thread Tom Rini
On Mon, Sep 10, 2018 at 12:43:16PM +0200, Christian Gmeiner wrote: > This converts the following to Kconfig: >CONFIG_DISABLE_CONSOLE > > Signed-off-by: Christian Gmeiner Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 15/34] configs: sama5d3_xplained: add onewire and eeprom drivers

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:38AM +0300, Eugen Hristev wrote: > SAMA5D3 SoC can have extra clip boards (PDAs) connected, which have > an EEPROM memory for identification. A special GPIO can be used to read > this memory over 1wire protocol. > Enabling one wire and eeprom drivers for this memory.

Re: [U-Boot] [U-Boot, v4, 05/34] w1: identify devices with w1-eeprom uclass

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:28AM +0300, Eugen Hristev wrote: > When a new device is discovered, this may be a w1 eeprom device. > Attempt to find the proper node and driver from the w1-eeprom subsystem. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 13/34] configs: sandbox: add onewire w1 and sandbox eeprom

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:36AM +0300, Eugen Hristev wrote: > To be able to test Dallas onewire protocol and one wire eeproms driver > and subsystem, add in sandbox defconfig the drivers' config. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,2/2] ARM: da850evm: Pinctrl for da850evm

2018-09-29 Thread Tom Rini
On Sun, Sep 09, 2018 at 08:50:40AM -0500, Adam Ford wrote: > The simple pin controller works for da850, so this patch enables > this to pin-mux the pins defined in the device tree for the da850evm. > > Signed-off-by: Adam Ford > > diff --git a/configs/da850evm_defconfig

Re: [U-Boot] [U-Boot, v4, 14/34] configs: sama5d2_xplained: add onewire and eeprom drivers

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:37AM +0300, Eugen Hristev wrote: > SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have > an EEPROM memory for identification. A special GPIO can be used to read > this memory over 1wire protocol. > Enabling one wire and eeprom drivers for this memory.

Re: [U-Boot] [U-Boot, v4, 12/34] sandbox: DTS: w1: add node for one wire interface on GPIO

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:35AM +0300, Eugen Hristev wrote: > Add a node for the one wire uclass and one wire gpio driver > in sandbox. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] ARM: omap3_logic: Remove non-DM MMC initialization

2018-09-29 Thread Tom Rini
On Tue, Sep 11, 2018 at 10:15:05PM -0500, Adam Ford wrote: > With DM_MMC working for both SPL and U-Boot, this patch removes > the legacy style of initializing the MMC driver. > > Signed-off-by: Adam Ford > > diff --git a/board/logicpd/omap3som/omap3logic.c >

Re: [U-Boot] [U-Boot, v4, 18/34] configs: sama5d4_xplained: add onewire and eeprom drivers

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:41AM +0300, Eugen Hristev wrote: > SAMA5D4 SoC can have extra clip boards (PDAs) connected, which have > an EEPROM memory for identification. A special GPIO can be used to read > this memory over 1wire protocol. > Enabling one wire and eeprom drivers for this memory.

Re: [U-Boot] [U-Boot, V2, 2/2] ARM: DTS: various omap3: Remove cd-inverted from u-boot.dtsi

2018-09-29 Thread Tom Rini
On Sat, Sep 08, 2018 at 08:16:24AM -0500, Adam Ford wrote: > With the omap_mmc driver no longer supporting cd-inverted, this > patch removes all these references since they are not needed. > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, v4, 21/34] board: sama5d3_xplained: add pda detect call at init time

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:44AM +0300, Eugen Hristev wrote: > Call the PDA detection mechanism at boot time so we can have > the pda environment variable ready for use. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 27/34] configs: sama5d2_ptc_ek: add fdt overlay support

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:50AM +0300, Eugen Hristev wrote: > Add commands for fdt overlay merging. This is required for the boot scripts > that detect PDAs and apply specific overlays to the DTB passed on to kernel. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v4, 04/34] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:27AM +0300, Eugen Hristev wrote: > From: Maxime Ripard > > We might want to access data stored onto one wire EEPROMs. > Create a framework to provide a consistent API. > > Signed-off-by: Maxime Ripard > [eugen.hris...@microchip.com: reworked patch] >

Re: [U-Boot] [U-Boot, V2, 1/2] mmc: omap_mmc: Remove invert references

2018-09-29 Thread Tom Rini
On Sat, Sep 08, 2018 at 08:16:23AM -0500, Adam Ford wrote: > With DM_GPIO and DM_MMC translating GPIO_ACTIVE_LOW, any boards > using the 'cd-invert' option will no longer need to do this. This > patch removes the support for 'invert' from the MMC driver. > > Signed-off-by: Adam Ford Applied

Re: [U-Boot] [U-Boot, v4, 5/6] doc: dtbinding: Add file system firmware loader binding document

2018-09-29 Thread Tom Rini
On Fri, Jul 06, 2018 at 04:27:35PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add a document to describe file system firmware loader binding > information. > > Signed-off-by: Tien Fong Chee > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 07/34] dt-bindings: w1-eeprom: ds24xxx: create bindings

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:30AM +0300, Eugen Hristev wrote: > Bindings for Maxim's ds24 onewire EEPROM families driver > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [U-Boot, v4, 28/34] configs: sama5d27_som1_ek: add fdt overlay support

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:51AM +0300, Eugen Hristev wrote: > Add commands for fdt overlay merging. This is required for the boot scripts > that detect PDAs and apply specific overlays to the DTB passed on to kernel. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v4, 2/6] cmd: ubifs: Factor out some checking codes into cmd_ubifs_mount()

2018-09-29 Thread Tom Rini
On Fri, Jul 06, 2018 at 04:26:01PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > cmd_ubifs_mount() function would be called directly instead of > involving whole command machinery for mounting ubifs in > generic firmware loader, so some checking codes need to be factored out

Re: [U-Boot] [U-Boot, v4, 23/34] board: sama5d2_ptc_ek: add pda detect call at init time

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:46AM +0300, Eugen Hristev wrote: > Call the PDA detection mechanism at boot time so we can have > the pda environment variable ready for use. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v4, 32/34] ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:55AM +0300, Eugen Hristev wrote: > Add onewire node in device tree for TM series LCDs > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] cmd: Relocate poweroff under Device access commands

2018-09-29 Thread Tom Rini
On Sun, Sep 09, 2018 at 07:05:57AM -0500, Adam Ford wrote: > Previously poweroff was located under boot. It seems to make more > sense to have it located under the Device access commands. > > Signed-off-by: Adam Ford > > diff --git a/cmd/Kconfig b/cmd/Kconfig > index 13d4c991bf..56f70a7f6e

Re: [U-Boot] [U-Boot, v4, 34/34] ARM: dts: at91: sama5d4_xplained: add onewire connector for LCD eeprom

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:57AM +0300, Eugen Hristev wrote: > Add onewire node in device tree for TM series LCDs > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, v4, 11/34] pinctrl: sandbox: add gpio onewire w1 group

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:34AM +0300, Eugen Hristev wrote: > Add onewire "w1" groups and pin function for onewire GPIOs in sandbox. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] ARM: am3517_evm: Enable TCA6416PW GPIO Expander

2018-09-29 Thread Tom Rini
On Sun, Sep 09, 2018 at 09:21:21AM -0500, Adam Ford wrote: > With DM_I2C and DM_GPIO working, this patch can enable the > GPIO expander on the I2C bus. This GPIO expander is connected > to some of the DIP switches and can now read the status of these > pins. > > Signed-off-by: Adam Ford > >

Re: [U-Boot] [U-Boot, v4, 19/34] board: atmel: add support for pda detection

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:42AM +0300, Eugen Hristev wrote: > This adds the support for PDA detection as common code for > Atmel boards. > Using the one wire interface over GPIO , an EEPROM memory is read > and compared to preprogrammed values for PDA screens TM4300, TM7000 > and TM7000B. >

Re: [U-Boot] ARM: omap3_logic: Remove some manual pin-muxing

2018-09-29 Thread Tom Rini
On Sun, Sep 09, 2018 at 04:12:11PM -0500, Adam Ford wrote: > With the pinctrl function enabled and the device tree setting up > the pins we want to use, this patch removes the manual pinmuxing > except for that which is not done by the device tree and minimal > pins necessary for SPL (like

Re: [U-Boot] [U-Boot, v4, 20/34] board: sama5d2_xplained: add pda detect call at init time

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:43AM +0300, Eugen Hristev wrote: > Call the PDA detection mechanism at boot time so we can have > the pda environment variable ready for use. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] ARM: am3517_evm: Enable Pinctrl

2018-09-29 Thread Tom Rini
On Sun, Sep 09, 2018 at 07:25:30AM -0500, Adam Ford wrote: > The simple pinctrl driver currently available works with the omap3. > Enabling this will use the device tree to automatically set the > pin-muxing for various drivers. > > Signed-off-by: Adam Ford > > diff --git

Re: [U-Boot] [U-Boot, v4, 31/34] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:54AM +0300, Eugen Hristev wrote: > Add onewire node in device tree for TM series LCDs > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot

Re: [U-Boot] [U-Boot, V3] ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL

2018-09-29 Thread Tom Rini
On Wed, Sep 19, 2018 at 04:06:49PM -0500, Adam Ford wrote: > With DM enabled, this patch enables DM_SERIAL and removes > the NS16550 initialization from da850_lowlevel since the driver > will take care of that itself. > > Signed-off-by: Adam Ford Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v4, 29/34] configs: sama5d4_xplained: add fdt overlay support

2018-09-29 Thread Tom Rini
On Tue, Sep 18, 2018 at 10:35:52AM +0300, Eugen Hristev wrote: > Add commands for fdt overlay merging. This is required for the boot scripts > that detect PDAs and apply specific overlays to the DTB passed on to kernel. > > Signed-off-by: Eugen Hristev Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v4, 6/6] common: Generic loader for file system

2018-09-29 Thread Tom Rini
On Fri, Jul 06, 2018 at 04:28:03PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is file system generic loader which can be used to load > the file image from the storage into target such as memory. > The consumer driver would then use this loader to program whatever, >

Re: [U-Boot] [U-Boot, v4, 3/6] block: Add a function to find block device descriptor

2018-09-29 Thread Tom Rini
On Fri, Jul 06, 2018 at 04:26:36PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Add a function to find the block device descriptor of the parent > device. > > Signed-off-by: Tien Fong Chee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [U-Boot] [U-Boot, 1/2] ARM: da850evm: Enable CMD_DM for da850evm

2018-09-29 Thread Tom Rini
On Sun, Sep 09, 2018 at 08:50:39AM -0500, Adam Ford wrote: > With DM enabled, this patch enables the 'dm' command to access > the dm tree, uclass and devres. > > Signed-off-by: Adam Ford > > diff --git a/configs/da850evm_defconfig b/configs/da850evm_defconfig > index 0369e93eb2..812de499ba

Re: [U-Boot] [U-Boot, v4, 4/6] doc: Add new doc for file system firmware loader driver model

2018-09-29 Thread Tom Rini
On Fri, Jul 06, 2018 at 04:27:08PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Provide information about > > - overview of file system firmware loader driver model > - describe storage device and partition in device tree source > - describe fie system firmware loader API

Re: [U-Boot] [U-Boot, v4, 1/6] cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount()

2018-09-29 Thread Tom Rini
On Fri, Jul 06, 2018 at 04:25:12PM +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > cmd_ubifs_umount() function would be called directly instead of involving > whole command machinery in generic firmware loader, so checking on > ubifs_initialized status need to be done in

Re: [U-Boot] [RFC/RESEND PATCH v1 2/2] board: ks2: move uinitrd fixup logic inside ft_board_setup_ex

2018-09-29 Thread Tom Rini
On Thu, Sep 27, 2018 at 10:01:48AM +0200, Nicholas Faustini wrote: > The uinitrd fixup logic should be executed after the FDT /chosen > node has been properly populated by fdt_initrd() > > Signed-off-by: Nicholas Faustini > Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP

Re: [U-Boot] [RFC/RESEND PATCH v1 1/2] fdt: add call to ft_board_setup_ex() for ks2 boards

2018-09-29 Thread Tom Rini
On Thu, Sep 27, 2018 at 10:01:47AM +0200, Nicholas Faustini wrote: > When updating the board FDT, some of the operations > are performed by ft_board_setup_ex() and should be > executed also by the fdt command. > > Signed-off-by: Nicholas Faustini Reviewed-by: Tom Rini -- Tom signature.asc

[U-Boot] [PATCH] warp7: configs: add CONFIG_FIT option

2018-09-29 Thread Pierre-Jean Texier
This enable FIT image support. Signed-off-by: Pierre-Jean Texier --- configs/warp7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig index 15a6673..919d484 100644 --- a/configs/warp7_defconfig +++ b/configs/warp7_defconfig @@ -8,6

[U-Boot] [PATCH] warp7: configs: add CONFIG_FIT option

2018-09-29 Thread Pierre-Jean Texier
This enable FIT image support. Signed-off-by: Pierre-Jean Texier --- configs/warp7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig index 15a6673..919d484 100644 --- a/configs/warp7_defconfig +++ b/configs/warp7_defconfig @@ -8,6

[U-Boot] [PATCH v12 7/8] cmd: ubi: clean the partition handling

2018-09-29 Thread Miquel Raynal
UBI should not mess with MTD partitions, now that the partitions are handled in a clean way, clean the ubi command and avoid using this uneeded extra-glue to reference the devices. Signed-off-by: Miquel Raynal Reviewed-by: Stefan Roese Reviewed-by: Boris Brezillon --- cmd/Kconfig | 2 ++

[U-Boot] [PATCH v12 8/8] cmd: mtdparts: describe as legacy

2018-09-29 Thread Miquel Raynal
The 'mtdparts' command is not needed anymore. While the environment variable is still valid (and useful, along with the 'mtdids' one), the command has been replaced by 'mtd' which is much more close to the MTD stack and do not add its own specific glue. Signed-off-by: Miquel Raynal Reviewed-by:

[U-Boot] [PATCH v12 4/8] mtd: uboot: search for an equivalent MTD name with the mtdids

2018-09-29 Thread Miquel Raynal
Using an MTD device (resp. partition) name in mtdparts is simple and straightforward. However, for a long time already, another name was given in mtdparts to indicate a device (resp. partition) so the "mtdids" environment variable was created to do the match. Let's create a function that, from an

[U-Boot] [PATCH v12 6/8] cmd: mtd: add 'mtd' command

2018-09-29 Thread Miquel Raynal
There should not be a 'nand' command, a 'sf' command and certainly not a new 'spi-nand' command. Write a 'mtd' command instead to manage all MTD devices/partitions at once. This should be the preferred way to access any MTD device. Signed-off-by: Miquel Raynal Acked-by: Jagan Teki Reviewed-by:

[U-Boot] [PATCH v12 5/8] mtd: mtdpart: implement proper partition handling

2018-09-29 Thread Miquel Raynal
Instead of collecting partitions in a flat list, create a hierarchy within the mtd_info structure: use a partitions list to keep track of the partitions of an MTD device (which might be itself a partition of another MTD device), a pointer to the parent device (NULL when the MTD device is the root

[U-Boot] [PATCH v12 3/8] mtd: mtdpart: add a generic mtdparts-like parser

2018-09-29 Thread Miquel Raynal
The current parser is very specific to U-Boot mtdparts implementation. It does not use MTD structures like mtd_info and mtd_partition. Copy and adapt the current parser in drivers/mtd/mtd-uclass.c (to not break the current use of mtdparts.c itself) and write some kind of a wrapper around the

[U-Boot] [PATCH v12 0/8] SPI-NAND support (third batch)

2018-09-29 Thread Miquel Raynal
During the last months, Boris Brezillon shared his work to support serial flashes within Linux. First, he delivered (and merged) a new layer called spi-mem. He also initiated in Linux MTD subsystem the move of all 'raw' NAND related code to a raw/ subdirectory, adding at the same time a NAND core

  1   2   >