Re: [PATCH 102/149] board: out4: Remove and add needed includes

2024-05-01 Thread Oleh Kravchenko
ACK 01.05.24 05:42, Tom Rini: Remove from this board vendor directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- Cc: Oleh Kravchenko --- board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/out4/o4

Re: Wolfgang Denk

2022-10-21 Thread Oleh Kravchenko
Sad to hear it. Rest in peace Wolfgang Denk. -- Best regards, Oleh Kravchenko > 21 жовт. 2022 р. о 18:11 Stefano Babic пише: > > Dear U-Boot community, > > it is my very sad duty to inform you that Wolfgang Denk, the father of > U-Boot, passed away last week. We have lost

GPIO and PINCTRL drivers question

2022-08-03 Thread Oleh Kravchenko
I'm confused by dt-bindings/gpio/gpio.h because it has a few macros - GPIO_PULL_UP - GPIO_PULL_DOWN Should I keep everything in the pinctrl driver? Or should I implement pull-up/down in GPIO driver to support these macros and Drive Strength in pinctrl driver? -- Best regards, Oleh

Re: [PATCH] RFC: net: fec: get rid of CONFIG_FEC_MXC_MDIO_BASE

2022-05-07 Thread Oleh Kravchenko
ver Graute (maintainer:i.MX8QM CGTQMX8 BOARD) Cc: Anatolij Gustschin (maintainer:CAPRICORN BOARD) Cc: Peng Fan (maintainer:i.MX8QM MEK BOARD) Cc: Fabio Estevam (maintainer:i.MX8QXP MEK BOARD) Cc: Oleh Kravchenko (maintainer:OUT4-IMX6ULL-NANO BOARD) Cc: Joe Hershberger (maintainer:NETWORK) Cc: R

UDC driver implementation

2022-01-20 Thread Oleh Kravchenko
;out" `struct usb_ep` descriptor, but not ep0? -- Best regards, Oleh Kravchenko

Re: [PATCH v2 1/1] fastboot: fb_getvar: Add getvar_logical_blocksize for NXP mfgtool

2021-12-29 Thread Oleh Kravchenko
questions I'm just curious. -- Best regards, Oleh Kravchenko

[PATCH v2] Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

2021-12-20 Thread Oleh Kravchenko
Make O4-iMX6ULL-NANO-based board compatible with Yocto layer meta-out4 and fix device flashing by UUU (aka MFG Tools). Signed-off-by: Oleh Kravchenko --- configs/ev-imx280-nano-x-mb_defconfig | 5 + configs/o4-imx6ull-nano_defconfig | 5 + 2 files changed, 10 insertions(+) diff

Re: [RESEND PATCH] Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

2021-12-20 Thread Oleh Kravchenko
20.12.21 15:57, Tom Rini пише: On Mon, Dec 20, 2021 at 03:52:21PM +0200, Oleh Kravchenko wrote: Hello Tom, 20.12.21 15:50, Tom Rini пише: These dt changes are just whitespace? Are they resyncing with the upstream dts as well? But, unrelated, changes, yes? Yes, yes and yes :) OK

Re: [RESEND PATCH] Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

2021-12-20 Thread Oleh Kravchenko
Hello Tom, 20.12.21 15:50, Tom Rini пише: These dt changes are just whitespace? Are they resyncing with the upstream dts as well? But, unrelated, changes, yes? Yes, yes and yes :) -- Best regards, Oleh Kravchenko

[RESEND PATCH] Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

2021-12-19 Thread Oleh Kravchenko
Make O4-iMX6ULL-NANO-based board compatible with Yocto layer meta-out4 and fix device flashing by UUU (aka MFG Tools). Signed-off-by: Oleh Kravchenko --- arch/arm/dts/o4-imx-nano.dts | 4 ++-- configs/ev-imx280-nano-x-mb_defconfig | 5 + configs/o4-imx6ull-nano_defconfig | 5

[PATCH] Enable Fastboot(UUU) for O4-iMX6ULL-NANO boards

2021-12-19 Thread Oleh Kravchenko
Make O4-iMX6ULL-NANO-based board compatible with Yocto layer meta-out4 and fix device flashing by UUU (aka MFG Tools). Signed-off-by: Oleh Kravchenko --- arch/arm/dts/o4-imx-nano.dts | 4 ++-- configs/ev-imx280-nano-x-mb_defconfig | 5 + configs/o4-imx6ull-nano_defconfig | 5

Re: [PATCH 0/2] Add more support for NXP's mfgtool

2021-12-18 Thread Oleh Kravchenko
18.12.21 16:34, Angus Ainslie пише: Hi Oleh On 2021-12-18 00:44, Oleh Kravchenko wrote: Hello Angus! What is the use-case for these patches? Would you mind defining why the current implementation is not enough? Used like that: FB: flash -raw2sparse mmc0 emmc.wic Thanks, it looks

Re: [PATCH 0/2] Add more support for NXP's mfgtool

2021-12-18 Thread Oleh Kravchenko
Hello Angus! What is the use-case for these patches? Would you mind defining why the current implementation is not enough? Used like that: > FB: flash -raw2sparse mmc0 emmc.wic > 17 груд. 2021 р. о 17:41 Angus Ainslie написав(ла): > > NXP's mfgtool needs some additional switches to deal with t

Re: U-boot is broken with -O0?

2021-11-09 Thread Oleh Kravchenko
Hello Tom, for what reason it's not supported? I'm finding that very useful for debugging. Only a few issues with conditional compilation breaks it. Also this issue reproducible if -DDEBUG=1 is used. -- Best regards, Oleh Kravchenko > 9 лист. 2021 р. о 20:52 Tom Rini пише: >

U-boot is broken with -O0?

2021-11-09 Thread Oleh Kravchenko
Hello guys! I think the CI verification job for u-boot patches should be updated to include CFLAGS like -O0 Because I'm not able to build u-boot for Raspberry Pi (or to another board) with -O0 Here the commands how to quickly reprodice the problem:     export ARCH=arm64     export CROSS_COMPILE

SPL_DM and SPL 4K

2021-09-23 Thread Oleh Kravchenko
Hello, U-Boot community! I've started porting U-Boot to the new SoC and have a few questions about how to do it properly. Could you please give advice or point me to examples where U-Boot provides tiny SPL? Does it make sense to use SPL_DM if IPL limits the size of SPL up to 4K?

Re: [scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-09-06 Thread Oleh Kravchenko
Hello Tom! Looks like it a false positive detection. info and dev_desc are validated in few lines above: 609 |    if (!info.name[0] && 610 |        fastboot_mmc_get_part_info(cmd, &dev_desc, &info, response) < 0) 611 |        return; 30.08.21 20:39, Tom Rini пише: > Hey all, > > Here's the late

Re: [scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2021-08-31 Thread Oleh Kravchenko
I will take a look on it? 30.08.21 20:39, Tom Rini пише: > Hey all, > > Here's the latest report. > > - Forwarded message from scan-ad...@coverity.com - > > Date: Mon, 30 Aug 2021 16:58:54 + (UTC) > From: scan-ad...@coverity.com > To: tom.r...@gmail.com > Subject: New Defects reported

Re: [PATCH] o4-imx-nano: Fix dtc warnings

2021-06-17 Thread Oleh Kravchenko
CTIVE_LOW>; > - reg = <4>; > }; > > - led@5 { > + led5 { > color = ; > gpios = <&pcf8574a 5 GPIO_ACTIVE_LOW>; > - reg = <5>; > }; > }; > > Reviewed-by: Oleh Kravchenko

Re: Boot stops on RPi4 yocto/hardknott (u-boot 2021.01)

2021-05-28 Thread Oleh Kravchenko
Hello Morten, Start from bisecting a bad commit. Then it will be easy to say what is wrong. -- Best regards, Oleh Kravchenko > 28 трав. 2021 р. о 19:14 Morten Bruun пише: > > Hi, > > I'm working on a project where we recently upgraded to Yocto/hardknott. > > A

Re: [PATCH v4] Fix flashing of eMMC user area with Fastboot

2021-05-26 Thread Oleh Kravchenko
Hello Tom, coud you please cherry-pick this patch? Lukasz doesn't respond :( 20.05.21 18:23, Oleh Kravchenko пише: > Hello Lukasz, > Could you please review this patch too? > > This patch fixes Fastboot behaviour, > when flashing or erasing of eMMC user area was requested

Re: [PATCH v4] Fix flashing of eMMC user area with Fastboot

2021-05-20 Thread Oleh Kravchenko
Hello Lukasz, Could you please review this patch too? This patch fixes Fastboot behaviour, when flashing or erasing of eMMC user area was requested. 20.05.21 18:00, Sean Anderson пише: > > > On 5/20/21 10:44 AM, Oleh Kravchenko wrote: >> Thank you, Sean! >> >> Coul

Re: [PATCH v2] Fix flash and erase of eMMC Boot2 with Fastboot

2021-05-20 Thread Oleh Kravchenko
Hello Lukasz, Could you please review this patch? This patch fixes small typos for Fastboot mmc boot2 partition. 20.05.21 17:59, Sean Anderson пише: > > > On 5/14/21 5:06 PM, Oleh Kravchenko wrote: >> The current U-Boot version has the next matches for boot partitions: &

Re: [PATCH v4] Fix flashing of eMMC user area with Fastboot

2021-05-20 Thread Oleh Kravchenko
Thank you, Sean! Could you please take a look at this patch too? https://patchwork.ozlabs.org/project/uboot/patch/20210514210620.24715-1-o...@kaa.org.ua/ 20.05.21 17:32, Sean Anderson пише: > > > On 5/19/21 6:31 AM, Oleh Kravchenko wrote: >> 'gpt' and 'mmc0&

Re: [PATCH] arm: Remove nokia_rx51 board

2021-05-19 Thread Oleh Kravchenko
Hello Pali, Is there some wiki page on how to flash u-boot and Linux to N900 (JTAG, UART, etc.)? I have this device and would like to play with that. 19.05.21 16:27, Pali Rohár пише: > On Tuesday 18 May 2021 21:26:40 Tom Rini wrote: >> This board has not been converted to CONFIG_DM_USB by the de

Re: [PATCH v4] Fix flashing of eMMC user area with Fastboot

2021-05-19 Thread Oleh Kravchenko
Hello Sean, Could you please take a look? I've updated the patch. 19.05.21 13:31, Oleh Kravchenko пише: > 'gpt' and 'mmc0' fastboot partitions have been treated as the same device, > but it is wrong. > > Fill disk_partition structure with eMMC user pa

[PATCH v4] Fix flashing of eMMC user area with Fastboot

2021-05-19 Thread Oleh Kravchenko
'gpt' and 'mmc0' fastboot partitions have been treated as the same device, but it is wrong. Fill disk_partition structure with eMMC user partition info to properly flash data. Signed-off-by: Oleh Kravchenko Cc: Pantelis Antoniou Cc: Marek Vasut Cc: Sean Anderson Cc: Tom

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Oleh Kravchenko
Hello Tom, 18.05.21 16:40, Tom Rini пише: > On Tue, May 18, 2021 at 04:24:49PM +0300, Oleh Kravchenko wrote: >> Hello Tom, >> >> 18.05.21 15:21, Tom Rini пише: >>> On Tue, May 18, 2021 at 01:41:06PM +0300, Oleh Kravchenko wrote: >>> >>>> Any upda

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Oleh Kravchenko
Hello Tom, 18.05.21 15:21, Tom Rini пише: > On Tue, May 18, 2021 at 01:41:06PM +0300, Oleh Kravchenko wrote: > >> Any updates on these? > Sorry, my reading of what you and Sean were saying left me with the > impression no code changes were needed in the end, is that not t

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-18 Thread Oleh Kravchenko
Any updates on these? 15.05.21 00:26, Oleh Kravchenko пише: > Hello guys, > Could you please review and merge this patch? > > PR successfully passed CI: > https://github.com/u-boot/u-boot/pull/75 > > 15.05.21 00:15, Oleh Kravchenko пише: >> 'gpt' and 'm

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
$ fastboot flash -raw2sparse 0.2:0 u-boot.bin linux> target reported max download size of 268435456 bytes linux> Sending '0.2:0' (440 KB)... linux> OKAY [ 0.020s] linux> Writing '0.2:0'... linux> OKAY [ 0.113s] linux> Finished. Total time: 0.168s 15.05.2

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Raw Image u-boot> wrote 411697152 bytes to '0:0' 15.05.21 01:26, Sean Anderson пише: > > > On 5/14/21 6:10 PM, Oleh Kravchenko wrote: >> Hello Sean, >> Could you please clarify what you have mean? >> >> I think you pointing to this? >>

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hello Sean, Please see my comments below: 15.05.21 01:10, Oleh Kravchenko пише: > Hello Sean, > Could you please clarify what you have mean? > > I think you pointing to this? >> fastboot_raw_partition_= [mmcpart ] > > Because I don't have idea how aliases will he

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hello Sean, Could you please clarify what you have mean? I think you pointing to this? > fastboot_raw_partition_= [mmcpart ] Because I don't have idea how aliases will help to flash. 15.05.21 00:45, Sean Anderson пише: > On 5/14/21 5:26 PM, Oleh Kravchenko wrote: >> Hello g

Re: [PATCH 2/2 v3] Add EV-iMX280-NANO-X-MB board

2021-05-14 Thread Oleh Kravchenko
Hello guys, Could you please review and merge these patches? PR successfully passed CI: https://github.com/u-boot/u-boot/pull/77 15.05.21 00:18, Oleh Kravchenko пише: > A simple prototyping board with one microSD port, one Ethernet port, > 2 USB ports, I2C, SPI, GPIO, and UART inte

Re: [PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hello guys, Could you please review and merge this patch? PR successfully passed CI: https://github.com/u-boot/u-boot/pull/75 15.05.21 00:15, Oleh Kravchenko пише: > 'gpt' and 'mmc0' fastboot partitions have been treated as the same device, > but it is wrong. > >

Re: [PATCH v2] Fix flash and erase of eMMC Boot2 with Fastboot

2021-05-14 Thread Oleh Kravchenko
Hello guys, Could you please review and merge this patch? PR successfully passed CI: https://github.com/u-boot/u-boot/pull/76 15.05.21 00:06, Oleh Kravchenko пише: > The current U-Boot version has the next matches for boot partitions: >> mmc0boot0 to EMMC_BOOT1 >> mmc0boot1 to EMM

[PATCH 2/2 v3] Add EV-iMX280-NANO-X-MB board

2021-05-14 Thread Oleh Kravchenko
A simple prototyping board with one microSD port, one Ethernet port, 2 USB ports, I2C, SPI, GPIO, and UART interfaces. Signed-off-by: Oleh Kravchenko Cc: Stefano Babic --- Changes for v3: - QA passed at https://github.com/u-boot/u-boot/pull/77 MAINTAINERS

[PATCH 1/2 v3] Add out4.ru O4-iMX-NANO board

2021-05-14 Thread Oleh Kravchenko
Board designed for quick prototyping and has one microSD port, 2 Ethernet ports, 2 USB ports, I2C, SPI, CAN, RS-485, GPIO, UART interfaces, and 2 RGB LEDs. Signed-off-by: Oleh Kravchenko Cc: Stefano Babic --- Changes for v3: - QA passed at https://github.com/u-boot/u-boot/pull/77

[PATCH v3] Fix flashing of eMMC user area with Fastboot

2021-05-14 Thread Oleh Kravchenko
'gpt' and 'mmc0' fastboot partitions have been treated as the same device, but it is wrong. Signed-off-by: Oleh Kravchenko Cc: Pantelis Antoniou Cc: Marek Vasut --- Changes for v2: - code cleanup; Changes for v3: - QA passed at https://github.com/u-boot/u-boot/pull/75

[PATCH v2] Fix flash and erase of eMMC Boot2 with Fastboot

2021-05-14 Thread Oleh Kravchenko
The current U-Boot version has the next matches for boot partitions: > mmc0boot0 to EMMC_BOOT1 > mmc0boot1 to EMMC_BOOT1 (should be EMMC_BOOT2) This patch fixes a typo for the boot partition number. Signed-off-by: Oleh Kravchenko Cc: Pantelis Antoniou Cc: Marek Vasut --- Changes

Re: [PATCH] Fix flash and erase of EMMC_BOOT2 with fastboot

2021-05-13 Thread Oleh Kravchenko
ould like to remove these MMC_BOOT2 options but I haven't gotten around > to it. > > On 5/12/21 6:43 PM, Oleh Kravchenko wrote: >> The current U-Boot version has the next matches for boot partitions: >>> mmc0boot0 to EMMC_BOOT1 >>> mmc0boot1 to EMMC_BOO

Re: [PATCH v2] Fix flashing of eMMC user area with Fastboot

2021-05-13 Thread Oleh Kravchenko
Hello guys, Could you please review this patch? > 13 трав. 2021 р. о 17:23 Oleh Kravchenko пише: > > 'gpt' and 'mmc0' fastboot partitions have been treated as the same device, > but it is wrong. > > Signed-off-by: Oleh Kravchenko > Cc: Pantelis Antoni

[PATCH v2] Fix flashing of eMMC user area with Fastboot

2021-05-13 Thread Oleh Kravchenko
'gpt' and 'mmc0' fastboot partitions have been treated as the same device, but it is wrong. Signed-off-by: Oleh Kravchenko Cc: Pantelis Antoniou Cc: Marek Vasut --- drivers/fastboot/fb_mmc.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-)

[PATCH] Fix flashing of eMMC user area with Fastboot

2021-05-13 Thread Oleh Kravchenko
Signed-off-by: Oleh Kravchenko Cc: Pantelis Antoniou Cc: Marek Vasut --- drivers/fastboot/fb_mmc.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/fastboot/fb_mmc.c b/drivers/fastboot/fb_mmc.c index 8e74e50e91..7e61fbac17 100644 --- a/drivers

Re: [PATCH] Fix flash and erase of EMMC_BOOT2 with fastboot

2021-05-13 Thread Oleh Kravchenko
ther issue: > Erasing the USER partition (CONFIG_FASTBOOT_MMC_USER_SUPPORT), will > erase active selected hwpart, and in case it was called after > erasing/flashing BOOT1 & BOOT2 it will erase last selected boot > partition, instead of USER. > > чт, 13 мая 2021 г. в 11:42

[PATCH 2/2 v2] Add EV-iMX280-NANO-X-MB board

2021-05-12 Thread Oleh Kravchenko
A simple prototyping board with one microSD port, one Ethernet port, 2 USB ports, I2C, SPI, GPIO, and UART interfaces. Signed-off-by: Oleh Kravchenko Cc: Stefano Babic --- MAINTAINERS | 2 + arch/arm/dts/Makefile| 3 + arch/arm/dts

[PATCH 1/2 v2] Add out4.ru O4-iMX-NANO board

2021-05-12 Thread Oleh Kravchenko
Board designed for quick prototyping and has one microSD port, 2 Ethernet ports, 2 USB ports, I2C, SPI, CAN, RS-485, GPIO, UART interfaces, and 2 RGB LEDs. Signed-off-by: Oleh Kravchenko Cc: Stefano Babic --- MAINTAINERS | 10 + arch/arm/dts/Makefile

[PATCH] Fix flash and erase of EMMC_BOOT2 with fastboot

2021-05-12 Thread Oleh Kravchenko
The current U-Boot version has the next matches for boot partitions: > mmc0boot0 to EMMC_BOOT1 > mmc0boot1 to EMMC_BOOT1 (should be EMMC_BOOT2) This patch fixes a typo for the boot partition number. Signed-off-by: Oleh Kravchenko Cc: Pantelis Antoniou Cc: Marek Vasut --- drivers/fa

[PATCH 2/2] Add EV-iMX280-NANO-X-MB board

2021-05-05 Thread Oleh Kravchenko
A simple prototyping board with one microSD port, one Ethernet port, 2 USB ports, I2C, SPI, GPIO, and UART interfaces. Signed-off-by: Oleh Kravchenko --- MAINTAINERS | 2 + arch/arm/dts/Makefile| 3 + arch/arm/dts/ev-imx280-nano-x

[PATCH 1/2] Add out4.ru O4-iMX-NANO board

2021-05-05 Thread Oleh Kravchenko
Board designed for quick prototyping and has one microSD port, 2 Ethernet ports, 2 USB ports, I2C, SPI, CAN, RS-485, GPIO, UART interfaces, and 2 RGB LEDs. Signed-off-by: Oleh Kravchenko --- MAINTAINERS | 10 + arch/arm/dts/Makefile

FEC_MXC_SHARE_MDIO on i.MX6ULL

2021-05-02 Thread Oleh Kravchenko
- } + /* Wait 15ms to make sure the PHY has come out of hard reset */ + mdelay(15); return get_phy_device_by_mask(bus, phy_mask, interface); } Any ideas on how to fix this issue properly? Or patch above is good enough to be merged into the u-boot source tree? -- Best regards, Oleh Kravchenko