[PATCH v2 0/8] board: toradex: prepare and add Verdin iMX8M Mini support

2020-01-25 Thread Marcel Ziswiler
Some preparational steps and then adding initial minimal support for the Toradex Verdin iMX8M Mini Quad 2GB WB IT V1.0A module. They are now strapped to boot from eFuses which are factory fused to properly boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, SDP

[PATCH v2 7/8] board: toradex: verdin-imx8mm: add MAINTAINERS

2020-01-25 Thread Marcel Ziswiler
From: Igor Opaniuk Assign Igor Opaniuk as a board maintainer. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- Changes in v2: - Update cover letter with updated SKU naming and few clarifications. board/toradex/verdin-imx8mm/MAINTAINERS | 9 + 1 file changed, 9

[PATCH v2 1/8] dt-bindings: pinctrl: imx8mm: Update head file

2020-01-25 Thread Marcel Ziswiler
From: Anson Huang Update i.MX8MM pinctrl head file according to reference manual Rev.1, 03/2019. Signed-off-by: Anson Huang Reviewed-by: Jacky Bai (cherry picked from downstream imx_4.14.98_2.2.0 MLK-22265 commit e6c2f6322962bebdc2f7ede05b0b7e73bf90faef) Signed-off-by: Marcel Ziswiler ---

[PATCH v2 8/8] imx: imx8mm_evk: spelling in readme file

2020-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Minor spelling fix in README file. Signed-off-by: Marcel Ziswiler --- Changes in v2: None board/freescale/imx8mm_evk/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imx8mm_evk/README b/board/freescale/imx8mm_evk/README index

[PATCH v2 5/8] board: toradex: Add Verdin iMX8M Mini support

2020-01-25 Thread Marcel Ziswiler
From: Igor Opaniuk This adds initial minimal support for the Toradex Verdin iMX8M Mini Quad 2GB WB IT V1.0A module. They are now strapped to boot from eFuses which are factory fused to properly boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, SDP support is

[PATCH v2 6/8] board: toradex: verdin-imx8mm: add README

2020-01-25 Thread Marcel Ziswiler
From: Igor Opaniuk Add README with build steps for U-boot and TF-A for Verdin iMX8M Mini SoM. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- Changes in v2: None board/toradex/verdin-imx8mm/README | 88 ++ 1 file changed, 88 insertions(+) create

[PATCH v2 3/8] toradex: tdx-cfg-block: add Apalis iMX8X support

2020-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for storing configuration for Apalis iMX8X SoM in Toradex config block. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Newly added this patch to the series splitting Verdin one as suggested by Oleksandr. board/toradex/common/tdx-cfg-block.c | 17

[PATCH v2 2/8] dt-bindings: pinctrl: imx8mm: add alternative uart muxings

2020-01-25 Thread Marcel Ziswiler
From: Max Krummenacher Add alternative UART muxing defines. Signed-off-by: Max Krummenacher --- Changes in v2: - Fixed some copy-paste errors. arch/arm/dts/imx8mm-pinfunc.h | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/imx8mm-pinfunc.h

[PATCH v2 4/8] toradex: tdx-cfg-block: add Verdin iMX8M Mini support

2020-01-25 Thread Marcel Ziswiler
From: Marcel Ziswiler Add support for storing configuration for Verdin iMX8M Mini SoM in Toradex config block. Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- Changes in v2: - Split Apalis iMX8X off from this one as suggested by Oleksandr.

Re: [PATCH v1 5/5] board: toradex: verdin-imx8mm: add MAINTAINERS

2020-01-25 Thread Marcel Ziswiler
Hi Igor On Thu, 2020-01-23 at 13:31 +0200, Igor Opaniuk wrote: > From: Igor Opaniuk > > Assign Igor Opaniuk as a board maintainer. > > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov > --- > > board/toradex/verdin-imx8mm/MAINTAINERS | 9 + > 1 file changed, 9

Re: [PATCH v1 4/5] board: toradex: verdin-imx8mm: add README

2020-01-25 Thread Marcel Ziswiler
Hi Igor On Thu, 2020-01-23 at 13:31 +0200, Igor Opaniuk wrote: > From: Igor Opaniuk > > Add README with build steps for U-boot and TF-A for Verdin i.MX8MM > SoM. > > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov > --- > > board/toradex/verdin-imx8mm/README | 81 >

Re: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4

2020-01-25 Thread Matthias Brugger
On 24/01/2020 01:26, André Przywara wrote: > On 23/01/2020 19:37, Matthias Brugger wrote: > > Hi, > >> On 23/01/2020 12:29, Andre Przywara wrote: >>> On Wed, 22 Jan 2020 19:05:10 +0100 >>> Matthias Brugger wrote: >>> >>> Hi, >>> >>> Matthias, many thanks for looking at this and giving it a

Re: pull request u-boot-fsl-qoriq for v2020.04-rc1

2020-01-25 Thread Tom Rini
On Sat, Jan 25, 2020 at 07:11:59AM +, Priyanka Jain wrote: > Dear Tom, > > > > Please find my pull-request for u-boot-fsl-qoriq/master to next branch > > https://travis-ci.org/p-priyanka-jain/u-boot/builds/641264692 > > > > Summary > > Updates and fixes for ls1028a, lx2160a, ls1012a,

Re: [PATCH] board: tbs2910: Add support for generic distro configuration

2020-01-25 Thread Soeren Moch
On 26.01.20 00:15, Denis 'GNUtoo' Carikli wrote: > On Sat, 25 Jan 2020 20:52:36 +0100 > Soeren Moch wrote: > >> Hi Denis, > Hi, > >> thanks for your patch. In general I think it could be a good idea to >> support distroboot on this board, especially if we can maintain >> compatibility with the

Re: [PATCH v1 2/5] toradex: tdx-cfg-block: add Verdin i.MX8MM support

2020-01-25 Thread Marcel Ziswiler
Hi Igor and Oleksandr On Thu, 2020-01-23 at 11:41 +, Oleksandr Suvorov wrote: > On Thu, Jan 23, 2020 at 1:32 PM Igor Opaniuk > wrote: > > From: Marcel Ziswiler > > > > Add support for storing configuration for Verdin i.MX8MM SoM > > in Toradex config block. > > > > Signed-off-by: Marcel

Re: [PATCH v1 1/5] dt-bindings: pinctrl: imx8mm: add alternative uart muxings

2020-01-25 Thread Marcel Ziswiler
Hi Igor On Thu, 2020-01-23 at 13:31 +0200, Igor Opaniuk wrote: > From: Max Krummenacher > > Add alternative UART muxing defines. > > Signed-off-by: Max Krummenacher > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/dts/imx8mm-pinfunc.h | 21

Re: [PATCH] video: mxsfb: call remove() when booting OS

2020-01-25 Thread Anatolij Gustschin
Hi Fabio, On Sat, 25 Jan 2020 19:59:47 -0300 Fabio Estevam feste...@gmail.com wrote: ... > > - .flags = DM_FLAG_PRE_RELOC, > > + .flags = DM_FLAG_PRE_RELOC | DM_FLAG_OS_PREPARE, > > Thanks! This fixes the Linux logo shift issue: Thanks for testing! ... > One thing I noticed is

[PATCH] imx: mx6ul_14x14_evk: turn of backlight and LCD before booting OS

2020-01-25 Thread Anatolij Gustschin
This should help keeping the screen black when booting the kernel. Signed-off-by: Anatolij Gustschin Reported-by: Fabio Estevam --- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 9 + 1 file changed, 9 insertions(+) diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c

Re: [PATCH] board: tbs2910: Add support for generic distro configuration

2020-01-25 Thread Denis 'GNUtoo' Carikli
On Sat, 25 Jan 2020 20:52:36 +0100 Soeren Moch wrote: > Hi Denis, Hi, > thanks for your patch. In general I think it could be a good idea to > support distroboot on this board, especially if we can maintain > compatibility with the existing boot procedure. However, since this > board repeatedly

Re: [PATCH] video: mxsfb: call remove() when booting OS

2020-01-25 Thread Fabio Estevam
Hi Anatolij, On Sat, Jan 25, 2020 at 7:44 PM Anatolij Gustschin wrote: > > Add DM_FLAG_OS_PREPARE flag to ensure that the driver's > remove() callback is invoked before booting the kernel. > This is required to stop the LCDIF controller. This was > the behaviour with old driver without DM_VIDEO

Re: lcdif_power_down() no longer called with DM_VIDEO

2020-01-25 Thread Anatolij Gustschin
Hi Fabio, On Sat, 25 Jan 2020 17:52:56 -0300 Fabio Estevam feste...@gmail.com wrote: > Hi Anatolij, > > I noticed that after mxsfb has been converted to DM the > lcdif_power_down() function is no longer called. > > This causes issues in the kernel, where the Linux logo sometimes > appears in

[PATCH] video: mxsfb: call remove() when booting OS

2020-01-25 Thread Anatolij Gustschin
Add DM_FLAG_OS_PREPARE flag to ensure that the driver's remove() callback is invoked before booting the kernel. This is required to stop the LCDIF controller. This was the behaviour with old driver without DM_VIDEO support. Without stopping the LCDIF we sometimes observe incorrect Linux logo

[PATCH 1/1] tools: correct Markdown in concurrencytest/README.md

2020-01-25 Thread Heinrich Schuchardt
Remove incorrect indentation. Signed-off-by: Heinrich Schuchardt --- tools/concurrencytest/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/concurrencytest/README.md b/tools/concurrencytest/README.md index 8e65776f17..2d7fe75df5 100644 ---

Re: [PATCH] dtc: add ability to make nodes conditional on them being referenced

2020-01-25 Thread André Przywara
On 25/01/2020 16:20, Tom Rini wrote: Hi Tom, thanks for having a look! > On Tue, Jan 21, 2020 at 10:23:17AM +, Andre Przywara wrote: > >> From: Maxime Ripard >> >> This is needed when importing mainline DTs into U-Boot, as some started >> using this /omit-if-no-ref/ tag, so won't compile

Re: [U-Boot] [PATCH v2 1/9] moveconfig: expand simple expressions

2020-01-25 Thread Heinrich Schuchardt
On 5/15/19 3:15 PM, Markus Klotzbuecher wrote: From: Markus Klotzbuecher Add support for expanding simple expressions and sizes such as "(4 * 1024)", "(512 << 10)" or "(SZ_256K)". This can help to significantly reduce the number of "suspicious" moves, such as 'CONFIG_ENV_SIZE="(64 << 10)"'

[PATCH v3] Add support for SoM "VoCore2".

2020-01-25 Thread Mauro Condarelli
Small patch series to add support for VoCore/VoCore2 board. VoCore is open hardware and runs OpenWrt/LEDE. It has WIFI, USB, UART, 20+ GPIOs but is only one inch square. It will help you to make a smart house, study embedded system or even make the tiniest router in the world. Details about this

Re: lcdif_power_down() no longer called with DM_VIDEO

2020-01-25 Thread Fabio Estevam
On Sat, Jan 25, 2020 at 5:52 PM Fabio Estevam wrote: > > Hi Anatolij, > > I noticed that after mxsfb has been converted to DM the > lcdif_power_down() function is no longer called. > > This causes issues in the kernel, where the Linux logo sometimes > appears in the incorrect position, for

Re: imx6ull: random crashes when setting REFTOP_SELBIASOFF

2020-01-25 Thread Fabio Estevam
Hi Heiko, On Fri, Jan 24, 2020 at 2:33 AM Heiko Schocher wrote: > > Hello Fabio, Peng, > > I have here an imx6ull based board from DH electronics [1] > which has the IMX_THERMAL driver enabled in U-Boot and Linux. We > see on Linux boot random crashes (random means not on every boot, > also not

lcdif_power_down() no longer called with DM_VIDEO

2020-01-25 Thread Fabio Estevam
Hi Anatolij, I noticed that after mxsfb has been converted to DM the lcdif_power_down() function is no longer called. This causes issues in the kernel, where the Linux logo sometimes appears in the incorrect position, for example. I see this issue on a imx6ul-evk board. If I do the same steps

Re: [PATCH] board: tbs2910: Add support for generic distro configuration

2020-01-25 Thread Tom Rini
On Sat, Jan 25, 2020 at 08:56:12PM +0100, Soeren Moch wrote: > On 25.01.20 17:24, Tom Rini wrote: > > On Sat, Jan 25, 2020 at 02:42:40AM +0100, Denis 'GNUtoo' Carikli wrote: > > > >> This keeps the compatibility with the old bootcmd. > >> > >> Signed-off-by: Denis 'GNUtoo' Carikli > > First, I

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

2020-01-25 Thread Lukasz Majewski
Hi Sean, > On 1/24/20 9:27 AM, Lukasz Majewski wrote: > > I saw your patches. Unfortunately, there was the Christmas/New > > year's break and afterwards I had some more urgent tasks to do. > > Apologize for that... > > > > What I would like to see here is to reuse (or better - make the code > >

Re: [PATCH 1/1] watchdog: cannot select CONFIG_CONFIG_MPC8xx_WATCHDOG

2020-01-25 Thread Tom Rini
On Sat, Jan 25, 2020 at 08:23:50PM +0100, Heinrich Schuchardt wrote: > There is no configuration option CONFIG_CONFIG_MPC8xx_WATCHDOG. So we > should not try to select it. > > The select statement was introduced in a patch that was meant to only sort > config options without changing them. > >

Re: [PATCH] board: tbs2910: Add support for generic distro configuration

2020-01-25 Thread Soeren Moch
On 25.01.20 17:24, Tom Rini wrote: > On Sat, Jan 25, 2020 at 02:42:40AM +0100, Denis 'GNUtoo' Carikli wrote: > >> This keeps the compatibility with the old bootcmd. >> >> Signed-off-by: Denis 'GNUtoo' Carikli > First, I have concerns about this increasing the size of the board. > >> --- >>

Re: [PATCH] board: tbs2910: Add support for generic distro configuration

2020-01-25 Thread Soeren Moch
Hi Denis, thanks for your patch. In general I think it could be a good idea to support distroboot on this board, especially if we can maintain compatibility with the existing boot procedure. However, since this board repeatedly has size problems with the u-boot binary, we carefully need to check

[PATCH 1/1] board: ls1012ardb: do not use imply CONFIG_

2020-01-25 Thread Heinrich Schuchardt
Inside Kconfig we must not use the CONFIG_ prefix with the imply statement. Fixes: 28e3c39e535b ("board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb") Signed-off-by: Heinrich Schuchardt --- I do not possess a ls1012ardb board for testing but the current Kconfig file is

[PATCH 1/1] watchdog: cannot select CONFIG_CONFIG_MPC8xx_WATCHDOG

2020-01-25 Thread Heinrich Schuchardt
There is no configuration option CONFIG_CONFIG_MPC8xx_WATCHDOG. So we should not try to select it. The select statement was introduced in a patch that was meant to only sort config options without changing them. Fixes: b3134ffbd944 ("watchdog: Kconfig: Sort entry alphabetically") Signed-off-by:

Re: U-Boot Logo showing incorrect colors with eLCDIF

2020-01-25 Thread Anatolij Gustschin
Hi Fabio, On Fri, 24 Jan 2020 16:26:26 -0300 Fabio Estevam feste...@gmail.com wrote: > > Do you have 'bits-per-pixel' property in your display node in DT? > > Is suitable CONFIG_VIDEO_BPPxx option enabled in your board_defconfig ? > > Yes, I have it, but it has the wrong value. It should be

Re: mmc init fails after soft reset on T1042

2020-01-25 Thread Mauro Condarelli
This might be a lng shot in the dark, but... Many MMC/SD cards need to be fully reset, when left in an "undefined" state. This normally means power supply voltage (at SD card) must drop below 1.3V for a sizable (>100ms) time. Do you have means to physically remove power to eMMC? Many eMMC

Re: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4

2020-01-25 Thread Amit Tomer
Hi, Thanks for having a look. > Yeah, I had some success with 5.5-rc, at least till it goes into userland, > which is good enough for this purpose. > And indeed I could reproduce the early crash with genet compiled in vs. > mainline U-Boot. Could not reproduce it with raspbian image but

mmc init fails after soft reset on T1042

2020-01-25 Thread Amarnath MB
Hi all, I working on a T1042RDB based custom board which has a 8GB eMMC (4bit mode) on board. I was able to successfully boot 2019.07 uboot on my board from NOR flash. After booting, mmcinfo command detects the on board eMMC and displays it's properties. But when I issue mmcinfo command after

Re: [PATCH v3 05/10] riscv: sifive: fu540: add DDR4 info

2020-01-25 Thread Anup Patel
On Fri, Jan 24, 2020 at 5:49 PM Pragnesh Patel wrote: > > Add ddr4 controller and phy related files > > Signed-off-by: Pragnesh Patel > --- > board/sifive/fu540/Makefile|4 + > board/sifive/fu540/ddr.c | 868 > board/sifive/fu540/regconfig-ctl.h |

Re: U-Boot Logo showing incorrect colors with eLCDIF

2020-01-25 Thread Fabio Estevam
Hi Oleksandr, On Thu, Jan 23, 2020 at 12:46 PM Oleksandr Suvorov wrote: > We had a similar issue when mxsfb driver tried to use 18-bit elcdif > bus in 24-bit mode. Is there a patch to fix this problem? Does U-Boot logo appear correctly in colibri_imx7 and colibri_imx6ull? Thanks

Re: [PATCH 1/1] crypto: make mod_exp_sw() static

2020-01-25 Thread Tom Rini
On Sun, Jan 19, 2020 at 07:48:04PM +0100, Heinrich Schuchardt wrote: > Function mod_exp_sw() is only used via the operators of the uclass. > It is not defined in any include. > > Make mod_exp_sw() static. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] common: blk: fix comment about blkcache_read return value

2020-01-25 Thread Tom Rini
On Wed, Jan 22, 2020 at 04:59:55PM -0700, Eric Nelson wrote: > The blkcache_read() routine returns 1 (true) to indicate that a block was > found in the cache and returned, or 0 if not. > > Signed-off-by: Eric Nelson Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH] mtd: add prototypes for weak function

2020-01-25 Thread Tom Rini
On Fri, Jan 24, 2020 at 01:45:56PM +0100, Patrick Delaunay wrote: > This patch adds a prototype for the weak function > board_mtdparts_default(). > > It solves one warning when compiling with W=1 on stm32mp1 board: > > board/st/stm32mp1/stm32mp1.c: > warning: no previous prototype for

Re: [PATCH v2] genboardscfg.py: drop python version comment

2020-01-25 Thread Tom Rini
On Wed, Jan 22, 2020 at 02:54:24PM +0200, Baruch Siach wrote: > genboardscfg.py requires python 3.x since commit 3bc14098d8fb > ("genboardscfg.py: Convert to Python 3"). > > Cc: Masahiro Yamada > Signed-off-by: Baruch Siach > Acked-by: Masahiro Yamada Applied to u-boot/master, thanks! --

Re: [PATCH] meerkat96: fix typo in MAINTAINERS email address

2020-01-25 Thread Tom Rini
On Fri, Jan 24, 2020 at 12:59:42PM +0800, Shawn Guo wrote: > There is a typo in meerkat96 MAINTAINERS email address. Fix it. > > Reported-by: Carl Gelfand > Signed-off-by: Shawn Guo Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/1] lib: Kconfig dependencies for pseudo-random library

2020-01-25 Thread Tom Rini
On Sun, Jan 19, 2020 at 07:28:12PM +0100, Heinrich Schuchardt wrote: > drivers/rng/sandbox_rng.c requires rand() to be defined but configuration > option CONFIG_CONFIG_LIB_RAND selected in drivers/rng/Kconfig does not > exist. > > test/lib/test_aes.c requires rand() to be defined. > > Fix the

Re: [PATCH] common: add blkcache init

2020-01-25 Thread Tom Rini
On Tue, Jan 21, 2020 at 10:37:27AM +0100, Angelo Dureghello wrote: > From: Angelo Durgehello > > On m68k, block_cache list is relocated, but next and prev list > pointers are not adjusted to the relocated struct list_head address, > so the first iteration over the block_cache list hangs. > >

Re: [PATCH] lib: rsa: consider CONFIG_SPL_RSA

2020-01-25 Thread Tom Rini
On Sun, Jan 19, 2020 at 09:26:22AM +0100, Heinrich Schuchardt wrote: > CONFIG_SPL_RSA is meant to control if lib/rsa/* is used for SPL. Adjust > lib/Makefile to consider this setting. > > This was correctly setup with commit 51c14cd128f4 ("verified-boot: Minimal > support for booting U-Boot

Re: [PATCH v2 3/4] mtd: denali: Drop custom dma mapping functions

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 02:23:47PM +0530, Vignesh Raghavendra wrote: > Drop local dma_map_single() and dma_unmap_single() and use arch specific > common implementation > > Signed-off-by: Vignesh Raghavendra > Acked-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v2 2/4] mmc: tmio-common: Drop custom dma mapping functions

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 02:23:46PM +0530, Vignesh Raghavendra wrote: > Drop local dma_map_single() and dma_unmap_single() and use arch specific > common implementation > > Signed-off-by: Vignesh Raghavendra > Acked-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v2 1/4] asm: dma-mapping.h: Fix dma mapping functions

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 02:23:45PM +0530, Vignesh Raghavendra wrote: > Subsystems such as USB expect dma_map_single() and dma_unmap_single() to > do dcache flush/invalidate operations as required. For example, see > see drivers/usb/gadget/udc/udc-core.c::usb_gadget_map_request(). > Currently

Re: [PATCH v2 4/4] net: macb: Drop local cache flush

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 02:23:48PM +0530, Vignesh Raghavendra wrote: > Now that arch specific dma mapping APIs take care of cache > flush/invalidate, drop local cache flush operation. > While at that fix dma_unmap_single() call to match new prototype > > Signed-off-by: Vignesh Raghavendra

Re: [PATCH v2 1/6] usb: musb-new: mt85xx: add musb-new gadget driver.

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 04:11:37PM +0800, mingming lee wrote: > Using musb-new structure for mt85xx gadget driver. > Add gadget driver dts for mt8518 SoCs. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 4/6] configs: mt8518: enable usb gadget driver

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 04:11:40PM +0800, mingming lee wrote: > Enable board_late_init and usb gadget for mt8518 > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 5/6] configs: mt8518: Enable fastboot related configs

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 04:11:41PM +0800, mingming lee wrote: > Enable EFI module. > Enable fastboot. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 2/6] ARM: Mediatek: Add board_late_init to init usb gadget driver

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 04:11:38PM +0800, mingming lee wrote: > Add board_late_init function to init usb gadget driver for mt8518 > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 6/6] fastboot: mt85xx: add command to flash/erase emmc hwpart

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 04:11:42PM +0800, mingming lee wrote: > This patch includes the following: > 1. Add fastboot command to erase the whole EMMC_USER > 2. Add fastboot command to flash image at EMMC_BOOT1 > 3. Add fastboot command to erase the whole EMMC_BOOT1 > 4. Enale

Re: [PATCH v2 3/6] configs: mt8518: set global variables for fastboot

2020-01-25 Thread Tom Rini
On Thu, Jan 16, 2020 at 04:11:39PM +0800, mingming lee wrote: > set common fastboot variables for mt8518 > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] arm: Add arm handoff header file

2020-01-25 Thread Tom Rini
On Sun, Jan 05, 2020 at 04:51:13PM +0100, Michael Trimarchi wrote: > Add an arch-specific handoff header so that we can use the HANDOFF feature > on arm devices. > > Signed-off-by: Michael Trimarchi > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH] serial: ns16550: Use old baud rate divisor for flushing if not given

2020-01-25 Thread Tom Rini
On Sat, Dec 21, 2019 at 05:25:12PM +0100, Patrik Dahlström wrote: > If baud_divisor is not set (i.e. == -1), we should use the baud divisor > already in use for flushing the xmit register. If we don't flush the > xmit register, then SPL will hang. > > Signed-off-by: Patrik Dahlström Applied to

Re: [U-Boot] [PATCH] remoteproc: elf_loader: fix program header parsing

2020-01-25 Thread Tom Rini
On Wed, Sep 04, 2019 at 09:53:22AM +0200, Fabien Dessenne wrote: > Fix an issue where some sections are never loaded : if p_type is > different from PT_LOAD the phdr pointer must be incremented. > > Signed-off-by: Fabien Dessenne > Acked-by: Suman Anna Applied to u-boot/master, thanks! --

Re: [U-Boot] [PATCH] cmd: mtd: solve bad block support in erase command

2020-01-25 Thread Tom Rini
On Fri, Sep 20, 2019 at 09:20:12AM +0200, Patrick Delaunay wrote: > This patch modify the loop in mtd erase command to erase one by one > the blocks in the requested area. > > It solves issue on "mtd erase" command on nand with existing bad block, > the command is interrupted on the first bad

Re: [PATCH] board: tbs2910: Add support for generic distro configuration

2020-01-25 Thread Tom Rini
On Sat, Jan 25, 2020 at 02:42:40AM +0100, Denis 'GNUtoo' Carikli wrote: > This keeps the compatibility with the old bootcmd. > > Signed-off-by: Denis 'GNUtoo' Carikli First, I have concerns about this increasing the size of the board. > --- > include/configs/tbs2910.h | 39

Re: [PATCH] dtc: add ability to make nodes conditional on them being referenced

2020-01-25 Thread Tom Rini
On Tue, Jan 21, 2020 at 10:23:17AM +, Andre Przywara wrote: > From: Maxime Ripard > > This is needed when importing mainline DTs into U-Boot, as some started > using this /omit-if-no-ref/ tag, so won't compile with U-Boot's current > dtc copy. This is just a cherry-pick of the patch

[PATCH] rockchip: boot_mode: find the saradc device name

2020-01-25 Thread Hugh Cole-Baker
adc_channel_single_shot() requires the full device name e.g. "saradc@ff10", which differs between Rockchip SoC's, but they all share the prefix "saradc"; find the ADC device with this name prefix and use its full name. Signed-off-by: Hugh Cole-Baker --- I previously sent this on Jan. 11 as

[PATCH v3 20/21] owl: Kconfig: Enable dm eth for OWL platform

2020-01-25 Thread Amit Singh Tomar
This patch selects CONFIG_DM_ETH(ethernet driver is base on DM model) for Action semi owl SoC. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in v2/v1. --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig

[PATCH v3 21/21] configs: Enable mac and phy configs

2020-01-25 Thread Amit Singh Tomar
This patch adds MAC and PHY related configs(needed for proper ethernet operations) for Action Semi S700 SoC. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in v2/v1. --- configs/cubieboard7_defconfig | 4 1 file changed, 4 insertions(+) diff

[PATCH v3 17/21] owl: Kconfig: Enable dm reset and generic reset

2020-01-25 Thread Amit Singh Tomar
This patch selects CONFIG_DM_RESET and CONFIG_GENERIC_RESET for Action Semi owl soc. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in v2/v1. --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig

[PATCH v3 15/21] reset: add driver for generic reset controllers

2020-01-25 Thread Amit Singh Tomar
The simplest and most generic form of a reset controller just exposes multiple MMIO registers, where each bit toggles a separate reset line. Add a generic driver to describe this kind of reset controller. This is used on the Action Semi S700, for instance, but also by other SoCs. Signed-off-by:

[PATCH v3 18/21] net: designware: s700: Add glue code for S700 mac

2020-01-25 Thread Amit Singh Tomar
This patchs adds glue logic to enable designware mac present on Action Semi based S700 SoC, Configures SoC specific bits. It has been tested on Cubieboard7. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in v2/v1. ---

[PATCH v3 19/21] arm: dts: s700: add node for ethernet controller

2020-01-25 Thread Amit Singh Tomar
This patch adds node for ethernet controller(found on Action Semi S700 SoC). Since, there is no upstream Linux binding exist for S700 ethernet controller, Changes are put in u-boot specific dtsi file. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there

[PATCH v3 16/21] arm: dts: s700: add node for reset controller

2020-01-25 Thread Amit Singh Tomar
This patch adds node for reset controller(found on Action Semi S700 SoC). Since, there is no upstream Linux binding exist for S700 reset controller, Changes are put in u-boot specific dtsi file. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in

[PATCH v3 12/21] actions: add Cubieboard7 README

2020-01-25 Thread Amit Singh Tomar
Signed-off-by: Amit Singh Tomar --- Changes since v2: * No Change. Changes since v1: * No Change. --- arch/arm/mach-owl/README.cubieboard7 | 88 1 file changed, 88 insertions(+) create mode 100644 arch/arm/mach-owl/README.cubieboard7 diff

[PATCH v3 14/21] net: phy: realtek: Introduce PHY_RTL8201F_S700_RMII_TIMINGS to adjust rx/tx timings

2020-01-25 Thread Amit Singh Tomar
RTL8201F PHY module found on Actions Semi Cubieboard7 seems to have specific Rx/Tx interface timings requirement for proper PHY operations. These timing values are not documented anywhere and picked from vendor code. This patch lets proper packets to be transmitted over the network.

[PATCH v3 10/21] serial: actions: add uart support for s700

2020-01-25 Thread Amit Singh Tomar
UART controller present on S700 is compatible with existing S900 controller, this patch simply adds a proper compatible string so that owl uart driver can be reused for S700. Reviewed-by: Andre Przywara Signed-off-by: Amit Singh Tomar --- Changes since v2: * No changes. Changes since

[PATCH v3 13/21] net: phy: realtek: Add support for RTL8201F PHY module.

2020-01-25 Thread Amit Singh Tomar
This patch adds support for Realtek PHY RTL8201F 10/100Mbs(with variants: RTL8201FN and RTL8201FL) PHYceiver. It can be found on Actions Semi Cubieboard7 board. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in v2/v1. --- drivers/net/phy/realtek.c

[PATCH v3 09/21] arm: dts: Use consistent name "CLK_ETHERNET" for the Ethernet clock binding

2020-01-25 Thread Amit Singh Tomar
Right now, Clock bindings for ethernet uses different names(even in Linux) CLK_ETH_MAC for S900 and CLK_ETHERNET for S700, It causes compilation problem when using them for common clock driver. Let's use same name CLK_ETHERNET for both S700 and S900. Signed-off-by: Amit Singh Tomar --- Changes

[PATCH v3 11/21] arm: add Cubieboard7 board support

2020-01-25 Thread Amit Singh Tomar
The Cubieboard is a single board computer containing a Actions S700 SoC(with 4 ARMv8 Cortex-A53 cores). This patch adds respective defconfig alongwith device tree(sync with Linux v5.5-rc6). Signed-off-by: Amit Singh Tomar --- Changes since v2: * Synced with Linux tag v5.5-rc6. Changes

[PATCH v3 04/21] arm: add support Actions Semi S700

2020-01-25 Thread Amit Singh Tomar
This patch adds basic support for Actions Semi based S700 SoC, which is driven by common owl framework. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Fixed the commit message. * Checked for the clk->id. * Added a .data member with SoC type. * Removed

[PATCH v3 06/21] actions:s700: add u-boot specific dts file

2020-01-25 Thread Amit Singh Tomar
Devices like uart and clk are needed to be enabled before relocation. this patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Added License. Changes since v1: * This is newly added file that was *not*

[PATCH v3 07/21] arm: dts: sync dts for Action Semi S900

2020-01-25 Thread Amit Singh Tomar
Synchronize device tree bindings with v5.5-rc6 tag with commit id "b3a987b". Also, it removes older clock binding defined for S900. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in v2/v1. --- arch/arm/dts/s900.dtsi | 322

[PATCH v3 05/21] arm: actions: add S700 SoC device tree

2020-01-25 Thread Amit Singh Tomar
This patch adds .dtsi file(sync with Linux 5.5) and required binding for S700 SoC that is a 64-bit Quad-core ARM Cortex-A53 cores. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Synced DTS bindings with Linux 5.5. Changes since v1: * Moved the u-boot specific changes to

[PATCH v3 08/21] actions: s900: add u-boot specific dts file

2020-01-25 Thread Amit Singh Tomar
Devices like uart and clk are needed to be enabled before relocation. This patch adds u-boot.dtsi file that mark these device as dm-pre-reloc. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Newly added patch, not there in v2/v1. --- arch/arm/dts/s900-u-boot.dtsi | 17

[PATCH v3 01/21] arm: actions: Add common framework for Actions Owl Semi SoCs

2020-01-25 Thread Amit Singh Tomar
This commit adds common arch support for Actions Semi Owl series SoCs and removes the Bubblegum96 board files. Signed-off-by: Amit Singh Tomar --- MAINTAINERS | 2 + arch/arm/Kconfig | 3 +- arch/arm/mach-owl/Kconfig

[PATCH v3 02/21] arm: actions: rename sysmap-s900 to sysmap-owl

2020-01-25 Thread Amit Singh Tomar
Now that memory maps(for both S700 and S900 SoCs) can be managed using a common file, rename sysmap-s900 to sysmap-owl to reflect the same. Signed-off-by: Amit Singh Tomar --- Changes since v2: * Fixed the commit message and header. Changes since v1: * compile sysmap-owl.c

[PATCH v3 03/21] clk: actions: Add common clock driver

2020-01-25 Thread Amit Singh Tomar
This patch converts S900 clock driver to something common that can be used for other SoCs, for instance S700(few of clk registres are same). Signed-off-by: Amit Singh Tomar --- Changes since v2: * Fixed the commit message. * Checked for the clk->id. * Added a .data member

[PATCH v3 00/21] Actions S700 SoC support

2020-01-25 Thread Amit Singh Tomar
Hi, This is continuation of work[1], submitted(v2) almost a year back. It adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's Quad-core ARMv8 SoC with Cortex-A53 cores. Peripheral like UART seems to be compatible with S900 SoC(basic support for it is alreay present in

Re: [PATCH 2/2] test: verbatim character entry with CTRL-V

2020-01-25 Thread Heinrich Schuchardt
On 1/25/20 12:43 AM, Tom Rini wrote: On Sun, Jan 12, 2020 at 05:33:39PM +0100, Heinrich Schuchardt wrote: Provide a unit test checking that CTRL-V can be used to add control characters to the line buffer. Signed-off-by: Heinrich Schuchardt I don't know why but this test, run when built

Re: [PATCH] buildman: Enable buildman on aarch64 hosts

2020-01-25 Thread Matthias Brugger
On 17/01/2020 10:53, matthias@kernel.org wrote: > From: Matthias Brugger > > At kernel.org aarch64 toolchains are published in folder > arm64. Fix the URL for that case, so that we can fetch > toolchains on aarch64 machines. > > Signed-off-by: Matthias Brugger > Friendly ping. :) >

Re: [U-Boot] [PATCH v2 08/10] bootstage: Correct relocation algorithm

2020-01-25 Thread Heinrich Schuchardt
On 10/22/19 1:26 AM, Simon Glass wrote: At present bootstage relocation assumes that it is possible to point back to memory available before relocation, so it does not relocate the strings. However this is not the case on some platforms, such as x86 which uses the cache as RAM and loses access

Re: [PATCH v3 07/10] configs: fu540: Add config file for U-boot SPL

2020-01-25 Thread Anup Patel
On Fri, Jan 24, 2020 at 12:21 PM Jagan Teki wrote: > > On Fri, Jan 24, 2020 at 11:21 AM Pragnesh Patel > wrote: > > > > With sifive_fu540_spl_defconfig: > > > > U-Boot SPL will be loaded by ZSBL from SD card (replace fsbl.bin with > > u-boot-spl.bin) and runs in L2 LIM in machine mode and then

Re: [PATCH v3 09/10] sifive: fix palmer's email address and add sifive_fu540_spl_defconfig

2020-01-25 Thread Anup Patel
On Fri, Jan 24, 2020 at 11:22 AM Pragnesh Patel wrote: > > Fix Palmer's email address and add sifive_fu540_spl_defconfig > > Signed-off-by: Pragnesh Patel > --- > board/sifive/fu540/MAINTAINERS | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH v3 08/10] riscv: sifive: fu540: enable all cache ways from u-boot proper

2020-01-25 Thread Anup Patel
On Fri, Jan 24, 2020 at 11:22 AM Pragnesh Patel wrote: > > This patch enables all cache ways from u-boot proper. > > Signed-off-by: Pragnesh Patel > --- > board/sifive/fu540/Makefile | 1 + > board/sifive/fu540/cache.c | 30 ++ > board/sifive/fu540/cache.h | 13

Re: [PATCH v3 06/10] riscv: sifive: fu540: add SPL configuration

2020-01-25 Thread Anup Patel
On Fri, Jan 24, 2020 at 11:21 AM Pragnesh Patel wrote: > > Add a support for SPL which will boot from L2 LIM (0x0800_) and > then boot U-boot FIT image including OpenSBI FW_DYNAMIC firmware > and U-Boot proper images from 1st partition of MMC boot devices. > > SPL related code is leverage

Re: [EXT] Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB

2020-01-25 Thread Kuldeep Singh
Good to hear this :) From: florian.man...@siemens.com Sent: Friday, January 24, 2020 12:30 AM To: Kuldeep Singh Cc: daniel.schert...@siemens.com ; u-boot@lists.denx.de Subject: AW: [EXT] Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB

[PATCH v1 4/5] arm: xea: spl: Add GPIO0_0 setup on spl_board_init

2020-01-25 Thread Lukasz Majewski
Explicitly configure GPIO0_0 in SPL, which controlls 3V3 voltage on the XEA board (it also supplies TIVAs). This code would enable TIVAs power supply early (also when board uses the falcon boot). Signed-off-by: Lukasz Majewski --- board/liebherr/xea/xea.c | 17 - 1 file

[PATCH v1 5/5] arm: xea: dts: Add 'fec-3v3' regulator properties to prevent accidental disablement

2020-01-25 Thread Lukasz Majewski
The 'enable-active-high' DTS property configures GPIO so it is active with HIGH state (by default it is low). The 'regulator-boot-on' property indicates that the regulator was enabled in the 'earlier' stage - i.e. bootloader/firmware. In the XEA case the 'fec-3v3' was configured (as a "wrapper"

[PATCH v1 2/5] arm: xea: Provide function to set L2 switch 'local-mac-address' property

2020-01-25 Thread Lukasz Majewski
The 'local-mac-address' property needs to be adjusted to the MAC address value stored in U-Boot's 'ethaddr' env variable. Signed-off-by: Lukasz Majewski --- board/liebherr/xea/xea.c | 32 1 file changed, 32 insertions(+) diff --git a/board/liebherr/xea/xea.c

  1   2   >