Aw: [ANN] U-Boot v2024.10-rc1 released

2024-07-23 Thread Frank Wunderlich
Hi, i notice build-error because of CONFIG_TOOLS_MKEFICAPSULE is set automaticly and does not find an include https://github.com/frank-w/u-boot/actions/runs/10059612312/job/27805232284 tools/mkeficapsule.c:20:10: fatal error: gnutls/gnutls.h: No such file or directory 20 | #include

Aw: Re: avoid syscon fallback class for getting regmap

2024-07-15 Thread Frank Wunderlich
> Gesendet: Samstag, 13. Juli 2024 um 17:13 Uhr > Von: "Simon Glass" > Betreff: Re: avoid syscon fallback class for getting regmap > > Hi Frank, > > On Wed, 10 Jul 2024 at 14:43, Frank Wunderlich > wrote: > > > > Hi, > > > > i'm work

Re: adding fdt-overlay function - help needed

2024-07-12 Thread Frank Wunderlich
Am 12. Juli 2024 18:49:02 MESZ schrieb Tom Rini : >On Thu, Jul 11, 2024 at 01:23:32PM +0200, Frank Wunderlich wrote: > >> Hi, >> >> i got a bit further and noticed, that required command is not available in >> uboot...this is normally part of the dtc package [1],

Aw: adding fdt-overlay function - help needed

2024-07-11 Thread Frank Wunderlich
/master/fdtoverlay.c > Gesendet: Mittwoch, 10. Juli 2024 um 17:35 Uhr > Von: "Frank Wunderlich" > An: u-boot@lists.denx.de, "Tom Rini" > Betreff: adding fdt-overlay function - help needed > > Hi, > > i try to get overlay-merging working in uboot (for OF_UPS

adding fdt-overlay function - help needed

2024-07-10 Thread Frank Wunderlich
Hi, i try to get overlay-merging working in uboot (for OF_UPSTREAM conversion), but failing on missing Makefile knowledge i have the state now, that upstream dtso get compiled to dtbo files (that needed further changes). now i added this from linux-tree: #merge CONFIG_DEFAULT_DEVICE_TREE +

avoid syscon fallback class for getting regmap

2024-07-10 Thread Frank Wunderlich
Hi, i'm working on OF_UPSTREAM for mediatek boards and noticed missing syscon-fallback on some (mt7988) devicetree nodes. i know that u-boot uses this fallback to get the regmap shared across drivers, but only initializing once with the syscon_uclass. i tried adding the syscon-fallback to

Re: [PATCH] arm: mediatek: fix ram init for mt7622 (decrease to 1G)

2024-06-26 Thread Frank Wunderlich
Am 15. Juni 2024 11:34:56 MESZ schrieb Frank Wunderlich : >From: Frank Wunderlich > >RAM init on mt7622 based bananapi R64 is broken since v2023.10. > >Increasing the mem-map does not help here, so i reduced the maximum >available ram in get_ram_size call from 2G to 1G

[PATCH] arm: mediatek: fix ram init for mt7622 (decrease to 1G)

2024-06-15 Thread Frank Wunderlich
From: Frank Wunderlich RAM init on mt7622 based bananapi R64 is broken since v2023.10. Increasing the mem-map does not help here, so i reduced the maximum available ram in get_ram_size call from 2G to 1G (board has only 1G). Fixes: 5fd6d4c7b3ad ("arm: mediatek: retrieve ram_base from dts

uboot 2024.07 regression

2024-06-15 Thread Frank Wunderlich
Hi, while testing clock-patches for mediatek as preparation for OF_upstream i've noticed an issue on mt7623 based board (bananapi r2) with ethernet (no ping possible) in 2024.07-rc1 where 2024.04 is good. i bisected it to this commit: ff3bcb17f436 2024-02-23 Makefile: pass -undef option to

Re: [RFC] pci: mediatek: add PCIe controller support for Filogic

2024-05-10 Thread Frank Wunderlich
Am 10. Mai 2024 15:08:19 MESZ schrieb Tom Rini : >On Fri, May 10, 2024 at 01:57:26PM +0200, Frank Wunderlich wrote: > >> a gentle ping...any comments? > >Seems fine? > Can we switch to OF_UPSTREAM first however? Pulling mediatek devicetrees from linux will afaik b

Aw: [RFC] pci: mediatek: add PCIe controller support for Filogic

2024-05-10 Thread Frank Wunderlich
a gentle ping...any comments? regards Frank > Gesendet: Freitag, 12. April 2024 um 16:10 Uhr > Von: "Frank Wunderlich" > An: "Tom Rini" , "Lukasz Majewski" , "Sean > Anderson" , "Ryder Lee" , "Weijie > Gao" , &qu

[RFC] pci: mediatek: add PCIe controller support for Filogic

2024-04-12 Thread Frank Wunderlich
From: John Crispin This adds PCIe controller support for the MediaTek Filogic family.. Signed-off-by: John Crispin Signed-off-by: Frank Wunderlich --- Note for mt7988: pcie2 needs a dedicated phy which has no driver in uboot yet, so this pcie port is not enabled in the board device- trees

[PATCH v6] board: rockchip: Add Bananapi R2Pro Board

2023-10-04 Thread Frank Wunderlich
From: Frank Wunderlich Add Bananapi R2 Pro board. tested: - sdcard - both front usb-ports - sata - wan-port lan-ports are connected to mt7531 switch where driver needs to be separated from mtk ethernet-driver. Signed-off-by: Frank Wunderlich Reviewed-by: Kever Yang Reviewed-by: Jonas

Aw: Re: [PATCH v5] board: rockchip: Add Bananapi R2Pro Board

2023-10-04 Thread Frank Wunderlich
Hi Jonas thanks for your review. > Gesendet: Dienstag, 03. Oktober 2023 um 22:27 Uhr > Von: "Jonas Karlman" > An: "Frank Wunderlich" , "Frank Wunderlich" > , "Kever Yang" > Cc: "Simon Glass" , "Philipp Tomsich"

Aw: Re: Re: [PATCH v2 0/7] rockchip: rk3568: Fix use of PCIe bifurcation

2023-10-02 Thread Frank Wunderlich
Hi Jonas, > Gesendet: Montag, 02. Oktober 2023 um 10:33 Uhr > Von: "Jonas Karlman" > An: "Frank Wunderlich" , "Sebastian Reichel" > > Cc: "Kever Yang" , "Simon Glass" > , "Philipp Tomsich" , "Eugen > Hriste

Aw: Re: [PATCH v2 0/7] rockchip: rk3568: Fix use of PCIe bifurcation

2023-10-02 Thread Frank Wunderlich
Hi, > Gesendet: Sonntag, 01. Oktober 2023 um 21:11 Uhr > Von: "Sebastian Reichel" > An: "Jonas Karlman" > Cc: "Kever Yang" , "Simon Glass" > , "Philipp Tomsich" , "Eugen > Hristev" , "Jon Lin" , > "FUKAUMI Naoki" , "John Clark" , > u-boot@lists.denx.de > Betreff: Re: [PATCH v2 0/7]

Aw: Re: [PATCH v5] board: rockchip: Add Bananapi R2Pro Board

2023-10-02 Thread Frank Wunderlich
Hi Thank you kever for review. Tom can you take this and the depencies into next release (2024-01)? regards Frank > Gesendet: Mittwoch, 27. September 2023 um 04:42 Uhr > Von: "Kever Yang" > An: "Frank Wunderlich" , u-boot@lists.denx.de > Cc: "Frank Wund

Aw: Re: github dependabot alert on py / pytest

2023-09-30 Thread Frank Wunderlich
> Gesendet: Samstag, 30. September 2023 um 16:44 Uhr > Von: "Tom Rini" > An: "Frank Wunderlich" > Cc: "u-bootlists.denx.de" > Betreff: Re: github dependabot alert on py / pytest > > On Sat, Sep 30, 2023 at 03:13:30PM +0200, Frank Wunderli

github dependabot alert on py / pytest

2023-09-30 Thread Frank Wunderlich
Hi, dependabot reports a high security issue https://github.com/frank-w/u-boot/security/dependabot/1 it seems it is not yet fixed in master and next as there py is still in and pytest==6.2.5 I have not yet seen any topics for this...are you aware of this? I know tests are run in isolated

[PATCH v5] board: rockchip: Add Bananapi R2Pro Board

2023-09-20 Thread Frank Wunderlich
From: Frank Wunderlich Add Bananapi R2 Pro board. tested: - sdcard - both front usb-ports - sata - wan-port lan-ports are connected to mt7531 switch where driver needs to be separated from mtk ethernet-driver. Signed-off-by: Frank Wunderlich --- because iodomain is different to evb and now

Aw: Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-19 Thread Frank Wunderlich
Hi Jonas > Gesendet: Montag, 18. September 2023 um 23:45 Uhr > Von: "Jonas Karlman" > An: "Frank Wunderlich" > Cc: "Frank Wunderlich" , "Simon Glass" > , "Philipp Tomsich" , "Kever > Yang" , u-boot@lists.denx.de &g

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Frank Wunderlich
Am 18. September 2023 20:59:55 MESZ schrieb Mark Kettenis : >> Date: Mon, 18 Sep 2023 20:09:54 +0200 >> From: Frank Wunderlich >> >> Am 18. September 2023 19:52:31 MESZ schrieb Mark Kettenis >> : >> >> From: Frank Wunderlich >> >> Date: Mo

Re: [PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Frank Wunderlich
Am 18. September 2023 19:52:31 MESZ schrieb Mark Kettenis : >> From: Frank Wunderlich >> Date: Mon, 18 Sep 2023 19:36:24 +0200 Hi Mark, >> --- /dev/null >> +++ b/arch/arm/dts/rk3568-bpi-r2pro-u-boot.dtsi >> @@ -0,0 +1,28 @@ >> +// SPDX-License-Identifier:

[PATCH v4] board: rockchip: Add Bananapi R2Pro Board

2023-09-18 Thread Frank Wunderlich
From: Frank Wunderlich Add Bananapi R2 Pro board. tested: - sdcard - both front usb-ports - sata - wan-port lan-ports are connected to mt7531 switch where driver needs to be separated from mtk ethernet-driver. Signed-off-by: Frank Wunderlich --- because iodomain is different to evb and now

Aw: Re: [PATCH v3] board: rockchip: Add Bananapi R2Pro Board

2023-09-17 Thread Frank Wunderlich
Hi, thank you for your suggestions > Gesendet: Sonntag, 17. September 2023 um 00:51 Uhr > Von: "Jonas Karlman" > An: "Frank Wunderlich" > Cc: "Frank Wunderlich" , "Simon Glass" > , "Philipp Tomsich" , "Kever > Yang&q

Re: Aw: [PATCH v3] board: rockchip: Add Bananapi R2Pro Board

2023-09-16 Thread Frank Wunderlich
Am 16. September 2023 18:07:44 MESZ schrieb Marek Vasut : >On 9/16/23 16:18, Frank Wunderlich wrote: >> Hi, >> >> just a friedly reminder. would be great if it can be merged in next >> uboot-version. > >+CC Tom > >> regards Frank >> >>

Aw: [PATCH v3] board: rockchip: Add Bananapi R2Pro Board

2023-09-16 Thread Frank Wunderlich
Hi, just a friedly reminder. would be great if it can be merged in next uboot-version. regards Frank > Gesendet: Sonntag, 20. August 2023 um 18:00 Uhr > Von: "Frank Wunderlich" > An: u-boot@lists.denx.de > Cc: "Frank Wunderlich" , "Simon Glass&quo

[PATCH v3] board: rockchip: Add Bananapi R2Pro Board

2023-08-20 Thread Frank Wunderlich
From: Frank Wunderlich Add Bananapi R2 Pro board. Till now evb dts could be used, but iodomain is different (evb has 1v8 on vccio2 and vccio4 which are 3v3 on r2pro) and with iodomain driver this can cause hardware fault. Devicetree in mainline-Linux: https://git.kernel.org/pub/scm/linux

Re: [PATCH] arm: dts: mediatek: convert gmac link mode to 2500base-x for r3

2023-08-18 Thread Frank Wunderlich
Am 18. August 2023 19:49:45 MESZ schrieb Tom Rini : >On Thu, Aug 03, 2023 at 06:52:58PM +0200, Frank Wunderlich wrote: > >> From: Frank Wunderlich >> >> Ethernet on Bananapi-r3 is broken after >> >> commit bd70f3cea353 ("net: mediatek: add support

Re: [PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-13 Thread Frank Wunderlich
Am 12. August 2023 03:50:14 MESZ schrieb Kever Yang : >Hi Frank, > >On 2023/8/8 01:14, Frank Wunderlich wrote: >> From: Frank Wunderlich >> >> Add rk3568 based Bananapi R2 Pro board. >> >> Signed-off-by: Frank Wunderlich >> --- >> because i

Aw: Re: [PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-12 Thread Frank Wunderlich
Hi > Gesendet: Samstag, 12. August 2023 um 03:50 Uhr > Von: "Kever Yang" > An: "Frank Wunderlich" , u-boot@lists.denx.de > Cc: "Frank Wunderlich" , "Simon Glass" > , "Philipp Tomsich" , "Jonas > Karlman" , "Ja

Aw: Re: [PATCH v2] board: rockchip: Add Bananapi R2Pro Board

2023-08-08 Thread Frank Wunderlich
Hi thx for first look > Gesendet: Dienstag, 08. August 2023 um 13:18 Uhr > Von: "Eugen Hristev" > Hi Frank, > > On 8/8/23 11:09, Frank Wunderlich wrote: > > From: Frank Wunderlich > > > > Add Bananapi R2 Pro board. > > > > Signed

[PATCH v2] board: rockchip: Add Bananapi R2Pro Board

2023-08-08 Thread Frank Wunderlich
From: Frank Wunderlich Add Bananapi R2 Pro board. Signed-off-by: Frank Wunderlich --- because iodomain is different to evb and now iodomain driver is sent as patch we need to separate between EVB and R2Pro else board can be bricked. --- v2: - drop switch-node for now as u-boot driver works

Aw: Re: [PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-07 Thread Frank Wunderlich
> Gesendet: Montag, 07. August 2023 um 19:20 Uhr > Von: "Pali Rohár" > Could you stop sending me these rockchip emails? What is not > understandable on the fact that I'm not rockchip maintainer? > https://lists.denx.de/pipermail/u-boot/2023-March/511199.html >

[PATCH v1] board: rockchip: Add Bananapi R2Pro Board

2023-08-07 Thread Frank Wunderlich
From: Frank Wunderlich Add rk3568 based Bananapi R2 Pro board. Signed-off-by: Frank Wunderlich --- because iodomain is different to evb and now iodomain driver is sent as patch we need to separate between EVB and R2Pro else board can be bricked. --- arch/arm/dts/Makefile

[PATCH] arm: mediatek: add usb support for MT7988

2023-08-03 Thread Frank Wunderlich
From: Frank Wunderlich MT7988 has a t-phy and an x-phy controller. There is already a driver for t-phy so we can add USB support for this phy type. Signed-off-by: Frank Wunderlich --- arch/arm/dts/mt7988.dtsi | 60 1 file changed, 60 insertions

[PATCH] arm: dts: mediatek: convert gmac link mode to 2500base-x for r3

2023-08-03 Thread Frank Wunderlich
From: Frank Wunderlich Ethernet on Bananapi-r3 is broken after commit bd70f3cea353 ("net: mediatek: add support for SGMII 1Gbps auto-negotiation mode") because changes from this commit were not applied to bpi-r3 devicetree too: commit aef54ea16cac ("arm: dts: medaitek: convert

Aw: Re: [PATCH 21/29] arm: dts: medaitek: convert gmac link mode to 2500base-x

2023-07-20 Thread Frank Wunderlich
Gesendet: Donnerstag, 20. Juli 2023 um 02:58 Uhr Von: "Weijie Gao (高惟杰)" > > On Wed, 2023-07-19 at 14:08 +0200, Frank Wunderlich wrote: > > noticed some build-warnings from the pinctrl-patch which are not > > critical, but should be fixed. > >

Aw: [PATCH 21/29] arm: dts: medaitek: convert gmac link mode to 2500base-x

2023-07-19 Thread Frank Wunderlich
Hi > Gesendet: Mittwoch, 19. Juli 2023 um 11:17 Uhr > Von: "Weijie Gao" > An: u-boot@lists.denx.de > Cc: "GSS_MTK_Uboot_upstream" , "Daniel > Golle" , "Frank Wunderlich" , "Weijie > Gao" > Betreff: [PATCH 21/

Aw: [PATCH 21/29] arm: dts: medaitek: convert gmac link mode to 2500base-x

2023-07-19 Thread Frank Wunderlich
;Weijie Gao" > An: u-boot@lists.denx.de > Cc: "GSS_MTK_Uboot_upstream" , "Daniel > Golle" , "Frank Wunderlich" , "Weijie > Gao" > Betreff: [PATCH 21/29] arm: dts: medaitek: convert gmac link mode to > 2500base-x so far only not

Re: [ANN] U-Boot v2023.07 released

2023-07-11 Thread Frank Wunderlich
Hi, Btw. Githubs dependa-bot reports some security related issues with pythons setup-tools. As far as i see it should only affects tests...as i don't use the tests i cannot say if it breaks anything and so not send a patch in ML. maybe this can be done directly in original uboot repo.

Aw: Re: Re: Re: distro_boot vs. env-based bootmenu

2023-07-01 Thread Frank Wunderlich
Hi Jonas thx again for your valuable answer > Gesendet: Samstag, 01. Juli 2023 um 10:12 Uhr > Von: "Jonas Karlman" > An: "Frank Wunderlich" > Cc: "Simon Glass" , "U-Boot Mailing List" > , "Heinrich Schuchardt" > , "I

Aw: Re: distro_boot vs. env-based bootmenu

2023-07-01 Thread Frank Wunderlich
Hi thanks for your anser > Gesendet: Samstag, 01. Juli 2023 um 04:08 Uhr > Von: "AKASHI Takahiro" > Hi, > > On Wed, Apr 12, 2023 at 11:22:23AM +0200, Frank Wunderlich wrote: > > Hi, > > > > i try to move from distro-boot (extlinux-config files) to an e

Aw: Re: Re: distro_boot vs. env-based bootmenu

2023-06-30 Thread Frank Wunderlich
"Jonas Karlman" > An: "Frank Wunderlich" , "Simon Glass" > > Cc: "U-Boot Mailing List" , "Heinrich Schuchardt" > , "Ilias Apalodimas" > > Betreff: Re: Aw: Re: distro_boot vs. env-based bootmenu > > Hi Frank,

Aw: [PATCH v2 0/2] Add DTS for BPI-R3

2023-04-30 Thread Frank Wunderlich
Hi, Is it possible to take this series in upcoming release? regards Frank > Gesendet: Dienstag, den 11.04.2023 um 17:19 Uhr > Von: "Frank Wunderlich" > An: u-boot@lists.denx.de > Cc: "Frank Wunderlich" , "Sam Shih" > , "William Zhang&q

Aw: Re: distro_boot vs. env-based bootmenu

2023-04-30 Thread Frank Wunderlich
://u-boot.readthedocs.io/en/latest/develop/bootstd.html regards Frank > On Mon, 24 Apr 2023 at 15:22, Frank Wunderlich > wrote: > > > > Am 24. April 2023 21:44:25 MESZ schrieb Simon Glass : > > >Hi Frank, > > > > > >On Fri, 21 Apr 2023 at 10:03, Frank

Re: distro_boot vs. env-based bootmenu

2023-04-24 Thread Frank Wunderlich
Am 24. April 2023 21:44:25 MESZ schrieb Simon Glass : >Hi Frank, > >On Fri, 21 Apr 2023 at 10:03, Frank Wunderlich wrote: >> >> Maybe you have an idea because your patch removes distro-boot >> >> https://patchwork.ozlabs.org/projec

Aw: [PATCH] pinctrl: mediatek: set R1/R0 in case pullen/pullsel succeeded

2023-04-13 Thread Frank Wunderlich
/problem-trying-to-use-emmc/11253 tested the patch on my device for regressions...no problems Tested-By: Frank Wunderlich

distro_boot vs. env-based bootmenu

2023-04-12 Thread Frank Wunderlich
Hi, i try to move from distro-boot (extlinux-config files) to an env-based bootmenu (builtin-environment) for my bananapi r2pro. basicly it works, but i see more bootmenu-entries than i have defined in my environment *** U-Boot Boot Menu *** 1. Boot from SD/EMMC. mmc 1:2

[PATCH v2 1/2] board: mediatek: add Bananapi-R3 devicetree

2023-04-11 Thread Frank Wunderlich
From: Daniel Golle Add board specific devicetree for Bananapi R3 SBC. Signed-off-by: Daniel Golle Signed-off-by: Frank Wunderlich --- taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled

[PATCH v2 2/2] configs: change bpi-r3 to board specific dts and change prompt

2023-04-11 Thread Frank Wunderlich
From: Frank Wunderlich Use own devicetree for the board and change the prompt. Signed-off-by: Frank Wunderlich --- configs/mt7986a_bpir3_emmc_defconfig | 6 +++--- configs/mt7986a_bpir3_sd_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configs

[PATCH v2 0/2] Add DTS for BPI-R3

2023-04-11 Thread Frank Wunderlich
From: Frank Wunderlich Add board specific devicetree for BananaPi R3. It is taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled the factory button which was disabled because a HW-bug in rev 1.0

Aw: [v1 1/2] board: mediatek: add Bananapi-R3 devicetree

2023-04-08 Thread Frank Wunderlich
Hi noticed that i need to change the label of wps button back to "wps" when enabling the factory button (else there will be 2 buttons with same label). > Gesendet: Freitag, 07. April 2023 um 23:26 Uhr > Von: "Frank Wunderlich" > Betreff: [v1 1/2] board: mediate

[v1 1/2] board: mediatek: add Bananapi-R3 devicetree

2023-04-07 Thread Frank Wunderlich
From: Daniel Golle Add board specific devicetree for Bananapi R3 SBC. Signed-off-by: Daniel Golle Signed-off-by: Frank Wunderlich --- taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled

[v1 2/2] configs: change bpi-r3 to board specific dts and change prompt

2023-04-07 Thread Frank Wunderlich
From: Frank Wunderlich Use own devicetree for the board and change the prompt. Signed-off-by: Frank Wunderlich --- configs/mt7986a_bpir3_emmc_defconfig | 6 +++--- configs/mt7986a_bpir3_sd_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configs

[v1 0/2] Add DTS for BPI-R3

2023-04-07 Thread Frank Wunderlich
From: Frank Wunderlich Add board specific devicetree for BananaPi R3. It is taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled the factory button which was disabled because a HW-bug in rev 1.0

Aw: [PATCH v5 2/6] rockchip: Use an external TPL binary on RK3568

2023-03-01 Thread Frank Wunderlich
Tested full series on bananapi r2pro Tested-by: Frank Wunderlich regards Frank

Aw: [PATCH v4 0/4] rockchip: Use external TPL binary to create a working firmware image

2023-02-22 Thread Frank Wunderlich
, so Tested-By: Frank Wunderlich regards Frank > Gesendet: Sonntag, 19. Februar 2023 um 16:06 Uhr > Von: "Jonas Karlman" > An: "Simon Glass" , "Philipp Tomsich" > , "Kever Yang" , "Joseph > Chen" , "Alper Nebi Yasak" &

Aw: Nand write from uboot

2022-10-22 Thread Frank Wunderlich
Hi, this is how i do nand-write on a mediatek board, if your driver is capable with mtd it should be similar: https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r3:uboot#nand_flash HTH regards Frank

Aw: extend environment with file

2021-12-21 Thread Frank Wunderlich
> Gesendet: Dienstag, 21. Dezember 2021 um 13:56 Uhr > Von: "Frank Wunderlich" > An: "U-Boot Mailing List" > Betreff: extend environment with file > > Hi, > > currently i use distroboot on my board which sets some environment-variables, > some other

extend environment with file

2021-12-21 Thread Frank Wunderlich
Hi, currently i use distroboot on my board which sets some environment-variables, some other (memory addresses) were set in my soc-specific header file (include/configs/rk3568_common.h). But distroboot is a bit too limited for my needs (no tftp, no script, ...), so imho i need to use the

Aw: [PATCH v2] Cubieboard2:SUN7I:Add LED BOOT support

2021-12-08 Thread Frank Wunderlich
Hi, you should add maintainer email for your patch $ scripts/get_maintainer.pl board/sunxi/board.c Jagan Teki (maintainer:ARM SUNXI) Andre Przywara (maintainer:ARM SUNXI) u-boot@lists.denx.de (open list) regards Frank > Gesendet: Mittwoch, 08. Dezember 2021 um 15:22 Uhr > Von: "Javad

Aw: Re: debugging crash for arm64

2021-12-08 Thread Frank Wunderlich
| PTE_BLOCK_PXN | PTE_BLOCK_UXN }, { /* List terminator */ 0, } }; struct mm_region *mem_map = rk3568_mem_map; regards Frank > Gesendet: Mittwoch, 08. Dezember 2021 um 12:49 Uhr > Von: "Joakim Tjernlund" > An

debugging crash for arm64

2021-12-08 Thread Frank Wunderlich
Hi, i got a crash on uboot while running reset-command in rk3568 board (bananapi-r2 pro, currently not in upstream). maybe a callback is missing (e.g. reset_cpu())?? i tried to analyse it using the documentation: https://u-boot.readthedocs.io/en/latest/develop/crash_dumps.html Resetting CPU

Aw: Re: uboot FIT signature difference

2021-10-25 Thread Frank Wunderlich
> Gesendet: Sonntag, 24. Oktober 2021 um 21:53 Uhr > Von: "Simon Glass" > An: "Frank Wunderlich" > Cc: "Philipp Tomsich" , "Kever Yang" > , "U-Boot Mailing List" > Betreff: Re: uboot FIT signature difference > > Hi Frank

uboot FIT signature difference

2021-10-10 Thread Frank Wunderlich
Hi, i try to create a upstream uboot binary for use with rockchip rk3568 (bananapi r2 pro). Currently i'm on preparation phase as i don't have the hardware yet (so i cannot test it). First thanks to everybody upstreamed support for this SOC in uboot and linux. i found a compiled uboot.img

[PATCH] ahci: mediatek: fix undefined reference of dev_err

2021-03-16 Thread Frank Wunderlich
From: Frank Wunderlich building with MTK_AHCI enabled results in implicit declaration and undefined reference of dev_err followed by a segfault of gcc drivers/ata/mtk_ahci.c: In function 'mtk_ahci_parse_property': drivers/ata/mtk_ahci.c:65:4: warning: implicit declaration of function 'dev_err

Aw: Re: [PATCH] board: mediatek: disable watchdog on BananaPi R2

2021-01-11 Thread Frank Wunderlich
> Gesendet: Montag, 11. Januar 2021 um 09:57 Uhr > Von: "Heinrich Schuchardt" > I observed that on some recent version Linux before 5.10 booting seemed > to be delayed by dozens of seconds on many boards. On which Linux > version did you see the problem? > > >>> > >>> I've not much experience

Aw: Detecting network loaded uboot

2020-11-07 Thread Frank Wunderlich
Hi, i don't think this is possible, because uboot is loaded in both cases to memory before it is executed. maybe you can set some kind of memory-flag outside the executions range before loading from storage/network. regards Frank > Gesendet: Freitag, 06. November 2020 um 22:52 Uhr > Von:

Re: [PATCH] PCI: mediatek: Release the resource when PCIe enable port fail

2020-09-10 Thread Frank Wunderlich
Am 10. September 2020 21:33:01 MESZ schrieb Tom Rini : >Yes, OK, thanks for letting me know. I've queued this up for master >when I push again. Is there anything else currently that's outstanding >for MediaTek and should be in this release? Hi, For my boards only xhci 0.96 support is

Re: [PATCH] PCI: mediatek: Release the resource when PCIe enable port fail

2020-09-10 Thread Frank Wunderlich
Am 10. September 2020 20:40:10 MESZ schrieb Tom Rini : >Applied to u-boot/next, thanks! Thanks Can it be applied to current release too as it is a fix (hang till watchdog reset on pci enum if no card inserted in pcie slot,but sata chip connected)? regards Frank

Re: [PATCH v3 9/9] usb: xhci: convert to readx_poll_sleep_timeout()

2020-09-08 Thread Frank Wunderlich
Am 8. September 2020 18:47:47 MESZ schrieb Marek Vasut : >Resend please, if I wanted to comment on any of those patches, I won't >be able. Have resend with bit reduced recipients (afair ryder and weijie are in GSS mailinglist),because this floods others mailbox. It's only a workaround. Have

[PATCH RESEND v4 8/9] usb: xhci: use macros with parameter to fill ep_info2

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun Use macros with parameter to fill ep_info2, then some macros for MASK and SHIFT can be removed Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- drivers/usb/host/xhci-mem.c | 15 +-- drivers/usb/host/xhci.c | 6 ++ include/usb/xhci.h | 6

[PATCH RESEND v4 9/9] usb: xhci: convert to readx_poll_sleep_timeout()

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun Use readx_poll_sleep_timeout() to poll the register status Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- drivers/usb/host/xhci.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers/usb/host/xhci.c

[PATCH RESEND v4 5/9] usb: xhci: convert to TRB_TYPE()

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun Use TRB_TYPE(p) instead of ((p) << TRB_TYPE_SHIFT) Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- drivers/usb/host/xhci-mem.c | 3 +-- drivers/usb/host/xhci-ring.c | 11 +-- include/usb/xhci.h | 1 - 3 files changed, 6 insertions(+), 9

[PATCH RESEND v4 7/9] usb: xhci: convert to TRB_TX_TYPE()

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun Use TRB_TX_TYPE() instead of (TRB_DATA_OUT/IN << TRB_TX_TYPE_SHIFT) Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- drivers/usb/host/xhci-ring.c | 4 ++-- include/usb/xhci.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH RESEND v4 3/9] usb: xhci: add quirks flag to support MediaTek xHCI 0.96

2020-09-08 Thread Frank Wunderlich
context. 2. Its TDS in Normal TRB defines a number of packets that remains to be transferred for a TD after processing all Max packets in all previous TRBs. Signed-off-by: Chunfeng Yun Tested-by: Frank Wunderlich Reviewed-by: Bin Meng --- drivers/usb/host/xhci-mtk.c | 1 + drivers/usb/host

[PATCH RESEND v4 2/9] usb: xhci: create one unified function to calculate TRB TD remainder

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun xhci versions 1.0 and later report the untransferred data remaining in a TD a bit differently than older hosts. We used to have separate functions for these, and needed to check host version before calling the right function. Now Mediatek host has an additional quirk on how

[PATCH RESEND v4 6/9] usb: xhci: convert to TRB_LEN() and TRB_INTR_TARGET()

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun For normal TRB fields: use TRB_LEN(x) instead of ((x) & TRB_LEN_MASK); and use TRB_INTR_TARGET(x) instead of (((x) & TRB_INTR_TARGET_MASK) << TRB_INTR_TARGET_SHIFT) Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- drivers/usb/host/xhci-ring.c | 16 +++-

[PATCH RESEND v4 1/9] usb: xhci: add a member hci_version in xhci_ctrl struct

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun Add a member to save xHCI version, it's used some times. Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- drivers/usb/host/xhci-ring.c | 4 ++-- drivers/usb/host/xhci.c | 1 + include/usb/xhci.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-)

[PATCH RESEND v4 4/9] usb: xhci: convert to HCS_MAX_PORTS()

2020-09-08 Thread Frank Wunderlich
From: Chunfeng Yun Use HCS_MAX_PORTS(p) instead of ((p & HCS_MAX_PORTS_MASK) >> HCS_MAX_PORTS_SHIFT) Signed-off-by: Chunfeng Yun Reviewed-by: Bin Meng --- drivers/usb/host/xhci.c | 3 +-- include/usb/xhci.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [PATCH v3 9/9] usb: xhci: convert to readx_poll_sleep_timeout()

2020-09-08 Thread Frank Wunderlich
Am 8. September 2020 18:15:05 MESZ schrieb Marek Vasut : >Thank you, I cannot apply a patchset which only has "Re:" in my >mailbox, >because the original patches are just not there. Should i resend v4? Or could you apply from Patchwork (series link in upper right of Patch)? Thats the way i

[RESEND PATCH v2 11/11] usb: xhci: convert to readx_poll_sleep_timeout()

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use readx_poll_sleep_timeout() to poll the register status Change-Id: If05a68baf52c54ab30029279e349be6076f1d0ca Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git

[RESEND PATCH v2 10/11] usb: xhci: use macros with parameter to fill ep_info2

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use macros with parameter to fill ep_info2, then some macros for MASK and SHIFT can be removed Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mem.c | 13 - drivers/usb/host/xhci.c | 3 +-- include/usb/xhci.h | 5 - 3 files changed, 5

[RESEND PATCH v2 09/11] usb: xhci: convert to EP_TYPE()

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use EP_TYPE(type) macro instead of ((type) << EP_TYPE_SHIFT) Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mem.c | 2 +- drivers/usb/host/xhci.c | 3 +-- include/usb/xhci.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git

[RESEND PATCH v2 04/11] usb: xhci: convert to HCS_MAX_PORTS()

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use HCS_MAX_PORTS(p) instead of ((p & HCS_MAX_PORTS_MASK) >> HCS_MAX_PORTS_SHIFT) Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci.c | 3 +-- include/usb/xhci.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/host/xhci.c

[RESEND PATCH v2 08/11] usb: xhci: convert to TRB_TX_TYPE()

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use TRB_TX_TYPE() instead of (TRB_DATA_OUT/IN << TRB_TX_TYPE_SHIFT) Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-ring.c | 4 ++-- include/usb/xhci.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c

[RESEND PATCH v2 06/11] usb: xhci: convert to TRB_INTR_TARGET()

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use TRB_INTR_TARGET(x) instead of (((x) & TRB_INTR_TARGET_MASK) << TRB_INTR_TARGET_SHIFT) Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-ring.c | 10 -- include/usb/xhci.h | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git

[RESEND PATCH v2 07/11] usb: xhci: convert to TRB_LEN()

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use TRB_LEN(x) instead of ((x) & TRB_LEN_MASK) Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-ring.c | 8 include/usb/xhci.h | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c

[RESEND PATCH v2 02/11] usb: xhci: create one unified function to calculate TRB TD remainder.

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun xhci versions 1.0 and later report the untransferred data remaining in a TD a bit differently than older hosts. We used to have separate functions for these, and needed to check host version before calling the right function. Now Mediatek host has an additional quirk on how

[RESEND PATCH v2 05/11] usb: xhci: convert to TRB_TYPE()

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Use TRB_TYPE(p) instead of ((p) << TRB_TYPE_SHIFT) Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mem.c | 3 +-- drivers/usb/host/xhci-ring.c | 11 +-- include/usb/xhci.h | 1 - 3 files changed, 6 insertions(+), 9 deletions(-) diff --git

[RESEND PATCH v2 01/11] usb: xhci: add a member hci_version in xhci_ctrl struct

2020-09-02 Thread Frank Wunderlich
From: Chunfeng Yun Add a member to save xHCI version, it's used some times. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-ring.c | 4 ++-- drivers/usb/host/xhci.c | 1 + include/usb/xhci.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git

[RESEND PATCH v2 03/11] usb: xhci: add quirks flag to support MediaTek xHCI 0.96

2020-09-02 Thread Frank Wunderlich
. 2. Its TDS in Normal TRB defines a number of packets that remains to be transferred for a TD after processing all Max packets in all previous TRBs. Signed-off-by: Chunfeng Yun Tested-by: Frank Wunderlich --- drivers/usb/host/xhci-mtk.c | 1 + drivers/usb/host/xhci-ring.c | 9

Aw: [PATCH] PCI: mediatek: Release the resource when PCIe enable port fail

2020-08-31 Thread Frank Wunderlich
as not released correctly. > > Signed-off-by: Chuanjia Liu > Tested-by: Frank Wunderlich if fixes-Tag is needed: Fixes: 42d37450e5 ("pci: mediatek: add PCIe controller support for MT7623")

Aw: [PATCH RESEND v2 01/11] usb: xhci: add a member hci_version in xhci_ctrl struct

2020-08-27 Thread Frank Wunderlich
Hi, any change to get this series into 2020-10? i'm asking because tom write that merge window for next will be opened soon. imho that means that current release cycle allows only fixes, right? usb for mt7622/23 needs these patches to work properly (currently only controller is detected with

Re: [PATCH v6 0/7] Add MTK AHCI driver, BPI-R64 dts and USB-Nodes for mt7622>

2020-08-22 Thread Frank Wunderlich
Pcie is already merged and usb is v2 https://patchwork.ozlabs.org/project/uboot/list/?series=195873 regards Frank

[PATCH v6 6/7] arm: dts: mt7622: add USB nodes

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich Add DTS nodes for MT7622/BPI-R64 Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- v1->v2: - remove clk25m as it's not needed --- arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 8 arch/arm/dts/mt7622-rfb.dts | 8 arch/arm/dts/mt7

[PATCH v6 5/7] arm: dts: rename mt7622-bpi-r64.dts

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich rename mt7622-bpi-r64.dts to mt7622-bananapi-bpi-r64.dts to follow naming convensions Signed-off-by: Frank Wunderlich --- arch/arm/dts/Makefile | 2 +- .../arm/dts/{mt7622-bpi-r64.dts => mt7622-bananapi-bpi-r64.dts} | 0 2 fi

[PATCH v6 7/7] arm: dts: mt7623: add USB nodes

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich This adds USB nodes for MT7623/BPI-R2 Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- arch/arm/dts/mt7623.dtsi | 46 arch/arm/dts/mt7623n-bananapi-bpi-r2.dts | 16 + 2 files changed, 62 insertions(+) diff

[PATCH v6 3/7] ahci: mediatek: fix copyright and author-lines

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich after review of sam copyright should be on one line and link should not between author lines just remove the link and put ryder first as he is author of linux-driver Signed-off-by: Frank Wunderlich --- drivers/ata/mtk_ahci.c | 6 ++ 1 file changed, 2 insertions

  1   2   3   4   >