[U-Boot] [PATCH v3 01/10] apalis-tk1: do not explicitly release reset_moci#

2019-08-05 Thread Igor Opaniuk
board is kept in reset in U-Boot and therefore none of its ports are operational in U-Boot. Reviewed-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[U-Boot] [PATCH v3 00/10] apalis-tk1: fixes/updates for v2019.10

2019-08-05 Thread Igor Opaniuk
[2] https://patchwork.ozlabs.org/cover/1140332/ Dominik Sliwa (2): apalis-tk1/t30: colibri_t30: display reset reason apalis-tk1: remove non-esential power rails on boot Igor Opaniuk (5): apalis-tk1: set apalis gpio 8 aka fan_en apalis-tk1: provide proper USB vendor id apalis-tk1: enable

[U-Boot] [PATCH v2 08/10] apalis-tk1: remove default vesa vga mode from vidargs

2019-08-05 Thread Igor Opaniuk
sandr Suvorov Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h index ae62f00cd1..869b2a8bd6 100644 --- a/include/configs/apalis-

[U-Boot] [PATCH v2 10/10] apalis-tk1: remove non-esential power rails on boot

2019-08-05 Thread Igor Opaniuk
From: Dominik Sliwa When mainline kernels reboot TK1 they use SW_RESET, that reset mode does not reset PMIC. Some rails need to be off for RAM Re-repair to work correctly. Reviewed-by: Oleksandr Suvorov Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- arch/arm/mach-tegra

[U-Boot] [PATCH v2 05/10] apalis-tk1: add pcie_aspm=off to defargs

2019-08-05 Thread Igor Opaniuk
From: Igor Opaniuk Disabling ASPM fixes incompatibilities with some PCIe cards Reviewed-by: Oleksandr Suvorov Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/apalis

[U-Boot] [PATCH v2 09/10] apalis-tk1: support v1.2 hardware revision

2019-08-05 Thread Igor Opaniuk
Ziswiler Signed-off-by: Igor Opaniuk --- arch/arm/dts/tegra124-apalis.dts | 89 ++- board/toradex/apalis-tk1/apalis-tk1.c | 37 .../apalis-tk1/pinmux-config-apalis-tk1.h | 19 ++-- configs/apalis-tk1_defconfig | 2 +- include/configs

[U-Boot] [PATCH v2 03/10] apalis-tk1: provide proper USB vendor id

2019-08-05 Thread Igor Opaniuk
From: Igor Opaniuk Use unified values for USB Product/Vendor numbers when the config block is missing Reviewed-by: Oleksandr Suvorov Signed-off-by: Max Krummenacher Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 04/10] apalis-tk1: enable user debug by default

2019-08-05 Thread Igor Opaniuk
From: Igor Opaniuk Let the kernel print some debug messages when a user program crashes due to an exception. Reviewed-by: Oleksandr Suvorov Signed-off-by: Stefan Agner Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 07/10] apalis-tk1/t30: colibri_t30: display reset reason

2019-08-05 Thread Igor Opaniuk
From: Dominik Sliwa Display proper reset reason after the SoC info. Reviewed-by: Oleksandr Suvorov Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- arch/arm/mach-tegra/sys_info.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff

[U-Boot] [PATCH v2 01/10] apalis-tk1: do not explicitly release reset_moci#

2019-08-05 Thread Igor Opaniuk
board is kept in reset in U-Boot and therefore none of its ports are operational in U-Boot. Reviewed-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[U-Boot] [PATCH v2 06/10] apalis-tk1: switch to zImage

2019-08-05 Thread Igor Opaniuk
From: Igor Opaniuk Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Reviewed-by: Oleksandr Suvorov Signed-off-by: Bhuvanchandra DV Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 12 ++-- 1 file changed, 6

[U-Boot] [PATCH v2 02/10] apalis-tk1: set apalis gpio 8 aka fan_en

2019-08-05 Thread Igor Opaniuk
From: Igor Opaniuk Make sure the Apalis GPIO 8 aka FAN_EN is on when using Apalis TK1 modules. Reviewed-by: Oleksandr Suvorov Signed-off-by: Igor Opaniuk Signed-off-by: Dominik Sliwa --- board/toradex/apalis-tk1/apalis-tk1.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[U-Boot] [PATCH v2 00/10] apalis-tk1: fixes/updates for v2019.10

2019-08-05 Thread Igor Opaniuk
[2] https://patchwork.ozlabs.org/cover/1140332/ Dominik Sliwa (2): apalis-tk1/t30: colibri_t30: display reset reason apalis-tk1: remove non-esential power rails on boot Igor Opaniuk (5): apalis-tk1: set apalis gpio 8 aka fan_en apalis-tk1: provide proper USB vendor id apalis-tk1: enable

Re: [U-Boot] [PATCH 2/2] imx: mx6ul_14x14_evk: convert to DM_VIDEO

2019-08-02 Thread Igor Opaniuk
d777b5fb2..10fb07dd2c 100644 > --- a/configs/mx6ul_14x14_evk_defconfig > +++ b/configs/mx6ul_14x14_evk_defconfig > @@ -67,4 +67,4 @@ CONFIG_FSL_QSPI=y > CONFIG_USB=y > CONFIG_DM_USB=y > CONFIG_USB_STORAGE=y > -CONFIG_VIDEO=y > +CONFIG_DM_VIDEO=y > diff --git a/includ

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-08-01 Thread Igor Opaniuk
Hi Stefano, On Thu, Aug 1, 2019, 16:19 Stefano Babic wrote: > On 24/07/19 14:19, Igor Opaniuk wrote: > > Hi Stefan > > > > On Wed, Jul 24, 2019 at 2:32 PM Stefan Agner wrote: > >> > >> On 2019-07-03 15:50, Igor Opaniuk wrote: > >>> From: I

Re: [U-Boot] [PATCH 0/3] USB: Add cadence USB3 gadget driver and host driver

2019-08-01 Thread Igor Opaniuk
d new driver, it would be really nice to also have proper device tree bindings in doc/device-tree-bindings (so I can at least quickly enable it for my board, test it and leave my T-b tags). Thanks -- Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mailto: igor.opan...

Re: [U-Boot] [PATCH 2/2] cmd: avb: Fix compiler warnings

2019-08-01 Thread Igor Opaniuk
onst uint8_t *)value) == > AVB_IO_RESULT_OK) { > - printf("Wrote %ld bytes\n", strlen(value) + 1); > + printf("Wrote %zu bytes\n", strlen(value) + 1); > return CMD_RET_SUCCESS; > } > &g

Re: [U-Boot] [PATCH 1/2] avb: Fix build when CONFIG_OPTEE_TA_AVB is disabled

2019-08-01 Thread Igor Opaniuk
size_t buffer_size, > @@ -968,6 +969,8 @@ free_name: > > return rc; > } > +#endif > + > /** > * > ======== > * AVB2.0 AvbOps alloc/initialisation/free > -- > 2.20.1 > Reviewed-by: Igor O

[U-Boot] [PATCH v2 3/9] apalis-tk1: provide proper USB vendor id

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Use unified values for USB Product/Vendor numbers when the config block is missing Reviewed-by: Oleksandr Suvorov Signed-off-by: Max Krummenacher Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 5/9] apalis-tk1: add pcie_aspm=off to defargs

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Disabling ASPM fixes incompatibilities with some PCIe cards Reviewed-by: Oleksandr Suvorov Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/apalis

[U-Boot] [PATCH v2 4/9] apalis-tk1: enable user debug by default

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Let the kernel print some debug messages when a user program crashes due to an exception. Signed-off-by: Stefan Agner Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/apalis

[U-Boot] [PATCH v2 9/9] apalis-tk1: remove non-esential power rails on boot

2019-08-01 Thread Igor Opaniuk
From: Dominik Sliwa When mainline kernels reboot TK1 they use SW_RESET, that reset mode does not reset PMIC. Some rails need to be off for RAM Re-repair to work correctly. Reviewed-by: Oleksandr Suvorov Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- arch/arm/mach-tegra

[U-Boot] [PATCH v2 2/9] apalis-tk1: set apalis gpio 8 aka fan_en

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Make sure the Apalis GPIO 8 aka FAN_EN is on when using Apalis TK1 modules. Reviewed-by: Oleksandr Suvorov Signed-off-by: Igor Opaniuk Signed-off-by: Dominik Sliwa --- board/toradex/apalis-tk1/apalis-tk1.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[U-Boot] [PATCH v2 7/9] apalis-tk1/t30: colibri_t30: display reset reason

2019-08-01 Thread Igor Opaniuk
From: Dominik Sliwa Display proper reset reason after the SoC info. Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- arch/arm/mach-tegra/sys_info.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-tegra

[U-Boot] [PATCH v2 1/9] apalis-tk1: do not explicitly release reset_moci#

2019-08-01 Thread Igor Opaniuk
board is kept in reset in U-Boot and therefore none of its ports are operational in U-Boot. Reviewed-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[U-Boot] [PATCH v2 6/9] apalis-tk1: switch to zImage

2019-08-01 Thread Igor Opaniuk
From: Igor Opaniuk Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Reviewed-by: Oleksandr Suvorov Signed-off-by: Bhuvanchandra DV Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 12 ++-- 1 file changed, 6

[U-Boot] [PATCH v2 8/9] apalis-tk1: remove default vesa vga mode from vidargs

2019-08-01 Thread Igor Opaniuk
sandr Suvorov Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h index ae62f00cd1..869b2a8bd6 100644 --- a/include/configs/apalis-

[U-Boot] [PATCH v2 0/9] apalis-tk1: fixes/updates for v2019.10

2019-08-01 Thread Igor Opaniuk
): apalis-tk1/t30: colibri_t30: display reset reason apalis-tk1: remove non-esential power rails on boot Igor Opaniuk (5): apalis-tk1: set apalis gpio 8 aka fan_en apalis-tk1: provide proper USB vendor id apalis-tk1: enable user debug by default apalis-tk1: add pcie_aspm=off to defargs

Re: [U-Boot] [PATCH v1 0/9] apalis-tk1: fixes/updates for v2019.10

2019-08-01 Thread Igor Opaniuk
Hi Tom, On Thu, Aug 1, 2019 at 1:13 AM Tom Warren wrote: > > The 'switch to zImage' patch fails to apply using git am, either in the > complete (9-patch) bundle, or as part of the 5-patch Igor Opaniuk bundle, or > even as a stand-alone patch. This is using the current TOT &g

[U-Boot] [PATCH v1 3/9] apalis-tk1: provide proper USB vendor id

2019-07-31 Thread Igor Opaniuk
From: Igor Opaniuk Use unified values for USB Product/Vendor numbers when the config block is missing Signed-off-by: Max Krummenacher Signed-off-by: Igor Opaniuk --- configs/apalis-tk1_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/apalis-tk1_defconfig

[U-Boot] [PATCH v1 6/9] apalis-tk1: switch to zImage

2019-07-31 Thread Igor Opaniuk
From: Igor Opaniuk Switch to the generic compressed Kernel image type (zImage) instead of the U-Boot specific uImage format. Signed-off-by: Bhuvanchandra DV Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[U-Boot] [PATCH v1 4/9] apalis-tk1: enable user debug by default

2019-07-31 Thread Igor Opaniuk
From: Igor Opaniuk Let the kernel print some debug messages when a user program crashes due to an exception. Signed-off-by: Stefan Agner Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/apalis

[U-Boot] [PATCH v1 5/9] apalis-tk1: add pcie_aspm=off to defargs

2019-07-31 Thread Igor Opaniuk
From: Igor Opaniuk Disabling ASPM fixes incompatibilities with some PCIe cards Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis

[U-Boot] [PATCH v1 7/9] apalis-tk1/t30: colibri_t30: display reset reason

2019-07-31 Thread Igor Opaniuk
From: Dominik Sliwa Display proper reset reason after the SoC info. Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- arch/arm/mach-tegra/sys_info.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-tegra

[U-Boot] [PATCH v1 8/9] apalis-tk1: remove default vesa vga mode from vidargs

2019-07-31 Thread Igor Opaniuk
arcel Ziswiler Signed-off-by: Igor Opaniuk --- include/configs/apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h index 10f2948c62..843e64e3cc 100644 --- a/include/configs/apalis-tk1.h +++ b/include/configs/apalis-

[U-Boot] [PATCH v1 9/9] apalis-tk1: remove non-esential power rails on boot

2019-07-31 Thread Igor Opaniuk
From: Dominik Sliwa When mainline kernels reboot TK1 they use SW_RESET, that reset mode does not reset PMIC. Some rails need to be off for RAM Re-repair to work correctly. Signed-off-by: Dominik Sliwa Signed-off-by: Igor Opaniuk --- arch/arm/mach-tegra/tegra124/cpu.c | 45

[U-Boot] [PATCH v1 2/9] apalis-tk1: set apalis gpio 8 aka fan_en

2019-07-31 Thread Igor Opaniuk
From: Igor Opaniuk Make sure the Apalis GPIO 8 aka FAN_EN is on when using Apalis TK1 modules. Signed-off-by: Igor Opaniuk Signed-off-by: Dominik Sliwa --- board/toradex/apalis-tk1/apalis-tk1.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/toradex/apalis-tk1/apalis

[U-Boot] [PATCH v1 1/9] apalis-tk1: do not explicitly release reset_moci#

2019-07-31 Thread Igor Opaniuk
board is kept in reset in U-Boot and therefore none of its ports are operational in U-Boot. Signed-off-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- board/toradex/apalis-tk1/pinmux-config-apalis-tk1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/toradex

[U-Boot] [PATCH v1 0/9] apalis-tk1: fixes/updates for v2019.10

2019-07-31 Thread Igor Opaniuk
Misc. fixes related to pinmux configuration (fan), default bootargs, reset reason output and power rail configuration. Dominik Sliwa (2): apalis-tk1/t30: colibri_t30: display reset reason apalis-tk1: remove non-esential power rails on boot Igor Opaniuk (5): apalis-tk1: set apalis gpio 8

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Igor Opaniuk
Hi Bryan, On Tue, Jul 30, 2019 at 5:08 PM Bryan O'Donoghue wrote: > > > > On 30/07/2019 15:02, Bryan O'Donoghue wrote: > > > > > > On 30/07/2019 14:56, Igor Opaniuk wrote: > >>> Does that happen ? > >> Yes, it does. > > > > And th

Re: [U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Igor Opaniuk
Hi Bryan, On Tue, Jul 30, 2019 at 4:32 PM Bryan O'Donoghue wrote: > > > > On 30/07/2019 12:00, Igor Opaniuk wrote: > > Hi folks, > > > > Just curious if you ever faced any issues with HABv4 based > > secure boot on iMX7 SoC-based boards + NAND + > > ma

[U-Boot] nxp: HABv4 secure boot on iMX7 NAND broken

2019-07-30 Thread Igor Opaniuk
/thread/380130 -- 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 ___ U-Boot mailing list U-Boot@lists.denx.de https

Re: [U-Boot] [PATCH 0/6] Enabled DM_VIDEO for Colibri iMX7 NAND/iMX6ULL

2019-07-29 Thread Igor Opaniuk
Hi Anatlolij, On Mon, Jul 29, 2019 at 12:27 PM Anatolij Gustschin wrote: > > Hi Igor, > > On Thu, 11 Jul 2019 13:59:35 +0300 > Igor Opaniuk igor.opan...@gmail.com wrote: > ... > > Are there any objections from your side to get this patch-series applied? > > Plea

Re: [U-Boot] [PATCH 0/6] Enabled DM_VIDEO for Colibri iMX7 NAND/iMX6ULL

2019-07-25 Thread Igor Opaniuk
Hi, On Thu, Jul 11, 2019 at 1:59 PM Igor Opaniuk wrote: > > Hi Anatolij, > > On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > This patch-series fixes some issues in mxsfb fbdev bindings (incorrect > > structure).

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

2019-07-24 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 2/3] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-07-24 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. Signed-off-by: Igor Opaniuk --- arch/arm

[U-Boot] [PATCH v2 1/3] pinctrl: nxp: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk For NXP SoCs we have to set pinmux configuration ASAP (ideally before relocation) to get serial console working. Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). To achieve this we need to force appropriate pinctrl

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

2019-07-24 Thread Igor Opaniuk
before relocation 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 (3): pinctrl: nxp: DM_FLAG_PRE_RELOC by default ARM: dts: imx6ull-colibri: change hierarchy of DTS files

[U-Boot] [PATCH v3] imx: add u-boot-nand.imx target

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. Signed-off-by: Stefan Agner Signed-off-by: Igor

Re: [U-Boot] [PATCH v1 1/2] pinctrl: nxp: mx6: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Igor Opaniuk
Hi Fabio, On Tue, Jul 16, 2019 at 3:44 PM Igor Opaniuk wrote: > > Hi Fabio, > > On Mon, Jul 15, 2019 at 10:10 PM Fabio Estevam wrote: > > > > Hi Igor, > > > > On Mon, Jul 15, 2019 at 11:20 AM Igor Opaniuk > > wrote: > > > > > >

[U-Boot] [PATCH v2] imx: add u-boot-nand.imx target

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. Signed-off-by: Stefan Agner Signed-off-by: Igor

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-24 Thread Igor Opaniuk
Hi Stefan On Wed, Jul 24, 2019 at 2:32 PM Stefan Agner wrote: > > On 2019-07-03 15:50, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > NXP downstream kernel uses legacy method to enable other cores, > > which requires kernel to run in a security mode (althought

Re: [U-Boot] [EXT] Re: Upstreaming usb host drivers for iMX8/iMX8M

2019-07-24 Thread Igor Opaniuk
Hi Sherry, On Wed, Jul 24, 2019 at 9:19 AM Sherry Sun wrote: > > Hi,Igor > > > -邮件原件- > > 发件人: Igor Opaniuk > > 发送时间: 2019年7月23日 20:43 > > 收件人: Sherry Sun > > 抄送: Ying Liu ; Peng Fan ; Jun Li > > ; Ye Li ; U-Boot Mailing List > > ; Pe

Re: [U-Boot] [PATCH v1] imx: add u-boot-nand.imx target

2019-07-23 Thread Igor Opaniuk
Hi Jagan, On Tue, Jul 16, 2019 at 1:51 PM Jagan Teki wrote: > > On Tue, Jul 16, 2019 at 3:01 PM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > Add an additional target which prepends the u-boot.imx image with > > 0x400 padding bytes. On Vybrid a

Re: [U-Boot] [EXT] Re: Upstreaming usb host drivers for iMX8/iMX8M

2019-07-23 Thread Igor Opaniuk
Hi Sherry, On Tue, Jul 2, 2019 at 4:26 AM Sherry Sun wrote: > > + Ying > > > -邮件原件- > > 发件人: Igor Opaniuk > > 发送时间: 2019年7月1日 19:32 > > 收件人: Sherry Sun > > 抄送: Peng Fan ; Jun Li ; Ye Li > > ; U-Boot Mailing List ; Peter Chen > > ; dl

Re: [U-Boot] [PATCH v3 3/4] cmd: bcb: Use strcmp() instead of strncmp() for string literals

2019-07-22 Thread Igor Opaniuk
name, "recovery", sizeof("recovery"))) { > + } else if (!strcmp(name, "recovery")) { > *field = bcb.recovery; > *size = sizeof(bcb.recovery); > - } else if (!strncmp(name, &quo

[U-Boot] [PATCH v1] colibri_imx7: provide proper node name to pmic_get

2019-07-22 Thread Igor Opaniuk
From: Igor Opaniuk Implementation of pmic_get() uses uclass_find_device_by_name(), which behaviour was changed in 4213609cc7 ("drivers: core: use strcmp when find device by name"). Now we have to supply full node name with unit address. Fixes boot issue: U-Boot 2019.07-00788-g0ef6e6

[U-Boot] pmic_get() broken after 4213609cc7("drivers: core: use strcmp when find device by name")

2019-07-19 Thread Igor Opaniuk
d we re-implement pmic_get(), so it can accept as a param only a node name without unit address? -- 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: [U-Boot] [PATCH v1 1/2] pinctrl: nxp: mx6: DM_FLAG_PRE_RELOC by default

2019-07-16 Thread Igor Opaniuk
Hi Fabio, On Mon, Jul 15, 2019 at 10:10 PM Fabio Estevam wrote: > > Hi Igor, > > On Mon, Jul 15, 2019 at 11:20 AM Igor Opaniuk wrote: > > > > From: Igor Opaniuk > > > > For Colibri iMX6ULL we have to set pinmux configuration ASAP (ideally > > before

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

2019-07-16 Thread Igor Opaniuk
Hi Fabio, On Tue, Jul 16, 2019 at 12:31 AM Fabio Estevam wrote: > > Hi Igor, > > On Mon, Jul 15, 2019 at 11:19 AM Igor Opaniuk wrote: > > > diff --git a/arch/arm/dts/imx6ull-colibri.dts > > b/arch/arm/dts/imx6ull-colibri.dts > > index 6c847ab792..8cc67a1

[U-Boot] [PATCH v1] imx: add u-boot-nand.imx target

2019-07-16 Thread Igor Opaniuk
From: Igor Opaniuk Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. Signed-off-by: Stefan Agner Signed-off-by: Igor

[U-Boot] [PATCH v1 1/2] pinctrl: nxp: mx6: DM_FLAG_PRE_RELOC by default

2019-07-15 Thread Igor Opaniuk
From: Igor Opaniuk For Colibri iMX6ULL we have to set pinmux configuration ASAP (ideally before relocation) to get serial console working. Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). To achieve this we need to force pinctrl-mx6

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

2019-07-15 Thread Igor Opaniuk
From: Igor Opaniuk Add u-boot,dm-pre-reloc property 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 v1 0/2] imx6ull: Fix missing initial output from UART

2019-07-15 Thread Igor Opaniuk
before relocation 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(). Fixes: cd69e8ef9b ("colibri-imx6ull: migrate pinctrl and regulators to dtb/dm") Igor Opaniuk (2): pinctrl

Re: [U-Boot] [PATCH 5/5] cmd: bcb: Apply non-functional refinements

2019-07-12 Thread Igor Opaniuk
argv[2]); > goto err; > err: > @@ -304,7 +304,8 @@ static int do_bcb(cmd_tbl_t *cmdtp, int flag, int argc, > char *const argv[]) > return CMD_RET_USAGE; > > if (bcb_is_misused(argc, argv)) { > - /* We try to improve the u

Re: [U-Boot] [PATCH 4/5] cmd: bcb: Use strcmp() instead of strncmp() for string literals

2019-07-12 Thread Igor Opaniuk
s")) { > + *fieldp = bcb.status; > + *sizep = sizeof(bcb.status); > + } else if (!strcmp(name, "recovery")) { > + *fieldp = bcb.recovery; > + *sizep = sizeof(bcb.recovery); > + } else if (!strcmp(name

Re: [U-Boot] [PATCH v5 0/6] android: implement A/B boot process

2019-07-12 Thread Igor Opaniuk
On Fri, Jul 5, 2019 at 3:37 PM Igor Opaniuk wrote: > > *** This patch series depends on [4], [5], [6] and should be > applied after these paticular patches. > > This patch series adds support for Android A/B boot process [1]. > Main steps of A/B boot process are: > - A

Re: [U-Boot] [PATCH 2/5] treewide: Fix stale references of Android docs

2019-07-12 Thread Igor Opaniuk
ional details about how to build proper vbmeta partition > -check doc/README.avb2 > +check doc/android/avb2.txt > > For configuration verification: > - Corrupt boot partition and check for failure > -- > 2.22.0 > Reviewed-by: Igor Opaniuk -- Best regards - Freundliche Grüss

Re: [U-Boot] [PATCH 3/5] cmd: bcb: Fix duplicated handling in two case-branches

2019-07-12 Thread Igor Opaniuk
d(int argc, char *const argv[]) > > switch (cmd) { > case BCB_CMD_LOAD: > - if (argc != 3) > - goto err; > - break; > case BCB_CMD_FIELD_SET: > if (argc != 3) > goto err;

Re: [U-Boot] [PATCH 1/5] doc: Move README.android-fastboot-protocol to doc/android/

2019-07-12 Thread Igor Opaniuk
ot-protocol.txt} (100%) > > diff --git a/doc/README.android-fastboot-protocol > b/doc/android/fastboot-protocol.txt > similarity index 100% > rename from doc/README.android-fastboot-protocol > rename to doc/android/fastboot-protocol.txt > -- > 2.22.0 > Reviewed-by: Igor

Re: [U-Boot] [PATCH v1 0/2] android: colibri_imx7: reserve DDR memory for Cortex-M4

2019-07-12 Thread Igor Opaniuk
On Fri, Jul 12, 2019 at 1:50 PM Igor Opaniuk wrote: > > i.MX 7's Cortex-M4 core can run from DDR and uses DDR memory for > the rpmsg communication. Both use cases need a fixed location of > memory reserved. For the rpmsg use case the reserved area needs > to be in sync with the ker

[U-Boot] [PATCH v1 0/2] android: colibri_imx7: reserve DDR memory for Cortex-M4

2019-07-12 Thread Igor Opaniuk
,usable-memory property to carve out 1MB of memory in case the M4 core is running. Also make sure that the i.MX 7 specific rpmsg driver does not get loaded in case we do not carve out memory. Igor Opaniuk (2): common: fdt_support: add support for setting usable memory board: colibri_imx7

[U-Boot] [PATCH v1 1/2] common: fdt_support: add support for setting usable memory

2019-07-12 Thread Igor Opaniuk
From: Igor Opaniuk Add support for setting linux,usable-memory property in the memory node of device tree for the kernel [1]. This property holds a base address and size, describing a limited region in which memory may be considered available for use by the kernel. Memory outside of this range

[U-Boot] [PATCH v1 2/2] board: colibri_imx7: reserve DDR memory for Cortex-M4

2019-07-12 Thread Igor Opaniuk
From: Igor Opaniuk i.MX 7's Cortex-M4 core can run from DDR and uses DDR memory for the rpmsg communication. Both use cases need a fixed location of memory reserved. For the rpmsg use case the reserved area needs to be in sync with the kernel's hardcoded vring descriptor location. Use the linux

Re: [U-Boot] [PATCH 2/2] arm: am57xx: Allow bootm to load larger kernels

2019-07-12 Thread Igor Opaniuk
DEV "ttyO2" > #define CONFIG_SYS_NS16550_COM1UART1_BASE /* Base EVM > has UART0 */ > #define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART2 */ > -- > 2.20.1 > Reviewed-by: Igor Opaniuk -- Best regards - Freundliche Grüsse -

Re: [U-Boot] [PATCH 1/2] env: ti: Increase boot partition

2019-07-12 Thread Igor Opaniuk
ry,size=40M,uuid=${uuid_gpt_recovery};" \ > - "name=boot,size=10M,uuid=${uuid_gpt_boot};" \ > + "name=boot,size=20M,uuid=${uuid_gpt_boot};" \ > "name=system,size=1024M,uuid=${uuid_gpt_system};" \ > "name=vendor,size=256M,uuid=${uuid_gpt

Re: [U-Boot] [PATCH v5 1/1] cmd: part: Add 'number' sub-command

2019-07-12 Thread Igor Opaniuk
Hi Tom, On Fri, Jun 14, 2019 at 5:22 PM Sam Protsenko wrote: > > Hi Igor, > > Once again: > > Reviewed-by: Sam Protsenko > > Thanks! > > On Fri, Jun 14, 2019 at 5:01 PM Igor Opaniuk wrote: > > > > From: Ruslan Trofymenko > > > > This s

Re: [U-Boot] [RFC 4/4] colibri_vf: enable DM_VIDEO

2019-07-11 Thread Igor Opaniuk
+ Oleksandr, Philippe On Mon, Jun 10, 2019 at 2:48 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Enable DM_VIDEO for Colibri VF. > > Signed-off-by: Igor Opaniuk > --- > configs/colibri_vf_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

Re: [U-Boot] [RFC 3/4] ARM: dts: colibri_vf: Add dcu0 node

2019-07-11 Thread Igor Opaniuk
+ Oleksandr, Philippe On Mon, Jun 10, 2019 at 2:48 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add dumb node for NXP Display Control Unit0(DCU), which permits DM_ENABLED > converted driver to be probed. Currently no display timings are provided > in this node. >

Re: [U-Boot] [RFC 2/4] video: fsl_dcu_fb: add DM_VIDEO support

2019-07-11 Thread Igor Opaniuk
+ Oleksandr, Philippe On Mon, Jun 10, 2019 at 2:47 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Extend the driver to build with DM_VIDEO enabled. DTS files > must additionally include 'u-boot,dm-pre-reloc' property in > soc and child nodes to enable driver binding to

Re: [U-Boot] [RFC 0/4] Convert fsl_dcu_fb to DM_VIDEO

2019-07-11 Thread Igor Opaniuk
+ Oleksandr, Philippe On Mon, Jun 10, 2019 at 2:47 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > This series of patches refactors and extends NXP DCU video driver to > be built with DM_VIDEO enabled. DTS files must additionally include > 'u-boot,dm-pre-reloc' property in s

Re: [U-Boot] [RFC 1/4] video: fsl_dcu_fb: refactor init functions

2019-07-11 Thread Igor Opaniuk
+ Oleksandr, Philippe On Mon, Jun 10, 2019 at 2:47 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Move dcu-related code to fsl_dcu_probe_common, keep in video_hw_init() > only legacy video stack (filling GraphicPanel struct etc.). > > Add wrappers for all init fun

Re: [U-Boot] [PATCH v1] colibri_imx7: boot kernel in secure mode

2019-07-11 Thread Igor Opaniuk
> > > > > As we're using NXP kernel in our BSPs, lets enable this by default. > > > > > > Signed-off-by: Igor Opaniuk > > How does enabling both cores work in upstream kernel? It looks like PSCI does > not work in secure mode using mainline 4.19 LTS

Re: [U-Boot] [PATCH 0/6] Enabled DM_VIDEO for Colibri iMX7 NAND/iMX6ULL

2019-07-11 Thread Igor Opaniuk
Hi Anatolij, On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > This patch-series fixes some issues in mxsfb fbdev bindings (incorrect > structure). Currently there is a support only for old format, new one > wil be introduced soon [1]. > >

Re: [U-Boot] imx7d: CPU core issue in secure mode

2019-07-11 Thread Igor Opaniuk
ve it's own implementation of secure monitor(subsequently PSCI) and CAAM driver, which probably does the same type of initialization, as in OP-TEE. Peng, Could you please provide some comments regarding this? Thanks! -- Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mai

Re: [U-Boot] [PATCH v2 1/1] colibri_imx7: introduce androidboot wrapper

2019-07-11 Thread Igor Opaniuk
+ Oleksandr, Philippe, Dominik On Tue, Jun 18, 2019 at 2:57 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > 1. Introduce androidboot wrapper for booting AOSP. > 2. Add partitions_android env var for simplifying the process of > writing new gpt table from U-boot shell/fastbo

Re: [U-Boot] [PATCH 6/6] configs: colibri-imx6ull: switch to DM_VIDEO

2019-07-11 Thread Igor Opaniuk
+Oleksandr On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Use CONFIG_DM_VIDEO=y by default for Colibri iMX6ULL. > > Signed-off-by: Igor Opaniuk > --- > configs/colibri-imx6ull_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH 5/6] ARM: dts: colibri-imx6ull: extend lcdif node

2019-07-11 Thread Igor Opaniuk
+ Oleksandr On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Provide proper display timings for lcdif node, used by mxsfb DM_VIDEO > enabled framebuffer driver. > > Signed-off-by: Igor Opaniuk > --- > arch/arm/d

Re: [U-Boot] [PATCH 4/6] colibri-imx6ull: support building with DM_VIDEO=y

2019-07-11 Thread Igor Opaniuk
+ Oleksandr On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > 1. This fixes linking issues when building with DM_VIDEO enabled mxsfb > driver. > 2. Provide proper defines for both VIDEO=y and DM_VIDEO=y. > > Signed-off-by: Igor Opaniuk &g

Re: [U-Boot] [PATCH 3/6] configs: colibri_imx7: enable DM_VIDEO

2019-07-11 Thread Igor Opaniuk
+ Oleksandr On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Enable DM_VIDEO support for Colibri iMX7 NAND version. > > Signed-off-by: Igor Opaniuk > --- > configs/colibri_imx7_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH 2/6] ARM: dts: colibri_imx7: Fix lcdif node definition

2019-07-11 Thread Igor Opaniuk
+ Oleksandr On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Fix lcdif DT node and make it conform to the structure defined in the > Linux devicetree bindings [1]. Currently there is support only for > old style lcdif node definitions

Re: [U-Boot] [PATCH 1/6] video: mxsfb: fix mxsfb fbdev binding issues

2019-07-11 Thread Igor Opaniuk
+ Oleksandr On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add support for display and bits-per-pixel properties. > > Signed-off-by: Igor Opaniuk > --- > drivers/video/mxsfb.c | 74 --- > 1

Re: [U-Boot] [PATCH 0/6] Enabled DM_VIDEO for Colibri iMX7 NAND/iMX6ULL

2019-07-11 Thread Igor Opaniuk
+ Oleksandr On Wed, Jun 19, 2019 at 11:47 AM Igor Opaniuk wrote: > > From: Igor Opaniuk > > This patch-series fixes some issues in mxsfb fbdev bindings (incorrect > structure). Currently there is a support only for old format, new one > wil be introduced soon [1]. > >

Re: [U-Boot] [PATCH v1 0/3] Remove obsolete usbboot wrapper usage

2019-07-10 Thread Igor Opaniuk
+ Oleksandr On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk wrote: > > This patch-series removes obsolete usbboot wrapper usage in Apalis > TK1/iMX6 and Colibri iMX6 platforms. > > Igor Opaniuk (3): > apalis-tk1: configs: remove legacy usbboot command > apalis_imx6: c

Re: [U-Boot] [PATCH v1 1/3] apalis-tk1: configs: remove legacy usbboot command

2019-07-10 Thread Igor Opaniuk
+ Oleksandr On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk wrote: > > Remove obsolete legacy usbboot wrapper, as distroboot can handle > booting from USB drivers. > > Signed-off-by: Igor Opaniuk > --- > > include/configs/apalis-tk1.h | 19 --- > 1

Re: [U-Boot] [PATCH v1 2/3] apalis_imx6: configs: remove legacy usbboot command

2019-07-10 Thread Igor Opaniuk
+ Oleksandr On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk wrote: > > Remove obsolete legacy usbboot wrapper, as distroboot can handle > booting from USB drivers. > > Signed-off-by: Igor Opaniuk > --- > > include/configs/apalis_imx6.h | 22 -- > 1

Re: [U-Boot] [PATCH v1 3/3] colibri_imx6: configs: remove legacy usbboot command

2019-07-10 Thread Igor Opaniuk
+ Oleksandr On Tue, Jun 25, 2019 at 5:07 PM Igor Opaniuk wrote: > > Remove obsolete legacy usbboot wrapper, as distroboot can handle > booting from USB drivers. > > Signed-off-by: Igor Opaniuk > > --- > > include/configs/colibri_imx6.h | 20 >

Re: [U-Boot] [PATCH] colibri-imx6ull: fix vidargs

2019-07-10 Thread Igor Opaniuk
0) > -- > 2.21.0 > > _______ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Reviewed-by: Igor Opaniuk Tested-by: Igor Opaniuk -- Best regards - Freundliche G

Re: [U-Boot] [PATCH 3/5] toradex: configblock: fix colibri imx8x target

2019-07-09 Thread Igor Opaniuk
tdx_hw_tag.prodid = COLIBRI_IMX8DX; > + } > + } else if (!strcmp("tegra20", soc)) { > if (it == 'y' || it == 'Y') > if (gd->ram_size == 0x1000) > tdx_hw_tag.prodid = COLIBRI_T20_256MB_

Re: [U-Boot] [PATCH 4/5] toradex: configblock: fix apalis imx8 target

2019-07-09 Thread Igor Opaniuk
Y') { > if (wb == 'y' || wb == 'Y') > tdx_hw_tag.prodid = > COLIBRI_IMX8QXP_WIFI_BT_IT; > -- > 2.21.0 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot

<    2   3   4   5   6   7   8   9   10   >