[PATCH v3 3/5] board: ti: beagleboneai: add initial support

2020-01-04 Thread Caleb Robey
These are necessities for beaglebone ai boot. There is the addition of CONFIG_SUPPORT_EMMC_CONFIG to the Kconfig file. This is present upstream but not in 19.01 yet. Signed-off-by: Jason Kridner Signed-off-by: Caleb Robey --- v2 Changes: - board.c changes that were present in previous

[PATCH v3 5/5] board: ti: beagleboneai: enable in am57xx_evm_defconfig

2020-01-04 Thread Caleb Robey
Adding the configurations to the evm_defconfig file Signed-off-by: Jason Kridner Signed-off-by: Caleb Robey --- v2 Changes: - addition of CONFIG_PREBOOT for console configuration - removal of changes that hardcoded CONSOLEDEV value configs/am57xx_evm_defconfig | 3 ++-

[RFC PATCH 5/5] board: Add new Samsung "stemmy" board based on ST-Ericsson U8500

2020-01-04 Thread Stephan Gerhold
The ST-Ericsson U8500 SoC has been used in mass-production for some Android smartphones released around 2012. In particular, Samsung has released more than 5 different smartphones based on U8500, e.g. - Samsung Galaxy S III mini (GT-I8190) "golden" - Samsung Galaxy S Advance (GT-I9070)

[RFC PATCH 2/5] arm: dts: Import device tree for ST-Ericsson Ux500

2020-01-04 Thread Stephan Gerhold
from https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git/ tag "ux500-armsoc-v5.6-2" commit 224bf0fe7292 ("ARM: dts: ux500: samsung-golden: Add Bluetooth") (queued for merge in Linux 5.6) Signed-off-by: Stephan Gerhold --- I ignored all the checkpatch complaints in this

[RFC PATCH 3/5] arm: Add support for ST-Ericsson U8500 SoC

2020-01-04 Thread Stephan Gerhold
The NovaThor U8500 SoC was released by ST-Ericsson in 2011. It was used for some development boards like the CALAO Systems Snowball SBC, but mass production was primarily for Android smartphones like the Samsung Galaxy S III mini. Previous support for U8500 was removed in commit 68282f55b846

[RFC PATCH 4/5] MAINTAINERS: Add ARM U8500

2020-01-04 Thread Stephan Gerhold
Add myself as maintainer for ST-Ericsson U8500 SoC to MAINTAINERS. Linus Walleij usually reviews all Ux500 related patches, so add him as a reviewer. Cc: Linus Walleij Signed-off-by: Stephan Gerhold --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS

[RFC PATCH 1/5] timer: Add driver for Nomadik Multi Timer Unit (MTU)

2020-01-04 Thread Stephan Gerhold
The Nomadik Multi Timer Unit (MTU) provides 4 decrementing free-running timers. It is used in ST-Ericsson Ux500 SoCs. The driver uses the first timer to implement UCLASS_TIMER. Signed-off-by: Stephan Gerhold --- drivers/timer/Kconfig | 9 +++ drivers/timer/Makefile|

[RFC PATCH 0/5] arm: Restore minimal support for ST-Ericsson U8500 SoC

2020-01-04 Thread Stephan Gerhold
This patch series restores minimal U-Boot support for the ST-Ericsson NovaThor U8500 SoC. Previous support for U8500 was removed in commit 68282f55b846 ("arm: Remove unused ST-Ericsson u8500 arch") since none of the boards were converted to generic boards before the deadline. The motivation for

Re: SPI NOR stops working if I put Env in MMC

2020-01-04 Thread Mauro Condarelli
Answering my own question (with some help from IRC): It turns out it will be needed to issue "sf probe" to initialize SPI Flash subsystem. This is not a problem... if you know you need it. Is there a reason (that I cannot, at moment, see) or would be better to call

Re: pull request u-boot-fsl-qoriq to next branch

2020-01-04 Thread Tom Rini
On Fri, Jan 03, 2020 at 04:59:03AM +, Priyanka Jain wrote: > Dear Tom, > > > > Please find my pull-request for u-boot-fsl-qoriq/master to next branch > >

[PATCH v3 1/5] board: ti: beagleboneai: emmc read changes

2020-01-04 Thread Caleb Robey
BeagleBoard.org BeagleBone AI rev A1 does not include a board identifier I2C EEPROM due to a design oversight. These boards have been put into production and are generally available now. The board identifier information, however, has been included in the second eMMC linear boot partition

[PATCH v3 4/5] board: ti: beagleboneai: add dts file

2020-01-04 Thread Caleb Robey
From: Jason Kridner BeagleBoard.org BeagleBone AI is an open source hardware single board computer based on the Texas Instruments AM5729 SoC featuring dual-core 1.5GHz Arm Cortex-A15 processor, dual-core C66 digital signal processor (DSP), quad-core embedded vision engine (EVE), Arm Cortex-M4

Re: commit "dm: spi: Avoid setting the speed with every transfer"

2020-01-04 Thread Rasmus Villemoes
On 28/12/2019 03.27, Simon Glass wrote: > Hi Rasmus, > > On Sat, 14 Dec 2019 at 16:27, Rasmus Villemoes > wrote: >> >> Hi >> >> I'm wondering how commit 60e2809a84 (dm: spi: Avoid setting the speed >> with every transfer) works. AFAIU, the currently selected speed is a >> property of the SPI

[PATCH v3 2/5] board: ti: beagleboneai: IODELAY and pinmux

2020-01-04 Thread Caleb Robey
This patch configures the pinmux settings for the BeagleBone AI after the emmc read has completed. Signed-off-by: Jason Kridner Signed-off-by: Caleb Robey Cc: Robert Nelson --- board/ti/am57xx/mux_data.h | 264 + 1 file changed, 264 insertions(+) diff

Re: [PATCH 0/4] arm: mxs: mxs_set_gpmiclk

2020-01-04 Thread Rasmus Villemoes
On 03/01/2020 13.42, Stefano Babic wrote: > Hi Rasmus, > > On 27/09/19 10:33, Rasmus Villemoes wrote: >> On 12/09/2019 11.17, Rasmus Villemoes wrote: >>> While trying to implement an mxs_set_gpmiclk() I stumbled on a few minor >>> things. >>> >>> Rasmus Villemoes (4): >>> arm: mxs: fix

[PATCH v3 0/5] board: ti: beagleboneai: add initial support

2020-01-04 Thread Caleb Robey
The following patches 1) Introduce the emmc based board detection for BBAI due to a lack of eeprom onboard the BBAI (to be fixed in future revision of the board). 2) Add structures in the pinctrl to detect the beaglebone AI and add checks for the beaglebone AI in the board detection scheme 3)

Re: [PATCH 0/9] efi_loader: rework bootefi/bootmgr

2020-01-04 Thread Heinrich Schuchardt
On 4/19/19 5:22 AM, AKASHI Takahiro wrote: There are several reasons that I want to rework/refactor bootefi command as well as bootmgr: * Some previous commits on bootefi.c have made the code complicated and a bit hard to understand. * do_bootefi_exec() would better be implemented using

would it be feasible to enable GPT support for clearfrog at source?

2020-01-04 Thread ѽ҉ᶬḳ℠
The source conf for clearfrog appears absent of GPT support albeit there should not be space concern for that target, if that is the reason. Owning such device I took me some effort and time to figure out why the device would not boot from a GPT partition but only from legacy MBR. Thus I would

Problems with rock64 after enabling CONFIG_MISC_INIT_R

2020-01-04 Thread Peter Hjalmarsson
Hi, After the following commit I have problems with my rock64 SBCs: commit 893b4d0df4deb802480aeb606d3b0aa2d0ea27d8 Author: Ben Wolsieffer Date: Tue Dec 3 00:24:31 2019 -0500 rockchip: rk3328: rock64: enable CONFIG_MISC_INIT_R This commit in current form results in identical cpuid and

Re: [PATCH 1/1] efi_loader: define all known warning status codes

2020-01-04 Thread Fabio Estevam
Hi Heinrich, On Sat, Jan 4, 2020 at 8:25 AM Heinrich Schuchardt wrote: > > Of all warning status codes up to now only EFI_WARN_DELETE_FAILURE is > defined. > > The patch adds the missing definitions for later usage. > > Signed-off-by: Heinrich Schuchardt > --- > .mailmap | 1 + >

Re: [PATCH] arm: dts: bcm283x: Allow UARTs to work before relocation

2020-01-04 Thread Tom Rini
On Tue, Dec 31, 2019 at 02:28:19PM -0700, Simon Glass wrote: > Hi Matthias, > > On Tue, 10 Dec 2019 at 02:43, Matthias Brugger wrote: > > > > Hi Simon, > > > > On 02/12/2019 16:45, Tom Rini wrote: > > > On Sun, Dec 01, 2019 at 07:33:56PM -0700, Simon Glass wrote: > > > > > >> At present the

Re: i2c_class_init problem

2020-01-04 Thread Michael Nazzareno Trimarchi
Hi Never mind. I figure it out CONFIG_SPL_DM_SEQ_ALIAS=y Michael On Sat, Jan 4, 2020 at 1:44 PM Michael Nazzareno Trimarchi wrote: > > Hi Simon > > U-Boot SPL 2020.01-rc5-00071-g82f6f6e4e4-dirty (Jan 04 2020 - 13:39:54 +0100) > spl_early_init > i2c_uclass_init: highest alias id is 2 >

Re: [PATCH v1] colibri_imx7: disable HAB and CAAM support

2020-01-04 Thread Igor Opaniuk
Hi Stefano, On Fri, Jan 3, 2020 at 1:23 PM Stefano Babic wrote: > > Hi Igor, > > On 27/12/19 10:23, Igor Opaniuk wrote: > > Hi Breno, > > > > On Mon, Dec 23, 2019 at 7:07 PM Breno Matheus Lima > > wrote: > >> > >> Hi Igor, > >> > >> Em qui., 19 de dez. de 2019 às 07:55, Igor Opaniuk > >>

Re: Please pull u-boot-video

2020-01-04 Thread Tom Rini
On Thu, Jan 02, 2020 at 08:54:51PM +0100, Anatolij Gustschin wrote: > Hi Tom, > > please pull more video fixes for v2020.01. > > gitlab CI: > https://gitlab.denx.de/u-boot/custodians/u-boot-video/pipelines/1736 > Travis-CI: https://travis-ci.org/vdsao/u-boot-video/builds/631914464 > > Thanks,

Re: [PATCH v1] mailmap: Update mail address for Igor Opaniuk

2020-01-04 Thread Tom Rini
On Tue, Dec 17, 2019 at 02:48:54PM +0200, Igor Opaniuk wrote: > My address at Linaro doesn't exist anymore, so people > keep getting mail delivery error responses. Map this address > to the actual one. > > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov Applied to u-boot/master,

i2c_class_init problem

2020-01-04 Thread Michael Nazzareno Trimarchi
Hi Simon U-Boot SPL 2020.01-rc5-00071-g82f6f6e4e4-dirty (Jan 04 2020 - 13:39:54 +0100) spl_early_init i2c_uclass_init: highest alias id is 2 i2c_post_bind: i2c@30a2, req_seq=-1 i2c_post_bind: i2c@30a2, new req_seq=3 i2c_post_bind: i2c@30a4, req_seq=-1 i2c_post_bind: i2c@30a4, new

Re: [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2020-01-04 Thread Adam Ford
On Fri, Jan 3, 2020 at 10:59 AM Tom Rini wrote: > > On Fri, Jan 03, 2020 at 05:50:38PM +0100, Bartosz Golaszewski wrote: > > pt., 3 sty 2020 o 17:01 Adam Ford napisał(a): > > > > > > On Thu, Nov 14, 2019 at 9:10 AM Bartosz Golaszewski wrote: > > > > > > > > From: Bartosz Golaszewski > > > > >

Re: [PATCH] arm: dts: bcm283x: Allow UARTs to work before relocation

2020-01-04 Thread Simon Glass
Hi Tom, On Thu, 2 Jan 2020 at 16:11, Tom Rini wrote: > > On Tue, Dec 31, 2019 at 02:28:19PM -0700, Simon Glass wrote: > > Hi Matthias, > > > > On Tue, 10 Dec 2019 at 02:43, Matthias Brugger wrote: > > > > > > Hi Simon, > > > > > > On 02/12/2019 16:45, Tom Rini wrote: > > > > On Sun, Dec 01,

[PATCH v2 01/19] i2c: designware_i2c: Add more registers

2020-01-04 Thread Simon Glass
Some versions of this peripherals provide more control of the bus behaviour. Add definitions for these registers. Signed-off-by: Simon Glass Reviewed-by: Ley Foon Tan Reviewed-by: Jun Chen --- Changes in v2: - Fix 'previde' typo drivers/i2c/designware_i2c.h | 13 - 1 file

[PATCH v2 19/19] i2c: Update drivers to use enum for speed

2020-01-04 Thread Simon Glass
Convert the obvious uses of i2c bus speeds to use the enum. Use livetree access for code changes. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/exynos_hs_i2c.c | 4 ++-- drivers/i2c/fsl_i2c.c| 3 ++- drivers/i2c/i2c-cdns.c | 2 +- drivers/i2c/i2c-uclass.c

Re: [PATCH v5 6/7] rockchip: Add Single boot image (with binman, pad_cat)

2020-01-04 Thread Jagan Teki
On Tue, Dec 31, 2019 at 1:34 PM Matwey V. Kornilov wrote: > > вт, 31 дек. 2019 г. в 10:54, Matwey V. Kornilov : > > > > пн, 30 дек. 2019 г. в 11:28, Jagan Teki : > > > > > > All rockchip platforms support TPL or SPL-based bootloader > > > in mainline with U-Boot proper as final stage. For each >

Re: [PATCH 00/22] imx: add i.MX8MP support

2020-01-04 Thread Fabio Estevam
Hi Peng, On Mon, Dec 30, 2019 at 10:31 PM Peng Fan wrote: > This is no public AT-F and ddr firmware for this board now. We are at early > stage currently. until NXP software release, there will be public AT-F and > ddr firmware. Ok, understood, but please add a README file when these

Re: qemu_arm64_defconfig: PCI autoconfig fails for qemu-system-aarch64 -m 4G

2020-01-04 Thread Tuomas Tynkkynen
Hi Heinrich, On Wed, 1 Jan 2020 at 19:58, Heinrich Schuchardt wrote: > > Dear all, > > I want to run qemu_arm64_defconfig with 4G. > > qemu-system-aarch64 -machine virt -m 4G -smp cores=2 \ > -bios u-boot.bin -cpu cortex-a53 -nographic -gdb tcp::1234 \ > -netdev

[PATCH v2 16/19] i2c: kona_i2c: Update to use standard enums for speed

2020-01-04 Thread Simon Glass
Update this driver to use the new standard enums for speed. Note: This driver needs to move to driver model. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/kona_i2c.c | 28 +++- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git

Re: [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2020-01-04 Thread Bartosz Golaszewski
pt., 3 sty 2020 o 17:01 Adam Ford napisał(a): > > On Thu, Nov 14, 2019 at 9:10 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > struct mmc_config & struct mmc don't need to be exported over platform > > data, but can instead be private in the driver. > > > > Remove struct

[PATCH v2 11/19] i2c: designware_i2c: Rewrite timing calculation

2020-01-04 Thread Simon Glass
At present the driver can end up with timing parameters which are slightly faster than those expected. It is possible to optimise the parameters to get the best possible result. Create a new function to handle the timing calculation. This uses a table of defaults for each speed mode rather than

[PATCH v2 10/19] i2c: designware_i2c: Put hold config in a struct

2020-01-04 Thread Simon Glass
Create a struct to hold the three timing parameters. This will make it easier to move these calculations into a separate function in a later patch. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/designware_i2c.c | 82 1 file changed, 55

Re: [PATCH] pico-imx7d: Convert to DM_ETH

2020-01-04 Thread Joris Offouga
Hi Stefano, Sorry for the delay, Le 28/12/2019 à 12:31, Stefano Babic a écrit : Hi Joris, On 08/12/19 18:02, Joris Offouga wrote: Signed-off-by: Joris Offouga --- board/technexion/pico-imx7d/pico-imx7d.c | 46 configs/pico-dwarf-imx7d_defconfig | 5 +++

Re: [PATCH 1/3] riscv: Add place-holder for FU540 clk and gpio

2020-01-04 Thread Bin Meng
Hi Pragnesh, On Tue, Dec 31, 2019 at 2:31 PM Pragnesh Patel wrote: > > Added FU540 place-holder so that SoC specific values > will be kept here. It looks only clk.h is the placer-holder. gpio.h is not. Can you please split the gpio.h changes to another patch? > > Signed-off-by: Pragnesh Patel

Re: [PATCH] arm: dts: bcm283x: Allow UARTs to work before relocation

2020-01-04 Thread Simon Glass
Hi Tom, On Thu, 2 Jan 2020 at 19:27, Simon Glass wrote: > > Hi Tom, > > On Thu, 2 Jan 2020 at 16:11, Tom Rini wrote: > > > > On Tue, Dec 31, 2019 at 02:28:19PM -0700, Simon Glass wrote: > > > Hi Matthias, > > > > > > On Tue, 10 Dec 2019 at 02:43, Matthias Brugger wrote: > > > > > > > > Hi

ATF + u-boot imx8mm combination

2020-01-04 Thread Michael Nazzareno Trimarchi
HI all I'm trying to work on some imx8mm mainline but I understand that I miss some of the information needed. I would like to work and play with power domain. Can I know where to find all the information to build a version with a valid combination? Michael -- | Michael Nazzareno Trimarchi

Re: [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2020-01-04 Thread Tom Rini
On Fri, Jan 03, 2020 at 05:50:38PM +0100, Bartosz Golaszewski wrote: > pt., 3 sty 2020 o 17:01 Adam Ford napisał(a): > > > > On Thu, Nov 14, 2019 at 9:10 AM Bartosz Golaszewski wrote: > > > > > > From: Bartosz Golaszewski > > > > > > struct mmc_config & struct mmc don't need to be exported over

[PATCH v2 12/19] i2c: designware_i2c: Add spike supression

2020-01-04 Thread Simon Glass
Some versions of this peripheral include a spike-suppression phase of the bus. Add support for this. Signed-off-by: Simon Glass --- Changes in v2: - Add a few more clean-up patches for i2c drivers/i2c/designware_i2c.c | 10 +- drivers/i2c/designware_i2c.h | 2 ++

Re: Pull request: u-boot-rockchip-20191231

2020-01-04 Thread Tom Rini
On Thu, Jan 02, 2020 at 04:34:23PM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the rockchip updates/fixes: > - Fix latest mainline kernel for rk3308 > - Update rk3288-evb config to suport OP-TEE > - Fix for firefly-px30 DEBUG_UART channel and make it standalone > - Script make_fit_atf add

[PATCH v2 05/19] i2c: designware_i2c: Use an enum for selected speed mode

2020-01-04 Thread Simon Glass
Group these #defines into an enum to make it easier to understand the relationship between them. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/designware_i2c.c | 2 +- drivers/i2c/designware_i2c.h | 10 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 1/5] video: x86: Enable 32-bit graphics by default

2020-01-04 Thread Bin Meng
Hi Simon, On Fri, Jan 3, 2020 at 10:30 AM Simon Glass wrote: > > Hi Anatolij, > > On Thu, 2 Jan 2020 at 07:34, Anatolij Gustschin wrote: > > > > Hi Simon, > > > > On Fri, 20 Dec 2019 18:10:33 -0700 > > Simon Glass s...@chromium.org wrote: > > > > > Most x86 boards that use video make use of

[PATCH v2 08/19] i2c: designware_i2c: Read device-tree properties

2020-01-04 Thread Simon Glass
The i2c controller defines a few timing properties. Read these in and store them for use by the driver. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/designware_i2c.c | 8 ++-- drivers/i2c/designware_i2c.h | 15 +++ drivers/i2c/designware_i2c_pci.c |

Pull request: u-boot-rockchip-20191231

2020-01-04 Thread Kever Yang
Hi Tom, Please pull the rockchip updates/fixes: - Fix latest mainline kernel for rk3308 - Update rk3288-evb config to suport OP-TEE - Fix for firefly-px30 DEBUG_UART channel and make it standalone - Script make_fit_atf add python3 support - Fix rk3328 timer with correct COUNTER_FREQUENCY - Fix

Re: [PATCH 1/1] trace: provide Sphinx style comments

2020-01-04 Thread Simon Glass
On Wed, 1 Jan 2020 at 07:52, Heinrich Schuchardt wrote: > > Correct some function comments. Convert to Sphinx style. > > Signed-off-by: Heinrich Schuchardt > --- > lib/trace.c | 54 +++-- > 1 file changed, 36 insertions(+), 18 deletions(-) >

Re: [PATCH 0/4] arm: mxs: mxs_set_gpmiclk

2020-01-04 Thread Stefano Babic
Hi Rasmus, On 27/09/19 10:33, Rasmus Villemoes wrote: > On 12/09/2019 11.17, Rasmus Villemoes wrote: >> While trying to implement an mxs_set_gpmiclk() I stumbled on a few minor >> things. >> >> Rasmus Villemoes (4): >> arm: mxs: fix register definitions for clkctrl_gpmi and clkctrl_sspX >>

Re: [PATCH 8/8] ARM: dts: imx6qdli-icore: Add fec phy-handle

2020-01-04 Thread Jagan Teki
Hi Stefano, On Fri, Jan 3, 2020 at 5:03 PM Stefano Babic wrote: > > Hi Jagan, Michael, > > On 31/12/19 07:21, Jagan Teki wrote: > > On Mon, Dec 30, 2019 at 10:55 PM Michael Nazzareno Trimarchi > > wrote: > >> > >> Hi > >> > >> On Mon, Dec 30, 2019 at 1:04 PM Jagan Teki > >> wrote: > >>> > >>>

Re: [PATCH 01/11] clk: Always use the supplied struct clk

2020-01-04 Thread Jagan Teki
+ Lukasz On Wed, Jan 1, 2020 at 4:12 AM Sean Anderson wrote: > > CCF clocks should always use the struct clock passed to their methods for > extracting the driver-specific clock information struct. Previously, many > functions would use the clk->dev->priv if the device was bound. This could >

Re: [PATCH] tools: .gitignore: add asn1_compiler

2020-01-04 Thread Tom Rini
On Sun, Dec 29, 2019 at 01:44:18PM +0100, Dario Binacchi wrote: > Add the tool to the ignore list to prevent being marked as unversioned. > > Signed-off-by: Dario Binacchi > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 1/1] efi_loader: define all known warning status codes

2020-01-04 Thread Heinrich Schuchardt
Of all warning status codes up to now only EFI_WARN_DELETE_FAILURE is defined. The patch adds the missing definitions for later usage. Signed-off-by: Heinrich Schuchardt --- .mailmap | 1 + include/efi.h | 8 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.mailmap

Re: [PATCH] dm: Add a debug message when devices are skipped pre-reloc

2020-01-04 Thread Bin Meng
On Wed, Dec 25, 2019 at 12:52 PM Sean Anderson wrote: > > This adds a message to lists_bind_fdt when it skips initializing a device > pre-relocation. I've had a couple errors where a device didn't initialize > properly because one of its dependencies was missing. > > Signed-off-by: Sean Anderson

Re: [PATCH v2 1/1] travis-ci: provide env__efi_fit_tftp_file

2020-01-04 Thread Heinrich Schuchardt
On 1/2/20 6:05 PM, Stephen Warren wrote: On 12/31/19 3:42 AM, Cristian Ciocaltea wrote: On Mon, Dec 30, 2019 at 09:03:38PM +0100, Heinrich Schuchardt wrote: On 12/30/19 8:32 PM, Stephen Warren wrote: On 12/30/19 12:05 PM, Heinrich Schuchardt wrote: On 12/30/19 5:38 PM, Stephen Warren wrote:

[PATCH 1/1] efi_loader: free load options after execution

2020-01-04 Thread Heinrich Schuchardt
When be launch a binary via bootefi the bootargs environment variable is used to set the load options in the loaded image protocol. Free memory allocated for load options when the UEFI binary exits. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 53

Re: [PATCH] [ARM] arch/arm/Kconfig: typo/grammar/punctuation fixes

2020-01-04 Thread Tom Rini
On Wed, Dec 25, 2019 at 06:34:07AM -0500, Robert P. J. Day wrote: > Various (mostly minor) spelling, grammar and punctuation tweaks for > arch/arm/Kconfig. > > Signed-off-by: Robert P. J. Day > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index f9dab073ea..36c9c2fecd 100644 Applied to

[PATCH 1/3] mx7dsabresd: Fix the pmic_get() parameter in the DM case

2020-01-04 Thread sbabic
> When pmic_get() is used with DM the first parameter must be > the complete node name plus the unit address, so fix it > accordingly. > Reported-by: Igor Opaniuk > Signed-off-by: Fabio Estevam > Reviewed-by: Peng Fan Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH 2/4] arm: mxs: fix comments in arch_cpu_init to match the code

2020-01-04 Thread sbabic
> The comment says to clear the bypass bit, but in fact it sets it, thus > selecting ref_xtal. And the next line of code does not set the divider > to 12, but to (the reset value of) 1. > Signed-off-by: Rasmus Villemoes Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic --

Re: [PATCH 1/5] video: x86: Enable 32-bit graphics by default

2020-01-04 Thread Simon Glass
Hi Bin, On Thu, 2 Jan 2020 at 19:41, Bin Meng wrote: > > Hi Simon, > > On Fri, Jan 3, 2020 at 10:30 AM Simon Glass wrote: > > > > Hi Anatolij, > > > > On Thu, 2 Jan 2020 at 07:34, Anatolij Gustschin wrote: > > > > > > Hi Simon, > > > > > > On Fri, 20 Dec 2019 18:10:33 -0700 > > > Simon Glass

[PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7

2020-01-04 Thread sbabic
> In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata > point of view) to use thumb2 by default to save space. > Cc: Stefano Babic > Cc: Fabio Estevam > Signed-off-by: Tom Rini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic

[PATCH] tools: imx8m_image: Change source path for DDR firmware to build dir

2020-01-04 Thread sbabic
> From: Frieder Schrempf > The DDR firmware binaries are not part of the U-Boot source code, so > we should look for them in the build directory, where they need to be > copied to before building U-Boot. > The ATF binary is already fetched from the build directory, but the > README files for the

[PATCH 3/3] mx6slevk: Fix the pmic_get() parameter in the DM case

2020-01-04 Thread sbabic
> When pmic_get() is used with DM the first parameter must be > the complete node name plus the unit address, so fix it > accordingly. > Reported-by: Igor Opaniuk > Signed-off-by: Fabio Estevam > Reviewed-by: Peng Fan Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic --

[PATCH v1] mach-imx: nandbcb: improve cmd help

2020-01-04 Thread sbabic
> From: Igor Opaniuk > Add info about supported i.MX7, improve details the usage of > bcbonly subcommand. > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic --

[PATCH] imx8mm_evk: Adjust the environment for booting a mainline kernel

2020-01-04 Thread sbabic
> Adjust the environment for booting a mainline kernel by default. > Signed-off-by: Fabio Estevam > Reviewed-by: Peng Fan Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH] ddr: imx8m: Return error values from LPDDR4 training

2020-01-04 Thread sbabic
> From: Frieder Schrempf > In cases when the same SPL should run on boards with i.MX8MM, that > differ in DDR configuration, it is necessary to try different > parameters and check if the training done by the firmware suceeds or > not. > Therefore we return the DDR training/initialization success

[PATCH 2/3] mx6sllevk: Fix the pmic_get() parameter in the DM case

2020-01-04 Thread sbabic
> When pmic_get() is used with DM the first parameter must be > the complete node name plus the unit address, so fix it > accordingly. > Reported-by: Igor Opaniuk > Signed-off-by: Fabio Estevam > Reviewed-by: Peng Fan Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH 3/4] arm: mxs: be more careful when enabling gpmi_clk

2020-01-04 Thread sbabic
> The data sheet says that the DIV field cannot change while the CLKGATE > bit is set or modified. So do it a little more carefully, by first > clearing the bit, waiting for that to appear, then setting the DIV > field. > Signed-off-by: Rasmus Villemoes Applied to u-boot-imx, -next, thanks !

[PATCH v3] mach-imx: bootaux: elf firmware support

2020-01-04 Thread sbabic
> From: Igor Opaniuk > Currently imx-specific bootaux command doesn't support ELF format > firmware for Cortex-M4 core. > This patches introduces a PoC implementation of handling elf firmware > (load_elf_image_phdr() was copy-pasted from elf.c just for PoC). > ELF64 binaries isn't supported yet.

[U-Boot] [PATCH 1/4] arm: mxs: fix register definitions for clkctrl_gpmi and clkctrl_sspX

2020-01-04 Thread sbabic
> I tried clearing a bit by writing to hw_clkctrl_gpmi_clr, then > busy-waiting for it to actually clear. My board hung. The data sheet > agrees, these registers do not have _set, _clr, _tog, so fix up the > definitions. git grep -E 'clkctrl_(gpmi|ssp[0-9])_' says that nobody > uses those

[PATCH v2 04/19] i2c: designware_i2c: Rename 'max' speed to 'high' speed

2020-01-04 Thread Simon Glass
Some SoCs support a higher speed than what is currently called 'max' in this driver. Rename it to 'high' speed, which is the official name of the 3.4MHz speed. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/designware_i2c.c | 10 +- drivers/i2c/designware_i2c.h | 8

[PATCH] Revert "mmc: davinci: drop struct davinci_mmc_plat"

2020-01-04 Thread Tom Rini
Adam Ford reports that this change breaks booting on da850-evm and Bartosz Golaszewski agrees that with the impending release we should revert the change for now. With that noted: This reverts commit 21a4d80a710c79053ac1deaa65ff9b69e6c031d4. Cc: Adam Ford Cc: Bartosz Golaszewski

[PATCH v2 02/19] i2c: designware_i2c: Don't allow changing IC_CLK

2020-01-04 Thread Simon Glass
If a different input clock is required then the correct way to do this is with a clock driver. Don't allow boards to override IC_CLK. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/designware_i2c.h | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCH] Revert "mmc: davinci: drop struct davinci_mmc_plat"

2020-01-04 Thread Adam Ford
On Fri, Jan 3, 2020 at 12:17 PM Tom Rini wrote: > > Adam Ford reports that this change breaks booting on da850-evm and > Bartosz Golaszewski agrees that with the impending release we should > revert the change for now. With that noted: > > This reverts commit

[PATCH v2 14/19] i2c: ast_i2c: Update to use standard enums for speed

2020-01-04 Thread Simon Glass
Update this driver to use the new standard enums for speed. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/ast_i2c.c | 2 +- drivers/i2c/ast_i2c.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/ast_i2c.c b/drivers/i2c/ast_i2c.c index

Re: [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2020-01-04 Thread Adam Ford
On Thu, Nov 14, 2019 at 9:10 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > struct mmc_config & struct mmc don't need to be exported over platform > data, but can instead be private in the driver. > > Remove struct davinci_mmc_plat. This patch appears to break the da850-evm.

[PATCH v2] board/lx2160aqds: Update the DSPI status fixup

2020-01-04 Thread Xiaowei Bao
The dts node of the DSPI controller in kernel is spi instead of dspi, it is not correct if ues "/soc/dspi@" to fix up the status of the dts in kernel, so, modify it to "/soc/spi@". The DSPI2 and I2C5 are muxed, and the status of DSPI2 node in kernel dts default value is okay, set the status of

Re: [PATCH] test_env: don't strip() printenv results

2020-01-04 Thread Tom Rini
On Wed, Dec 18, 2019 at 11:37:21AM -0700, Stephen Warren wrote: > From: Stephen Warren > > get_env() was originally written to strip() the output of printenv to > isolate the test from any whitespace changes in printenv's output. > However, this throws away any whitespace in the variable value,

Re: [PATCH] test: Fix the boardspec for the SPL handoff test

2020-01-04 Thread Tom Rini
On Fri, Dec 27, 2019 at 07:46:30AM -0700, Simon Glass wrote: > This test currently does not run because it specifies the sandbox board > instead of sandbox_spl. Fix it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] video: add wrappers for ttf type files to .gitignore

2020-01-04 Thread Anatolij Gustschin
On Tue, 31 Dec 2019 18:09:14 +0100 Dario Binacchi dario...@libero.it wrote: > drivers/video/fonts/.gitignore | 1 + > 1 file changed, 1 insertion(+) > create mode 100644 drivers/video/fonts/.gitignore Applied to u-boot-video/master, thanks! -- Anatolij

[PATCH v2 18/19] i2c: stm32: Update to use standard enums for speed

2020-01-04 Thread Simon Glass
Update this driver to use the new standard enums for speed. Note: This driver needs to move to driver model. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/stm32f7_i2c.c | 43 +++ 1 file changed, 16 insertions(+), 27 deletions(-) diff

Re: [PATCH 0/5] video: Avoid #ifdef to increase build coverage

2020-01-04 Thread Anatolij Gustschin
Hi Simon, On Fri, 20 Dec 2019 18:10:32 -0700 Simon Glass s...@chromium.org wrote: ... > Simon Glass (5): > video: x86: Enable 32-bit graphics by default > video: Avoid using #ifdef in video blitting code > video: Avoid using #ifdef in console_rotate.c > video: Avoid using #ifdef in

[PATCH v2 09/19] i2c: designware_i2c: Drop scl_sda_cfg parameter

2020-01-04 Thread Simon Glass
Instead of passing this parameter into __dw_i2c_set_bus_speed(), pass in the driver's private data, from which the function can obtain that information. This allows the function to have access to the full state of the driver. Signed-off-by: Simon Glass --- Changes in v2: None

[PATCH v3] board/lx2160aqds: Update the DSPI status fixup

2020-01-04 Thread Xiaowei Bao
The dts node of the DSPI controller in kernel is spi instead of dspi, it is not correct if use "/soc/dspi@" to fix up the status of the dts in kernel, so, modify it to "/soc/spi@". The DSPI2 and I2C5 are muxed, and the status of DSPI2 node in kernel dts default value is okay, set the status of

Re: [PATCH 1/5] video: x86: Enable 32-bit graphics by default

2020-01-04 Thread Anatolij Gustschin
Hi all, On Fri, 3 Jan 2020 23:41:49 +0800 Bin Meng bmeng...@gmail.com wrote: > Hi Simon, > > On Fri, Jan 3, 2020 at 11:24 AM Simon Glass wrote: > > > > Hi Bin, > > > > On Thu, 2 Jan 2020 at 19:41, Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Fri, Jan 3, 2020 at 10:30 AM Simon Glass

[PATCH v2 17/19] i2c: omap: Update to use standard enums for speed

2020-01-04 Thread Simon Glass
Update this driver to use the new standard enums for speed. Note: This driver needs to move to driver model. Signed-off-by: Simon Glass --- Changes in v2: None drivers/i2c/omap24xx_i2c.c | 2 +- drivers/i2c/omap24xx_i2c.h | 4 2 files changed, 1 insertion(+), 5 deletions(-) diff --git

[PATCH v6 2/6] Makefile: rockchip: Suffix platform type with tpl name

2020-01-04 Thread Jagan Teki
Most of the platforms uses the platform type on their boot stage image naming conventions in makefile like, u-boot-x86-start16-tpl.bin - x86 start16 TPL bin u-boot-spl-mtk.bin - Mediatek SPL bin This would help to understand the users to what that particular image belongs to? and less confused.

[PATCH v6 5/6] rockchip: Add Single boot image (with binman, pad_cat)

2020-01-04 Thread Jagan Teki
All rockchip platforms support TPL or SPL-based bootloader in mainline with U-Boot proper as final stage. For each stage we need to burn the image on to flash with respective offsets. This patch creates a single boot image component using - binman, for arm32 rockchip platforms - pad_cat, for

[PATCH v2] board/lx2160aqds: Update the DSPI status fixup

2020-01-04 Thread Xiaowei Bao
The dts node of the DSPI controller in kernel is spi instead of dspi, it is not correct if use "/soc/dspi@" to fix up the status of the dts in kernel, so, modify it to "/soc/spi@". The DSPI2 and I2C5 are muxed, and the status of DSPI2 node in kernel dts default value is okay, set the status of

Re: [PATCH 00/20] Add i.MXRT family support

2020-01-04 Thread Giulio Benetti
Hi Stefano, On 1/3/20 12:39 PM, Stefano Babic wrote: Hi Giulio, On 04/12/19 18:44, Giulio Benetti wrote: This patchset add support for i.MXRT family starting from i.MXRT1050 SoC. It provides: - i.MXRT1050 SoC entry - i.MXRT pinctrl driver - i.MXRT serial driver tweaking - i.MXRT sdram

Re: [PATCH 00/20] Add i.MXRT family support

2020-01-04 Thread Stefano Babic
Hi Giulio, On 04/12/19 18:44, Giulio Benetti wrote: > This patchset add support for i.MXRT family starting from i.MXRT1050 SoC. > It provides: > - i.MXRT1050 SoC entry > - i.MXRT pinctrl driver > - i.MXRT serial driver tweaking > - i.MXRT sdram controller driver > - i.MXRT usdhc driver tweaking >

Re: [PATCH] arm: dts: bcm283x: Allow UARTs to work before relocation

2020-01-04 Thread Tom Rini
On Thu, Jan 02, 2020 at 07:28:50PM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 2 Jan 2020 at 19:27, Simon Glass wrote: > > > > Hi Tom, > > > > On Thu, 2 Jan 2020 at 16:11, Tom Rini wrote: > > > > > > On Tue, Dec 31, 2019 at 02:28:19PM -0700, Simon Glass wrote: > > > > Hi Matthias, > > > > >

[PATCH v6 1/6] Makefile: Add rockchip image type

2020-01-04 Thread Jagan Teki
Add rockchip image type support. right now the image type marked with rksd, So create image type variable with required image type like rksd or rkspi. Cc: Kever Yang Cc: Matwey V. Kornilov Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Makefile | 10 +- 1 file changed, 9

Re: [PATCH 8/8] ARM: dts: imx6qdli-icore: Add fec phy-handle

2020-01-04 Thread Stefano Babic
Hi Jagan, Michael, On 31/12/19 07:21, Jagan Teki wrote: > On Mon, Dec 30, 2019 at 10:55 PM Michael Nazzareno Trimarchi > wrote: >> >> Hi >> >> On Mon, Dec 30, 2019 at 1:04 PM Jagan Teki >> wrote: >>> >>> From: Michael Trimarchi >>> >>> LAN8720 needs a reset of every clock enable. The reset

MMC failures on Davinci (Da850-evm)

2020-01-04 Thread Adam Ford
Does anyone with a da850/l-138/am1808 have any issues with MMC on their board? I haven't bisected it yet and only I found it by accident. U-Boot SPL 2020.01-rc5-00073-g4b75aa5aa7 (Jan 03 2020 - 09:08:17 -0600) Trying to boot from SPI U-Boot 2020.01-rc5-00073-g4b75aa5aa7 (Jan 03 2020 -

[PATCH v6 3/6] Makefile: rockchip: Support SPL-alone mkimage

2020-01-04 Thread Jagan Teki
Add SPL-alone mkimage tooling support via Makefile for few platforms or boards used in rockchip family. With this users would get rid of explicitly creating mkimage tool for rockchip rksd or rkspi boot modes. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Makefile | 10 +- 1

Re: [PATCH v2] riscv: Add option to print registers on exception

2020-01-04 Thread Bin Meng
On Wed, Dec 25, 2019 at 1:27 PM Sean Anderson wrote: > > When debugging, it can be helpful to see more information about an > unhandled exception. This patch adds an option to view the registers at > the time of the trap, similar to the linux output on a kernel panic. > > Signed-off-by: Sean

[PATCH v6 4/6] arm: dts: rk3036: Add rk3036-u-boot.dtsi

2020-01-04 Thread Jagan Teki
Add U-Boot specific dtsi file for rk3036 SoC. This would help to add U-Boot specific dts nodes, properties which are common across rk3036. Right now, the file is empty, will add required changes in future patches. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang ---

[PATCH v2 00/19] i2c: designware_ic2: Improvements to timing and general cleanup

2020-01-04 Thread Simon Glass
This series updates the Designware I2C driver to support reading its timing from the device tree and handling it in units of nanoseconds instead of clock cycles. A new function converts from nanoseconds to the units used by the I2C controller and makes sure that the requested bus speed is not

  1   2   >