[PATCH v5 5/6] toradex: MAINTAINERS: entries for new reST docs

2020-02-12 Thread Igor Opaniuk
From: Igor Opaniuk Add entries for the newly created documentation files in reST format. Signed-off-by: Igor Opaniuk --- board/toradex/apalis-imx8/MAINTAINERS | 1 + board/toradex/colibri-imx8x/MAINTAINERS | 1 + board/toradex/colibri_imx7/MAINTAINERS | 1 + board/toradex/verdin-imx8mm

[PATCH v1 1/2] ARM: dts: imx8mm-verdin: dm-spl for pinctrl_usdhc1 node

2020-02-14 Thread Igor Opaniuk
From: Igor Opaniuk Let pinctrl configuration for eMMC node (usdhc1) also be accessible in SPL. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx8mm-verdin-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx8mm-verdin-u-boot.dtsi b/arch/arm/dts/imx8mm-verdin-u

[PATCH v1 2/2] ARM: dts: imx8mm-verdin: drop rgmii_rxc_dly/txc_dly

2020-02-14 Thread Igor Opaniuk
From: Max Krummenacher The FEC in the i.MX8MM doesn't support this feature. So don't pretend one can use it. Signed-off-by: Max Krummenacher Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx8mm-verdin.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/dts/imx8mm-ve

[PATCH v1 3/4] ARM: dts: imx8qm-apalis: dm-pre-proper for pd_dma nodes

2020-02-19 Thread Igor Opaniuk
From: Igor Opaniuk pd_dma_* nodes should be accessible during pre-relocation stage of U-Boot proper for properly handling power domains. This fixes the issue with permanent failing of invocation of power_domain_get_by_index() in the common code of DM power domain uclass (drivers/power/domain

[PATCH v1 4/4] ARM: dts: imx8qxp-colibri: dm-pre-proper for pd_dma nodes

2020-02-19 Thread Igor Opaniuk
From: Igor Opaniuk pd_dma_* nodes should be accessible during pre-relocation stage of U-Boot proper for properly handling power domains. This fixes the issue with permanent failing of invocation of power_domain_get_by_index() in the common code of DM power domain uclass (drivers/power/domain

[PATCH v1 1/4] ARM: dts: imx8qm-apalis: replace dm-spl with dm-pre-proper

2020-02-19 Thread Igor Opaniuk
From: Igor Opaniuk For non-SPL/TPL setups dm-spl, dm-tpl, dm-pre-proper, dm-pre-reloc are handled equally, forcing the nodes with these properties to be accessible and device being probed before pre-relocation of U-Boot proper (drivers/core/util.c): bool ofnode_pre_reloc(ofnode node

[PATCH v1 2/4] ARM: dts: imx8qxp-colibri: replace dm-spl with dm-pre-proper

2020-02-19 Thread Igor Opaniuk
From: Igor Opaniuk For non-SPL/TPL setups dm-spl, dm-tpl, dm-pre-proper, dm-pre-reloc are handled equally, forcing the nodes with these properties to be accessible and device being probed before pre-relocation of U-Boot proper (drivers/core/util.c): bool ofnode_pre_reloc(ofnode node

Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-04 Thread Igor Opaniuk
p-tee: a67dc424ff ("ta: pkcs11: API for slot/token information") OP-TEE is compiled with these flags: CFG_ARM64_core=y CFG_NXP_CAAM=n CFG_NXPCRYPT=n PLATFORM=imx-mx8mmevk CFG_TEE_CORE_LOG_LEVEL=4 DEBUG=y CFG_TEE_CORE_DEBUG=y With DCACHE disabled obviously eve

Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-04 Thread Igor Opaniuk
Added Clement Faure to the discussion On Wed, Mar 4, 2020 at 4:34 PM Igor Opaniuk wrote: > > Hi Peng, > > On Tue, Aug 27, 2019 at 9:38 AM Peng Fan wrote: > > > > When running with OPTEE, the MMU table in u-boot does not remove the OPTEE > > memory from its setting

Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-05 Thread Igor Opaniuk
ting to System Control Register in > > arch/arm/cpu/armv8/cache_v8.c:419: > > > > /* enable the mmu */ > > set_sctlr(get_sctlr() | CR_M); > > > > In my setup mainline U-Boot/TF-A/OP-TEE are used: > > u-boot: 133276f14a ("Merge branch '2020-02-25-master-imports

Re: [U-Boot] [PATCH V3 15/27] imx8m: Fix MMU table issue for OPTEE memory

2020-03-05 Thread Igor Opaniuk
nclude > > #include > > #include > > #include > > @@ -13,7 +14,12 @@ DECLARE_GLOBAL_DATA_PTR; > > > > int dram_init(void) > > { > > - gd->ram_size = get_ram_size((void *)PHYS_SDRAM, > > PHYS_SDRAM_SIZE); > > +

[PATCH v1 3/3] verdin-imx8mm: add nfsboot wrapper to env

2020-03-05 Thread Igor Opaniuk
From: Igor Opaniuk Add nfsboot wrapper to env to boot Linux kernel from TFTP/NFS. Signed-off-by: Igor Opaniuk --- include/configs/verdin-imx8mm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h index dc0a2efec6

[PATCH v1 1/3] verdin-imx8mm: adjust dram size in case bl32 is used

2020-03-05 Thread Igor Opaniuk
From: Igor Opaniuk Adjust DRAM size in case BL32 secure payload is loaded (OP-TEE/Trusty), so during MMU initialization U-Boot won't touch this mem area. BL32 is loaded to the end of DRAM, bl32 payload size is read from rom_pointer[1]. This relates to the issue described in 59efa6b52b(&

[PATCH v1 2/3] imx8mm_evk: adjust dram size in case bl32 is used

2020-03-05 Thread Igor Opaniuk
From: Igor Opaniuk Adjust DRAM size in case BL32 secure payload is loaded (OP-TEE/Trusty), so during MMU initialization U-Boot won't touch this mem area. BL32 is loaded to the end of DRAM, bl32 payload size is read from rom_pointer[1]. This relates to the issue described in 59efa6b52b(&

[PATCH v1] doc: board: verdin-imx8mm: use mainline TF-A

2020-03-05 Thread Igor Opaniuk
From: Igor Opaniuk 1. Update build steps where mainline Trusted Firmware A is used. 2. Fix BL31_BASE to the proper one according to the SoC reference manual. Signed-off-by: Igor Opaniuk --- doc/board/toradex/verdin-imx8mm.rst | 26 ++ 1 file changed, 6 insertions

Re: [PATCH v1] doc: board: verdin-imx8mm: use mainline TF-A

2020-03-05 Thread Igor Opaniuk
Hi Bin, On Thu, Mar 5, 2020 at 10:56 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > 1. Update build steps where mainline Trusted Firmware A is used. > 2. Fix BL31_BASE to the proper one according to the SoC reference > manual. > > Signed-off-by: Igor Opaniuk >

Re: How to set boot count in U-boot for NXP iMX.6 Dual and Dual lite?

2020-03-10 Thread Igor Opaniuk
igure / build > u-boot with boot count? > Any insight / alternative approach suggestion will be highly useful. > > > Thanks in advance, > Pratik Rajyaguru > -- Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mailto: igor.opan...@gmail.com skype: igor.opanyuk +380 (93) 836 40 67 http://ua.linkedin.com/in/iopaniuk

Re: [PATCH v1 3/6] ARM: dts: verdin-imx8mm: Remove unsupported rxc/txc MAC dly properties

2020-03-10 Thread Igor Opaniuk
> - fsl,rgmii_txc_dly; > phy-handle = <ðphy0>; > phy-mode = "rgmii"; > phy-supply = <®_ethphy>; > -- > 2.25.1 > This one duplicates another sent already patch to ML [1]. [1] https://patchwork.ozlabs.org/patch/1238

Re: [External] Re: How to set boot count in U-boot for NXP iMX.6 Dual and Dual lite?

2020-03-10 Thread Igor Opaniuk
tenv/setenv) tools). Hope it helps > > Thank you, > Pratik Rajyaguru > > -Original Message- > From: Igor Opaniuk > Sent: 10 March 2020 17:32 > To: Pratik Rajyaguru > Cc: u-boot@lists.denx.de > Subject: [External] Re: How to set boot count in U-boot for NX

Re: [PATCH v1 5/6] board: verdin-imx8mm: Add KSZ9131 phy skew settings

2020-03-10 Thread Igor Opaniuk
MII_KSZ9031_MOD_DATA_NO_POST_INC); > + /* disable txdll bypass (enable 2ns skew delay on TXC) */ > + tmp &= ~MII_KSZ9131_RXTXDLL_BYPASS; > + /* rxc data pad skew 2ns - devaddr = 0x02, register = 0x4d */ > + tmp = ksz9031_phy_extended_write(phydev, 0x02, &

Re: [PATCH v1 4/6] verdin-imx8mm: Change board phy skew values for our ksz9031

2020-03-10 Thread Igor Opaniuk
MII_KSZ9031_EXT_RGMII_CLOCK_SKEW, > + MII_KSZ9031_MOD_DATA_NO_POST_INC, 0x03f4); > > if (phydev->drv->config) > phydev->drv->config(phydev); > -- > 2.25.1 > Tested-by: Igor Opaniuk Acked-by: Igor Opaniuk -- Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mailto: igor.opan...@gmail.com skype: igor.opanyuk +380 (93) 836 40 67 http://ua.linkedin.com/in/iopaniuk

Re: [PATCH v1 4/4] ARM: dts: imx8qxp-colibri: dm-pre-proper for pd_dma nodes

2020-03-11 Thread Igor Opaniuk
Hi Stefano, On Wed, Feb 19, 2020 at 3:38 PM Oleksandr Suvorov wrote: > > On Wed, Feb 19, 2020 at 3:05 PM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > pd_dma_* nodes should be accessible during pre-relocation stage of > > U-Boot proper for properly

Re: [PATCH v3 0/7] x86: Improve support for chain-loading U-Boot

2020-03-11 Thread Igor Opaniuk
state of tooling in U-Boot is not too good to be able to read thoughts of people and guess their wishes. But if you know how to improve that, patches are always welcome! [1] https://patchwork.ozlabs.org/cover/1225901/ > > -- > With Best Regards, > Andy Shevchenko > > -- Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mailto: igor.opan...@gmail.com skype: igor.opanyuk +380 (93) 836 40 67 http://ua.linkedin.com/in/iopaniuk

[PATCH v1] colibri_imx6: set gpr1 ENET_CLK_SEL

2020-03-12 Thread Igor Opaniuk
From: Igor Opaniuk This fixes the issue when PHY auto negotiation never completes. Fixes: 431cd76dd8("colibri_imx6: migrate to DM_ETH") Signed-off-by: Igor Opaniuk --- board/toradex/colibri_imx6/colibri_imx6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/toradex/co

Re: [U-Boot] Different build result for board "tbs2910" in gitlab-ci and azure

2019-11-02 Thread Igor Opaniuk
de > https://lists.denx.de/listinfo/u-boot That is toolchain version specific issue(there was a discussion about this board [1]). On Azure gcc-9.1.0-2 is used In gitlab-ci - gcc-7.3.0. [1] https://patchwork.ozlabs.org/patch/1180025/ -- Best regards - Freundliche Grüsse - Meilleures salutations

[U-Boot] [PATCH v3 0/5] imx: nandbcb: support for i.MX7 and bcb only updates

2019-11-03 Thread Igor Opaniuk
build for imx6 Igor Opaniuk (5): imx: gpmi: add defines for hw randominizer nand: mxs_nand: add API for switching different BCH layouts imx: nandbcb: add support for i.MX7 imx: nandbcb: refactor update function imx: nandbcb: add support for writing BCB only arch/arm/include/asm/mach-imx

[U-Boot] [PATCH v3 3/5] imx: nandbcb: add support for i.MX7

2019-11-03 Thread Igor Opaniuk
From: Igor Opaniuk Add support for updating FCB/DBBT on i.MX7: - additional new fields in FCB structure - Leverage hardware BCH/randomizer for writing FCB Signed-off-by: Igor Opaniuk Tested-by: Max Krummenacher Reviewed-by: Oleksandr Suvorov --- arch/arm/include/asm/mach-imx/imx-nandbcb.h

[U-Boot] [PATCH v3 4/5] imx: nandbcb: refactor update function

2019-11-03 Thread Igor Opaniuk
From: Igor Opaniuk Move code for writing FCB/DBBT pages to a separate function Signed-off-by: Igor Opaniuk Tested-by: Max Krummenacher Reviewed-by: Oleksandr Suvorov --- arch/arm/mach-imx/cmd_nandbcb.c | 231 ++-- 1 file changed, 127 insertions(+), 104 deletions

[U-Boot] [PATCH v3 2/5] nand: mxs_nand: add API for switching different BCH layouts

2019-11-03 Thread Igor Opaniuk
From: Igor Opaniuk On i.MX7 in a sake of reducing the disturbances caused by a neighboring cells in the FCB page in the NAND chip, a randomizer is enabled when reading the FCB page by ROM bootloader. Add API for setting BCH to specific layout (and restoring it back) used by ROM bootloader to be

[U-Boot] [PATCH v3 5/5] imx: nandbcb: add support for writing BCB only

2019-11-03 Thread Igor Opaniuk
From: Igor Opaniuk Add subcommand for add writing BCB only, where we provide appropriate offsets for firmware1 and firmware2 and size. Example of usage: > nandbcb bcbonly 0x0018 0x0008 0x0020 Writing 1024 bytes to 0x0: randomizing OK Writing 1024 bytes to 0x2: randomizing

[U-Boot] [PATCH v3 1/5] imx: gpmi: add defines for hw randominizer

2019-11-03 Thread Igor Opaniuk
From: Igor Opaniuk Extend GPMI Integrated ECC Control Register Description, include additional defines for enabling randomizer function and providing proper randomizer type. For additional details check i.MX7 APR, section 9.6.6.3 GPMI Integrated ECC Control Register Description (GPMI_ECCCTRLn

Re: [U-Boot] [PATCH v2 3/5] imx: nandbcb: add support for i.MX7

2019-11-03 Thread Igor Opaniuk
HI Stefano, On Sun, Nov 3, 2019 at 2:55 PM Stefano Babic wrote: > > Hi Igor, > > On 21/10/19 15:38, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > Add support for updating FCB/DBBT on i.MX7: > > - additional new fields in FCB structure > > - Levera

Re: [U-Boot] [PATCH v3 1/2] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-11-03 Thread Igor Opaniuk
Hi Stefano, On Wed, Oct 16, 2019 at 12:39 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to > keep original imx6ull-colibri.dts in sync with Linux. > > Move all contents of imx6ull-colibri.dts to

Re: [U-Boot] [PATCH v3 2/2] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-11-03 Thread Igor Opaniuk
Hi Stefano, On Wed, Oct 16, 2019 at 12:39 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add u-boot,dm-pre-reloc properties for uart pinmux configuration > nodes, which enables UART as early as possible (before relocation). > > Without this we miss almost the half of o

Re: [U-Boot] [PATCH v3 1/2] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-11-03 Thread Igor Opaniuk
On Sun, Nov 3, 2019 at 5:36 PM Stefano Babic wrote: > > On 03/11/19 17:20, Igor Opaniuk wrote: > > Hi Stefano, > > > > On Wed, Oct 16, 2019 at 12:39 PM Igor Opaniuk > > wrote: > >> > >> From: Igor Opaniuk > >> > >> Intro

[U-Boot] [PATCH v1 0/6] imx: colibri imx6/imx7: apalis imx6: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
Migrate to DM_ETH and remove hardcoded pinmux configuration. Igor Opaniuk (6): ARM: dts: imx6_colibri: introduce fec node colibri_imx6: migrate to DM_ETH ARM: dts: imx6_apalis: introduce fec node apalis_imx6: migrate to DM_ETH ARM: dts: imx7: imx7_colibri: introduce fec node

[U-Boot] [PATCH v1 1/6] ARM: dts: imx6_colibri: introduce fec node

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Sync DTS with the mainline Linux and introduce fec node. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx6-colibri.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/imx6-colibri.dts b/arch/arm/dts/imx6-colibri.dts index 5c9f1f0d2b

[U-Boot] [PATCH v1 4/6] apalis_imx6: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Migrate to DM_ETH and remove hardcoded pinmux configuration. Signed-off-by: Igor Opaniuk --- board/toradex/apalis_imx6/apalis_imx6.c | 51 - configs/apalis_imx6_defconfig | 3 ++ include/configs/apalis_imx6.h | 6 --- 3 files

[U-Boot] [PATCH v1 5/6] ARM: dts: imx7: imx7_colibri: introduce fec node

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Sync DTS with the mainline Linux and introduce fec node and regulator configuration for rn5t567 PMU. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx7-colibri.dtsi | 116 + arch/arm/dts/imx7d.dtsi| 3 + arch/arm/dts/imx7s.dtsi

[U-Boot] [PATCH v1 2/6] colibri_imx6: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Migrate to DM_ETH and remove hardcoded pinmux configuration. Signed-off-by: Igor Opaniuk --- board/toradex/colibri_imx6/colibri_imx6.c | 59 ++- configs/colibri_imx6_defconfig| 3 ++ include/configs/colibri_imx6.h| 8 --- 3

[U-Boot] [PATCH v1 6/6] colibri_imx7: migrate to DM_ETH

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Migrate to DM_ETH and remove hardcoded pinmux configuration. Signed-off-by: Igor Opaniuk --- board/toradex/colibri_imx7/colibri_imx7.c | 44 --- configs/colibri_imx7_defconfig| 5 ++- configs/colibri_imx7_emmc_defconfig | 5

[U-Boot] [PATCH v1 3/6] ARM: dts: imx6_apalis: introduce fec node

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Sync DTS with the mainline Linux and introduce fec node. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx6-apalis.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/imx6-apalis.dts b/arch/arm/dts/imx6-apalis.dts index b2fdfa1af4

[U-Boot] [PATCH v1 2/2] MAINTAINERS: change colibri_imx6/imx6ull/t30/vf maintainers

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Take over maintainership for colibri_imx6/imx6ull/t30/vf modules. Signed-off-by: Igor Opaniuk --- board/toradex/colibri-imx6ull/MAINTAINERS | 2 +- board/toradex/colibri_imx7/MAINTAINERS| 2 +- board/toradex/colibri_t30/MAINTAINERS | 2 +- board/toradex/colibri_vf

[U-Boot] [PATCH v1 1/2] MAINTAINERS: change apalis_imx6/colibri_imx6 maintainers

2019-11-04 Thread Igor Opaniuk
From: Igor Opaniuk Take over maintainership for apalis_imx6 and colibri_imx6 modules. Signed-off-by: Igor Opaniuk --- board/toradex/apalis_imx6/MAINTAINERS | 2 +- board/toradex/colibri_imx6/MAINTAINERS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/toradex

[U-Boot] [RFC PATCH v1] imx: bootaux: PoC for elf firmware support

2019-11-05 Thread Igor Opaniuk
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). This has the advantage that the user doe

[U-Boot] [PATCH v1] imx: bootaux: elf firmware support

2019-11-11 Thread Igor Opaniuk
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). This has the advantage that the user doe

Re: [U-Boot] [PATCH v1] imx: bootaux: elf firmware support

2019-11-13 Thread Igor Opaniuk
Hi Peng, On Tue, Nov 12, 2019 at 9:47 AM Peng Fan wrote: > > Hi Igor. > > > Subject: [PATCH v1] imx: bootaux: elf firmware support > > We also have similar support for i.MX8 DSP firmware loading. Good to see > your patch. > > > > > From: Igor Opaniuk

Re: [U-Boot] Quickboot in u-boot

2019-11-13 Thread Igor Opaniuk
9 [1] (AFAIR there was a section about integration of swsusp with U-boot)? [1] https://www.youtube.com/watch?v=a4dJNAVM8BE -- Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mailto: igor.opan...@gmail.com skype: igor.opanyuk +380 (93) 836 40 67 http://ua.linkedin

[PATCH v1] colibri_t20: change maintainer

2020-04-13 Thread Igor Opaniuk
From: Igor Opaniuk Take over maintainership for Colibri T20 module. Signed-off-by: Igor Opaniuk --- board/toradex/colibri_t20/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/toradex/colibri_t20/MAINTAINERS b/board/toradex/colibri_t20/MAINTAINERS index

Re: [PATCH v1] colibri_t20: change maintainer

2020-04-13 Thread Igor Opaniuk
Hi Lucas, On Mon, Apr 13, 2020 at 6:11 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Take over maintainership for Colibri T20 module. > > Signed-off-by: Igor Opaniuk > --- > > board/toradex/colibri_t20/MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+),

[U-Boot] [PATCH v1 2/4] colibri-imx6ull: remove legacy sdboot wrapper

2019-10-11 Thread Igor Opaniuk
From: Igor Opaniuk Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk --- include/configs/colibri-imx6ull.h | 14 -- 1 file changed, 14 deletions(-) diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h index

[U-Boot] [PATCH v1 1/4] apalis_imx6: remove legacy sdboot wrapper

2019-10-11 Thread Igor Opaniuk
From: Igor Opaniuk Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk --- include/configs/apalis_imx6.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index

[U-Boot] [PATCH v1 3/4] colibri_imx6: remove legacy sdboot wrapper

2019-10-11 Thread Igor Opaniuk
From: Igor Opaniuk Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk --- include/configs/colibri_imx6.h | 18 -- 1 file changed, 18 deletions(-) diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index

[U-Boot] [PATCH v1 4/4] colibri_imx7: remove legacy sdboot wrapper

2019-10-11 Thread Igor Opaniuk
From: Igor Opaniuk Remove legacy sdboot wrapper as distroboot can be used instead. Signed-off-by: Igor Opaniuk --- include/configs/colibri_imx7.h | 23 --- 1 file changed, 23 deletions(-) diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index

Re: [U-Boot] [PATCH v1 1/5] apalis/colibri_t30: add comment about tristate and input vs. output pinmuxing

2019-10-15 Thread Igor Opaniuk
.od = PMUX_PIN_OD_DEFAULT, \ > -- > 2.21.0 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Reviewed-by: Igor Opaniuk -- Best regards - Fr

Re: [U-Boot] [PATCH v1 2/5] colibri_t30: fix spi1 and uart2/3 resp. uartb/c pinmuxing

2019-10-15 Thread Igor Opaniuk
ESET */ > DEFAULT_PINMUX(PEX_L0_PRSNT_N_PDD0, RSVD2, NORMAL, NORMAL, OUTPUT), > -- > 2.21.0 > > _______ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Reviewed-b

Re: [U-Boot] [PATCH v1 4/5] apalis/colibri_t30: add note about colibri vs. nvidia uart mapping

2019-10-15 Thread Igor Opaniuk
RT-B: NVIDIA UARTD > + * Colibri UART-C: NVIDIA UARTB > + */ > #define CONFIG_TEGRA_ENABLE_UARTA > #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE > > -- > 2.21.0 > > _______ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx

Re: [U-Boot] [PATCH v1 3/5] apalis/colibri_t30: avoid uart input from floating pins

2019-10-15 Thread Igor Opaniuk
INMUX(GMI_A19_PK7, UARTD, NORMAL, NORMAL, INPUT), > > - > /* Multiplexed with KB_ROW10/KB_ROW11/KB_ROW12/KB_ROW15 */ > DEFAULT_PINMUX(CAM_MCLK_PCC0, VI_ALT2, UP, TRISTATE, INPUT), > DEFAULT_PINMUX(PCC1, RSVD1, NORMAL, TRISTATE, INPUT), > -- > 2.21.0 > > ___

Re: [U-Boot] [PATCH v1 5/5] colibri_t30: disable rs232 serial transceiver forceoff pins

2019-10-16 Thread Igor Opaniuk
772B USB to LAN controller > */ > -- > 2.21.0 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot What not to handle this in the dts instead? -- Best regards - Freundliche Grü

Re: [U-Boot] [PATCH 1/2] libavb: Update libavb to current AOSP master

2019-10-16 Thread Igor Opaniuk
Hi Sam, On Thu, Aug 15, 2019 at 11:04 PM Sam Protsenko wrote: > > Update libavb to commit 5fbb42a189aa in AOSP/master, because new version > has support for super partition [1], which we need for implementing > Android dynamic partitions. All changes from previous patches for libavb > in U-Boot a

Re: [U-Boot] [PATCH v2] cmd: avb: Fix requested partitions list

2019-10-16 Thread Igor Opaniuk
erify_part(cmd_tbl_t *cmdtp, int flag, >int argc, char *const argv[]) > { > + const char * const requested_partitions[] = {"boot", NULL}; > AvbSlotVerifyResult slot_result; > AvbSlotVerifyData *out_data; > char *cmdlin

Re: [U-Boot] [PATCH] cmd: avb: Support A/B slots

2019-10-16 Thread Igor Opaniuk
_BOOT_CMD( > "avb read_pvalue - read a persistent value \n" > "avb write_pvalue - write a persistent value \n" > #endif > - "avb verify - run verification process using hash data\n" > + "avb verify [slot_suffix] -

[U-Boot] [PATCH v3 0/2] imx6ull: Fix missing initial output from UART

2019-10-16 Thread Igor Opaniuk
before relocation (is already applied) and add u-boot,dm-pre-reloc properties to uart pinmux configuration nodes. Setting pinmux configuration for UART before was done in board_early_init_f(). Igor Opaniuk (2): ARM: dts: imx6ull-colibri: change hierarchy of DTS files ARM: dts: imx6ull-colibri

[U-Boot] [PATCH v3 1/2] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-10-16 Thread Igor Opaniuk
From: Igor Opaniuk Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to keep original imx6ull-colibri.dts in sync with Linux. Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + additionally fix checkpatch warnings. Reviewed-by: Oleksandr Suvorov Reviewed-by

[U-Boot] [PATCH v3 2/2] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-10-16 Thread Igor Opaniuk
From: Igor Opaniuk Add u-boot,dm-pre-reloc properties for uart pinmux configuration nodes, which enables UART as early as possible (before relocation). Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). Fixes: cd69e8ef9b ("co

[U-Boot] [PATCH v2 0/5] imx: nandbcb: support for i.MX7 and bcb only updates

2019-10-21 Thread Igor Opaniuk
This introduces support for writing BCB(FCB/FDDT) for i.MX7 NAND-based platforms and additional subcommand for writing BCB only (without firmware). v2: - Switch to runtime detection of SoC(e.g. is_mx7()) instead of ifdeffery - Fix build for imx6 Igor Opaniuk (5): imx: gpmi: add defines for hw

[U-Boot] [PATCH v2 3/5] imx: nandbcb: add support for i.MX7

2019-10-21 Thread Igor Opaniuk
From: Igor Opaniuk Add support for updating FCB/DBBT on i.MX7: - additional new fields in FCB structure - Leverage hardware BCH/randomizer for writing FCB Signed-off-by: Igor Opaniuk --- arch/arm/include/asm/mach-imx/imx-nandbcb.h | 12 ++ arch/arm/mach-imx/Kconfig | 2

[U-Boot] [PATCH v2 1/5] imx: gpmi: add defines for hw randominizer

2019-10-21 Thread Igor Opaniuk
From: Igor Opaniuk Extend GPMI Integrated ECC Control Register Description, include additional defines for enabling randomizer function and providing proper randomizer type. For additional details check i.MX7 APR, section 9.6.6.3 GPMI Integrated ECC Control Register Description (GPMI_ECCCTRLn

[U-Boot] [PATCH v2 4/5] imx: nandbcb: refactor update function

2019-10-21 Thread Igor Opaniuk
From: Igor Opaniuk Move code for writing FCB/DBBT pages to a separate function Signed-off-by: Igor Opaniuk --- arch/arm/mach-imx/cmd_nandbcb.c | 221 ++-- 1 file changed, 122 insertions(+), 99 deletions(-) diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm

[U-Boot] [PATCH v2 2/5] nand: mxs_nand: add API for switching different BCH layouts

2019-10-21 Thread Igor Opaniuk
From: Igor Opaniuk On i.MX7 in a sake of reducing the disturbances caused by a neighboring cells in the FCB page in the NAND chip, a randomizer is enabled when reading the FCB page by ROM bootloader. Add API for setting BCH to specific layout (and restoring it back) used by ROM bootloader to be

[U-Boot] [PATCH v2 5/5] imx: nandbcb: add support for writing BCB only

2019-10-21 Thread Igor Opaniuk
From: Igor Opaniuk Add subcommand for add writing BCB only, where we provide appropriate offsets for firmware1 and firmware2 and size. Example of usage: - nandbcb bcbonly 0x0018 0x0008 0x0020 Writing 1024 bytes to 0x0: randomizing OK Writing 1024 bytes to 0x2: randomizing OK

Re: [U-Boot] [PATCH v2] cmd: avb: Support A/B slots

2019-10-21 Thread Igor Opaniuk
vb verify' will > be the same as before, so user API is content. > > Signed-off-by: Sam Protsenko > Reviewed-by: Igor Opaniuk > --- > Changes in v2: > - Add corresponding documentation as per Igor's request > > cmd/avb.c| 13 + >

Re: [U-Boot] [PATCH] cmd: avb: Fix requested partitions list

2019-10-21 Thread Igor Opaniuk
this AVB doesn't work (at least on X15 board, but I presume it > might affect more platforms, as code I'm fixing in that patch is > common). Also I send [2] for slots support in AVB. Will appreciate > your review. > > Thanks! > > [1] https://patchwork.ozlabs.org/patc

Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-24 Thread Igor Opaniuk
Please use CONFIG_OF_SEPARATE for boards in mainline. See doc/README.fdt-control for more info. CFGCHK u-boot.cfg > > And Igor ... > > -- > Best regards, > Marek Vasut -- Best regards - Freundliche Grüsse - Meilleures

Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-24 Thread Igor Opaniuk
Hi Tom, On Thu, Oct 24, 2019 at 2:24 PM Tom Rini wrote: > > On Thu, Oct 24, 2019 at 12:22:25PM +0300, Igor Opaniuk wrote: > > Hi Tom, > > > > On Wed, Oct 23, 2019 at 10:36 PM Marek Vasut wrote: > > > > > > On 10/23/19 9:26 PM, Tom Rini wrote: > &

[U-Boot] Fwd: [PULL] u-boot-usb/master

2019-10-24 Thread Igor Opaniuk
+ Heinrich, Hi Tom, Marek, Heinrich, On Thu, Oct 24, 2019 at 2:54 PM Tom Rini wrote: > > It will fail with the 7.3 one buildman fetches > > On Thu, Oct 24, 2019, 7:34 AM Igor Opaniuk wrote: >> >> Hi Tom, >> >> On Thu, Oct 24, 2019 at 2:24 PM Tom Rini wrot

Re: [PATCH 22/30] arm: toradex: Convert CONFIG_CONSOLE_MUX to Kconfig

2020-06-11 Thread Igor Opaniuk
Hi Tom, On Wed, Jun 10, 2020 at 11:21 PM Tom Rini wrote: > > This converts the following to Kconfig: >CONFIG_CONSOLE_MUX > > Cc: Igor Opaniuk > Signed-off-by: Tom Rini > --- > configs/apalis_imx6_defconfig | 2 -- > configs/colibri_imx6_defconfig | 2 -- >

[PATCH v1 00/13] This patch-series includes updates for Toradex modules:

2020-06-16 Thread Igor Opaniuk
1. Environment clean-up (dropping legacy emmcboot, sdboot wrappers) 2. Boot count support for multiple modules 3. Distro Boot fixes Igor Opaniuk (6): apalis-tk1: enable distroboot apalis-tk1: fix setting fdtfile value toradex: imx: enable BOOTCOUNT feature apalis_imx6: boot env

[PATCH v1 05/13] colibri-imx6ull/imx7: define bootubipart for distro boot

2020-06-16 Thread Igor Opaniuk
From: Stefan Agner When using distro boot to boot from UBI volumes the boot partition has been hardcoded to "UBI" (capital letters). However, our default MTD layout uses "ubi" (lower case letter). Define "ubi" as the default UBI partition for distro boot for Toradex. This allows to use distro boo

[PATCH v1 01/13] apalis-imx8: enable of_system_setup

2020-06-16 Thread Igor Opaniuk
From: Marcel Ziswiler Enable CONFIG_OF_SYSTEM_DEFAULT for Apalis iMX8. Signed-off-by: Marcel Ziswiler --- configs/apalis-imx8qm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/apalis-imx8qm_defconfig b/configs/apalis-imx8qm_defconfig index 4c27c33..fdc1e4e 100644 --- a/c

[PATCH v1 04/13] colibri_imx7: add addresses required for distro boot

2020-06-16 Thread Igor Opaniuk
From: Stefan Agner Define addresses required for full distro boot support. Signed-off-by: Stefan Agner --- include/configs/colibri_imx7.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index 09722f4..b550bc

[PATCH v1 06/13] colibri_vf_defconfig: enable part cmd

2020-06-16 Thread Igor Opaniuk
From: Max Krummenacher This allows to boot from SD/USB with passing the rootfs partition via UUID. Signed-off-by: Max Krummenacher --- configs/colibri_vf_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig

[PATCH v1 03/13] colibri-imx8x: declare consoleargs

2020-06-16 Thread Igor Opaniuk
From: Oleksandr Suvorov Store all console-related kernel parameters in dedicated variable. Signed-off-by: Oleksandr Suvorov --- include/configs/colibri-imx8x.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri

[PATCH v1 02/13] apalis/colibri-imx8: re-enable CONFIG_IMX_SCU_THERMAL

2020-06-16 Thread Igor Opaniuk
From: Max Krummenacher This got dropped by a global 'make savedefconfig' resync as required patches are still in flight. Signed-off-by: Max Krummenacher --- configs/apalis-imx8qm_defconfig | 1 + configs/colibri-imx8qxp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs

[PATCH v1 08/13] apalis-tk1: enable distroboot

2020-06-16 Thread Igor Opaniuk
From: Igor Opaniuk 1. Use distro_bootcmd as default boot command instead of legacy emmcboot wrapper. 2. Drop emmcboot and sdboot wrappers. 3. Provide proper boot order for Distro Boot. Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 2 +- include/configs/apalis-tk1.h | 51

[PATCH v1 10/13] toradex: imx: enable BOOTCOUNT feature

2020-06-16 Thread Igor Opaniuk
From: Igor Opaniuk This introduces automatic boot counter that increases after every reset.After a power-on reset, it will be initialized with 1, and each reboot will increment the value by 1. By default it's disabled if bootlimit isn't set. To enable this feature you have set bootc

[PATCH v1 09/13] apalis-tk1: fix setting fdtfile value

2020-06-16 Thread Igor Opaniuk
From: Igor Opaniuk s/fdt-module/fdt_module/g, as we don't use dash in fdt_file anymore. Fixes: 4c63a601("apalis-tk1: support v1.2 hardware revision") Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v1 07/13] configs/colibri_vf.h: drop sdboot in favour of distro_bootcmd

2020-06-16 Thread Igor Opaniuk
From: Max Krummenacher The distro bootscript uses kernel_image to get the file name of the kernel, so change that variable name. UBI boot has precedence in the default boot command. If one wants to boot from SD with a working NAND installation stop in U-Boot and enter: setenv fdtfile ${soc}-coli

[PATCH v1 13/13] colibri_imx6: boot env configuration updates

2020-06-16 Thread Igor Opaniuk
From: Igor Opaniuk 1. Drop legacy emmcboot wrapper from env. 2. Change the "boot try" order. Default one is: SD -> eMMC -> USB -> DHCP 3. Drop DFU defines Signed-off-by: Igor Opaniuk --- include/configs/colibri_imx6.h | 29 + 1 file changed,

[PATCH v1 11/13] apalis_imx6: boot env configuration updates

2020-06-16 Thread Igor Opaniuk
From: Igor Opaniuk 1. Drop legacy emmcboot wrapper from env. 2. Change the "boot try" order. Default one is: SD -> eMMC -> USB -> DHCP 3. Drop DFU defines Signed-off-by: Igor Opaniuk --- include/configs/apalis_imx6.h | 29 + 1 file changed,

[PATCH v1 12/13] colibri_imx7: boot env configuration updates

2020-06-16 Thread Igor Opaniuk
From: Igor Opaniuk 1. Drop legacy emmcboot wrapper from env. 2. Change the "boot try" order. Default one is: SD -> eMMC -> USB -> DHCP 3. Drop DFU defines Signed-off-by: Igor Opaniuk --- include/configs/colibri_imx7.h | 24 +--- 1 file changed,

Re: [PATCHv2 22/31] arm: toradex: Convert CONFIG_CONSOLE_MUX to Kconfig

2020-06-17 Thread Igor Opaniuk
Hi Tom, On Wed, Jun 17, 2020, 02:12 Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_CONSOLE_MUX > > Cc: Igor Opaniuk > Signed-off-by: Tom Rini > --- > configs/apalis_imx6_defconfig | 2 -- > configs/colibri_imx6_defconfig | 2 -- > include

[PATCH v1] imx: mx7: fix DDRC size in A7-M4 mapping table

2020-06-22 Thread Igor Opaniuk
From: Igor Opaniuk According to i.MX 7Solo Applications Processor Reference Manual, 2.1.3 Cortex-M4 Memory Map, M4 can address only 1536MB of DDRC (Start Address: 0x8000_; End Address: 0xDFFF_). Correct DDRC size to 0x6000. Fixes: c0f037f6("mach-imx: bootaux: elf firmware su

[PATCH v1 1/7] toradex: tdx-cfg-block: add EEPROM read/store wrappers

2020-06-22 Thread Igor Opaniuk
From: Igor Opaniuk These functions wrap functionality for storing config blocks in EEPROM. Signed-off-by: Igor Opaniuk --- board/toradex/common/Makefile | 1 + board/toradex/common/tdx-eeprom.c | 90 +++ board/toradex/common/tdx-eeprom.h | 14

[PATCH v1 2/7] toradex: tdx-cfg-block: add carrier boards and display adapters

2020-06-22 Thread Igor Opaniuk
From: Igor Opaniuk Add defines for supported carrier boards and display adapters. Signed-off-by: Igor Opaniuk --- board/toradex/common/tdx-cfg-block.c | 12 board/toradex/common/tdx-cfg-block.h | 11 +++ 2 files changed, 23 insertions(+) diff --git a/board/toradex

[PATCH v1 4/7] toradex: tdx-cfg-clock: add migration routine from PID8

2020-06-22 Thread Igor Opaniuk
From: Igor Opaniuk Add migration routine from PID8 pre-stored values on EEPROM (including sane value checks). Signed-off-by: Igor Opaniuk --- board/toradex/common/tdx-cfg-block.c | 78 board/toradex/common/tdx-cfg-block.h | 2 + 2 files changed, 80

[PATCH v1 3/7] toradex: tdx-cfg-block: add support for EEPROM

2020-06-22 Thread Igor Opaniuk
From: Igor Opaniuk This introduces support for EEPROM as a storage for the main Toradex config block and additional config blocks on extra EEPROM chips (on carrier board or video adapters). To enable EEPROM as a storage for the main config block: TDX_HAVE_EEPROM=y. For additional EEPROMs

[PATCH v1 5/7] toradex: tdx-cfg-block: add carrier board info printing

2020-06-22 Thread Igor Opaniuk
From: Igor Opaniuk Add carrier board info printing during boot time: U-Boot 2020.07-rc4-02435-g1756e05 (Jun 22 2020 - 22:43:59 +0300) CPU: Freescale i.MX8MMQ rev1.0 at 1200 MHz Carrier: Toradex Verdin Development Board V1.0A, Serial# 10622780 Verdin iMX8MM # Signed-off-by: Igor Opaniuk

[PATCH v1 0/7] Toradex: EEPROM storage support for Config Block

2020-06-22 Thread Igor Opaniuk
Igor Opaniuk (7): toradex: tdx-cfg-block: add EEPROM read/store wrappers toradex: tdx-cfg-block: add carrier boards and display adapters toradex: tdx-cfg-block: add support for EEPROM toradex: tdx-cfg-clock: add migration routine from PID8 toradex: tdx-cfg-block: add carrier board info

[PATCH v1 6/7] ARM: dts: imx8mm-verdin: eeprom nodes adjustments

2020-06-22 Thread Igor Opaniuk
From: Igor Opaniuk Rename EEPROM nodes. Create aliases for EEPROM to unify their order: eeprom0 - on-module EEPROM eeprom1 - carrier-board EEPROM eeprom2 - MIPI-DSI to HDMI adapter EEPROM Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx8mm-verdin.dts | 22

<    1   2   3   4   5   6   7   8   9   10   >