Re: imx6 DM_VIDEObroken

2021-09-28 Thread Tim Harvey
On Tue, Sep 28, 2021 at 5:55 AM Anatolij Gustschin wrote: > > Hey Tim, > > On Mon, 27 Sep 2021 17:25:58 -0700 > Tim Harvey thar...@gateworks.com wrote: > > > Anatolij, > > > > Since commit d37618d18d49 ("imx: convert gwventana board to DM_VIDEO") &

Re: [PATCH 1/2] net: dsa: pass CPU port fixed PHY to .port_disable

2021-09-28 Thread Tim Harvey
eth_get_ops(master)->stop(master); > -- > 2.25.1 > Turns out ksz9477.c only used it if debug was enabled as right after the debug print it would return for cpu port. Tested on imx8mm-venice-gw7901 with ksz9477 switch. Tested-By: Tim Harvey

Re: imx6 DM_VIDEObroken

2021-09-29 Thread Tim Harvey
On Wed, Sep 29, 2021 at 8:55 AM Tim Harvey wrote: > > On Tue, Sep 28, 2021 at 6:51 PM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Tue, Sep 28, 2021 at 2:00 PM Tim Harvey wrote: > > > > > I would think the other board maintainers would

[PATCH 6/7] imx: ventana: update LVDS support

2021-09-29 Thread Tim Harvey
specific; use panel name where needed Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 59 ++--- 1 file changed, 42 insertions(+), 17 deletions(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 16468060f7

[PATCH 7/7] imx: ventana: fix USB hub reset

2021-09-29 Thread Tim Harvey
Remove board_ehci_hcd_init function that is not used with DM_USB and replace its functionality with device-tree configuraton that treats USB HUB RST# as a gpio enable for the usbh1 vbus regulator. Signed-off-by: Tim Harvey --- arch/arm/dts/imx6qdl-gw53xx.dtsi| 11 +++- arch/arm/dts

[PATCH 5/7] imx: ventana: fix splash logo drawing

2021-09-29 Thread Tim Harvey
After mxc_ipuv3 DM_VIDEO conversion showing splash image doesn't work. Fix this by adding new requirements: - splashimage env variable. - CONFIG_SPLASH_SCREEN - CONFIG_CMD_BMP Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 3 +++ configs/gwventana_gw5904_defconfig | 3

[PATCH 4/7] imx: ventana: enable additional USB ether devices

2021-09-29 Thread Tim Harvey
Enable additional USB ethernet devices. Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 5 + configs/gwventana_gw5904_defconfig | 5 + configs/gwventana_nand_defconfig | 5 + 3 files changed, 15 insertions(+) diff --git a/configs/gwventana_emmc_defconfig b

[PATCH 2/7] imx: ventana: add U-Boot watchdog support

2021-09-29 Thread Tim Harvey
Add watchdog support for U-Boot Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 6 +- configs/gwventana_gw5904_defconfig | 6 +- configs/gwventana_nand_defconfig | 6 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/configs

[PATCH 3/7] imx: ventana: remove phy gpio reset from dt

2021-09-29 Thread Tim Harvey
-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 8 1 file changed, 8 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 79629828d0..16468060f7 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board

[PATCH 1/7] imx: ventana: add part command

2021-09-29 Thread Tim Harvey
Add part command for obtaining info about disk partitions. Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 1 + configs/gwventana_gw5904_defconfig | 1 + configs/gwventana_nand_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/gwventana_emmc_defconfig

Re: imx6 DM_VIDEObroken

2021-09-29 Thread Tim Harvey
On Tue, Sep 28, 2021 at 6:51 PM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Sep 28, 2021 at 2:00 PM Tim Harvey wrote: > > > I would think the other board maintainers would have raised a red flag > > if things broke for their boards, I just haven't tested it in quite &

[PATCH] imx8mm-venice-gw7902: fix M2_RST# gpio pinmux

2021-10-06 Thread Tim Harvey
Fix the invalid gw7902 M2_RST# gpio pinmux. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw7902.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/imx8mm-venice-gw7902.dts b/arch/arm/dts/imx8mm-venice-gw7902.dts index 07e436be95..d37ffc050d 100644

[PATCH v2] imx8mm_venice: switch to use binman to pack images

2021-10-06 Thread Tim Harvey
Use binman to pack images. Note that imx8mm_venice supports several boards via multiple DTB's thus in the fit node we must use: - fit,fdt-list = "of-list" - fdt-SEQ - config-SEQ Signed-off-by: Tim Harvey --- v2: - rebase on origin/mater - remove ATF_LOAD_ADDR from README as its

[PATCH v2] board: gateworks: venice: add imx8mn-gw7902 support

2021-10-06 Thread Tim Harvey
as it is no longer imx8mm specific - update README with differences for IMX8MN vs IMX8MM Signed-off-by: Tim Harvey --- v2: - rebase on origin/master - remove unused fdt_pack_reg function --- arch/arm/dts/Makefile |2 + arch/arm/dts/imx8mn-venice-gw7902-u-boot.dtsi | 29 + arch

Re: [PATCH v2] imx8mm_venice: switch to use binman to pack images

2021-10-07 Thread Tim Harvey
)On Wed, Oct 6, 2021 at 2:44 PM Marcel Ziswiler wrote: > > On Wed, 2021-10-06 at 13:17 -0700, Tim Harvey wrote: > > Use binman to pack images. > > > > Note that imx8mm_venice supports several boards via multiple DTB's thus > > in the fit node we must use: > >

Re: [PATCH v2] imx8mm_venice: switch to use binman to pack images

2021-10-07 Thread Tim Harvey
On Thu, Oct 7, 2021 at 10:12 AM Marcel Ziswiler wrote: > > Hi Tim > > On Thu, 2021-10-07 at 08:52 -0700, Tim Harvey wrote: > > )On Wed, Oct 6, 2021 at 2:44 PM Marcel Ziswiler wrote: > > > > > > On Wed, 2021-10-06 at 13:17 -0700, Tim Harvey wrot

Re: [PATCH v2] imx8mm_venice: switch to use binman to pack images

2021-10-07 Thread Tim Harvey
On Thu, Oct 7, 2021 at 10:35 AM Marcel Ziswiler wrote: > > On Thu, 2021-10-07 at 10:26 -0700, Tim Harvey wrote: > > ... > > Marvell, > > (;-p) > > > Indeed that patch resolves the issue - thanks for reminding me that > > hasn't made it in yet! > >

Re: [PATCH v2] imx8mm_venice: switch to use binman to pack images

2021-10-07 Thread Tim Harvey
On Thu, Oct 7, 2021 at 11:37 AM Stefano Babic wrote: > > Hi Tim, > > On 07.10.21 20:08, Tim Harvey wrote: > > On Thu, Oct 7, 2021 at 10:35 AM Marcel Ziswiler wrote: > >> > >> On Thu, 2021-10-07 at 10:26 -0700, Tim Harvey wrote: > >>> ...

Re: [EXT] Re: [PATCH v2 03/15] i.MX8M: crypto: updated device tree for supporting DM in SPL

2021-09-23 Thread Tim Harvey
On Sun, Sep 12, 2021 at 9:55 PM Gaurav Jain wrote: > > Hello Tim, > > > -Original Message----- > > From: Tim Harvey > > Sent: Friday, September 10, 2021 8:17 PM > > To: Gaurav Jain > > Cc: u-boot ; Stefano Babic ; Fabio > > Estevam ; Peng

Re: [PATCH v2 00/15] Add CAAM driver model support

2021-09-23 Thread Tim Harvey
On Fri, Sep 3, 2021 at 12:04 AM Gaurav Jain wrote: > > This patchset adds the support for following: > 1) CAAM Driver model for all i.MX, layerscape, PPC platforms. > 2) Added crypto node in device tree files. > 3) CAAM support for blob key encryption key(bkek), random number generation. > 4)

imx6 DM_VIDEObroken

2021-09-27 Thread Tim Harvey
Anatolij, Since commit d37618d18d49 ("imx: convert gwventana board to DM_VIDEO") video support for IMX6 based Ventana boards has been broken. I find that while the bind function for fsl_imx6q_ipu is called the probe never is (ipuv3_video_probe). Do you know why this is? I see that with commit

[PATCH] board: gateworks: venice: add imx8mn-gw7902 support

2021-09-22 Thread Tim Harvey
as it is no longer imx8mm specific - update README with differences for IMX8MN vs IMX8MM Signed-off-by: Tim Harvey --- arch/arm/dts/Makefile |2 + arch/arm/dts/imx8mn-venice-gw7902-u-boot.dtsi | 29 + arch/arm/dts/imx8mn-venice-gw7902.dts | 888 ++ arch/arm/dts

imx8mm memory env in U-Boot

2021-08-26 Thread Tim Harvey
Greetings, I'm trying to understand what the best memory usage is in U-Boot for IMX8M boards for generic distro configs such as: loadaddr, kernel_addr_r, fdt_addr_r, ramdisk_addr, scriptaddr. My understanding is that the following is a good rule of thumb: loadaddr = DDR start + 32MB (as FIT

mkimage_fit_atf.sh: not found

2022-01-04 Thread Tim Harvey
Stefano and Fabio, I'm seeing the imx8mm_venice_defconfig target failing to build on master due to mkimage_fit_atf.sh not found: ./"arch/arm/mach-imx/mkimage_fit_atf.sh" \ arch/arm/dts/imx8mm-venice-gw71xx-0x.dtb arch/arm/dts/imx8mm-venice-gw72xx-0x.dtb arch/arm/dts/imx8mm-venice-gw73xx-0x.dtb

Re: mkimage_fit_atf.sh: not found

2022-01-05 Thread Tim Harvey
On Wed, Jan 5, 2022 at 3:34 AM ZHIZHIKIN Andrey wrote: > > Hello Tim, > > > -Original Message- > > From: U-Boot On Behalf Of Tim Harvey > > Sent: Tuesday, January 4, 2022 11:48 PM > > To: u-boot ; Stefano Babic ; Fabio > > Estevam > > >

Re: [PATCH V2] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-01-03 Thread Tim Harvey
On Thu, Dec 23, 2021 at 6:08 AM Adam Ford wrote: > > The imx8mm and imx8mn appear compatible with imx7d-usb > flags in the OTG driver. If the dr_mode is defined as > host or peripheral, the device appears to operate correctly, > however the auto host/peripheral detection results in an error. > >

Re: [PATCH V2] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-01-03 Thread Tim Harvey
On Mon, Jan 3, 2022 at 2:32 PM Adam Ford wrote: > > > > On Mon, Jan 3, 2022 at 10:20 PM Tim Harvey wrote: >> >> On Thu, Dec 23, 2021 at 6:08 AM Adam Ford wrote: >> > >> > The imx8mm and imx8mn appear compatible with imx7d-usb >> > flags in the

Re: [PATCH v3 0/7] arm64: dts: imx8mm: use common binman configuration and further clean-up

2021-10-29 Thread Tim Harvey
On Fri, Oct 29, 2021 at 12:56 PM Adam Ford wrote: > > On Fri, Oct 22, 2021 at 6:16 PM Marcel Ziswiler wrote: > > > > From: Marcel Ziswiler > > > > > > With the move to using binman to generate SPL aka u-boot-spl-ddr.bin and > > U-Boot proper aka u-boot.itb every board now covers such

Re: IMX8M Mini HAB secure boot - working?

2021-07-19 Thread Tim Harvey
On Sun, Jul 18, 2021 at 9:01 PM Heiko Schocher wrote: > > Hello Tim, > > On 12.07.21 18:06, Tim Harvey wrote: > > On Sat, Jul 10, 2021 at 5:24 AM Heiko Schocher wrote: > >> > >> Hi Tim, Stefano, > >> > >> On 10.07.21 11:14, Stefano Babic w

Re: using binman fails boot

2021-07-19 Thread Tim Harvey
On Sat, Jul 17, 2021 at 7:22 PM Simon Glass wrote: > > Hi Tim, > > On Fri, 16 Jul 2021 at 17:15, Tim Harvey wrote: > > > > On Fri, Jul 16, 2021 at 3:11 PM Simon Glass wrote: > > > > > > () which has > > > Hi Tim, > >

[PATCH] common: board_r: print error if binman_init fails

2021-07-16 Thread Tim Harvey
Display an error if binman_init fails. Signed-off-by: Tim Harvey --- common/board_r.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common/board_r.c b/common/board_r.c index 3f82404772..e3e6248a1f 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -323,10

Re: using binman fails boot

2021-07-16 Thread Tim Harvey
On Thu, Jul 15, 2021 at 9:30 PM Simon Glass wrote: > > Hi Tim, > > On Thu, 15 Jul 2021 at 16:58, Tim Harvey wrote: > > > > Greetings, > > > > I'm taking a look at moving imx8mm-venice to use binman for packaging. > > After doing so U-Boot proper fails

Re: using binman fails boot

2021-07-16 Thread Tim Harvey
On Fri, Jul 16, 2021 at 3:11 PM Simon Glass wrote: > > () which has > Hi Tim, > > On Fri, 16 Jul 2021 at 15:43, Tim Harvey wrote: > > > > On Thu, Jul 15, 2021 at 9:30 PM Simon Glass wrote: > > > > > > Hi Tim, > > > > > > On Thu, 15

Re: using binman fails boot

2021-07-23 Thread Tim Harvey
On Thu, Jul 22, 2021 at 8:07 PM Simon Glass wrote: > > Hi Tim, > > On Mon, 19 Jul 2021 at 17:23, Tim Harvey wrote: > > > > On Sat, Jul 17, 2021 at 7:22 PM Simon Glass wrote: > > > > > [..] > > > > > But isn't blob-ext@4 a correct name? I can

Re: using binman fails boot

2021-07-23 Thread Tim Harvey
On Fri, Jul 23, 2021 at 2:41 PM Simon Glass wrote: > > Hi Tim, > > On Fri, 23 Jul 2021 at 15:06, Tim Harvey wrote: > > > > On Thu, Jul 22, 2021 at 8:07 PM Simon Glass wrote: > > > > > > Hi Tim, > > > > > > On Mon, 19 Jul 2021 at 17

[RESEND PATCH 04/16] imx: ventana: replace hard-coded LED config with dt based config

2021-07-24 Thread Tim Harvey
Use device-tree LED config instead of hard-coded board-specific config. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 149 board/gateworks/gw_ventana/common.h | 1 - configs/gwventana_emmc_defconfig| 3 + configs

[RESEND PATCH 02/16] imx: ventana: move wdog/uhs-i board/revision dt fixups

2021-07-24 Thread Tim Harvey
Move board/revision specific dt fixups for WDOG and UHS-I features so that we can call them early for U-Boot control dt as well. Additionally drop a deprected non-mainline dt-prop fixup regarding HDMI input format. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 131

[RESEND PATCH 03/16] imx: ventana: remove nand field from common ventana struct

2021-07-24 Thread Tim Harvey
NAND fdt fixups can be performed without knowing if NAND is present. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 11 --- board/gateworks/gw_ventana/common.h | 1 - board/gateworks/gw_ventana/gw_ventana.c | 10 -- 3 files changed, 4 insertions

[RESEND PATCH 06/16] imx: ventana: fix UMS support

2021-07-24 Thread Tim Harvey
fix the usb0 alias in order for UMS to work. Fixes 72c46327f03f: ("imx: ventana: enable dm support for USB") Signed-off-by: Tim Harvey --- arch/arm/dts/imx6qdl-gw51xx.dtsi | 4 ++-- arch/arm/dts/imx6qdl-gw52xx.dtsi | 4 ++-- arch/arm/dts/imx6qdl-gw53xx.dtsi | 4 ++-- arch/arm/d

[RESEND PATCH 08/16] imx: ventana: remove hard-coded USB OTG pinmux

2021-07-24 Thread Tim Harvey
pinmux is now done via dt. Add missing OTG_OC pinmux for boards that use it. Signed-off-by: Tim Harvey --- arch/arm/dts/imx6qdl-gw51xx.dtsi| 1 + arch/arm/dts/imx6qdl-gw52xx.dtsi| 1 + arch/arm/dts/imx6qdl-gw54xx.dtsi| 1 + arch/arm/dts/imx6qdl-gw553x.dtsi| 1 + board/gateworks

[RESEND PATCH 05/16] imx: ventana: remove hard-coded USB HUBRST# gpio config

2021-07-24 Thread Tim Harvey
The USB HUB reset is handled via dt now. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index 729f612f81..3f85fc6915 100644 --- a/board

[RESEND PATCH 01/16] imx: ventana: ignore EEPROM config when checking for NAND support

2021-07-24 Thread Tim Harvey
EEPROM bits no longer indicate support for NAND so instead use hard-coded value from board config struct. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board

[RESEND PATCH 15/16] imx: ventana: add support for GW53xx-G revision

2021-07-24 Thread Tim Harvey
The GW53xx-G revision has the foolowing changes: - replaces the EOL GbE PHY with an updated part (requires an enable pin) - replaces the EOL analog video decoder with an updated part (requires dt prop) - add power control to miniPCIe socket Signed-off-by: Tim Harvey --- board/gateworks

[RESEND PATCH 14/16] imx: ventana: add GW5913 support

2021-07-24 Thread Tim Harvey
- 1x RJ45 GbE - 1x MiniPCIe socket with PCIe USB 2.0 and nanoSIM socket - Passive PoE and wide-range DC power supply Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 54 + board/gateworks/gw_ventana/eeprom.c | 2 + board/gateworks

[RESEND PATCH 11/16] imx: ventana: use dt for hwmon

2021-07-24 Thread Tim Harvey
Use dt-bindings for GSC hwmon devices. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gsc.c | 172 --- 1 file changed, 113 insertions(+), 59 deletions(-) diff --git a/board/gateworks/gw_ventana/gsc.c b/board/gateworks/gw_ventana/gsc.c index ffed6b5fc8

[RESEND PATCH 12/16] imx: ventana: add GW5910 support

2021-07-24 Thread Tim Harvey
and nanoSIM socket - Passive PoE and wide-range DC power supply Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 47 + board/gateworks/gw_ventana/eeprom.c | 2 + board/gateworks/gw_ventana/ventana_eeprom.h | 1 + 3 files changed, 50 insertions

[RESEND PATCH 13/16] imx: ventana: add GW5912 support

2021-07-24 Thread Tim Harvey
input with wide-range DC power supply Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 30 - board/gateworks/gw_ventana/eeprom.c | 2 ++ board/gateworks/gw_ventana/ventana_eeprom.h | 1 + 3 files changed, 32 insertions(+), 1 deletion(-) diff

[RESEND PATCH 16/16] imx: ventana: add support for GW54xx-G revision

2021-07-24 Thread Tim Harvey
The GW54xx-G revision has the foolowing changes: - replaces the EOL GbE PHY with an updated part (requires an enable pin) - replaces the EOL analog video decoder with an updated part (requires dt prop) - add power control to miniPCIe socket Signed-off-by: Tim Harvey --- board/gateworks

[RESEND PATCH 07/16] imx: ventana: remove hard-coded PCI reset

2021-07-24 Thread Tim Harvey
PCIe reset configuration is handled via dt now. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 49 - board/gateworks/gw_ventana/common.h | 1 - board/gateworks/gw_ventana/gw_ventana.c | 12 -- 3 files changed, 62 deletions(-) diff --git

[RESEND PATCH 10/16] imx: ventana: remove hard-coded flexcan standby pin

2021-07-24 Thread Tim Harvey
Flexcan pinmux is configured in kernel dt. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 21 - 1 file changed, 21 deletions(-) diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index 719357f128..f7819f841c 100644

[RESEND PATCH 09/16] imx: ventana: remove hard-coded analog video codec enable

2021-07-24 Thread Tim Harvey
Analog video codec enable is configured in kernel dt. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 25 - board/gateworks/gw_ventana/common.h | 1 - 2 files changed, 26 deletions(-) diff --git a/board/gateworks/gw_ventana/common.c b/board

Re: [PATCH v1] imx: mkimage_fit_atf: replace @ with hyphen

2021-07-27 Thread Tim Harvey
On Tue, Jul 27, 2021 at 12:17 PM Heiko Thiery wrote: > > Hi all, > > Am Mi., 5. Mai 2021 um 15:30 Uhr schrieb ZHIZHIKIN Andrey > : > > > > Hello Oliver, > > > > > -Original Message- > > > From: U-Boot On Behalf Of Oliver Graute > > > Sent: Wednesday, May 5, 2021 2:01 PM > > > To:

[PATCH 2/9] arm: dts: imx8mm-venice-gw71xx: fix USB OTG VBUS

2021-07-27 Thread Tim Harvey
be ignored. To fix USB OTG VBUS enable a pull-up on GPIO1_12 to always power the TPS25821 and change the regulator output to GPIO1_10 which is unconnected. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw71xx.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 5/9] board: gateworks: venice: get mem size from dt

2021-07-27 Thread Tim Harvey
Get mem size from dt which SPL updated per EEPROM config. Signed-off-by: Tim Harvey --- board/gateworks/venice/imx8mm_venice.c | 28 +- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/board/gateworks/venice/imx8mm_venice.c b/board/gateworks/venice

[PATCH 3/9] arm: dts: imx8mm-venice-gw700x: fix fifo-depth phy props

2021-07-27 Thread Tim Harvey
Replace the deprecated 'tx-fifo-depth' and 'rx-fifo-depth' properties not supported by U-Boot drivers/net/phy/dp83867.c with the proper 'ti,fifo-depth' property. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw700x.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[PATCH 6/9] board: gateworks: venice: use bus numbers vs names

2021-07-27 Thread Tim Harvey
replace looking up i2c bus name by bus number and define bus numbers and eeprom address with #defines. Signed-off-by: Tim Harvey --- board/gateworks/venice/gsc.c | 19 ++- board/gateworks/venice/gsc.h | 5 + board/gateworks/venice/spl.c | 4 ++-- 3 files changed, 17

[PATCH 4/9] arm: dts: imx8mm-venice-gw7901: use common u-boot dtsi

2021-07-27 Thread Tim Harvey
Use the common imx8mm-u-boot.dtsi Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi | 35 +-- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi b/arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi

[PATCH 7/9] board: gateworks: venice: add board model/serial# to env

2021-07-27 Thread Tim Harvey
Add board model/serial# strings to env. Move the creation of the strings to gsc_read() and the display of the info into gsc_info() so they are available to U-Boot proper. Signed-off-by: Tim Harvey --- board/gateworks/venice/gsc.c | 67 ++ board/gateworks/venice

[PATCH 8/9] board: gateworks: venice: add board model to dt

2021-07-27 Thread Tim Harvey
Add the specific board model from EEPROM config to the device-tree to make it easier to access from Linux userspace. Signed-off-by: Tim Harvey --- board/gateworks/venice/imx8mm_venice.c | 8 configs/imx8mm_venice_defconfig| 1 + 2 files changed, 9 insertions(+) diff --git

[PATCH 1/9] configs: imx8mm_venice_defconfig: remove unused SPL features

2021-07-27 Thread Tim Harvey
remove unused SPL features to shink the size of the SPL which otherwise would no longer fit into IMX8M Mini OCRAM. Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig

[PATCH 9/9] board: gateworks: venice: add imx8mm-gw7902 support

2021-07-27 Thread Tim Harvey
/ Bluetooth - MIPI header (DSI/CSI/GPIO/PWM/I2S) - PMIC Do the following to add support for it: - add dts - add PMIC config Signed-off-by: Tim Harvey --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8mm-venice-gw7902-u-boot.dtsi | 80 ++ arch/arm/dts/imx8mm-venice-gw7902.dts

Re: [PATCH v2 2/3] arm: Add an __image_copy_start symbol for ARMv8

2021-07-26 Thread Tim Harvey
On Sun, Jul 25, 2021 at 9:54 AM Simon Glass wrote: > > This symbol is needed for binman to locate the start of the image. Add it. > > Note: the existing line to bring in the .__image_copy_start symbol does > not appear to do anything. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > -

Re: [PATCH v2 3/3] binman: Show an error if __image_copy_start is missing

2021-07-26 Thread Tim Harvey
s/binman/elf_test.py > @@ -134,8 +134,11 @@ class TestElf(unittest.TestCase): > entry = FakeEntry(10) > section = FakeSection() > elf_fname = self.ElfTestFile('u_boot_binman_syms_bad') > -self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, > section), > - None) > +with self.assertRaises(ValueError) as e: > +self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, > section), > + None) > +self.assertIn("Cannot process symbol > '_binman_u_boot_spl_any_prop_offset' since there is no __image_copy_start", > + str(e.exception)) > > def testBadSymbolSize(self): > """Test that an attempt to use an 8-bit symbol are detected > -- > 2.32.0.432.gabb21c7263-goog > Simon, Thanks - this is very helpful. Reviewed-by: Tim Harvey Tim

Re: using binman fails boot

2021-07-26 Thread Tim Harvey
On Sat, Jul 24, 2021 at 3:01 PM Simon Glass wrote: > > Hi Tim, > > On Fri, 23 Jul 2021 at 16:52, Tim Harvey wrote: > > > > On Fri, Jul 23, 2021 at 2:41 PM Simon Glass wrote: > > > > > > Hi Tim, > > > > > > On Fri, 23 Jul 2021 at 15

using binman fails boot

2021-07-15 Thread Tim Harvey
Greetings, I'm taking a look at moving imx8mm-venice to use binman for packaging. After doing so U-Boot proper fails to boot: U-Boot SPL 2021.07-00475-g1126252f40 (Jul 15 2021 - 11:09:02 -0700) GSC : v58 0xf098 RST:VIN Thermal Protection Disabled Model : GW7300-00-B1B Serial : 852420

Re: [PATCH] Revert "tree: imx: remove old fit generator script"

2022-01-07 Thread Tim Harvey
On Thu, Jan 6, 2022 at 12:27 PM Tim Harvey wrote: > > On Thu, Jan 6, 2022 at 11:18 AM ZHIZHIKIN Andrey > wrote: > > > > Hello Tom, > > > > > -Original Message- > > > From: U-Boot On Behalf Of Tom Rini > > > Sent: Thursday, January 6

[RESEND PATCH v2] board: gateworks: venice: add imx8mn-gw7902 support

2022-01-10 Thread Tim Harvey
as it is no longer imx8mm specific - update README with differences for IMX8MN vs IMX8MM Signed-off-by: Tim Harvey --- v2: - resend due to patch missing from patchwork - rebase on origin/master - remove unused fdt_pack_reg function --- arch/arm/dts/Makefile |2 + arch/arm/dts

Re: imx8mm-evk does not boot kernel 5.16

2022-01-17 Thread Tim Harvey
On Fri, Jan 14, 2022 at 11:44 AM Fabio Estevam wrote: > > Hi Marcel, > > On Fri, Jan 14, 2022 at 3:10 PM Marcel Ziswiler > wrote: > > > Strange, remember, I am working on Verdin iMX8M Mini support [1] and run > > that stuff more or less daily. > > However, as you can see in that patch series, I

Re: bind/unbind command not working for usb_ether

2022-02-15 Thread Tim Harvey
On Tue, Feb 15, 2022 at 5:29 AM Patrice CHOTARD wrote: > > Hi Tim > > On 2/10/22 18:04, Tim Harvey wrote: > > Greetings, > > > > I'm trying to understand how to use the U-Boot bind command to bind > > the usb_ether driver to the usb class to register a US

Re: [PATCH v3] board: gateworks: venice: add imx8mn-gw7902 support

2022-02-11 Thread Tim Harvey
On Thu, Feb 10, 2022 at 5:51 PM Fabio Estevam wrote: > > Hi Tim, > > Your patch looks good. > > On Wed, Feb 2, 2022 at 7:00 PM Tim Harvey wrote: > > > +/* Initial environment variables */ > > +#define CONFIG_EXTRA_ENV_SETTINGS \ > > + BOOTEN

[PATCH v4] board: gateworks: venice: add imx8mn-gw7902 support

2022-02-11 Thread Tim Harvey
as it is no longer imx8mm specific - update README with differences for IMX8MN vs IMX8MM Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- v4: - add Fabio's reviewed-by tag - remove ipaddr/serverip in default env - remove unnecessary IMX_FEC_BASE from header - remove incorrect assignment of gd

Re: bind/unbind command not working for usb_ether

2022-02-15 Thread Tim Harvey
On Tue, Feb 15, 2022 at 9:36 AM Patrice CHOTARD wrote: > > Hi Tim > > On 2/15/22 17:09, Tim Harvey wrote: > > On Tue, Feb 15, 2022 at 5:29 AM Patrice CHOTARD > > wrote: > >> > >> Hi Tim > >> > >> On 2/10/22 18:04, Tim Harvey wrote: >

Re: phy_connect_dev calling phy_reset???

2022-03-07 Thread Tim Harvey
On Mon, Mar 7, 2022 at 12:51 AM Michael Walle wrote: > > > On Mon, Feb 28, 2022 at 12:01 PM Tim Harvey wrote: > >> > >> Greetings, > >> > >> I'm wondering if it is proper in U-Boot for phy_connect_dev() to > >> always call phy_reset() which

[PATCH 6/7] board: gateworks: gw_ventana: use comomn GSC driver

2022-03-07 Thread Tim Harvey
(the EEPROM must be read in SPL before relocation, in SPL after relocation, and in U-Boot init. All subsequent uses can use the global structure) - remove unnecessary header files and alphabatize includes Signed-off-by: Tim Harvey --- arch/arm/mach-imx/mx6/Kconfig | 2

[PATCH 5/7] drivers: misc: add Gateworks System Controller driver

2022-03-07 Thread Tim Harvey
Add a driver for the Gateworks System Controller used on Gateworks boards which provides a boot watchdog, power control, temperature monitor, and voltage ADCs. Signed-off-by: Tim Harvey --- MAINTAINERS | 6 + drivers/misc/Kconfig | 8 + drivers/misc/Makefile | 1 + drivers/misc

[PATCH 7/7] board: gateworks: venice: use common GSC driver

2022-03-07 Thread Tim Harvey
Use the common GSC driver. This allows us to do some additional cleanup: - rename gsc{.c,.h} to eeprom{.c.h} for clarity - collapse eeprom_get_dev - remove unnecessary header files and alphabatize includes Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-u-boot.dtsi | 4

[PATCH 1/7] board: gateworks: gw_ventana: convert to DM_I2C

2022-03-07 Thread Tim Harvey
convert to DM_I2C for U-Boot while leaving SPL legacy I2C: - Move I2C config from common to SPL - Move PMIC config from common to SPL (no need to re-configure pmic) - add DM_I2C support to eeprom/gsc functions shared by SPL and U-Boot Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana

[PATCH 3/7] board: gateworks: gw_ventana: move GPIO config out of common

2022-03-07 Thread Tim Harvey
Move gpio configuration out of common and into u-boot code as it is not used by the SPL. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 86 - board/gateworks/gw_ventana/common.h | 2 - board/gateworks/gw_ventana/gw_ventana.c | 85

[PATCH 2/7] board: gateworks: gw_ventana: move SPL uart config out of common

2022-03-07 Thread Tim Harvey
Since DM_SERIAL is used for U-Boot we no longer need legacy UART code in common.c shared by the SPL and U-Boot. Move the legacy UART config to the non-DM SPL. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 11 --- board/gateworks/gw_ventana/common.h

[PATCH 4/7] board: gateworks: gw_ventana: move ft_early_fixups out of common

2022-03-07 Thread Tim Harvey
DM is not used for the SPL and a generic DT is used in the SPL which requires no fixups. Remove the call in the SPL and move the function into the U-Boot code. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 148 board/gateworks/gw_ventana

[PATCH 0/7] Add Gateworks System Controller driver

2022-03-07 Thread Tim Harvey
venice over to using the GSC driver Tim Tim Harvey (7): board: gateworks: gw_ventana: convert to DM_I2C board: gateworks: gw_ventana: move SPL uart config out of common board: gateworks: gw_ventana: move GPIO config out of common board: gateworks: gw_ventana: move ft_early_fixups out

Re: dsa driver for mv88e61xx

2022-03-11 Thread Tim Harvey
On Thu, Mar 10, 2022 at 3:18 PM Vladimir Oltean wrote: > > On Thu, Mar 10, 2022 at 02:35:21PM -0800, Tim Harvey wrote: > > On Thu, Mar 10, 2022 at 8:50 AM Vladimir Oltean wrote: > > > > > > Hello Tim, > > > > > > On Thu, Mar 10, 2022 at 08:16

Re: GPMI NAND Regression on i.MX6S

2022-03-16 Thread Tim Harvey
On Wed, Mar 16, 2022 at 7:09 AM Fabio Estevam wrote: > > Adding Han Xu's NXP email on Cc. > > On Mon, Mar 14, 2022 at 10:31 AM Frieder Schrempf > wrote: > > > > Hello everyone, > > > > sorry to dig out an old thread, but the below patch which was applied > > upstream as 616f03dabacb causes a

Re: [PATCH 19/23] video: Support showing the U-Boot logo

2022-03-15 Thread Tim Harvey
On Fri, Nov 19, 2021 at 12:28 PM Simon Glass wrote: > > Show the U-Boot logo by default. This is only 7KB in size so seems like > a useful default for boards that enable a display. > > If SPLASH_SCREEN is enabled, it is not enabled by default, so as not to > conflict with that feature. > > Also

[PATCH] board: venice: add spl_board_loader_name

2022-03-08 Thread Tim Harvey
Implement spl_board_loader_name to provide more meaningful device names vs MMC1 and MMC2. Signed-off-by: Tim Harvey --- board/gateworks/venice/spl.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c index 8b301570577c

[PATCH] imx8m{m,n}_venice_defconfig: add DT overlay support

2022-03-08 Thread Tim Harvey
enable CONFIG_OF_LIBFDT_OVERLAY to support applying dt overlays in U-Boot. Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 1 + configs/imx8mn_venice_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/imx8mm_venice_defconfig b/configs/imx8mm_venice_defconfig

[PATCH] imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0

2022-03-08 Thread Tim Harvey
The GW7902-C revision adds an ADC for the VDD_5P0 voltage rail. Add register definitions for it. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw7902.dts | 7 +++ arch/arm/dts/imx8mn-venice-gw7902.dts | 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/dts

[PATCH] arm: dts: imx8m*-venice: add gpio hog support

2022-03-08 Thread Tim Harvey
may have been done by bootloader commands. - specify gpio names and initial config - enable GPIO_HOG Signed-off-by: Tim Harvey --- .../dts/imx8mm-venice-gw71xx-0x-u-boot.dtsi | 46 ++ .../dts/imx8mm-venice-gw72xx-0x-u-boot.dtsi | 81 ++ .../dts/imx8mm-venice-gw73xx-0x-u

[PATCH] board: gateworks venice: add support for GPY111 phy

2022-03-08 Thread Tim Harvey
The TI DP83867 phy has been replaced with the MaxLinear GPY111 phy due to part availability. Add support for it by adding LED config and dt-prop based internal delay config tx-delay/rx-delay per PHY ID. Signed-off-by: Tim Harvey --- board/gateworks/venice/venice.c | 16 1 file

Re: [PATCH] imx8m{m,n}_venice: update env memory layout

2022-03-10 Thread Tim Harvey
On Sun, Feb 27, 2022 at 4:22 AM Fabio Estevam wrote: > > Hi Tim, > > [Adding Tom on Cc] > > On Sat, Feb 26, 2022 at 6:37 PM Tim Harvey wrote: > > > > On Sat, Feb 26, 2022 at 5:15 AM Fabio Estevam wrote: > > > > > > Hi Tim, > > >

dsa driver for mv88e61xx

2022-03-10 Thread Tim Harvey
Greetings, I wanted to take a stab at adding dsa support for the mv88e61xx which currently has a driver in drivers/net/phy [1]. The board I have available to me is the gw5904 which has a mv88e6085 with the upstream port connected to the IMX6 FEC MAC over RGMII. This currently works with the

Re: dsa driver for mv88e61xx

2022-03-10 Thread Tim Harvey
On Thu, Mar 10, 2022 at 8:50 AM Vladimir Oltean wrote: > > Hello Tim, > > On Thu, Mar 10, 2022 at 08:16:13AM -0800, Tim Harvey wrote: > > Greetings, > > > > I wanted to take a stab at adding dsa support for the mv88e61xx which > > currently has a driver in d

Re: [PATCH 2/2] ARM: imx: imx8mn-evk: use one common u-boot.dtsi for the evk boards

2022-02-24 Thread Tim Harvey
On Thu, Feb 24, 2022 at 1:47 AM Heiko Thiery wrote: > > To have only one place to describe the binman images us the > imx8mn-u-boot.dtsi. To have support for different DDR firmwares this > nodes are included dependent on the used DDR config option. > > Signed-off-by: Heiko Thiery > --- >

Re: IMX8MM 4GiB boundary issue

2022-02-24 Thread Tim Harvey
On Thu, Feb 24, 2022 at 12:03 PM Marek Vasut wrote: > > On 2/24/22 20:50, Fabio Estevam wrote: > > Hi Tim, > > > > Sorry for resurrecting such an old thread. > > > > On Fri, Sep 25, 2020 at 11:52 AM Tim Harvey wrote: > >> > >> Greetings, &g

Re: IMX8MM 4GiB boundary issue

2022-02-24 Thread Tim Harvey
On Thu, Feb 24, 2022 at 12:32 PM Fabio Estevam wrote: > > Hi Tim, > > On Thu, Feb 24, 2022 at 5:20 PM Tim Harvey wrote: > > > Fabio, > > > > As Marek points out the individual peripheral drivers have not been > > updated properly but this should be wor

[PATCH] dm: core: fix uclass_get_by_name

2022-02-16 Thread Tim Harvey
When calling uclass_get_by_name we want to do a full match on the uclass name, not a partial match. Signed-off-by: Tim Harvey --- drivers/core/uclass.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index

[PATCH] board: gateworks: venice: determine dram size at runtime

2022-02-18 Thread Tim Harvey
The SPL does not update the memory node with the dram size from EEPROM but instead we can use get_ram_size which does a simple memory test to determine the available RAM. Update PHYS_SDRAM_SIZE to 4GiB as that is the max used on the Venice boards. Signed-off-by: Tim Harvey --- board/gateworks

[PATCH] imx8m{m,n}_venice: update env memory layout

2022-02-18 Thread Tim Harvey
- allows for 512KB script Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 2 +- configs/imx8mn_venice_defconfig | 2 +- include/configs/imx8mm_venice.h | 9 + include/configs/imx8mn_venice.h | 9 + 4 files changed, 12 insertions(+), 10 deletions(-) diff --git

[PATCH] imx8m{m,n}_venice: update boot_net script to load fdt

2022-02-18 Thread Tim Harvey
Update the 'boot_net' script to load the fdt with the kernel. Signed-off-by: Tim Harvey --- include/configs/imx8mm_venice.h | 17 +++-- include/configs/imx8mn_venice.h | 17 +++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/include/configs

Re: [PATCH] include: configs: *imx8*: remove IMX_FEC_BASE

2022-02-18 Thread Tim Harvey
000 > #endif > > /* Initial environment variables */ > diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h > index 17583c0a6a..859b62d6f7 100644 > --- a/include/configs/verdin-imx8mm.h > +++ b/include/configs/verdin-imx8mm.h > @@ -107,7 +107,6 @@ > #define CONFIG_FEC_XCV_TYPE RGMII > #define CONFIG_FEC_MXC_PHYADDR 7 > #define FEC_QUIRK_ENET_MAC > -#define IMX_FEC_BASE 0x30BE > > /* USB Configs */ > #define CONFIG_EHCI_HCD_INIT_AFTER_RESET > -- > 2.20.1 > Heiko, Thanks for the cleanup! Reviewed-By: Tim Harvey Best Regards, Tim

<    4   5   6   7   8   9   10   11   12   13   >