Dear Han and Fabio
On Thu, Apr 28, 2022 at 7:01 AM Michael Nazzareno Trimarchi
wrote:
>
> Hi
>
> On Thu, Apr 28, 2022 at 2:27 AM Han Xu wrote:
> >
> >
> >
> > > -Original Message-
> > > From: Michael Trimarchi
> > > Sent: Wednesday, April 27, 2022 12:50 AM
> > > To: Han Xu ; U-Boot-Denx
Since the D1 CCU binding is defined, we can add support for its
gates/resets, following the pattern of the existing drivers.
Signed-off-by: Samuel Holland
---
drivers/clk/sunxi/Kconfig | 6 +
drivers/clk/sunxi/Makefile| 1 +
drivers/clk/sunxi/clk_d1.c
Compatible strings for some new RTC hardware variants were added to
the binding. Add them to the driver in preparation for supporting
those new SoCs.
Signed-off-by: Samuel Holland
---
drivers/clk/sunxi/clk_sun6i_rtc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/sunxi/clk_s
On Fri, 29 Apr 2022 21:38:58 -0500
Samuel Holland wrote:
Hi Samuel,
> On 4/29/22 7:08 PM, Andre Przywara wrote:
> > On Fri, 29 Apr 2022 14:14:19 -0400
> > Tom Rini wrote:
> >
> > Hi,
> >
> >> On Fri, Apr 29, 2022 at 06:05:03PM +0200, Mark Kettenis wrote:
> Date: Fri, 29 Apr 2022 11:3
On Mon, Apr 25, 2022 at 9:28 PM Marek Vasut wrote:
>
> Assign packet pointer only in case the MAC reports anything in the FIFO.
> In case the MAC indicates empty FIFO, return 0 to pass that information
> to the network stack.
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hershberger
> Cc: Ramon Fried
On Tue, Apr 26, 2022 at 9:35 PM Sean Anderson wrote:
>
> This driver depends on PCI. Update the Kconfig accordingly.
>
> Signed-off-by: Sean Anderson
> ---
>
> drivers/net/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index 347fe8aa4
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Macro MVNETA_GMAC_FORCE_LINK_UP can be dropped from value assignment in
> fixed link case, since it's value is written into the register later in
> the function for link-down-to-link-up case. The value is written as
> MV
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Guard the code handling the fixed PHY case by
> CONFIG_IS_ENABLED(PHY_FIXED).
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/d
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Since this member is checked only at two places drop it and inline it's
> usage.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 7 ++-
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Write PHY address just before enabling HW polling of the PHY.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 6 ++
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/net/mvnet
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Stop parsing fixed-link in the MAC driver. Instead support only PHY mode
> and let the fixed PHY driver handle the fixed-link case.
>
> Enable CONFIG_PHY_FIXED for mvneta boards that need it: Turris Omnia and
> ESPRESSOb
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> The CONFIG_* macros are reserved for Kconfig. This was probably done
> when this driver was being imported from Linux. Rename the macro.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 4 ++--
> 1 file ch
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Drop checking for CONFIG_PHYLIB in mvneta, this is already done in
> Kconfig.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 4
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/net/mvneta.c
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Drop unnecessary space in mvneta_adjust_link().
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/mvneta.c b/drivers/net/mv
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Use the bool type instead of int for status_change variable.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/mvneta.c
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Drop one indentation level in the mvneta_adjust_link() function.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 38 ++
> 1 file changed, 18 insertions(+), 20 deletions
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> The `ret` variable in mvneta_probe() is unused if DM_GPIO is disabled.
>
> Since the variable is used only once after assigning value, we can
> inline the usage and drop the variable.
>
> Signed-off-by: Marek Behún
> --
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> This MDIO bus is now handled by a proper mvmdio DM driver. Remove it
> from mvneta.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 143 +--
> 1 file changed, 2 ins
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> We don't need to remember PHY address anymore, because since using DM
> MDIO for connecting PHY, the address is parsed by mdio-uclass from
> the ofnode.
>
> But the driver uses a special value of the address to signal fi
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Use the modern DM MDIO API for connecting PHY in the mvneta driver.
>
> This requires enabling MVMDIO driver in several config files.
>
> Signed-off-by: Marek Behún
> ---
> configs/clearfog_defconfig |
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> In mvneta_adjust_link() we need to set MII_SPEED bit only if PHY reports
> the speed at 100Mbps.
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> d
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Add helper to resolve PHY node from it's ofnode via DM MDIO subsystem.
>
> Signed-off-by: Marek Behún
> ---
> include/miiphy.h | 9 +
> net/mdio-uclass.c | 22 ++
> 2 files changed, 31 ins
On Wed, Apr 27, 2022 at 1:42 PM Marek Behún wrote:
>
> From: Marek Behún
>
> Drop .of_to_plat() from the mvneta driver and parse the two properties
> in .probe().
>
> Signed-off-by: Marek Behún
> ---
> drivers/net/mvneta.c | 24
> 1 file changed, 4 insertions(+), 20 del
On 4/19/22 03:05, AKASHI Takahiro wrote:
>
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index bc518d7a413b..6b245f50a726 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -14,6 +14,8 @@ config EFI_LOADER
> depends on DM_ETH || !NET
> dep
On Sat, Apr 30, 2022 at 1:04 PM Marek Vasut wrote:
>
> On 4/30/22 19:32, Adam Ford wrote:
> > On Sat, Apr 30, 2022 at 12:00 PM Marek Vasut wrote:
> >>
> >> On 4/30/22 14:43, Peng Fan (OSS) wrote:
> >>> From: Peng Fan
> >>>
> >>> Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
> >>> mar
On 4/30/22 19:32, Adam Ford wrote:
On Sat, Apr 30, 2022 at 12:00 PM Marek Vasut wrote:
On 4/30/22 14:43, Peng Fan (OSS) wrote:
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Signed-off-by: Peng Fan
---
board/menlo/mx8menlo/mx8menlo.c
On Sat, Apr 30, 2022 at 12:00 PM Marek Vasut wrote:
>
> On 4/30/22 14:43, Peng Fan (OSS) wrote:
> > From: Peng Fan
> >
> > Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
> > marked with u-boot,dm-spl.
> >
> > Signed-off-by: Peng Fan
> > ---
> > board/menlo/mx8menlo/mx8menlo.c | 9
On Thu, Apr 28, 2022 at 1:38 PM Weijie Gao wrote:
>
> This patch adds GMAC support for MediaTek MT7621 SoC.
> MT7621 has the same GMAC/Switch configuration as MT7623.
>
> Signed-off-by: Weijie Gao
> ---
> v3 changes:
> Add register remap needed by mt7621
> Fix use of noncached_alloc
> v2 chan
On 4/30/22 14:43, Peng Fan (OSS) wrote:
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Signed-off-by: Peng Fan
---
board/menlo/mx8menlo/mx8menlo.c | 9 -
configs/imx8mm-mx8menlo_defconfig | 1 +
include/configs/imx8mm-mx8menlo
SPL has a manual call to init_uart_clk in order to start the
clocks. If the CCF has the UART clocks available, the
serial driver can enable and query the clock when needed, so
the manual call to init_uart_clk can be dropped.
Signed-off-by: Adam Ford
diff --git a/board/beacon/imx8mm/spl.c b/boar
Certain platforms have the UART clocks exposed through the CCF.
When they are, it's possible to enable and query the clock(s)
for a given UART. Add support getting, enabling, and querying
the clocks.
Signed-off-by: Adam Ford
diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c
There are four UART's with various clocks assoicated with each.
Add them to the clock driver so they can be enabled and queried
by the serial driver as needed.
Signed-off-by: Adam Ford
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
index 542aa31f7a..8566c3e4a0 100644
--
This series is an RFC focussing on only the i.MX8M Mini until
feedback is received when the series can be expanded to other
imx boards.
This series adds the UART clocks to the CCF, adds functions to
the serial driver to fetch, enable, and query the clock(s),
and finally removes the manual clock in
On Sat, Apr 30, 2022 at 7:01 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
> marked with u-boot,dm-spl.
> Move preloader_console_init after spl_init to make sure driver
> model work.
Thanks for doing this!
>
Tested-by: Adam Ford #
On 4/26/22 5:26 PM, Heinrich Schuchardt wrote:
Local variable out.name lives on the stack and therefore cannot
be returned directly. Move the strdup() call into the function.
(Coverity 352460)
Fixes: 7c33f78983c3 ("clk: scmi: register scmi clocks with CCF")
Signed-off-by: Heinrich Schuchardt
--
* improve doc-string formatting
* remove unused imports
Signed-off-by: Heinrich Schuchardt
---
.../test_capsule_firmware_raw.py | 42 +--
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/test/py/tests/test_efi_capsule/test_capsule_firmware_raw.py
b/te
On Fri, Apr 29, 2022 at 2:20 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> Since the power domain driver default select CONFIG_CLK, so we will
> meet lots failures without CLK_IMX8MQ, so default select it.
>
There is a related patch [1] that I submitted for all imx8m SoC's t
select their respe
On Sat, 30 Apr 2022 21:31:15 +0800
Weijie Gao wrote:
> On Fri, 2022-04-29 at 17:13 +0200, Marek Behún wrote:
> > On Fri, 29 Apr 2022 15:59:44 +0800
> > Weijie Gao wrote:
> >
> > > On Fri, 2022-04-29 at 08:15 +0200, Stefan Roese wrote:
> > > > Hi Weijie
> > > >
> > > > On 4/29/22 03:23, Wei
Building with OpenSSL 3.0 produces warnings like:
../tools/sunxi_toc0.c:846:17: warning: ‘RSA_get0_d’ is deprecated:
Since OpenSSL 3.0 [-Wdeprecated-declarations]
846 | if (root_key && RSA_get0_d(root_key)) {
| ^~
As OpenSSL 3.0 is not available in elder Li
Hi
Il sab 30 apr 2022, 14:02 Peng Fan (OSS) ha scritto:
> From: Peng Fan
>
> CONFIG_DM_SERIAL is enabled, this macro not needed.
>
> Signed-off-by: Peng Fan
> ---
> include/configs/imx8mn_bsh_smm_s2_common.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/configs/imx8mn_bsh_
On 4/29/22 12:56, Heinrich Schuchardt wrote:
On 4/28/22 18:33, Heinrich Schuchardt wrote:
On 4/28/22 10:09, Masahisa Kojima wrote:
This commit supports the menu-driven UEFI boot option addition.
User can select the block device volume having
efi_simple_file_system_protocol and select the file c
On Sat, Apr 30, 2022 at 4:03 AM Heinrich Schuchardt
wrote:
>
> %s/cammand/command/
> %s/sequencies/sequences/
>
> Signed-off-by: Heinrich Schuchardt
> ---
> doc/usage/cmd/bootmenu.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng
Hi Peng,
On Sat, Apr 30, 2022 at 9:01 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> This patchset is to convert some i.MX8M boards to DM SERIAL
>
> Note: this is based on my experience on i.MX8M*-EVK from NXP, I not have
> the following boards. If possible, please test.
The series looks good,
From: Peng Fan
Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mq-phanbell-u-boot.dtsi | 8
configs/imx8mq_phanbell_defconfig| 1 +
2 files changed, 9 insertions(+)
diff --git a/arch/arm/dts/im
From: Peng Fan
Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi | 9 +
configs/pico-imx8mq_defconfig | 1 +
2 files changed, 10 insertions(+)
create mode 100644 arch/arm/
From: Peng Fan
Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mq-cm-u-boot.dtsi | 8
configs/imx8mq_cm_defconfig| 1 +
2 files changed, 9 insertions(+)
diff --git a/arch/arm/dts/imx8mq-cm-u-bo
From: Peng Fan
Move some common changes to imx8mq-u-boot.dtsi, so others could reuse it
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mq-evk-u-boot.dtsi | 24
arch/arm/dts/imx8mq-u-boot.dtsi | 24
2 files changed, 24 insertions(+), 24 deleti
From: Peng Fan
CONFIG_DM_SERIAL is enabled, this macro not needed.
Signed-off-by: Peng Fan
---
include/configs/imx8mn_bsh_smm_s2_common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/imx8mn_bsh_smm_s2_common.h
b/include/configs/imx8mn_bsh_smm_s2_common.h
index 6387576c
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/kontron/sl-mx8mm/spl.c | 12 ++--
configs/kontron-sl-mx8mm_defconfig |
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/data_modul/imx8mm_edm_sbc/spl.c | 12 ++--
configs/imx8mm_data
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/phytec/phycore_imx8mm/spl.c | 12 ++--
board/phytec/phycore_imx8mp/spl.c
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/variscite/imx8mn_var_som/spl.c | 11 ++-
configs/imx8mn_var_som_defconfig
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/engicam/imx8mm/spl.c| 14 +++---
configs/imx8mm
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart3 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/compulab/imx8mm-cl-iot-gate/spl.c| 12 ++--
configs/imx8mm-cl-iot-g
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/beacon/imx8mm/spl.c | 12 ++--
board/beacon/imx8mn/spl.c
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Signed-off-by: Peng Fan
---
board/menlo/mx8menlo/mx8menlo.c | 9 -
configs/imx8mm-mx8menlo_defconfig | 1 +
include/configs/imx8mm-mx8menlo.h | 3 ---
3 files changed, 1 insertion(+),
From: Peng Fan
Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.
Signed-off-by: Peng Fan
---
board/gateworks/venice/spl.c| 22 ++
configs/imx8mm_venic
From: Peng Fan
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Signed-off-by: Peng Fan
---
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 8
configs/imx8mp_rsb3720a1_4G_defconfig | 1 +
configs/imx8mp_rsb3720a1_6G_defconfig
From: Peng Fan
This patchset is to convert some i.MX8M boards to DM SERIAL
Note: this is based on my experience on i.MX8M*-EVK from NXP, I not have
the following boards. If possible, please test.
Peng Fan (15):
imx: imx8mp_rsb3720a1: convert to DM_SERIAL
imx: imx8m[m/n/p]_venice: Enable SPL
Provide a unit test for the bootmenu command
Signed-off-by: Heinrich Schuchardt
---
scripts/pylint.base| 1 +
test/py/tests/test_bootmenu.py | 48 ++
2 files changed, 49 insertions(+)
create mode 100644 test/py/tests/test_bootmenu.py
diff --git a/sc
Provide the bootmenu command on the sandbox for testing.
Signed-off-by: Heinrich Schuchardt
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index fe8ea4626d..c509a924e6 100644
--- a/configs/sandbox_defconfig
* enable the bootmenu command in the sandbox
* provide a unit test for the bootmenu command
Heinrich Schuchardt (2):
sandbox: enable bootmenu command
test: unit test for bootmenu
configs/sandbox_defconfig | 1 +
scripts/pylint.base| 1 +
test/py/tests/test_bootmenu.py | 49
* Use spaces not tabs
* Limit lines to 100 spaces
* Remove an unused import
* Sort imports correctly
* Add a module description
Signed-off-by: Heinrich Schuchardt
---
test/py/tests/test_bind.py | 345 +++--
1 file changed, 175 insertions(+), 170 deletions(-)
diff
When resetting the text console the colors have to be set before clearing
the screen. Otherwise the background color may be wrong.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_console.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/efi_loader/efi_consol
Add VPL versions of commonly used Kconfig options.
Signed-off-by: Simon Glass
---
Changes in v8:
- Support SYSCON and REGMAP too
Changes in v7:
- Add a few more options
Changes in v5:
- Rebase this patch on mainline (for GPIO and MISC Kconfig renames)
Changes in v4:
- Add options for blk, cor
Add support for these to the pytest system.
Signed-off-by: Simon Glass
---
Changes in v8:
- Add new patch to support running vpl tests
test/py/conftest.py | 7 +--
test/py/tests/test_vpl.py | 34 +++
test/py/u_boot_console_sandbox.py | 7
Check the TPL -> VPL -> SPL -> U-Boot path by running the 'help' command
in U-Boot.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/py/tests/test_help.py | 12
1 file changed, 12 insertions(+)
diff --git a/test/py/tests/test_help.py b/test/py/tests/test_help.py
index 03
67 matches
Mail list logo