[PATCH v1 26/26] board: toradex: apalis-imx8: fix file names in maintainers

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Fix device tree file names in MAINTAINERS file. > Fixes: 3d6036650059 ("board: toradex: add apalis imx8qm 4gb wb it v1.0b > module support") > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v1 01/26] board/BuR/brppt2: fix pwms property warning

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Fix the following build-time pwms property warning: > w+arch/arm/dts/imx6dl-brppt2.dtb: Warning (pwms_property): > /backlight:pwms: property size (12) too small for cell size 3 > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards,

[PATCH v1 10/26] imx: imx7-cm: prepare to synchronise device trees with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > As a preparatory step rename the qspi1 reference to qspi as this is how > it is named in the Linux upstream device tree. > This avoids the following error once synchronised: > +Error: arch/arm/dts/.imx7-cm.dtb.pre.tmp:96.1-7 Label or path qspi1 not > found >

[PATCH] mx6cuboxi: fix board detection while patching device-tree phy nodes

2022-07-25 Thread sbabic
> ft_board_setup relies on the board_type() function to optimize which phy > nodes need to be enabled for Linux. > Add calls to setup and release the board-detect GPIOs. > Also fix the switch-case statement to only enable phy address 4 for > Cubox and unknown devices. > Fixes: 741ce308

[PATCH v1 19/26] imx8mm-kontron-n801x-s-lvds: fix pwms property warnings

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Fix the following build-time pwms property warnings: > w+arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dtb: Warning (pwms_property): > /backlight:pwms: property size (12) too small for cell size 3 > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks !

[PATCH v1 3/8] toradex: common: Use ARRAY_SIZE macro

2022-07-25 Thread sbabic
> Use generally available ARRAY_SIZE macro, instead of hand-coding it > every time is needed. > Signed-off-by: Francesco Dolcini Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH v6 1/7] tools: mkimage: Add support to generate FlexSPI Header for i.MX8m

2022-07-25 Thread sbabic
> Add struct with Flex SPI Configuration Block and enable generating > fspi header using mkimage. > Refer i.MX 8M Mini Application Processor Reference Manual for > detailed information about parameters for FlexSPI Configuration block. > Signed-off-by: Mamta Shukla > Signed-off-by: Thomas

[PATCH v2 4/6] imx8: use ROM API wrappers in spl_imx_romapi.c

2022-07-25 Thread sbabic
> Simplify the use of the ROM API by using the wrappers that take care > of saving/restoring gd and computing the xor value. This makes the > generated code smaller and the C code easier to read. > Reviewed-by: Peng Fan > Signed-off-by: Rasmus Villemoes Applied to u-boot-imx, master, thanks !

[PATCH] arm: dts: imx8mm-venice-gw700x: add support for GPY111 phy

2022-07-25 Thread sbabic
> The TI DP83867 phy has been replaced with the MaxLinear GPY111 phy > due to part availability. Add support for it: > - increase post-reset time to 300ms per datasheet > - leave tx-delay/rx-delay undefined in dt defaulting to 2.0ns > Signed-off-by: Tim Harvey Applied to u-boot-imx, master,

[PATCH] imx8mm: Sync device tree with linux-next 20220711

2022-07-25 Thread sbabic
> From: Fabio Estevam > Sync imx8mm.dtsi device tree with linux-next 20220711. > The main motivation for doing this sync is the sha256 regression > reported by Andrey Zhizhikin [1]. > The linux-next kernel has the following commit, which disables > the job ring 0 and fixes the problem: >

[PATCH v1 05/26] apalis_imx6: synchronise device tree with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux-next 20220706. > Please note that this also means that instead of the previous "generic" > U-Boot specific carrier board agnostic device tree we are now using the > regular one for the Apalis Evaluation (carrier) board (e.g. >

[PATCH v2 3/6] imx8: add rom api wrappers

2022-07-25 Thread sbabic
> The ROM API is thoroughly undocumented, but apparently passing the xor > of the real arguments as an extra argument is required [1]. Also, we > need to do the "save gd/restore gd" dance. These are both error-prone, > and lead to a lot of code duplication. > Since both imx8m[np] and imx8ulp SOCs

[PATCH v1 4/8] toradex: tdx-cfg-block: Cleanup interactive cfg block creation

2022-07-25 Thread sbabic
> Simplify interactive config block creation code, instead of having a > a long list of questions and a complex tree of preprocessor directive to > guess the exact SKU, just ask the user to select it from a list. > The modules list is filtered out to include only SKUs that are supported > by the

[PATCH] tools: imx8mimage: Keep IVT reserved1 field zero always

2022-07-25 Thread sbabic
> Since fe8acf556c3 ("imx: HAB: Validate IVT before authenticating image") > the U-Boot HAB implementation is checking whether reserved1 field in IVT > is zero or not. In case the field is not zero, IVT validation fails. Stop > setting IVT reserved1 field to non-zero in mkimage imx8m plugin,

[PATCH v6 3/7] configs: Add config for enabling FSPI boot option for i.MX8m

2022-07-25 Thread sbabic
> Add imx8mm_evk_fspi_defconfig to build QSPI boot image. > This config is based on imx8mm_evk_defconfig with addtional config options to > define FSPI Header parameters required to generate QSPI Header. > Update SPL offset to include header size and overwrite IMX_CONFIG to use > lpddr.cfg for

[PATCH v6 7/7] doc: board: nxp: Add instructions to boot from QSPI

2022-07-25 Thread sbabic
> Add instructions to build and boot from QSPI Flash > Signed-off-by: Mamta Shukla > Signed-off-by: Thomas Haemmerle > Tested-by: Adam Ford > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 5/6] imx8m: soc.c: use rom_api_query_boot_infor() wrapper

2022-07-25 Thread sbabic
> Reviewed-by: Peng Fan > Signed-off-by: Rasmus Villemoes Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich,

[PATCH v6 2/7] dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman

2022-07-25 Thread sbabic
> Add definition for FSPI configuration block and subsequently new offsets for > u-boot-spl and u-boot-itb for CONFIG_FSPI_HEADER option. > Signed-off-by: Mamta Shukla > Signed-off-by: Thomas Haemmerle > Tested-by: Adam Ford > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks !

[PATCH v1 02/26] imx6: aristainetos: fix pwms property warnings

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Fix the following build-time pwms property warnings: > w+arch/arm/dts/imx6dl-aristainetos2c_7.dtb: Warning (pwms_property): > /backlight:pwms: property size (12) too small for cell size 3 > w+arch/arm/dts/imx6dl-aristainetos2c_cslb_7.dtb: Warning (pwms_property): >

[PATCH v6 5/7] configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m

2022-07-25 Thread sbabic
> The macro `CONFIG_SYS_UBOOT_BASE` is used by SPL loaders `"NOR"` and > `"XIP"` to determine the base address of u-boot. > For `"NOR"` on i.MX8MM it is the base address of QSPI0 plus the offset > of the flattened image tree blob. > Although `QSPI0_AMBA_BASE` is used to define

[PATCH v1 8/8] toradex: common: Improve product/serial print during boot

2022-07-25 Thread sbabic
> Add product id print in show_board_info(), with an increasing number of > Toradex SKUs available with small differences it makes sense to print it. > Move serial number print to a dedicated line, this prevents the previous > line with the product name to overflow the 80 columns with any >

[PATCH v1 25/26] imx8mq: synchronise device tree with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v5.19-rc5. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH v1 08/26] imx6ul/imx6ull: synchronise device trees with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Synchronise device trees with linux v5.19-rc5. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH v1 20/26] imx8mm-mx8menlo/verdin-imx8mm: synchronise device tree with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v5.19-rc5. > Please note that this also means that instead of the previous "generic" > U-Boot specific carrier board agnostic device tree we are now using the > regular one for the Verdin Development (carrier) board (e.g. >

[PATCH v1 6/8] toradex: common: Remove #ifdef usage for 2nd ethaddr

2022-07-25 Thread sbabic
> Fix checkpatch warn, use `IS_ENABLED(CONFIG_TDX_CFG_BLOCK_2ND_ETHADDR)` > instead of `#ifdef CONFIG_TDX_CFG_BLOCK_2ND_ETHADDR`. > Signed-off-by: Francesco Dolcini Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v6 6/7] board: freescale: Add entry for imx8mm_evk_fspi_defconfig

2022-07-25 Thread sbabic
> Add entry for imx8mm_evk_fspi_defconfig in > board/freescale/imx8mm_evk/MAINTAINERS > Signed-off-by: Mamta Shukla > Signed-off-by: Thomas Haemmerle > Tested-by: Adam Ford > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

Re: [SPAM] [PATCH v2 0/7] migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-25 Thread Quentin Schulz
On 7/25/22 13:20, Xavier Drudis Ferran wrote: El Mon, Jul 25, 2022 at 12:54:04PM +0200, Quentin Schulz deia: You'd need a new binman entry I assume for calling mkenvimage. It's not a super safe assumption that CONFIG_ENV_OFFSET will be used for declaring where the environment is

[PATCH v1 22/26] imx8mp: synchronise device tree with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux v5.19-rc5. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH v1 14/26] ARM: DTS: bk4r1/pcm052: prepare to synchronise device trees with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > As a preparatory step rename the included SoC dtsi from vf.dtsi to > vf610.dtsi as this is how it is named in Linux upstream. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v1 11/26] imx: imx7d-sdb: prepare to synchronise device trees with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > As a preparatory step remove the epdc reference which does not exist in > the Linux upstream device tree and rename the qspi1 reference to qspi as > this is how it is named in the Linux upstream device tree. > This avoids the following error once synchronised: > +Error:

[PATCH v1 13/26] colibri-imx7d/-emmc: synchronise device tree with linux

2022-07-25 Thread sbabic
> From: Marcel Ziswiler > Synchronise device tree with linux-next next-20220708. > Please note that this also means that instead of the previous "generic" > U-Boot specific carrier board agnostic device trees we are now using the > regular ones for the Colibri Evaluation (carrier) board V3 (e.g.

[PATCH v1 1/8] toradex: tdx-cfg-block: add 0068 i.mx 8m mini sku

2022-07-25 Thread sbabic
> From: Philippe Schenker > Add new i.MX 8M Mini SKU to ConfigBlock handling. > 0068: Verdin iMX8M Mini Quad 2GB WB IT No CAN > This SKU is identical to 0055 but without CAN. Mention this in the name > so those modules can be distinguished. > Signed-off-by: Philippe Schenker > Reviewed-by:

Re: [PATCH v3 4/4] ARM: stm32: DH: Use common MAC address functions

2022-07-25 Thread Patrick DELAUNAY
Hi, On 7/25/22 10:19, Philip Oberfichtner wrote: To reduce code duplication, let the stm32 based DH boards use the common code for setting up their MAC addresses. Signed-off-by: Philip Oberfichtner Tested-by: Marek Vasut Reviewed-by: Marek Vasut --- Changes in v3: - Reviewed by

Re: [PATCH] fastboot: release usb_gadget on reboot commands

2022-07-25 Thread Marek Vasut
On 7/25/22 15:19, Mattijs Korpershoek wrote: On ven., juil. 22, 2022 at 23:48, Marek Vasut wrote: On 7/21/22 15:59, Mattijs Korpershoek wrote: [...] diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 8ba55aab9f8f..a00d1ca571d1 100644 ---

Re: [PATCH] spl: Move check for SPL_LIBCOMMON support to header

2022-07-25 Thread Tom Rini
On Fri, Jul 15, 2022 at 10:35:00AM -0500, Andrew Davis wrote: > From: "Andrew F. Davis" > > Print statements in SPL depend on lib/common support, due to this many > such print statements are ifdef'd. Instead of checking at each call site > move the check to the common.h header and remove these

[PATCH] MAINTAINERS: Change POWERPC MPC85XX maintainer to Marek Behún

2022-07-25 Thread Marek Behún
After a discussion with Tom Rini, we've agreed that I am going to take over custodianship of the MPC85XX platform, since it seems other people do not have necessary interest or time and getting things done over there takes too long. Since I am only working on one MPC85XX board, Turris 1.x, and do

Re: [PATCH v1 0/8] board: toradex: Refactor config block handling and cleanup

2022-07-25 Thread Tom Rini
On Mon, Jul 25, 2022 at 01:25:04PM +0200, Francesco Dolcini wrote: > Hello Tom, > this series is supposed to go through you or someone else? > Merge window is supposed to close today, there is no rush, but would be > great to have this in v2022.10. I think I had assigned this to myself to start

Re: [PATCH] tools: mkimage: fix build with LibreSSL

2022-07-25 Thread Jonathan Gray
On Fri, Jul 22, 2022 at 07:55:53PM +0200, Michal Vasilek wrote: > RSA_get0_* functions are not available in LibreSSL added in January revision 1.41 date: 2022/01/05 20:44:12; author: tb; state: Exp; lines: +55 -1; commitid: b1ATkp4OhzL5p4XV; Prepare to provide a

Re: [PATCH v2 0/8] Add support for the i.MXRT1170

2022-07-25 Thread Stefano Babic
Hi Jesse, I get errors as soon as I merge the series: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/471284 In fact, you add new CONFIG_ but not via Kbuild: CONFIG_SPL_STACK CONFIG_SYS_FSL_ERRATUM_ESDHC135 Check this job, too:

Re: [PATCH 0/5] FWU: Add support for mtd backed feature on DeveloperBox

2022-07-25 Thread Jassi Brar
Hi Sughosh, On Mon, 25 Jul 2022 at 02:18, Sughosh Ganu wrote: > > hi Jassi, > > On Fri, 22 Jul 2022 at 23:12, wrote: > > > > From: Jassi Brar > > > > The mtd and synquacer (developerbox) support was dropped from v6[1] > > This patchset re-introduces the support over last v7[2] submission of

Re: [PATCH] fastboot: release usb_gadget on reboot commands

2022-07-25 Thread Mattijs Korpershoek
On ven., juil. 22, 2022 at 23:48, Marek Vasut wrote: > On 7/21/22 15:59, Mattijs Korpershoek wrote: > > [...] > >> diff --git a/drivers/usb/gadget/f_fastboot.c >> b/drivers/usb/gadget/f_fastboot.c >> index 8ba55aab9f8f..a00d1ca571d1 100644 >> --- a/drivers/usb/gadget/f_fastboot.c >> +++

[PATCH 1/2] gpio: Add Turris Omnia MCU driver

2022-07-25 Thread Pali Rohár
This driver registers GPIO controller and allows U-Boot to control GPIO pins on MCU which is connected to Turris Omnia via i2c. Signed-off-by: Pali Rohár --- board/CZ.NIC/turris_omnia/MAINTAINERS | 1 + drivers/gpio/Kconfig | 7 + drivers/gpio/Makefile | 1

[PATCH 2/2] arm: mvebu: turris_omnia: Add mcu node with gpio-controller

2022-07-25 Thread Pali Rohár
This allows U-Boot to register new Turris Omnia MCU driver. Signed-off-by: Pali Rohár --- arch/arm/dts/armada-385-turris-omnia.dts | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/armada-385-turris-omnia.dts b/arch/arm/dts/armada-385-turris-omnia.dts

Re: [PATCH 00/14] imx: kontron-sl-mx8mm: Improvements and OSM board support

2022-07-25 Thread Stefano Babic
Hi Frieder, On 13.07.22 11:52, Frieder Schrempf wrote: From: Frieder Schrempf Series raises a warning and I cannot merge it. Can you fix it and repost ? Thanks ! https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/471281 Best regards, Stefano This set contains several

[PATCH] mvebu: pinctrl: apply SDHCI PHY config for A7K

2022-07-25 Thread Pali Rohár
From: Konstantin Porotchkin Current pin control driver applies SDHCI PHY MUX selection when board DT calls for eMMC function on MPP wires. However, for CP side eMMC, only the "armada-8k-cpm-pinctrl" compatibility string is taken into account, which causes CP-SDHCI on Armada-7K boards to fail.

[PATCH 4/6] arm64: a37xx: pinctrl: Add missing pinmuxes into the list

2022-07-25 Thread Pali Rohár
Signed-off-by: Pali Rohár --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index e0445e3e2b3a..d2abe67fe5be 100644 ---

[PATCH 6/6] arm64: a37xx: pinctrl: Implement get_pins_count, get_pin_name and get_pin_muxing functions

2022-07-25 Thread Pali Rohár
These functions are required for 'pinmux status -a' command to print current configuration of each MPP pin. Signed-off-by: Pali Rohár --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 78 + 1 file changed, 78 insertions(+) diff --git

[PATCH 3/6] arm64: a37xx: pinctrl: Mark all functions and structures as static

2022-07-25 Thread Pali Rohár
Signed-off-by: Pali Rohár --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index e1cde53a0243..e0445e3e2b3a 100644 ---

[PATCH 2/6] arm64: a37xx: pinctrl: Remove duplicate info->groups and info->ngroups fields

2022-07-25 Thread Pali Rohár
They are available in pin_data structure. Signed-off-by: Pali Rohár --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c

[PATCH 1/6] arm64: a37xx: pinctrl: Remove unused grp->pins fields

2022-07-25 Thread Pali Rohár
grp->pins is just filled and never used. Remove it. Signed-off-by: Pali Rohár --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c

[PATCH 5/6] arm64: a37xx: pinctrl: Implement gpio_request_enable for gpio functionality

2022-07-25 Thread Pali Rohár
To automatically enable GPIO functionality of some MPP pin, it is required to implement .gpio_request_enable and .gpio_disable_free callbacks in pinctrl driver and set .request and .rfree callbacks in GPIO driver to pinctrl_gpio_request / pinctrl_gpio_free functions. Signed-off-by: Pali Rohár

[PATCH 0/6] arm64: a37xx: pinctrl: Fix requesting GPIOs and pinmux command

2022-07-25 Thread Pali Rohár
This patch series cleanup pinctrl-armada-37xx.c driver, add missing pin muxes into the list to allow usage all MPP pins as GPIOs, implement gpio_request_enable callback for correctly setting MPP pins to GPIO mode. For debugging purposes are implemented also get_pins_count, get_pin_name and

[PATCH 1/8] pinctrl: Add new function pinctrl_generic_set_state_prefix()

2022-07-25 Thread Pali Rohár
This new function pinctrl_generic_set_state_prefix() behaves like pinctrl_generic_set_state() but it takes third string argument which is used as the prefix for each device tree string property. This is needed for Marvell pinctrl drivers, becase Linux device tree files have pinmux properties

[PATCH 6/8] gpio: mvebu_gpio: Read number of gpios from DT

2022-07-25 Thread Pali Rohár
Device tree property "ngpios" contains number of gpios. Use it when available. Signed-off-by: Pali Rohár --- drivers/gpio/mvebu_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/mvebu_gpio.c b/drivers/gpio/mvebu_gpio.c index 888ccfe4d13e..55ed685f70f8

[PATCH 2/8] mvebu: pinctrl: Add Armada 38x driver

2022-07-25 Thread Pali Rohár
This new Armada 38x driver is based on Linux kernel driver. It can set any pin to any valid function specified in DT like Linux kernel, it provides support for 'pinmux status -a' command and also for pinctrl_gpio_request(). Signed-off-by: Pali Rohár --- drivers/pinctrl/mvebu/Kconfig

[PATCH 4/8] pinctrl: Add third argument label for pinctrl_gpio_request() function

2022-07-25 Thread Pali Rohár
This change allows to use pinctrl_gpio_request() function as a direct pointer for dm_gpio_ops's .request callback. Signed-off-by: Pali Rohár --- drivers/pinctrl/pinctrl-uclass.c | 3 ++- include/dm/pinctrl.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 7/8] gpio: mvebu_gpio: Set bank name to mvebu%d

2022-07-25 Thread Pali Rohár
Currently bank name is just one alphabetical letter. Change it to mvebu and number. Signed-off-by: Pali Rohár --- drivers/gpio/mvebu_gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/mvebu_gpio.c b/drivers/gpio/mvebu_gpio.c index

[PATCH 8/8] arm: mvebu: turris_omnia: Enable a38x pinctrl and gpio support

2022-07-25 Thread Pali Rohár
Signed-off-by: Pali Rohár --- configs/turris_omnia_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig index e2a0449b487b..9b38ba93f767 100644 --- a/configs/turris_omnia_defconfig +++

[PATCH 5/8] gpio: mvebu_gpio: Add .request and .rfree methods for Armada 38x

2022-07-25 Thread Pali Rohár
To use particular pin GPIO, it needs to be first switched to GPIO by pinctrl. Use pinctrl_gpio_request() and pinctrl_gpio_free() for this purpose. Signed-off-by: Pali Rohár --- drivers/gpio/mvebu_gpio.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpio/mvebu_gpio.c

[PATCH 3/8] arm: mvebu: Add gpio-ranges into Armada 38x device tree file

2022-07-25 Thread Pali Rohár
This allows U-Boot mvebu-gpio.c driver to switch particular MPP pin into GPIO mode and enable GPIO support. Signed-off-by: Pali Rohár --- arch/arm/dts/armada-38x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/armada-38x.dtsi b/arch/arm/dts/armada-38x.dtsi index

[PATCH 0/8] arm: mvebu: Add Armada 38x pin muxing support

2022-07-25 Thread Pali Rohár
This patch series add support for configuring pin muxing on Armada 38x via device tree properties used by Linux kernel. It extends also mvebu gpio driver to properly set pin function to gpio prior assigning pins and enable gpio and pinmux support on Turris Omnia. Pali Rohár (8): pinctrl: Add

Re: [PATCH v2 1/7] rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM

2022-07-25 Thread Johan Jonker
On 7/25/22 13:05, Xavier Drudis Ferran wrote: > Note: I removed a few recipients from Cc: with a quite random criteria, > just to avoid error messages from the list software that there were > too many addresses in Cc:. I hope those will get it from the list anyway > and sorry if this is a

Re: [SPAM] [PATCH v2 0/7] migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-25 Thread Xavier Drudis Ferran
El Mon, Jul 25, 2022 at 12:54:04PM +0200, Quentin Schulz deia: > You'd need a new binman entry I assume for calling mkenvimage. > > It's not a super safe assumption that CONFIG_ENV_OFFSET will be used for > declaring where the environment is stored. E.g., CONFIG_ENV_OFFSET for Puma > declares

[PATCH] net: phy: Read physical phy IDs before phy is created

2022-07-25 Thread Michal Simek
ethernet-phy-id directly specify phy ID which is present on the board but there is no code which really checks that specified phy ID is actually present on the board. That's why read phy ID regs with get_phy_id() call and compare it with required ID. If they don't match don't use this driver.

Re: [PATCH 00/53] NXP-IMX pending patches

2022-07-25 Thread Stefano Babic
On 20.07.22 15:17, Peng Fan (OSS) wrote: From: Peng Fan This is to resend the pending patches [1,2,3] for Stefano to pick Patchset base: fc97ff2695d6d7fbea7d5fda7b080f405d6ee744 (origin/master, origin/HEAD, imx/master) Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi Rebased

Re: [PATCH v2 1/7] rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM

2022-07-25 Thread Xavier Drudis Ferran
Note: I removed a few recipients from Cc: with a quite random criteria, just to avoid error messages from the list software that there were too many addresses in Cc:. I hope those will get it from the list anyway and sorry if this is a problem. > I'm sure I'm just missing out on something

Re: [SPAM] [PATCH v2 0/7] migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-25 Thread Quentin Schulz
Hi Xavier, On 7/24/22 09:46, Xavier Drudis Ferran wrote: El Fri, Jul 22, 2022 at 01:34:58PM +0200, Quentin Schulz deia: From: Quentin Schulz This migrates the generation of u-boot-rockchip.bin from Makefile to binman completely. There is therefore no idbloader.img anymore as it is created on

Re: [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage

2022-07-25 Thread Jan Palus
On 25.07.2022 11:25, AKASHI Takahiro wrote: > On Sat, Jul 23, 2022 at 05:03:39PM +0200, Jan Palus wrote: > > On 23.07.2022 16:43, Jan Palus wrote: > > > On 23.07.2022 16:19, Jan Palus wrote: > > > > On 22.07.2022 02:59, Simon Glass wrote: > > > > > Hi Jan, > > > > > > > > > > On Mon, 18 Jul 2022

Re: [PATCH] imx: syscounter: support timer_get_boot_us

2022-07-25 Thread Fabio Estevam
Hi Jun, On Thu, Jul 21, 2022 at 7:30 AM Jun Nie wrote: > > With supporting timer_get_boot_us, we can profile boot up time with below > configs and function bootstage_mark_name(). > > CONFIG_BOOTSTAGE=y > CONFIG_BOOTSTAGE_REPORT=y > CONFIG_CMD_BOOTSTAGE=y > > Signed-off-by: Jun Nie Reviewed-by:

Re: [PATCH v2 1/7] rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM

2022-07-25 Thread Quentin Schulz
Hi Johan, On 7/23/22 14:07, Johan Jonker wrote: Hi Quentin and others, Some comments. Have a look if it's useful. It works, but is in need for some improvement... Johan On 7/22/22 13:34, Quentin Schulz wrote: From: Quentin Schulz idbloader.img content - currently created by way of

Re: [PATCH 0/7] Add support for cyclic function execution infrastruture

2022-07-25 Thread Stefan Roese
Hi Tom, On 25.05.22 09:40, Stefan Roese wrote: This patchset adds the basic infrastructure to periodically execute code, e.g. all 100ms. Examples for such functions might be LED blinking etc. The functions that are hooked into this cyclic list should be small timewise as otherwise the execution

[PATCH v3 4/4] ARM: stm32: DH: Use common MAC address functions

2022-07-25 Thread Philip Oberfichtner
To reduce code duplication, let the stm32 based DH boards use the common code for setting up their MAC addresses. Signed-off-by: Philip Oberfichtner Tested-by: Marek Vasut Reviewed-by: Marek Vasut --- Changes in v3: - Reviewed by Marek Changes in v2: - convert to livetree

[PATCH v3 1/4] board: dhelectronics: Implement common MAC address functions

2022-07-25 Thread Philip Oberfichtner
This is a starting point for unifying duplicate code in the DH board files. The functions for setting up MAC addresses are very similar for the i.MX6, i.MX8 and stm32mp1 based boards. All pre-existing implementations follow the same logic: (1) Check if ethaddr is already set in the environment

[PATCH v3 3/4] ARM: imx8: DH: Use common MAC address functions

2022-07-25 Thread Philip Oberfichtner
To reduce code duplication, let the imx8 based DH boards use the common code for setting up their MAC addresses. Signed-off-by: Philip Oberfichtner Tested-by: Marek Vasut Reviewed-by: Marek Vasut --- Changes in v3: - Reviewed by Marek Changes in v2: - Tested-by Marek

[PATCH v3 2/4] ARM: imx6: DH: Use common MAC address functions

2022-07-25 Thread Philip Oberfichtner
To reduce code duplication, let the imx6 based DH boards use the common code for setting up their MAC addresses. Signed-off-by: Philip Oberfichtner Tested-by: Marek Vasut Reviewed-by: Marek Vasut --- Changes in v3: - Reviewed by Marek Changes in v2: - Tested-by Marek

[PATCH v3 0/4] Deduplicate dhelectronics board files

2022-07-25 Thread Philip Oberfichtner
This series unifies common MAC address code for imx6, imx8 and stm32 based boards by DH. It is thought of as a starting point for more deduplication in the future. Changes in v3: - Entire series reviewed by Marek Changes in v2: - Tested-by Marek - convert to livetree

Re: [PATCH] Revert "power: pmic: rk8xx: Support sysreset shutdown method"

2022-07-25 Thread Michal Suchánek
Hello, On Sat, Jul 23, 2022 at 10:42:36AM -0600, Simon Glass wrote: > Hi Chris, > > On Fri, 22 Jul 2022 at 11:32, Chris Morgan wrote: > > > > From: Chris Morgan > > > > This reverts commit ad607512f5757f4485968efd5bcf2c0245a8a235. > > > > It was found during extensive testing that this causes

Re: [PATCH v4] Improve Windows build documentation

2022-07-25 Thread Bin Meng
On Mon, Jul 25, 2022 at 3:42 PM Martin Bonner wrote: > > * Add three more modules that are required. > * Remove the version numbers (because they are hard to keep in sync > with the latest MSYS2 versions) > * Add a pacman command line to install everything. > > Signed-off-by: Martin Bonner >

[PATCH v2] Provide more details of exactly how configuration signatures are calculated

2022-07-25 Thread Martin Bonner
Describe exactly which bytes are hashed and in what order when signing a configuration. Signed-off-by: Martin Bonner --- doc/uImage.FIT/signature.txt | 26 ++ 1 file changed, 26 insertions(+) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index

[PATCH v4] Improve Windows build documentation

2022-07-25 Thread Martin Bonner
* Add three more modules that are required. * Remove the version numbers (because they are hard to keep in sync with the latest MSYS2 versions) * Add a pacman command line to install everything. Signed-off-by: Martin Bonner --- doc/build/tools.rst | 22 ++ 1 file changed,

Re: [PATCH v3] Improve Windows build documentation

2022-07-25 Thread Bin Meng
On Mon, Jul 25, 2022 at 3:21 PM Martin Bonner wrote: > > * Add three more modules that are required. > * Remove the version numbers (because they are hard to keep in sync > with the latest MSYS2 versions) > * Add a pacman command line to install everything. > > Signed off by: Martin Bonner

[PATCH v3] Improve Windows build documentation

2022-07-25 Thread Martin Bonner
* Add three more modules that are required. * Remove the version numbers (because they are hard to keep in sync with the latest MSYS2 versions) * Add a pacman command line to install everything. Signed off by: Martin Bonner --- doc/build/tools.rst | 22 ++ 1 file changed,

Re: [PATCH 0/5] FWU: Add support for mtd backed feature on DeveloperBox

2022-07-25 Thread Sughosh Ganu
hi Jassi, On Fri, 22 Jul 2022 at 23:12, wrote: > > From: Jassi Brar > > The mtd and synquacer (developerbox) support was dropped from v6[1] > This patchset re-introduces the support over last v7[2] submission of the > patchset. > > All the comments on this code over v5 submission have been

Re: MVEBU A38x Regulator

2022-07-25 Thread Pali Rohár
Hello! I think that those dmesg lines are printed when regulator is not specified in device tree file in sata/ahci node (which is read by sata/ahci driver). On Sunday 24 July 2022 17:36:06 Tony Dinh wrote: > Hi Pali Hi Stefan, > > I find it odd that the Linux kernel regulator does not attempt

Re: [PATCH 1/5] dt/bindings: Add bindings for FWU Metadata mtd storage

2022-07-25 Thread Sughosh Ganu
On Fri, 22 Jul 2022 at 23:13, wrote: > > From: Sughosh Ganu > > Add bindings needed for accessing the FWU metadata regions. > These include the compatible string which point to the access > method, the actual device which stores the FWU metadata and > the offsets for both metadata regions. > >

<    1   2