Re: [PATCH v2 2/3] include: configs: j721s2_evm: Change to using .env

2023-03-16 Thread Nikhil M Jain
Hi Neha, Thanks for the patch. On 15/03/23 10:57, Neha Malcom Francis wrote: Move to using .env file for setting up environment variables for J721S2. Signed-off-by: Neha Malcom Francis Reviewed-by: Tom Rini --- Changes in v2: - Added CONFIG_CMD_REMOTEPROC guard to including

Re: [PATCH 2/3] rockchip: Disable DISTRO_DEFAULTS for rockpro64

2023-03-16 Thread Simon Glass
Hi, On Thu, 16 Mar 2023 at 12:17, Tom Rini wrote: > > On Thu, Mar 16, 2023 at 11:01:01AM +, Peter Robinson wrote: > > On Wed, Feb 22, 2023 at 7:17 PM Tom Rini wrote: > > > > > > On Wed, Feb 22, 2023 at 12:03:58PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Wed, 22 Feb 2023

Re: [PATCH v2 6/8] boot: Create a common BOOT_DEFAULTS for distro and bootstd

2023-03-16 Thread Simon Glass
Hi Tom, On Thu, 2 Mar 2023 at 08:14, Tom Rini wrote: > > On Wed, Mar 01, 2023 at 08:39:27PM -0700, Simon Glass wrote: > > > These two features use a lot of common options. Move them into a common > > CONFIG to reduce duplication. > > > > Resync defconfigs since this makes a lot of changes. > > >

RE: [PATCH 1/3] dm: adc: add iMX93 ADC support

2023-03-16 Thread Bough Chen
> -Original Message- > From: Luca Ellero > Sent: 2023年3月15日 21:36 > To: u-boot@lists.denx.de; sba...@denx.de; feste...@gmail.com; dl-uboot-imx > ; luca.ell...@brickedbrain.com; Ye Li ; > Peng Fan ; Bough Chen > Cc: Luca Ellero > Subject: [PATCH 1/3] dm: adc: add iMX93 ADC support > >

[PATCH v1 2/5] net: dwc_eth_qos: Add StarFive ethernet driver glue layer

2023-03-16 Thread Yanhong Wang
The StarFive ETHQOS hardware has its own clock and reset,so add a corresponding glue driver to configure them. Signed-off-by: Yanhong Wang --- drivers/net/Kconfig| 7 + drivers/net/Makefile | 1 + drivers/net/dwc_eth_qos.c | 6 +

[PATCH v1 1/5] net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy

2023-03-16 Thread Yanhong Wang
Add a driver for the motorcomm yt8531 gigabit ethernet phy. We have verified the driver on StarFive VisionFive2 board. Signed-off-by: Yanhong Wang --- drivers/net/phy/Kconfig | 6 + drivers/net/phy/Makefile| 1 + drivers/net/phy/motorcomm.c | 409

[PATCH v1 5/5] configs: starfive: Enable ethernet configuration for StarFive VisionFive 2

2023-03-16 Thread Yanhong Wang
Enable DWC_ETH_QOS and PHY_MOTORCOMM configuration to support ethernet function for StarFive VisionFive 2 board. Signed-off-by: Yanhong Wang --- configs/starfive_visionfive2_defconfig | 13 + 1 file changed, 13 insertions(+) diff --git a/configs/starfive_visionfive2_defconfig

[PATCH v1 0/5] Add Ethernet driver for StarFive JH7110 SoC

2023-03-16 Thread Yanhong Wang
This series adds ethernet support for the StarFive JH7110 RISC-V SoC. The series includes PHY and MAC drivers. The PHY model is YT8531 (from Motorcomm Inc), and the MAC version is dwmac-5.20 (from Synopsys DesignWare). The implementation of the phy driver is ported from linux, but it has been

[PATCH v1 4/5] riscv: dts: starfive: Add phy clock delay configuration for StarFive VisionFive2 board

2023-03-16 Thread Yanhong Wang
The StarFive VisionFive2 board include 1.2A and 1.3B version. v1.3B uses motorcomm YT8531(rgmii-id phy) x2, phy clock need delay and inverse configurations. v1.2A gmac0 uses motorcomm YT8531(rgmii-id) PHY, and needs phy clock delay configurations. v1.2A gmac1 uses motorcomm YT8512(rmii) PHY,

[PATCH v1 3/5] riscv: dts: jh7110: Add ethernet device tree nodes

2023-03-16 Thread Yanhong Wang
Add ethernet device tree node to support StarFive ethernet driver for the JH7110 RISC-V SoC. Signed-off-by: Yanhong Wang --- arch/riscv/dts/jh7110.dtsi | 69 ++ 1 file changed, 69 insertions(+) diff --git a/arch/riscv/dts/jh7110.dtsi

Re: i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-16 Thread Marek Vasut
On 3/15/23 15:12, Frieder Schrempf wrote: Hi, Hi, I'm trying to bring up a new board based on the i.MX8MP and I have an issue I'm hoping someone can help solving. I'm seeing failures in the early SPL code, usually in the DDR initialization. Often they look like: U-Boot SPL 2023.04-rc3

[PATCH 2/2] drivers: rtc: add max313xx series rtc driver

2023-03-16 Thread Chris Packham
Adding support for Analog Devices MAX313XX series RTCs. This is ported from the Linux driver and adapted for use in u-boot. Notable differences are - handling of tm_year and tm_mon differ - clock source support is omitted - hwmon support for the MAX31328 and MAX31343 is omitted - rtc_ops->reset

[PATCH 1/2] include: kernel.h: port find_closest() from Linux

2023-03-16 Thread Chris Packham
The find_closest() macro can be used to find an element in a sorted array that is closest to an input value. Signed-off-by: Chris Packham --- include/linux/kernel.h | 24 1 file changed, 24 insertions(+) diff --git a/include/linux/kernel.h b/include/linux/kernel.h

[PATCH 0/2] max313xx RTC driver

2023-03-16 Thread Chris Packham
This series is based on the in-flight linux patch that is adding support for this family of RTCs to linux[1]. The u-boot driver is a bit different due to some of the differences between Linux and u-boot and I've dropped the support for hwmon and clock source functions. Where possible I've tried to

Re: [PATCH v2 5/5] test_vboot.py: include test of fdt_add_pubkey tool

2023-03-16 Thread Simon Glass
Hi Ivan, On Thu, 16 Mar 2023 at 08:45, Ivan Mikhaylov wrote: > > On Thu, 2023-03-16 at 07:59 -0600, Simon Glass wrote: > > Hi Ivan, > > > > On Wed, 15 Mar 2023 at 19:17, Ivan Mikhaylov > > wrote: > > > > > > On Fri, 2023-03-10 at 17:46 -0800, Simon Glass wrote: > > > > Hi Ivan, > > > > > > > >

Re: [GIT PULL] xilinx patches for v2023.07-rc1

2023-03-16 Thread Tom Rini
On Wed, Mar 15, 2023 at 02:07:30PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these patches to your next branch. CI loop doesn't report any > issue. > > Thanks, > Michal > > The following changes since commit 70ed05ce6c051e55e126e67e72ab20409134c953: > > Merge tag 'next-20230307'

Re: [GIT PULL] please pull fsl-qoriq-next for next

2023-03-16 Thread Tom Rini
On Tue, Mar 14, 2023 at 10:16:22AM +, Peng Fan wrote: > Hi Tom, > > Please pull fsl-qoriq-next-2023-3-14 for next > CI: > https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq/-/pipelines/15599 Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Revert 9f62a472dfb2 ("video: Remove duplicate cursor-positioning function")

2023-03-16 Thread Tom Rini
On Wed, Mar 15, 2023 at 10:23:34AM -0600, Simon Glass wrote: > On Wed, 15 Mar 2023 at 10:01, Tom Rini wrote: > > > > This reverts commit 9f62a472dfb26ec14408a27938ddd2a2579d. > > > > The changes here aren't quite right, and on platforms such as Raspberry > > Pi where we can have both serial

Re: Please pull u-boot-dm/next

2023-03-16 Thread Tom Rini
On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote: > Hi Tom, > > This is for the -next branch > > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15568 > > The following changes since commit bcf343146ff365a88481b9a80920ed146c6dee5b: > > Merge tag 'dm-next-9mar23'

Re: [PATCH] board_r: Relocate OF_EMBED if NEEDS_MANUAL_RELOC only

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 12:54:10AM +0530, Ajay Kaher wrote: > > On Fri, Sep 09, 2022 at 09:16:18PM +0100, Pierre-Clément Tosi wrote: > > > >> When the embedded device tree is pointed to by the __dtb_dt_*begin > >> symbols, it seems to be covered by the early relocation code and doesn't > >> need

Re: [PATCH] arm: kirkwood: pogo v4: Use a more common format for stdout-path

2023-03-16 Thread Pali Rohár
On Wednesday 15 March 2023 16:11:27 Tony Dinh wrote: > Hi Pali, > > On Wed, Mar 15, 2023 at 2:58 PM Pali Rohár wrote: > > > > On Wednesday 15 March 2023 14:56:52 Tony Dinh wrote: > > > The mainline Pogo V4 DTS uses a stdout-path format that is not > > > recognizable by u-boot. Change it to a

Re: [PATCH v3 0/5] improve 'read' command, add 'write' command

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 02:24:05PM +0100, Rasmus Villemoes wrote: > On 02/03/2023 09.12, Rasmus Villemoes wrote: > > The first patch simplies do_read somewhat by making use of an existing > > helper instead of parsing the dev_part string manually. As a bonus > > (and my actual motivation), it now

Re: [PATCH 2/3] rockchip: Disable DISTRO_DEFAULTS for rockpro64

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 11:01:01AM +, Peter Robinson wrote: > On Wed, Feb 22, 2023 at 7:17 PM Tom Rini wrote: > > > > On Wed, Feb 22, 2023 at 12:03:58PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 22 Feb 2023 at 12:01, Tom Rini wrote: > > > > > > > > On Wed, Feb 22, 2023 at

Re: [PATCH v4 3/4] Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region

2023-03-16 Thread Tom Rini
On Wed, Mar 15, 2023 at 12:18:54PM +0530, Manorit Chawdhry wrote: > On 14:01-20230306, Tom Rini wrote: > > On Mon, Mar 06, 2023 at 11:12:53AM +0530, Manorit Chawdhry wrote: > > > In non-combined boot flow for K3, all the firewalls are locked by default > > > until sysfw comes up. Rom configures

Re: [PATCH v2 1/3] include: environment: ti: Use .env for environment variables

2023-03-16 Thread Tom Rini
On Wed, Mar 15, 2023 at 10:57:43AM +0530, Neha Malcom Francis wrote: > Add K3 common environment variables to .env. We retain the old-style C > environment .h files to maintain compatibility with other K3 boards that > have not moved to using .env yet. > > Signed-off-by: Neha Malcom Francis

Re: [PATCH] arm: kirkwood: pogo v4: Use a more common format for stdout-path

2023-03-16 Thread Tom Rini
On Wed, Mar 15, 2023 at 04:11:27PM -0700, Tony Dinh wrote: > Hi Pali, > > On Wed, Mar 15, 2023 at 2:58 PM Pali Rohár wrote: > > > > On Wednesday 15 March 2023 14:56:52 Tony Dinh wrote: > > > The mainline Pogo V4 DTS uses a stdout-path format that is not > > > recognizable by u-boot. Change it to

Re: [PATCH 0/2] add support for hs bootflows on am62 devices

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 04:05:06PM +0530, Kamlesh Gurudasani wrote: > Bryan Brattlof writes: > > > Hi Kamlesh! > > > > On March 2, 2023 thus sayeth kaml...@ti.com: > >> From: Kamlesh Gurudasani > >> > >> Add support for high security bootflow on am62 devices. > >> > >> On HS devices, ROM and

[PATCH] board: rockchip: add Anbernic RGXX3 Series Devices

2023-03-16 Thread Chris Morgan
From: Chris Morgan The Anbernic RGxx3 is a "pseudo-device" that encompasses the following devices: - Anbernic RG353M - Anbernic RG353P - Anbernic RG353V - Anbernic RG353VS - Anbernic RG503 The rk3566-anbernic-rgxx3.dtsi is synced with upstream Linux, but rk3566-anbernic-rgxx3.dts is a

[QUESTION] Device tree for gmii-to-rgmii phy driver

2023-03-16 Thread Stefan Herbrechtsmeier
Hi Siva Durga Prasad Paladugu, we want to add rgmii-id support to the gmiitorgmii phy driver. How does the correct device tree for the gmiitorgmii looks like? The converter sits between the MAC and the external PHY (MAC <==> GMII2RGMII <==> RGMII_PHY) which would mean that the phy-handle of

[PATCH v1 6/6] rockchip: configs: mk808: enable usb support

2023-03-16 Thread Johan Jonker
Enable usb support in the mk808_defconfig. Signed-off-by: Johan Jonker --- configs/mk808_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configs/mk808_defconfig b/configs/mk808_defconfig index 548df9c5..3e9bdb14 100644 --- a/configs/mk808_defconfig +++

[PATCH v1 5/6] rockchip: configs: mk808: change CONFIG_TPL_TEXT_BASE

2023-03-16 Thread Johan Jonker
Currently the Rockchip rk3066a u-boot-tpl.bin file needs to add the characters "RK30", while the other SoCs replace the first 4 bytes. Bring this in line with the rest by lowering CONFIG_TPL_TEXT_BASE and update rockchip.rst instructions. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass ---

[PATCH v1 4/6] arm: dts: rockchip: sync rk3066/rk3188 DT files from linux-next v6.2-rc4

2023-03-16 Thread Johan Jonker
Sync rk3066/rk3188 DT files from Linux. This is the state as of linux-next v6.2-rc4. New nfc node for MK808 rk3066a. CRU nodes now have a clock property. To prefend dtoc errors a fixed clock must also be included for tpl/spl in the rk3xxx-u-boot.dtsi file. Signed-off-by: Johan Jonker ---

[PATCH v1 3/6] arm: dts: rockchip: rk3188-u-boot: add gpio-ranges

2023-03-16 Thread Johan Jonker
The gpio node names are made generic, but without gpio bank ID. Add gpio-ranges to rk3188-u-boot.dtsi for now till a better method is found. Signed-off-by: Johan Jonker --- arch/arm/dts/rk3188-u-boot.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH v1 2/6] arm: dts: rockchip: rk3066a-u-boot: add gpio-ranges

2023-03-16 Thread Johan Jonker
The gpio node names are made generic, but without gpio bank ID. Add gpio-ranges to rk3066a-u-boot.dtsi for now till a better method is found. Signed-off-by: Johan Jonker --- arch/arm/dts/rk3066a-u-boot.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH v1 1/6] rockchip: gpio: rk_gpio: use ROCKCHIP_GPIOS_PER_BANK as divider

2023-03-16 Thread Johan Jonker
The current divider to calculate the bank ID can change. Use a constant ROCKCHIP_GPIOS_PER_BANK as fixed divider. Signed-off-by: Johan Jonker --- drivers/gpio/rk_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/rk_gpio.c b/drivers/gpio/rk_gpio.c index

[PATCH] fdt: Make fdt addr -q quieter

2023-03-16 Thread Peter Hoyes
From: Peter Hoyes 64597346 "fdt: Add -q option to fdt addr for distro_bootcmd" introduced the -q option for fdt addr, which sets the current working fdt address without printing any output. baf41410 "fdt: Show a message when the working FDT changes" made the utility function

Re: Please pull u-boot-dm/next

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 10:56:17AM -0400, Tom Rini wrote: > On Thu, Mar 16, 2023 at 07:58:33AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 15 Mar 2023 at 08:49, Tom Rini wrote: > > > > > > On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

Re: EXTERNAL - [PATCH] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-16 Thread Manuel Traut
Am 16.03.2023 um 11:33 hat Frieder Schrempf geschrieben: > On 10.03.23 14:50, Sebastian Andrzej Siewior wrote: > > From: Manuel Traut > > > > The board is similar to Kontron's N801x design. It lacks external eMMC > > support and only supports only 1GiB of main memory. > > Good to see some

Re: Please pull u-boot-dm/next

2023-03-16 Thread Tom Rini
On Thu, Mar 16, 2023 at 07:58:33AM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 15 Mar 2023 at 08:49, Tom Rini wrote: > > > > On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 13 Mar 2023 at 13:36, Tom Rini wrote: > > > > > > > > On Sun, Mar 12,

Re: mkimage for Windows?

2023-03-16 Thread Tom Rini
On Wed, Mar 15, 2023 at 01:56:25PM -0600, Simon Glass wrote: > Hi, > > Does anyone know how to build mkimage (or other tools) on a Windows > host, or at least with a Windows target? Other than the Azure tools-only test? I think that builds mkimage. -- Tom signature.asc Description: PGP

Re: [PATCH v2 5/5] test_vboot.py: include test of fdt_add_pubkey tool

2023-03-16 Thread Ivan Mikhaylov
On Thu, 2023-03-16 at 07:59 -0600, Simon Glass wrote: > Hi Ivan, > > On Wed, 15 Mar 2023 at 19:17, Ivan Mikhaylov > wrote: > > > > On Fri, 2023-03-10 at 17:46 -0800, Simon Glass wrote: > > > Hi Ivan, > > > > > > On Tue, 7 Mar 2023 at 14:13, Ivan Mikhaylov > > > wrote: > > > > > > > > From:

Re: [PATCH v2 5/5] test_vboot.py: include test of fdt_add_pubkey tool

2023-03-16 Thread Simon Glass
Hi Ivan, On Wed, 15 Mar 2023 at 19:17, Ivan Mikhaylov wrote: > > On Fri, 2023-03-10 at 17:46 -0800, Simon Glass wrote: > > Hi Ivan, > > > > On Tue, 7 Mar 2023 at 14:13, Ivan Mikhaylov > > wrote: > > > > > > From: Roman Kopytin > > > > > > Signed-off-by: Roman Kopytin > > > Cc: Rasmus

Re: Please pull u-boot-dm/next

2023-03-16 Thread Simon Glass
Hi Tom, On Wed, 15 Mar 2023 at 08:49, Tom Rini wrote: > > On Tue, Mar 14, 2023 at 04:07:57PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 13 Mar 2023 at 13:36, Tom Rini wrote: > > > > > > On Sun, Mar 12, 2023 at 09:10:19PM -0600, Simon Glass wrote: > > > > > > > Hi Tom, > > > > > > > >

[PATCH] regulator: implement basic reference counter

2023-03-16 Thread Eugen Hristev
Some devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be timeouts and other failed operations. Implement a reference counter mechanism similar with what is done in

Re: [PATCH 0/9] binman: Show missing blob message when building U-Boot

2023-03-16 Thread Simon Glass
Hi Jonas, On Thu, 16 Mar 2023 at 01:45, Jonas Karlman wrote: > > Hi Simon, > On 2023-03-10 21:49, Simon Glass wrote: > > Hi Jonas, > > > > On Sun, 19 Feb 2023 at 14:02, Jonas Karlman wrote: > >> > >> binman currently support showing a helpful missing blob message, but > >> only when the

Re: [PATCH v3 0/5] improve 'read' command, add 'write' command

2023-03-16 Thread Rasmus Villemoes
On 02/03/2023 09.12, Rasmus Villemoes wrote: > The first patch simplies do_read somewhat by making use of an existing > helper instead of parsing the dev_part string manually. As a bonus > (and my actual motivation), it now understands dev#partname syntax - > hard-coded partition numbers are so

[PATCH] pinctrl: fix pinctrl_gpio_get_pinctrl_and_offset for gpio-ranges array

2023-03-16 Thread quanyang . wang
From: Quanyang Wang Sometimes a multi-element array is used for "gpio-ranges" property in dts file: qe_pio_e: gpio-controller@1460 { .. gpio-ranges = < 0 20 10>, < 10 50 20>; .. }; But the function pinctrl_gpio_get_pinctrl_and_offset can't handle this

Re: [PATCH] board_r: Relocate OF_EMBED if NEEDS_MANUAL_RELOC only

2023-03-16 Thread Ajay Kaher
> On 16-Mar-2023, at 1:12 AM, Simon Glass wrote: > > !! External Email > > Hi Ajay, > > On Wed, 15 Mar 2023 at 13:24, Ajay Kaher wrote: >> >>> On Fri, Sep 09, 2022 at 09:16:18PM +0100, Pierre-Clément Tosi wrote: >>> When the embedded device tree is pointed to by the __dtb_dt_*begin

Re: [PATCH 2/3] rockchip: Disable DISTRO_DEFAULTS for rockpro64

2023-03-16 Thread Peter Robinson
On Wed, Feb 22, 2023 at 7:17 PM Tom Rini wrote: > > On Wed, Feb 22, 2023 at 12:03:58PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 22 Feb 2023 at 12:01, Tom Rini wrote: > > > > > > On Wed, Feb 22, 2023 at 11:58:37AM -0700, Simon Glass wrote: > > > > Hi, > > > > > > > > On Wed, 22 Feb

Re: [PATCH] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-16 Thread Frieder Schrempf
On 16.03.23 11:33, Frieder Schrempf wrote: > On 10.03.23 14:50, Sebastian Andrzej Siewior wrote: >> From: Manuel Traut >> >> The board is similar to Kontron's N801x design. It lacks external eMMC >> support and only supports only 1GiB of main memory. > > Good to see some custom boards being

Re: [PATCH 0/2] add support for hs bootflows on am62 devices

2023-03-16 Thread Kamlesh Gurudasani
Bryan Brattlof writes: > Hi Kamlesh! > > On March 2, 2023 thus sayeth kaml...@ti.com: >> From: Kamlesh Gurudasani >> >> Add support for high security bootflow on am62 devices. >> >> On HS devices, ROM and TIFS will protect the RAM regions with >> firewalls. This means the wakeup domain's SPL

Re: [PATCH] imx: imx8mm: Add suppoer for Mettler-Toledo snowflake board.

2023-03-16 Thread Frieder Schrempf
On 10.03.23 14:50, Sebastian Andrzej Siewior wrote: > From: Manuel Traut > > The board is similar to Kontron's N801x design. It lacks external eMMC > support and only supports only 1GiB of main memory. Good to see some custom boards being upstreamed! It would be worth mentioning here that it

Re: i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-16 Thread Frieder Schrempf
Hi Emanuele, On 15.03.23 22:25, Emanuele Ghidoli wrote: > [Sie erhalten nicht häufig E-Mails von ghidoliemanu...@gmail.com. > Weitere Informationen, warum dies wichtig ist, finden Sie unter > https://aka.ms/LearnAboutSenderIdentification ] > > On 15/03/2023 16:24, Frieder Schrempf wrote: >> On

Re: i.MX8MP SPL failures due to memory corruption/overflow?

2023-03-16 Thread Frieder Schrempf
Hi Rasmus, On 15.03.23 16:59, Rasmus Villemoes wrote: > On 15/03/2023 16.24, Frieder Schrempf wrote: >> On 15.03.23 15:42, Frieder Schrempf wrote: >>> On 15.03.23 15:17, Michael Nazzareno Trimarchi wrote: Hi On Wed, Mar 15, 2023 at 3:13 PM Frieder Schrempf wrote: > >

Re: [PATCH RFC u-boot-mvebu] arm: kirkwood: Move internal registers in arch_very_early_init() function

2023-03-16 Thread Stefan Roese
On 3/11/23 11:57, Pali Rohár wrote: Same change as was done for mvebu in commit 5bb2c550b11e ("arm: mvebu: Move internal registers in arch_very_early_init() function") but for kirkwood. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- Hello! Please test this RFC

Re: [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S

2023-03-16 Thread Stefan Roese
On 3/13/23 04:35, Tony Dinh wrote: It's useful to enable Debug UART for future DM Serial regression tests for Kirkwood boards. Also, see background discussion in this thread: https://lists.denx.de/pipermail/u-boot/2023-March/512010.html Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese

Re: [PATCH] console: Use flush() before panic and reset

2023-03-16 Thread Stefan Roese
On 3/15/23 20:43, Simon Glass wrote: On Tue, 14 Mar 2023 at 18:24, Tony Dinh wrote: To make sure the panic and the reset messages will go out, console flush() should be used. Sleep periods do not work in early u-boot phase when timer driver is not initialized yet. Reference:

Re: [PATCH v3 4/5] x86: dfi-bt700: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Stefan Roese
On 3/15/23 00:59, Simon Glass wrote: With recent CONFIG_TEXT_BASE changes, there are inconsistencies between several settings. Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC cache out of the way too. Signed-off-by: Simon Glass Fixes: 5d1c8342aea ("x86: dfi-bt700: Adjust

Re: [PATCH v3 3/5] x86: conga-qeval20-qa3-e3845: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Stefan Roese
On 3/15/23 00:59, Simon Glass wrote: With recent CONFIG_TEXT_BASE changes, there are inconsistencies between several settings. Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC cache out of the way too. Signed-off-by: Simon Glass Fixes: 388f93f9635 ("x86:

Re: [PATCH] console: Use flush() before panic and reset

2023-03-16 Thread Stefan Roese
On 3/15/23 21:29, Tony Dinh wrote: Hi Simon, On Wed, Mar 15, 2023 at 12:43 PM Simon Glass wrote: On Tue, 14 Mar 2023 at 18:24, Tony Dinh wrote: To make sure the panic and the reset messages will go out, console flush() should be used. Sleep periods do not work in early u-boot phase when

Re: [PATCH v6 5/7] fwu: meta-data: switch to management by common code

2023-03-16 Thread Sughosh Ganu
On Thu, 16 Mar 2023 at 13:56, Ilias Apalodimas wrote: > > On Mon, Mar 06, 2023 at 05:18:41PM -0600, jassisinghb...@gmail.com wrote: > > From: Jassi Brar > > > > The common code can now read, verify and fix meta-data copies > > while exposing one consistent structure to users. > > Only the

Re: [PATCH] net: ipv6: Add support for default gateway discovery.

2023-03-16 Thread Vyacheslav V. Mitrofanov
On Thu, 2023-03-02 at 08:58 -0800, emohand...@linux.microsoft.com wrote: > > From: Ehsan Mohandesi > > In IPv6, the default gateway and prefix length are determined by > receiving > a router advertisement as defined in - > https://www.rfc-editor.org/rfc/rfc4861. > > Add support for sending

Re: [PATCH v9 2/6] tpm: sandbox: Update for needed TPM2 capabilities

2023-03-16 Thread Ilias Apalodimas
Hi Eddie, Apologies for the late reply, I am now getting back on this. There are some failures on the CI wrt to sandbox here [0]. Can you have a look ? Also I believe some of the existing tests are wrong because they are using PCR0 (which is always going to be extended). Can you also pick up

Re: [PATCH v6 5/7] fwu: meta-data: switch to management by common code

2023-03-16 Thread Ilias Apalodimas
On Mon, Mar 06, 2023 at 05:18:41PM -0600, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > The common code can now read, verify and fix meta-data copies > while exposing one consistent structure to users. > Only the .read_mdata() and .write_mdata() callbacks of fwu_mdata_ops > are needed.

Re: [PATCH v6 3/7] fwu: move meta-data management in core

2023-03-16 Thread Ilias Apalodimas
On Mon, Mar 06, 2023 at 05:18:28PM -0600, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > Instead of each i/f having to implement their own meta-data verification > and storage, move the logic in common code. This simplifies the i/f code > much simpler and compact. > > Signed-off-by: Jassi

Re: [PATCH 0/9] binman: Show missing blob message when building U-Boot

2023-03-16 Thread Jonas Karlman
Hi Simon, On 2023-03-10 21:49, Simon Glass wrote: > Hi Jonas, > > On Sun, 19 Feb 2023 at 14:02, Jonas Karlman wrote: >> >> binman currently support showing a helpful missing blob message, but >> only when the --allow-missing flag is used. >> >> This changes so that binman is invoked with the

Re: [PATCH v3 1/5] x86: minnowmax: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Bin Meng
On Thu, Mar 16, 2023 at 3:27 PM Bin Meng wrote: > > On Wed, Mar 15, 2023 at 8:00 AM Simon Glass wrote: > > > > With recent CONFIG_TEXT_BASE changes, there are inconsistencies between > > several settings. > > > > Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC > > cache out

Re: [PATCH v3 5/5] x86: som-db5800-som-6867: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Bin Meng
On Wed, Mar 15, 2023 at 8:00 AM Simon Glass wrote: > > With recent CONFIG_TEXT_BASE changes, there are inconsistencies between > several settings. > > Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC > cache out of the way too. > > Signed-off-by: Simon Glass > Fixes:

Re: [PATCH v3 4/5] x86: dfi-bt700: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Bin Meng
On Wed, Mar 15, 2023 at 8:00 AM Simon Glass wrote: > > With recent CONFIG_TEXT_BASE changes, there are inconsistencies between > several settings. > > Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC > cache out of the way too. > > Signed-off-by: Simon Glass > Fixes:

Re: [PATCH v3 3/5] x86: conga-qeval20-qa3-e3845: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Bin Meng
On Wed, Mar 15, 2023 at 8:00 AM Simon Glass wrote: > > With recent CONFIG_TEXT_BASE changes, there are inconsistencies between > several settings. > > Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC > cache out of the way too. > > Signed-off-by: Simon Glass > Fixes:

Re: [PATCH v3 2/5] x86: bayleybay: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Bin Meng
On Wed, Mar 15, 2023 at 8:00 AM Simon Glass wrote: > > With recent CONFIG_TEXT_BASE changes, there are inconsistencies between > several settings. > > Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC > cache out of the way too. > > Signed-off-by: Simon Glass > Fixes:

Re: [PATCH v3 1/5] x86: minnowmax: Fix up adjustment of CONFIG_TEXT_BASE

2023-03-16 Thread Bin Meng
On Wed, Mar 15, 2023 at 8:00 AM Simon Glass wrote: > > With recent CONFIG_TEXT_BASE changes, there are inconsistencies between > several settings. > > Adjust CONFIG_SYS_MONITOR_LEN to allow more code space. Move the MRC > cache out of the way too. > > Add documentation on how to make this change

[PATCH 2/2] configs: stm32mp13: Increase usb_pgood_delay for ST boards

2023-03-16 Thread Patrice Chotard
With some USB device, the current usb_pgood_delay value is not long enough to ensure a correct detection. Signed-off-by: Patrice Chotard --- include/configs/stm32mp13_st_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stm32mp13_st_common.h

[PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards

2023-03-16 Thread Patrice Chotard
Add usb_pgood_delay to ensure a correct detection of USB devices. Signed-off-by: Patrice Chotard --- include/configs/stm32mp15_st_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stm32mp15_st_common.h b/include/configs/stm32mp15_st_common.h index