[PATCH 1/1] doc/README.distro: kernel_comp_addr_r

2021-02-16 Thread Heinrich Schuchardt
Add missing articles and preposition. Signed-off-by: Heinrich Schuchardt --- doc/README.distro | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/README.distro b/doc/README.distro index cc1c41ecb3..c4f041ca71 100644 --- a/doc/README.distro +++ b/doc/README.distro @@

Re: About doc/usage directory

2021-02-16 Thread Heinrich Schuchardt
Am 17. Februar 2021 07:06:02 MEZ schrieb Jaehoon Chung : >Hi all, > >I have a question about usage page. >I have found files under doc/usage/. It's description how to use each >command. >But there is not mmc.rst and file relevant to power command.(regulator, >pmic, etc) >If someone didn't have

About doc/usage directory

2021-02-16 Thread Jaehoon Chung
Hi all, I have a question about usage page. I have found files under doc/usage/. It's description how to use each command. But there is not mmc.rst and file relevant to power command.(regulator, pmic, etc) If someone didn't have any plan, I want to update file relevant to mmc and pmic command.

Re: [PATCH 2/2] efi: ESRT cration unit test

2021-02-16 Thread AKASHI Takahiro
On Mon, Feb 08, 2021 at 12:52:46PM +, Jose Marinho wrote: > This commit exercises the ESRT creation -- introduced in the previous > commit. > > A fake FMP, controlling TEST_ESRT_NUM_ENTRIES, is installed in the system > leading to the corresponding ESRT entries being populated. > The ESRT

Re: [PATCH 1/2] efi: Add ESRT to the EFI system table

2021-02-16 Thread AKASHI Takahiro
On Tue, Feb 16, 2021 at 10:06:43AM +0100, Heinrich Schuchardt wrote: > On 08.02.21 13:52, Jose Marinho wrote: > > The ESRT is initialised during efi_init_objlist after > > efi_initialize_system_table(). > > > > The ESRT is initially created with size for 50 FW image entries. > > The ESRT is

Re: [PATCH 2/3] fit: Use hash.c to call SHA code

2021-02-16 Thread AKASHI Takahiro
Simon, # This is not a direct comment on this patch. On Wed, Feb 17, 2021 at 01:50:41PM +1030, Joel Stanley wrote: > Currently the FIT hashing will call directly into the SHA algorithms to > get a hash. > > This moves the fit code to use hash_lookup_algo, giving a common > entrypoint into the

[PATCH 3/3] hash: Allow for SHA512 hardware implementations

2021-02-16 Thread Joel Stanley
Similar to support for SHA1 and SHA256, allow the use of hardware hashing engine by enabling the algorithm and setting CONFIG_SHA_HW_ACCEL / CONFIG_SHA_PROG_HW_ACCEL. Signed-off-by: Joel Stanley --- common/hash.c| 24 ++-- include/hw_sha.h | 26

[PATCH 2/3] fit: Use hash.c to call SHA code

2021-02-16 Thread Joel Stanley
Currently the FIT hashing will call directly into the SHA algorithms to get a hash. This moves the fit code to use hash_lookup_algo, giving a common entrypoint into the hashing code and removing the duplicated algorithm look up. It also allows the use of hardware acceleration if configured.

[PATCH 1/3] hw_sha: Fix coding style errors

2021-02-16 Thread Joel Stanley
Checkpatch complains about: ERROR: "foo * bar" should be "foo *bar" and CHECK: Alignment should match open parenthesis Signed-off-by: Joel Stanley --- include/hw_sha.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/hw_sha.h b/include/hw_sha.h index

[PATCH 0/3] Improvements to FIT hashing

2021-02-16 Thread Joel Stanley
Here are some small changes to the FIT hashing code in order to use more code from common/, which in turns allows hw implementations of SHA. This was motivated by a need to reduce the SPL size for the Aspeed platforms by using the hardware engine. I have a driver for the Aspeed SoC that I will

Re: [PATCH 1/1] doc: Add reference to U-Boot project in conf.py

2021-02-16 Thread Bin Meng
On Wed, Feb 17, 2021 at 1:41 AM Heinrich Schuchardt wrote: > > With the last update of conf.py the references to U-Boot where replaced by > references to Linux. > > Fix the project references in the generated documentation. > > Reported by: Simon Glass Wrong tag. Should be: "Reported-by"

Re: [PATCH 1/1] doc: Add reference to U-Boot project in conf.py

2021-02-16 Thread Simon Glass
On Tue, 16 Feb 2021 at 10:41, Heinrich Schuchardt wrote: > > With the last update of conf.py the references to U-Boot where replaced by > references to Linux. > > Fix the project references in the generated documentation. > > Reported by: Simon Glass > Fixes: 98f01cf7a22e ("doc: update Kernel

Re: [PATCH] lib: rsa: Add debug message on algo mismatch

2021-02-16 Thread Simon Glass
Hi Sean, On Tue, 16 Feb 2021 at 10:05, Sean Anderson wrote: > > > > On 2/16/21 12:01 PM, Wolfgang Denk wrote: > > Dear Sean Anderson, > > > > In message <20210216164016.635125-1-sean.ander...@seco.com> you wrote: > >> Currently we fail silently if there is an algorithm mismatch. To help >

Re: [PATCH] odroid-go2: remove setting SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

2021-02-16 Thread Tom Rini
On Wed, Feb 17, 2021 at 02:42:21AM +0100, Heiko Stuebner wrote: > Hi Tom, > > Am Dienstag, 16. Februar 2021, 15:26:52 CET schrieb Tom Rini: > > On Sat, Feb 13, 2021 at 11:45:50PM +0100, Heiko Stuebner wrote: > > > Hi Roger, > > > > > > Am Samstag, 13. Februar 2021, 16:59:01 CET schrieb Roger Pau

Re: [PATCH] odroid-go2: remove setting SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

2021-02-16 Thread Heiko Stuebner
Hi Tom, Am Dienstag, 16. Februar 2021, 15:26:52 CET schrieb Tom Rini: > On Sat, Feb 13, 2021 at 11:45:50PM +0100, Heiko Stuebner wrote: > > Hi Roger, > > > > Am Samstag, 13. Februar 2021, 16:59:01 CET schrieb Roger Pau Monne: > > > From: Roger Pau Monné > > > > > > Using a non-default

Re: [PATCH] board: sl28: add DSA support for variant 2

2021-02-16 Thread Michael Walle
Am 2021-02-17 00:55, schrieb Vladimir Oltean: On Wed, Feb 17, 2021 at 12:29:33AM +0100, Michael Walle wrote: Am 2021-02-16 23:53, schrieb Vladimir Oltean: > On Tue, Feb 16, 2021 at 11:25:25PM +0100, Michael Walle wrote: > > Now that u-boot gained DSA support, and it is already enabled for the >

Re: [PATCH] board: sl28: add DSA support for variant 2

2021-02-16 Thread Vladimir Oltean
On Wed, Feb 17, 2021 at 12:29:33AM +0100, Michael Walle wrote: > Am 2021-02-16 23:53, schrieb Vladimir Oltean: > > On Tue, Feb 16, 2021 at 11:25:25PM +0100, Michael Walle wrote: > > > Now that u-boot gained DSA support, and it is already enabled for the > > > kontron_sl28 board, add the last

Re: [PATCH] board: sl28: add DSA support for variant 2

2021-02-16 Thread Michael Walle
Am 2021-02-16 23:53, schrieb Vladimir Oltean: On Tue, Feb 16, 2021 at 11:25:25PM +0100, Michael Walle wrote: Now that u-boot gained DSA support, and it is already enabled for the kontron_sl28 board, add the last missing piece and enable the corresponding devices it in the device tree.

Re: [PATCH] board: sl28: add DSA support for variant 2

2021-02-16 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 11:25:25PM +0100, Michael Walle wrote: > Now that u-boot gained DSA support, and it is already enabled for the > kontron_sl28 board, add the last missing piece and enable the > corresponding devices it in the device tree. > > Signed-off-by: Michael Walle > --- >

[PATCH 4/4] sandbox: add a DSA sandbox driver and unit test

2021-02-16 Thread Vladimir Oltean
From: Claudiu Manoil The DSA sandbox driver is used for unit testing the DSA class code. It implements a simple 2 port switch plus 1 CPU port, and uses a very simple tag to identify the ports. The DSA sandbox device is connected via CPU port to a regular Ethernet sandbox device, called

[PATCH 3/4] net: mdio: teach dm_eth_phy_connect to connect to fixed PHY

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean It would be desirable for top-level callers of PHYLIB to deal with as little complexity as possible, and when they call dm_eth_phy_connect, they get a struct phy_device that "just works". There is a phy_connect_fixed interception put in phy_connect, however

[PATCH 2/4] net: phy: drop #ifdef CONFIG_DM_ETH around phy_connect_fixed

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean In drivers/net/phy/Kconfig, CONFIG_PHY_FIXED already depends on CONFIG_DM_ETH, so the function prototype definition when CONFIG_DM_ETH=n does nothing, so it can be dropped. It is also never reachable, since the whole function is already under #ifdef CONFIG_PHY_FIXED (which

[PATCH 1/4] net: phy: fixed: be compatible with live OF tree

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean On systems that use CONFIG_OF_LIVE, the "ofnode" type is defined as const struct device_node *np, while on the flat DT systems it is defined as a long of_offset into gd->fdt_blob. It is desirable that the fixed PHY driver uses the higher-level ofnode abstraction instead of

[PATCH 0/4] Sandbox driver for DSA uclass

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean This is a spin-off of the larger patch series for DSA in U-Boot: https://patchwork.ozlabs.org/project/uboot/cover/20210125122357.414742-1-olte...@gmail.com/ There is currently an issue which prevents DSA from working properly with the sandbox: the sandbox uses

Re: [PATCH 1/4] mmc: fsl_esdhc_imx: Add a compatible for i.MX51

2021-02-16 Thread Jaehoon Chung
On 2/15/21 8:58 PM, Fabio Estevam wrote: > Add a compatible for i.MX51 so that i.MX51 can use this driver > via driver model. > > Signed-off-by: Fabio Estevam Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > drivers/mmc/fsl_esdhc_imx.c | 1 + > 1 file changed, 1 insertion(+) >

[PATCH] board: sl28: add DSA support for variant 2

2021-02-16 Thread Michael Walle
Now that u-boot gained DSA support, and it is already enabled for the kontron_sl28 board, add the last missing piece and enable the corresponding devices it in the device tree. Signed-off-by: Michael Walle --- .../arm/dts/fsl-ls1028a-kontron-sl28-var2.dts | 46 +++ 1 file

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 11:15:06PM +0100, Michael Walle wrote: > Am 2021-02-16 22:58, schrieb Michael Walle: > > I just tried it again on my board and there seems still to be something > > broken :( I just don't have time right now. Would it be OK, to delay > > this until tomorrow? > > Please

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Michael Walle
Am 2021-02-16 22:58, schrieb Michael Walle: I just tried it again on my board and there seems still to be something broken :( I just don't have time right now. Would it be OK, to delay this until tomorrow? Please disregard this nonsense. Its all working. -michael

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Michael Walle
Am 2021-02-16 22:38, schrieb Tom Rini: On Tue, Feb 16, 2021 at 10:33:37PM +0100, Michael Walle wrote: Am 2021-02-16 22:21, schrieb Vladimir Oltean: > On Tue, Feb 16, 2021 at 04:13:41PM -0500, Tom Rini wrote: > > On Tue, Feb 16, 2021 at 11:02:25PM +0200, Vladimir Oltean wrote: > > > Hi Tom, > >

Re: [PATCH v1 11/11] usb: kbd: destroy device after console is stopped

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:44PM +0200, Andy Shevchenko wrote: > In case of IOMUX enabled it assumes that console devices in the list > are available to get them stopped properly via ->stop() callback. > However, the USB keyboard driver violates this assumption and tries > to play tricks so the

Re: [PATCH v1 10/11] IOMUX: Introduce iomux_replace_device()

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:43PM +0200, Andy Shevchenko wrote: > Some console devices may appear or disappear at run time. In order to > support such a hotplug mechanism introduce a new iomux_replace_device() > helper to update the list of devices without altering environment. > >

Re: [PATCH v1 08/11] IOMUX: Split out iomux_match_device() helper

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:41PM +0200, Andy Shevchenko wrote: > Deduplicate the code used in a few places by splitting out a common helper. > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 05/11] console: Set console device counter in console_devices_set()

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:38PM +0200, Andy Shevchenko wrote: > console_devices_set() missed the console device counter to be set correctly. > > Fixes: 45375adc9799 ("console: add function console_devices_set") > Cc: Patrick Delaunay > Signed-off-by: Andy Shevchenko Applied to

Re: [PATCH v1 09/11] IOMUX: Split out for_each_console_dev() helper macro

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:42PM +0200, Andy Shevchenko wrote: > It is not only less lines of code, but also better readability > when new macro is being in use. Introduce for_each_console_dev() > helper macro and convert current users to it. > > Signed-off-by: Andy Shevchenko Applied to

Re: [PATCH v1 07/11] IOMUX: Switch to use stdio_file_to_flags()

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:40PM +0200, Andy Shevchenko wrote: > Deduplicate code by replacing with stdio_file_to_flags() helper. > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 06/11] console: Set file and devices at one go

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:39PM +0200, Andy Shevchenko wrote: > Logical continuation of the change that brought console_devices_set() is > to unify console_setfile() with it and replace in the callers. > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v1 04/11] console: Switch to use stdio_file_to_flags()

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:37PM +0200, Andy Shevchenko wrote: > Deduplicate code by replacing with stdio_file_to_flags() helper. > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 02/11] stdio: Split out nulldev_register() and move it under #if

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:35PM +0200, Andy Shevchenko wrote: > It's possible that NULLDEV can be disabled while it makes leftovers, > move entire device under #if. > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 03/11] stdio: Introduce a new helper stdio_file_to_flags()

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:36PM +0200, Andy Shevchenko wrote: > Let's deduplicate existing copies by splitting off to a new helper. > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 01/11] stdio: Get rid of dead code, i.e. stdio_deregister()

2021-02-16 Thread Tom Rini
On Thu, Feb 11, 2021 at 05:09:34PM +0200, Andy Shevchenko wrote: > Nobody is using stdio_deregister(), remove for good. > > Note, even its parameters are not consistent with stdio_register(). > So, if anyone want to introduce this again, better with some consistency. > > Signed-off-by: Andy

Re: [PATCH v8 4/4] test: dm: tee: extend with RPC test

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:28:43PM +0200, Igor Opaniuk wrote: > From: Igor Opaniuk > > Extend existing DM tee tests adding test coverage for reverse RPC calls. > Currently this commit only adds tests for I2C requests from TEE driver > to TEE supplicant, for instance reading/writing data to

Re: [PATCH v8 3/4] drivers: tee: sandbox: add rpc test ta emulation

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:28:42PM +0200, Igor Opaniuk wrote: > From: Igor Opaniuk > > This adds support for RPC test trusted application emulation, which > permits to test reverse RPC calls to TEE supplicant. Currently it covers > requests to the I2C bus from TEE. > > Signed-off-by: Igor

Re: [PATCH v8 2/4] test: py: add pygit2 and pyelftools to requirements.txt

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:28:41PM +0200, Igor Opaniuk wrote: > From: Igor Opaniuk > > Add pygit2 and pyelftools to the list of packages for virtualenv > needed to run all sets of pytests.This fixes warnings like: > > binman.elf_test.TestElf.testDecodeElf (subunit.RemotedTestCase): > Python

Re: [PATCH v8 1/4] drivers: tee: i2c trampoline driver

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:28:40PM +0200, Igor Opaniuk wrote: > From: Jorge Ramirez-Ortiz > > This commit gives the secure world access to the I2C bus so it can > communicate with I2C slaves (typically those would be secure elements > like the NXP SE050). > > A similar service implementation

Re: [PATCH v4 7/7] configs: ls1028a: Enable the Ethernet switch driver in defconfig

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:23:57PM +0200, Vladimir Oltean wrote: > From: Alex Marginean > > The switch driver for LS1028A Ethernet switch is now compiled in for > the NXP LS1028A reference design boards and for the Kontron SMARC-sAL28. > > Signed-off-by: Alex Marginean > Signed-off-by:

Re: [PATCH v4 6/7] arm: dts: ls1028a: Add Ethernet switch node and dependencies

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:23:56PM +0200, Vladimir Oltean wrote: > From: Alex Marginean > > The definition follows the DSA binding in kernel and describes the switch, > its ports and PHYs. The switch node has the same structure as in Linux > and this patch enables it (and relevant ports) for

Re: [PATCH v4 5/7] drivers: net: Add Felix DSA switch driver

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:23:55PM +0200, Vladimir Oltean wrote: > From: Alex Marginean > > This driver is used for the Ethernet switch integrated into LS1028A NXP. > Felix on LS1028A has 4 front panel ports and two internal ports, I/O > to/from the switch is done through an ENETC Ethernet

Re: [PATCH v4 2/7] net: phy: introduce fixed_phy_create for DSA CPU ports

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:23:52PM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > The DSA (Distributed Switch Architecture) implementation has made a > design decision when it got introduced to the Linux kernel in 2008. > That was to hide away from the user the CPU-facing Ethernet

Re: [PATCH v4 3/7] net: Introduce DSA class for Ethernet switches

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:23:53PM +0200, Vladimir Oltean wrote: > From: Claudiu Manoil > > DSA stands for Distributed Switch Architecture and it covers switches that > are connected to the CPU through an Ethernet link and generally use frame > tags to pass information about the

Re: [PATCH v4 1/7] net: phy: fixed: support speeds of 2500 and 10000

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:23:51PM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > Unlike the Linux fixed PHY driver, the one in U-Boot does not attempt to > emulate the clause 22 register set of a gigabit copper PHY driver > through the swphy framework. Therefore, the limitation of

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Tom Rini
On Tue, Feb 16, 2021 at 11:53:46PM +0200, Vladimir Oltean wrote: > On Tue, Feb 16, 2021 at 04:38:06PM -0500, Tom Rini wrote: > > On Tue, Feb 16, 2021 at 10:33:37PM +0100, Michael Walle wrote: > > > Am 2021-02-16 22:21, schrieb Vladimir Oltean: > > > > On Tue, Feb 16, 2021 at 04:13:41PM -0500, Tom

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 04:38:06PM -0500, Tom Rini wrote: > On Tue, Feb 16, 2021 at 10:33:37PM +0100, Michael Walle wrote: > > Am 2021-02-16 22:21, schrieb Vladimir Oltean: > > > On Tue, Feb 16, 2021 at 04:13:41PM -0500, Tom Rini wrote: > > > > On Tue, Feb 16, 2021 at 11:02:25PM +0200, Vladimir

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Tom Rini
On Tue, Feb 16, 2021 at 10:33:37PM +0100, Michael Walle wrote: > Am 2021-02-16 22:21, schrieb Vladimir Oltean: > > On Tue, Feb 16, 2021 at 04:13:41PM -0500, Tom Rini wrote: > > > On Tue, Feb 16, 2021 at 11:02:25PM +0200, Vladimir Oltean wrote: > > > > Hi Tom, > > > > > > > > On Tue, Feb 16, 2021

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Michael Walle
Am 2021-02-16 22:21, schrieb Vladimir Oltean: On Tue, Feb 16, 2021 at 04:13:41PM -0500, Tom Rini wrote: On Tue, Feb 16, 2021 at 11:02:25PM +0200, Vladimir Oltean wrote: > Hi Tom, > > On Tue, Feb 16, 2021 at 01:14:57PM -0500, Tom Rini wrote: > > This test does not pass for me. This can be seen

Re: [PATCH v5 4/9] net: mdio: teach dm_eth_connect_phy_handle to connect to fixed PHY

2021-02-16 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 11:19:31PM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > dm_eth_connect_phy_handle has all the info it needs in order to hide > away from the UCLASS_ETH caller the fact that it is attached to a > fixed-link PHY. So only attempt to search for a phy-handle if

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 04:13:41PM -0500, Tom Rini wrote: > On Tue, Feb 16, 2021 at 11:02:25PM +0200, Vladimir Oltean wrote: > > Hi Tom, > > > > On Tue, Feb 16, 2021 at 01:14:57PM -0500, Tom Rini wrote: > > > This test does not pass for me. This can be seen at: > > >

[PATCH v5 9/9] configs: ls1028a: enable the Ethernet switch driver

2021-02-16 Thread Vladimir Oltean
From: Alex Marginean The switch driver for LS1028A Ethernet switch is now compiled in for the NXP LS1028A reference design boards and for the Kontron SMARC-sAL28. Signed-off-by: Alex Marginean Signed-off-by: Claudiu Manoil Signed-off-by: Vladimir Oltean Acked-by: Michael Walle --- v5: none

[PATCH v5 6/9] sandbox: add a DSA sandbox driver and unit test

2021-02-16 Thread Vladimir Oltean
From: Claudiu Manoil The DSA sandbox driver is used for unit testing the DSA class code. It implements a simple 2 port switch plus 1 CPU port, and uses a very simple tag to identify the ports. The DSA sandbox device is connected via CPU port to a regular Ethernet sandbox device, called

[PATCH v5 7/9] drivers: net: add Felix DSA switch driver

2021-02-16 Thread Vladimir Oltean
From: Alex Marginean This driver is used for the Ethernet switch integrated into NXP LS1028A. Felix on LS1028A has 4 front panel ports and two internal ports, I/O to/from the switch is done through an ENETC Ethernet interface. The 4 front panel ports are available as Ethernet interfaces and can

[PATCH v5 8/9] arm: dts: ls1028a: add Ethernet switch node and dependencies

2021-02-16 Thread Vladimir Oltean
From: Alex Marginean The definition follows the DSA binding in kernel and describes the switch, its ports and PHYs. The switch node has the same structure as in Linux and this patch enables it (and relevant ports) for the LS1028A RDB board. ENETC PF6 is the 2nd Eth controller linked to the

[PATCH v5 5/9] net: introduce DSA class for Ethernet switches

2021-02-16 Thread Vladimir Oltean
From: Claudiu Manoil DSA stands for Distributed Switch Architecture (a presentation here: https://netdevconf.info/2.1/papers/distributed-switch-architecture.pdf) and it covers switches that are connected to the host CPU through an Ethernet (typically MAC-to-MAC) link. Generally, DSA switches use

[PATCH v5 3/9] net: phy: introduce fixed_phy_create for DSA CPU ports

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean The DSA (Distributed Switch Architecture) implementation has made a design decision when it got introduced to the Linux kernel in 2008. That was to hide away from the user the CPU-facing Ethernet MAC, since it does not make sense to register it as a struct net_device

[PATCH v5 4/9] net: mdio: teach dm_eth_connect_phy_handle to connect to fixed PHY

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean dm_eth_connect_phy_handle has all the info it needs in order to hide away from the UCLASS_ETH caller the fact that it is attached to a fixed-link PHY. So only attempt to search for a phy-handle if we've exhausted the fixed-link option first. Signed-off-by: Vladimir Oltean

[PATCH v5 2/9] net: phy: fixed: support speeds of 2500 and 10000

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean Unlike the Linux fixed PHY driver, the one in U-Boot does not attempt to emulate the clause 22 register set of a gigabit copper PHY driver through the swphy framework. Therefore, the limitation of being unable to support speeds higher than gigabit in fixed-link does not

[PATCH v5 1/9] net: phy: fixed: be compatible with live OF tree

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean On systems that use CONFIG_OF_LIVE, the "ofnode" type is defined as const struct device_node *np, while on the flat DT systems it is defined as a long of_offset into gd->fdt_blob. It is desirable that the fixed PHY driver uses the higher-level ofnode abstraction instead of

[PATCH v5 0/9] Introduce DSA Ethernet switch class and Felix driver

2021-02-16 Thread Vladimir Oltean
From: Vladimir Oltean DSA stands for Distributed Switch Architecture and it is a subsystem introduced in the Linux kernel to support switches that: - have an Ethernet link up to the CPU - use some form of tagging to identify the source/destination port for Rx/Tx - may be cascaded in tree-like

Re: [PATCH] usb: gadget: dwc2_udc_otg: Fix dwc2_gadget_start()

2021-02-16 Thread Marek Vasut
On 2/16/21 6:32 PM, Patrice CHOTARD wrote: Hi Marek Hi, On 2/11/21 12:26 PM, Marek Vasut wrote: On 2/11/21 10:58 AM, Patrice CHOTARD wrote: Hi Marek On 2/10/21 3:26 PM, Marek Vasut wrote: On 2/10/21 3:17 PM, Patrice Chotard wrote: Since commit 8745b9ebccae ("usb: gadget: add super speed

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Tom Rini
On Tue, Feb 16, 2021 at 11:02:25PM +0200, Vladimir Oltean wrote: > Hi Tom, > > On Tue, Feb 16, 2021 at 01:14:57PM -0500, Tom Rini wrote: > > This test does not pass for me. This can be seen at: > > https://gitlab.denx.de/u-boot/u-boot/-/jobs/223660 > > > > Note that I'm still reviewing the rest

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Vladimir Oltean
Hi Tom, On Tue, Feb 16, 2021 at 01:14:57PM -0500, Tom Rini wrote: > This test does not pass for me. This can be seen at: > https://gitlab.denx.de/u-boot/u-boot/-/jobs/223660 > > Note that I'm still reviewing the rest of the series right now. You're right, thanks for letting me know. I've fixed

[PATCH 2/2] configs: RPi2: Disable EFI Grub workaround

2021-02-16 Thread matthias . bgg
From: Matthias Brugger The EFI Grub workaround isn't needed with Grub version 2.04 or higher. This version was published over a year ago, so disable the workaround to reduce boot time. Signed-off-by: Matthias Brugger --- configs/rpi_2_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 1/2] configs: BPI-R2: Disable EFI Grub workaround

2021-02-16 Thread matthias . bgg
From: Matthias Brugger The EFI Grub workaround on BananaPi R2 slows down the boot process to the point, that the watchdog will trigger a reboot before the kernel can reset it. Fix this by disabeling the workaround. Signed-off-by: Matthias Brugger --- configs/mt7623n_bpir2_defconfig | 1 + 1

[PATCH v5] timer: imx-gpt: Add timer support for i.MX SoCs family

2021-02-16 Thread Jesse
From: Jesse Taube This timer driver is using GPT Timer (General Purpose Timer) available on most i.MX SoCs. Since this driver is only meant to provide u-boot's timer and counter, and most of the i.MX* SoCs use a 24Mhz crystal, let's focus on that specific source. Signed-off-by: Giulio Benetti

Re: [PATCH v4 4/7] sandbox: Add a DSA sandbox driver and unit test

2021-02-16 Thread Tom Rini
On Mon, Jan 25, 2021 at 02:23:54PM +0200, Vladimir Oltean wrote: > From: Claudiu Manoil > > The DSA sandbox driver is used for unit testing the DSA class code. > It implements a simple 2 port switch plus 1 CPU port, and uses a very > simple tag to identify the ports. > The DSA sandbox device is

Re: Chromium OS verified boot 2018 with U-Boot

2021-02-16 Thread Heinrich Schuchardt
On 16.02.21 18:12, Simon Glass wrote: > Hi, > > Just a note that the U-Boot / vboot integration has been updated with > the 2018 version of vboot and it makes full use of driver model. > > If it available at [1] > > Documentation for running it on coral (2018 Intel Apollo Lake > Chromebook) is

[PATCH 1/1] doc: Add reference to U-Boot project in conf.py

2021-02-16 Thread Heinrich Schuchardt
With the last update of conf.py the references to U-Boot where replaced by references to Linux. Fix the project references in the generated documentation. Reported by: Simon Glass Fixes: 98f01cf7a22e ("doc: update Kernel documentation build system") Signed-off-by: Heinrich Schuchardt ---

Re: [PATCH] usb: gadget: dwc2_udc_otg: Fix dwc2_gadget_start()

2021-02-16 Thread Patrice CHOTARD
Hi Marek On 2/11/21 12:26 PM, Marek Vasut wrote: > On 2/11/21 10:58 AM, Patrice CHOTARD wrote: >> Hi Marek >> >> On 2/10/21 3:26 PM, Marek Vasut wrote: >>> On 2/10/21 3:17 PM, Patrice Chotard wrote: Since commit 8745b9ebccae ("usb: gadget: add super speed support") ums was no more

Chromium OS verified boot 2018 with U-Boot

2021-02-16 Thread Simon Glass
Hi, Just a note that the U-Boot / vboot integration has been updated with the 2018 version of vboot and it makes full use of driver model. If it available at [1] Documentation for running it on coral (2018 Intel Apollo Lake Chromebook) is available [2] as well as running it on sandbox [3]. The

Re: [PATCH] lib: rsa: Add debug message on algo mismatch

2021-02-16 Thread Sean Anderson
On 2/16/21 12:01 PM, Wolfgang Denk wrote: > Dear Sean Anderson, > > In message <20210216164016.635125-1-sean.ander...@seco.com> you wrote: >> Currently we fail silently if there is an algorithm mismatch. To help >> distinguish this failure condition. >> >> Signed-off-by: Sean Anderson >> ---

Re: [PATCH] lib: rsa: Add debug message on algo mismatch

2021-02-16 Thread Wolfgang Denk
Dear Sean Anderson, In message <20210216164016.635125-1-sean.ander...@seco.com> you wrote: > Currently we fail silently if there is an algorithm mismatch. To help > distinguish this failure condition. > > Signed-off-by: Sean Anderson > --- > > lib/rsa/rsa-verify.c | 5 - > 1 file changed, 4

[PATCH] lib: rsa: Add debug message on algo mismatch

2021-02-16 Thread Sean Anderson
Currently we fail silently if there is an algorithm mismatch. To help distinguish this failure condition. Signed-off-by: Sean Anderson --- lib/rsa/rsa-verify.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/rsa/rsa-verify.c b/lib/rsa/rsa-verify.c index

Re: [PATCH] odroid-go2: remove setting SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR

2021-02-16 Thread Tom Rini
On Sat, Feb 13, 2021 at 11:45:50PM +0100, Heiko Stuebner wrote: > Hi Roger, > > Am Samstag, 13. Februar 2021, 16:59:01 CET schrieb Roger Pau Monne: > > From: Roger Pau Monné > > > > Using a non-default SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR setting makes the > > resulting u-boot-rockchip.bin

[PATCH] imx: Add 2GB lpddr support for i.MX8MN Beacon EmbeddedWorks devkit.

2021-02-16 Thread Adam Ford
There is a second lpddr configuration with 2GB of RAM, but this requires different RAM timings, so in addition to adding the timing file, a separate defconfig is necessary. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mn/Kconfig b/board/beacon/imx8mn/Kconfig index

[PATCH] sunxi: Use kconfig instead define CONFIG_I2C_EDID

2021-02-16 Thread Игорь Юрасов
Signed-off-by: Igor Iurasov --- arch/arm/mach-sunxi/Kconfig| 1 + include/configs/sunxi-common.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 0135575ca1..1ffdc3de1d 100644 ---

Re: [PATCH v3] mmc: mmc_spi: Print verbose debug output when crc16 check fails

2021-02-16 Thread Bin Meng
On Sun, Feb 7, 2021 at 7:50 PM Peng Fan wrote: > > > Subject: Re: [PATCH v3] mmc: mmc_spi: Print verbose debug output when > > crc16 check fails > > > > On Tue, Feb 2, 2021 at 10:32 AM Bin Meng wrote: > > > > > > Add some verbose debug output when crc16 check fails. > > > > > > Signed-off-by:

Re: [PATCH v10 02/11] efi_loader: capsule: add capsule_on_disk support

2021-02-16 Thread AKASHI Takahiro
On Tue, Feb 16, 2021 at 11:24:47AM +0100, Heinrich Schuchardt wrote: > On 30.11.20 10:12, AKASHI Takahiro wrote: > > Capsule data can be loaded into the system either via UpdateCapsule > > runtime service or files on a file system (of boot device). > > The latter case is called "capsules on disk",

Re: [PATCH 1/2] efi: Add ESRT to the EFI system table

2021-02-16 Thread Heinrich Schuchardt
On 16.02.21 10:06, Heinrich Schuchardt wrote: > On 08.02.21 13:52, Jose Marinho wrote: >> The ESRT is initialised during efi_init_objlist after >> efi_initialize_system_table(). >> >> The ESRT is initially created with size for 50 FW image entries. >> The ESRT is resized when it runs out of space.

Re: [PATCH v10 02/11] efi_loader: capsule: add capsule_on_disk support

2021-02-16 Thread Heinrich Schuchardt
On 30.11.20 10:12, AKASHI Takahiro wrote: > Capsule data can be loaded into the system either via UpdateCapsule > runtime service or files on a file system (of boot device). > The latter case is called "capsules on disk", and actual updates will > take place at the next boot time. > > In this

Re: [PATCH 1/2] efi: Add ESRT to the EFI system table

2021-02-16 Thread Heinrich Schuchardt
On 08.02.21 13:52, Jose Marinho wrote: > The ESRT is initialised during efi_init_objlist after > efi_initialize_system_table(). > > The ESRT is initially created with size for 50 FW image entries. > The ESRT is resized when it runs out of space. Every resize adds 50 > additional entries. > The

Re: [PATCH] cmd: mmc: add mmc partboot

2021-02-16 Thread Jaehoon Chung
On 2/16/21 5:18 PM, gr embeter wrote: > Hi Jaehoon, > thanks for your comments. > > On Tue, 16 Feb 2021 at 00:30 Jaehoon Chung wrote: > >> Hi Grygorii, >> >> On 2/15/21 10:04 PM, gr embeter wrote: >>> Hello Jaehoon, >>> >>> On Sun, 14 Feb 2021 at 23:08 Jaehoon Chung >> wrote: >>> Dear

Re: [RESEND v2 PATCH 00/16] Nokia RX-51: Fix USB TTY console and enable it

2021-02-16 Thread Lukasz Majewski
Hi Pali, > On Monday 08 February 2021 23:34:06 Pali Rohár wrote: > > On Monday 08 February 2021 23:21:38 Pali Rohár wrote: > > > On Monday 08 February 2021 23:15:33 Lukasz Majewski wrote: > > > > Hi Pali, > > > > > > > > > Resended v2 patch series with fixed commit messages > > > > >

Re: [PATCH] cmd: mmc: add mmc partboot

2021-02-16 Thread gr embeter
Hi Jaehoon, thanks for your comments. On Tue, 16 Feb 2021 at 00:30 Jaehoon Chung wrote: > Hi Grygorii, > > On 2/15/21 10:04 PM, gr embeter wrote: > > Hello Jaehoon, > > > > On Sun, 14 Feb 2021 at 23:08 Jaehoon Chung > wrote: > > > >> Dear Grygorii, > >> > >> On 2/12/21 7:32 PM, grygorii