[PATCH] .gitignore: add files produced by b4

2022-06-07 Thread Andrey Zhizhikin
://people.kernel.org/monsieuricon/introducing-b4-and-patch-attestation Signed-off-by: Andrey Zhizhikin --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 28c439f09f..eb769f144c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ *.asn1.[ch] *.bin

[PATCH 2/2] clk: imx8mp: use usb_core_ref for usb_root_clk

2022-06-03 Thread Andrey Zhizhikin
et osc_32k device (parent of usb_root_clk)" Fix the USB controller clock source by using usb_core_ref instead of osc_32k. Fixes: 7a2c3be95a50 ("clk: imx8mp: Fill in DWC3 USB, USB PHY, HSIOMIX clock") Signed-off-by: Andrey Zhizhikin Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babi

[PATCH 1/2] clk: imx8mp: fix root clock names for ecspi

2022-06-03 Thread Andrey Zhizhikin
Root clock name contained underscore, which does not match to the actual clock name. Correct the name to match what is present in the FDT. Fixes: 87f958810fcb ("clk: imx8mp: Add ECSPI clocks") Signed-off-by: Andrey Zhizhikin Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic Cc:

[PATCH 0/2] clk: imx8mp: clock names and clock source fixes

2022-06-03 Thread Andrey Zhizhikin
This series addresses few fixes for clock sub-system for i.MX8MP SOC. One is dealing with incorrect names used, while the second one addresses root clock selection which has been apparently omitted during merge and caused the warning to be reported during boot. Andrey Zhizhikin (2): clk

[PATCH] env: do not fail on non-existing env.in file

2022-04-03 Thread Andrey Zhizhikin
': No such file or directory Add '-f' option to the `rm` command to not complain if file does not exist. Fixes: f432eb6d8a9d ("env: Avoid using a leftover text-environment file") Signed-off-by: Andrey Zhizhikin --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH] imx8m: lock id_swap_bypass bit in tzc380 enable

2022-01-24 Thread Andrey Zhizhikin
ot;) Fixes: a07c7181296f ("imx8mp: set BYPASS ID SWAP to avoid AXI bus errors") Signed-off-by: Andrey Zhizhikin Cc: Peng Fan --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 6 -- arch/arm/mach-imx/imx8m/soc.c | 15 ++- 2 files changed, 18 insertions(+),

[PATCH] imx8mn-ddr4-evk: generate single bootable image

2022-01-17 Thread Andrey Zhizhikin
rm similar adaptions in order to provide single bootable image for imx8mn-ddr4-evk derivate. Update documentation to drop additional step of copying u-boot.itb Fixes: 353dfe4b4359 ("imx8mn-ddr4-evk: switch to use binman") Signed-off-by: Andrey Zhizhikin --- arch/arm/dts/imx8mn-

[PATCH] imx: ventana: correct splashimage load address

2022-01-17 Thread Andrey Zhizhikin
sh logo drawing") Signed-off-by: Andrey Zhizhikin Cc: Tim Harvey --- include/configs/gw_ventana.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 513b2d4679..acd495f234 100644 --- a/include/configs/gw_ven

[PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot

2022-01-16 Thread Andrey Zhizhikin
Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy environment variables. Signed-off-by: Andrey Zhizhikin --- Changes in V2: - Correct config variable name, it should be SYS_LOAD_ADDR include/configs/imx8mq_evk.h | 8 1 file changed, 4 insertions(+), 4 deletions

[PATCH v2] imx8mq_evk: configs: add/cleanup variables for distro boot

2022-01-11 Thread Andrey Zhizhikin
Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy environment variables. Signed-off-by: Andrey Zhizhikin --- Changes in V2: - Rebased on latest master after 2022.01 release include/configs/imx8mq_evk.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH] imx8mq_evk: configs: add/cleanup variables for distro boot

2021-12-06 Thread Andrey Zhizhikin
Add fdt_addr_r fdtfile which used by distro boot, and cleanup legacy environment variables. Signed-off-by: Andrey Zhizhikin --- include/configs/imx8mq_evk.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h

[PATCH v2] imx8mq_evk: switch board to use binman for images

2021-12-03 Thread Andrey Zhizhikin
command, and advise latest firmware and TF-A versions to use. NOTE: New image produced by binman does not have Signed HDMI FW support, this has been left on the side and does not interfere with the general boot flow. Tested on: [i.MX8MQ rev2.0] Signed-off-by: Andrey Zhizhikin --- Changes in V2

[PATCH] imx8mq_evk: switch board to use binman for images

2021-12-03 Thread Andrey Zhizhikin
command, and advise latest firmware and TF-A versions to use. NOTE: New image produced by binman does not have Signed HDMI FW support, this has been left on the side and does not interfere with the general boot flow. Tested on: [i.MX8MQ rev2.0] Signed-off-by: Andrey Zhizhikin --- arch/arm/dts

[PATCH][RFC] tree: imx: remove old fit generator script

2021-08-24 Thread Andrey Zhizhikin
nary images. Signed-off-by: Andrey Zhizhikin --- Makefile | 3 - arch/arm/mach-imx/mkimage_fit_atf.sh | 143 --- 2 files changed, 146 deletions(-) delete mode 100755 arch/arm/mach-imx/mkimage_fit_atf.sh diff --git a/Makefile b/Makef

[PATCH] arm: imx: imx8mm: clock: make debug output more descriptive

2021-05-03 Thread Andrey Zhizhikin
decoding routine has a generic debug statement printed, which does not state the actual value failed to be found Extend the output for both cases with prefixing table lookup functions output with function name, and report the failed value in PLL decoding routine. Signed-off-by: Andrey Zhizhikin

[PATCH v2] arm: imx: imx8mm: correct unrecognized fracpll frequency

2021-05-03 Thread Andrey Zhizhikin
there with a precise Hz value. This in turn causes the boot hang in SPL, as proper DDR fracpll frequency cannot be determined. Correct the value in imx8mm_fracpll_tbl to match the one expanded by MHZ(266) macro, rounding it down to MHz range only. Signed-off-by: Andrey Zhizhikin Cc: Stefano Babic Cc: Fabio Estevam

[PATCH v2] imx8mn: configs: add support for distro boot commands

2021-05-02 Thread Andrey Zhizhikin
and boot order. Signed-off-by: Andrey Zhizhikin Cc: Peng Fan --- Changes in v2: - Correct fdt parameters: "fdt_file" -> "fdtfile", "fdt_addr" -> "fdt_addr_r" - Set "kernel_addr_r" and "scriptaddr" from config configs/imx8mn

[PATCH 3/3] imx8mn: configs: add support for distro boot commands

2021-05-01 Thread Andrey Zhizhikin
and boot order. Signed-off-by: Andrey Zhizhikin Cc: Peng Fan --- configs/imx8mn_ddr4_evk_defconfig | 1 + configs/imx8mn_evk_defconfig | 1 + include/configs/imx8mn_evk.h | 64 ++- 3 files changed, 14 insertions(+), 52 deletions(-) diff --git a/configs

[PATCH 0/3] Correct and extend distro boot support for imx8m

2021-05-01 Thread Andrey Zhizhikin
addresses above points by extending imx8mm and imx8mp derivatives with full support for distro boot, including sysboot flow; and adds a support for distro boot to imx8mn. Andrey Zhizhikin (3): imx8mm: configs: enable distro default features imx8mp: configs: enable distro default features

[PATCH 2/3] imx8mp: configs: enable distro default features

2021-05-01 Thread Andrey Zhizhikin
that are relevant to the boot script. Replace the boot script specific options in the config to a default distro option. Signed-off-by: Andrey Zhizhikin Cc: Peng Fan Fixes: 9b162b1d1f ("imx8mp: configs: add support for distro boot commands") --- configs/imx8mp_evk_defconfig | 3 +-- 1 fi

[PATCH 1/3] imx8mm: configs: enable distro default features

2021-05-01 Thread Andrey Zhizhikin
that are relevant to the boot script. Replace the boot script specific options in the config to a default distro option. Signed-off-by: Andrey Zhizhikin Cc: Peng Fan Fixes: 2df8930bf9 ("imx8mm: configs: add support for distro boot commands") --- configs/imx8mm_evk_defconfig | 3 +-- 1 fi

[PATCH] arm: imx: imx8mm: correct unrecognized fracpll frequency

2021-05-01 Thread Andrey Zhizhikin
there with a precise Hz value. This in turn causes the boot hang in SPL, as proper DDR fracpll frequency cannot be determined. Correct the value in imx8mm_fracpll_tbl to match the one expanded by MHZ(266) macro, rounding it down to MHz range only. Signed-off-by: Andrey Zhizhikin Cc: Stefano Babic Cc: Fabio Estevam

[PATCH] Makefile: allow to override python3

2021-05-01 Thread Andrey Zhizhikin
introduced in b48bfc74ee ("tools: allow to override python"), where conditional assignment is used for python executable to address similar build errors. Signed-off-by: Andrey Zhizhikin Cc: Simon Glass Fixes: e91610da7c ("kconfig: re-sync with Linux 4.17-rc4") --- Mak

Re: [PATCH] imx8mn_ddr4_evk: Allow booting the kernel by default

2021-03-04 Thread Andrey Zhizhikin
Hello Fabio, On Thu, Mar 4, 2021 at 12:07 PM Fabio Estevam wrote: > > Currently it is not possible to boot Linux from the SD card > by default. > > Make the necessary adjustments to allow it. > > Reported-by: Peter Bergin > Signed-off-by: Fabio Estevam Tes

Re: [meta-freescale] MTD UBI undefined reference failed to build OE gatesgarth branch

2021-01-15 Thread Andrey Zhizhikin
Hello Jupiter, On Fri, Jan 15, 2021 at 8:32 PM JH wrote: > > Hello, > > The mtd build was fine, what could be missing not to link mtd? > > $ ls 2020.04-r0/build/mx6ull_14x14_evk_nand_config/drivers/mtd >From all the build logs you have, it look to me that you're trying to build the U-Boot

[PATCH] doc: board: freescale: advise to use newer atf and firmware

2020-12-13 Thread Andrey Zhizhikin
and DDR firmware. Signed-off-by: Andrey Zhizhikin --- doc/board/freescale/imx8mm_evk.rst | 10 +- doc/board/freescale/imx8mn_evk.rst | 10 +- doc/board/freescale/imx8mp_evk.rst | 16 doc/board/freescale/imx8mq_evk.rst | 12 ++-- 4 files changed, 24

[PATCH v3 3/3] configs: imx8m: enable eMMC HS400ES and SD UHS mode on EVK

2020-12-05 Thread Andrey Zhizhikin
i.MX8M series includes support for high speed modes in uSDHC controllers. Turn on corresponding configuration options for EVK boards, which would enable high speed modes to be included in U-Boot. Signed-off-by: Andrey Zhizhikin --- configs/imx8mm_evk_defconfig | 4 configs

[PATCH v3 2/3] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-05 Thread Andrey Zhizhikin
i.MX8M series provide support for high speed grades in their usdhc controllers, which has eMMC and SDHC connected to them. Enable this support across the entire i.MX8M family by providing quirks to usdhc controllers designated by storage media connected to them. Signed-off-by: Andrey Zhizhikin

[PATCH v3 1/3] ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator

2020-12-05 Thread Andrey Zhizhikin
t;ARM: dts: rmobile: Increase off-on delay on the SD Vcc regulator") targeted Renesas SOCs. Signed-off-by: Andrey Zhizhikin Cc: Stefano Babic --- Changes in v3: - No changes since v2 Changes in v2: - Moved u-boot binding for imx8mq-evk to separate autoincluded dtsi files arch/arm/dts/imx

[PATCH v3 0/3] imx8m: introduce high speed mode support in usdhc

2020-12-05 Thread Andrey Zhizhikin
components. Andrey Zhizhikin (3): ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator ARM: dts: imx8m: add UHS or HS400/HS400ES properties configs: imx8m: enable eMMC HS400ES and SD UHS mode on EVK arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi| 3 +++ arch/arm/dts/fsl-imx8qxp-mek

[PATCH v2 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-02 Thread Andrey Zhizhikin
i.MX8M series provide support for high speed grades in their usdhc controllers, which has eMMC and SDHC connected to them. Enable this support across the entire i.MX8M family by providing quirks to usdhc controllers designated by storage media connected to them. Signed-off-by: Andrey Zhizhikin

[PATCH v2 1/2] ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator

2020-12-02 Thread Andrey Zhizhikin
t;ARM: dts: rmobile: Increase off-on delay on the SD Vcc regulator") targeted Renesas SOCs. Signed-off-by: Andrey Zhizhikin Cc: Stefano Babic --- Changes in v2: - Moved u-boot binding for imx8mq-evk and imx8mq-phanbell to separate autoincluded dtsi files arch/arm/dts/imx8mm-beacon-kit-u

[PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties

2020-12-01 Thread Andrey Zhizhikin
i.MX8M series provide support for high speed grades in their usdhc controllers, which has eMMC and SDHC connected to them. Enable this support across the entire i.MX8M family by providing quirks to usdhc controllers designated by storage media connected to them. Signed-off-by: Andrey Zhizhikin

[PATCH 1/2] ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator

2020-12-01 Thread Andrey Zhizhikin
t;ARM: dts: rmobile: Increase off-on delay on the SD Vcc regulator") targeted Renesas SOCs. Signed-off-by: Andrey Zhizhikin Cc: Stefano Babic --- arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi | 4 arch/arm/dts/imx8mm-evk-u-boot.dtsi| 4 arch/arm/dts/imx8mn-ddr4-evk-u-boot.

[PATCH 0/2] imx8m: introduce high speed mode support in usdhc

2020-12-01 Thread Andrey Zhizhikin
when mode switch in attempted, and enabling high speed mode quirks for all imx8m derivatives. Andrey Zhizhikin (2): ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator ARM: dts: imx8m: add UHS or HS400/HS400ES properties arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi| 3 +++ arch/arm

Re: [U-Boot] [PATCH] config: Enable part command for socfpga platform

2017-12-18 Thread Andrey Zhizhikin
Hello Marek, On Mon, Dec 18, 2017 at 12:39 PM, Marek Vasut <ma...@denx.de> wrote: > On 12/18/2017 12:10 PM, Andrey Zhizhikin wrote: >> Enable CONFIG_CMD_PART item, as default environment requires it >> and complains this command in unknown. > > Fine by me, but what ab

[U-Boot] [PATCH] ARM: socfpga: Enable part command for socfpga platform

2017-12-18 Thread Andrey Zhizhikin
Enable CONFIG_CMD_PART item, as default environment requires it and complains this command in unknown. Signed-off-by: Andrey Zhizhikin <andre...@gmail.com> --- configs/socfpga_arria10_defconfig | 1 + configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig

[U-Boot] [PATCH] config: Enable part command for socfpga platform

2017-12-18 Thread Andrey Zhizhikin
Enable CONFIG_CMD_PART item, as default environment requires it and complains this command in unknown. Signed-off-by: Andrey Zhizhikin <andre...@gmail.com> diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig index 8ed6169..2685881 100644 --- a/c