Re: [PATCH v4 00/16] General Tegra improvements

2023-02-14 Thread Svyatoslav Ryhel
You are correct, crypto.c was moved from T20 to common mach-tegra, but I have sent patches already on top on u-boot/master and rebase gave me no errors. Looks like commit ARM: tegra: crypto: extend crypto functional was picked before ARM: tegra: expose crypto module for all Tegra SoCs which

Re: [PATCH v2 2/2] riscv: ae350: Adjust the memory layout of ae350

2023-02-14 Thread Yu-Chien Peter Lin
On Tue, Feb 14, 2023 at 08:42:50PM +0800, Leo Yu-Chi Liang wrote: > Adjust the initial stack pointer address to 0x1000(256M) > > Signed-off-by: Leo Yu-Chi Liang Reviewed-by: Yu Chien Peter Lin > --- > Change v1 -> v2: > * Modify the address from 0x100(16MB) to 0x1000(256MB) > ---

Re: imx8mp EQOS regression in dwc_eth_qos,c

2023-02-14 Thread Elmar Psilog
Am 15.02.23 um 01:19 schrieb Marek Vasut: On 2/14/23 18:31, Elmar Psilog wrote: Am 13.02.23 um 22:20 schrieb Marek Vasut: On 2/13/23 22:04, Fabio Estevam wrote: Adding Marek, who has sent some EQOS patches recently. On Mon, Feb 13, 2023 at 6:02 PM Elmar Psilog wrote: Hello, Think I found

Re: U-boot not loading NVMe driver on Pi CM4

2023-02-14 Thread Ignatius Rivaldi
On Wed, Feb 15, 2023 at 3:52 PM Ignatius Rivaldi wrote: > > Hi Stefan, > On Tue, Feb 14, 2023 at 2:00 AM Stefan Roese wrote: > >> Hi Ignatius, >> >> On 2/10/23 17:05, Simon Glass wrote: >> > Hi Ignatius, >> > >> > On Thu, 9 Feb 2023 at 17:29, Ignatius Rivaldi >> wrote: >> >> >> >> Added more

Re: U-boot not loading NVMe driver on Pi CM4

2023-02-14 Thread Ignatius Rivaldi
Hi Stefan, On Tue, Feb 14, 2023 at 2:00 AM Stefan Roese wrote: > Hi Ignatius, > > On 2/10/23 17:05, Simon Glass wrote: > > Hi Ignatius, > > > > On Thu, 9 Feb 2023 at 17:29, Ignatius Rivaldi > wrote: > >> > >> Added more debug logging and for some reason the nvme driver tries to > bind > >> to

Re: [PATCH v3 61/95] kconfig: Support writing separate SPL files

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 03:42:53PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 14 Feb 2023 at 13:51, Tom Rini wrote: > > > > On Tue, Feb 14, 2023 at 12:59:34PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 14 Feb 2023 at 10:38, Tom Rini wrote: > > > > > > > > On Tue, Feb 14,

[PATCH] efi_loader: fix wrong attribute check for QueryVariableInfo

2023-02-14 Thread Masahisa Kojima
QueryVariableInfo with EFI_VARIABLE_HARDWARE_ERROR_RECORD is accepted, remove wrong attribute check. Fixes: 454a9442fbce ("efi_loader: update attribute check for QueryVariableInfo()") Signed-off-by: Masahisa Kojima --- lib/efi_loader/efi_variable.c | 3 --- 1 file changed, 3 deletions(-) diff

[PATCH v2] efi_loader: update SetVariable attribute check

2023-02-14 Thread Masahisa Kojima
UEFI specification v2.10 says that EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS is deprecated and EFI_UNSUPPORTED should be returned in SetVariable variable service. Current implementation returns EFI_INVALID_PARAMETER, let's fix the return value. Together with above change, this commit also updates

Re: [PATCH] efi_loader: update SetVariable attribute check

2023-02-14 Thread Masahisa Kojima
On Tue, 14 Feb 2023 at 20:15, Heinrich Schuchardt wrote: > > On 2/14/23 10:19, Masahisa Kojima wrote: > > UEFI specification v2.10 says that > > EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS is deprecated and > > EFI_UNSUPPORTED should be returned in SetVariable variable service. > > Current

arm: lib1funcs.S: Plan to resync Linux code?

2023-02-14 Thread Tony Dinh
Hi Marek, Do you have plans to resync Linux lib1funcs.S to u-boot? Tom mentioned it it this thread: https://lists.denx.de/pipermail/u-boot/2023-January/504287.html And one of the reasons it came up was that an armv5 board (Pogo V4) has both CONFIG_LTO and CONFIG_SYS_THUMB_BUILD enabled. And we

Re: [PATCH v5 01/11] schemas: Add schema for U-Boot driver model 'phase tags'

2023-02-14 Thread Simon Glass
U-Boot has some particular challenges with device tree and devices: - U-Boot has multiple build phases, such as a Secondary Program Loader (SPL) phase which typically runs in a pre-SDRAM environment where code and data space are limited. In particular, there may not be enough space for the

Re: [PATCH v5 03/11] dm: dts: Convert driver model tags to use new schema

2023-02-14 Thread Simon Glass
Now that Linux has accepted these tags, move the device tree files in U-Boot over to use them. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Rebase to master again, with new conversions Changes in v2: - Convert k3-am68-sk boards also arch/arc/dts/abilis_tb100.dts

Re: [PATCH v5 06/11] dm: doc: Update documentation for new driver model schema

2023-02-14 Thread Simon Glass
Now that Linux has accepted these tags, move U-Boot over to use them. Tidy up the comments and formatting, making sure that VPL is mentioned too. Signed-off-by: Simon Glass --- Changes in v5: - Add a note to the SPL file about the migration doc/README.TPL| 4

Re: [PATCH v5 09/11] CI: Add a check for pre-schema driver model tags

2023-02-14 Thread Simon Glass
These should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a new patch to check for pre-schema driver model tags in CI .azure-pipelines.yml | 12

Re: [PATCH v5 10/11] test: Add a way to set the environment for a pytest

2023-02-14 Thread Simon Glass
This is useful when we need to control a particular environment variable. Add a way to handle this. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Add new patch with a way to set the environment for a pytest test/py/multiplexed_log.py | 5 +++-- test/py/u_boot_utils.py

Re: [PATCH v5 02/11] dm: Add support for handling old u-boot, dm- tags

2023-02-14 Thread Simon Glass
On 2/13/23 16:56, Simon Glass wrote: > Add a CONFIG option to deal with this automatically, printing a warning > when U-Boot starts up. This can be useful if the device tree comes from > another project. > > We will maintain this through the 2023.07 release, providing 6 months > for people to

Re: [PATCH v5 05/11] dm: doc: Update device tree binding docs for new schema

2023-02-14 Thread Simon Glass
Now that Linux has accepted these tags, move U-Boot over to use them. Signed-off-by: Simon Glass --- (no changes since v1) doc/device-tree-bindings/chosen.txt | 2 +- .../clock/rockchip,rk3368-dmc.txt | 2 +- .../clock/rockchip,rk3399-dmc.txt | 2 +-

Re: [PATCH v5 07/11] dm: doc: Move to new driver model schema

2023-02-14 Thread Simon Glass
Now that Linux has accepted these tags, update the dtoc tool to use them. Signed-off-by: Simon Glass --- (no changes since v1) tools/dtoc/dtb_platdata.py | 10 +- tools/dtoc/test/dtoc_test_add_prop.dts | 4 ++-- tools/dtoc/test/dtoc_test_addr32.dts

Re: [PATCH v5 08/11] checkpatch: Add a warning for pre-schema driver model tags

2023-02-14 Thread Simon Glass
Help ensure that these don't creep into development by adding a check in checkpatch for them. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a new patch to warn about pre-schema driver model tags scripts/checkpatch.pl | 6 ++

Re: [PATCH v5 04/11] dm: treewide: Complete migration to new driver model schema

2023-02-14 Thread Simon Glass
Update various build and test components to use the new schema. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/ofnode.c| 10 +- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +-

Re: [PATCH v5 11/11] dm: test: Add a test for the various migration combinations

2023-02-14 Thread Simon Glass
Test that: - sandbox shows a warning when an unmigrated DT is used - sandbox fails to run when migration is turned off - sandbox_spl fails to build when migration is turned off Signed-off-by: Simon Glass --- Changes in v5: - Ensure that the old tags are supported in each commit of this series

Re: bind/unbind command not working for usb_ether

2023-02-14 Thread Tim Harvey
On Tue, Feb 14, 2023 at 4:31 PM Marek Vasut wrote: > > On 2/15/23 01:11, Tim Harvey wrote: > > On Sat, Aug 13, 2022 at 7:59 AM Simon Glass wrote: > >> > > > >>> > >>> Simon, > >>> > >>> Now that we have identified a fix needed to uclass_get_by_name to fix > >>> the dm bind command, can you

Re: bind/unbind command not working for usb_ether

2023-02-14 Thread Marek Vasut
On 2/15/23 01:11, Tim Harvey wrote: On Sat, Aug 13, 2022 at 7:59 AM Simon Glass wrote: Simon, Now that we have identified a fix needed to uclass_get_by_name to fix the dm bind command, can you comment on the other issue we have run into trying to use usb_ether? Here's an example with

Re: Please pull u-boot-dm into -next

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 11:11:46AM -0700, Simon Glass wrote: > Hi Tom, > > This is for the -next branch > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15198 > > > The following changes since commit faac9dee8e0629326dc122f4624fc4897e3f38b0: > > Prepare v2023.04-rc2

Re: imx8mp EQOS regression in dwc_eth_qos,c

2023-02-14 Thread Marek Vasut
On 2/14/23 18:31, Elmar Psilog wrote: Am 13.02.23 um 22:20 schrieb Marek Vasut: On 2/13/23 22:04, Fabio Estevam wrote: Adding Marek, who has sent some EQOS patches recently. On Mon, Feb 13, 2023 at 6:02 PM Elmar Psilog wrote: Hello, Think I found a regression in EQOS driver with

Re: bind/unbind command not working for usb_ether

2023-02-14 Thread Tim Harvey
On Sat, Aug 13, 2022 at 7:59 AM Simon Glass wrote: > > > > > Simon, > > > > Now that we have identified a fix needed to uclass_get_by_name to fix > > the dm bind command, can you comment on the other issue we have run > > into trying to use usb_ether? > > > > Here's an example with some

Re: [PATCH 1/3] binman: add sign option for binman

2023-02-14 Thread Ivan Mikhaylov
On Sat, 2023-02-04 at 15:23 -0700, Simon Glass wrote: > Hi Ivan, > > On Sun, 15 Jan 2023 at 16:54, Ivan Mikhaylov > wrote: > > > > On Fri, 2023-01-13 at 11:00 -0700, Simon Glass wrote: > > > Hi Ivan, > > > > > > On Sat, 24 Dec 2022 at 15:35, Ivan Mikhaylov > > > > > > wrote: > > > > > > > >

Re: [PATCH 1/2] Makefile: Link with -z noexectack

2023-02-14 Thread Simon Glass
On Tue, 14 Feb 2023 at 13:09, Tom Rini wrote: > > When moving to gcc-12.2 we started trying to quiet some of the new > linker warnings, that are not relevant to us. However, a > misunderstanding of the mechanics at play meant that I intentionally > omitted passing -z noexecstack to the linker,

Re: [PATCH v3 61/95] kconfig: Support writing separate SPL files

2023-02-14 Thread Simon Glass
Hi Tom, On Tue, 14 Feb 2023 at 13:51, Tom Rini wrote: > > On Tue, Feb 14, 2023 at 12:59:34PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 14 Feb 2023 at 10:38, Tom Rini wrote: > > > > > > On Tue, Feb 14, 2023 at 09:58:59AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On

RE: [PATCH v4 00/16] General Tegra improvements

2023-02-14 Thread Tom Warren
Svyatoslav, Taking TOT u-boot-tegra/master, and fast-forwarding to TOT u-boot/master, I then try to apply your 16 patch series and get the following failures (using patch). Note that I retargeted the crypto.c patch by hand to point to tegra20/crypto.c, which I believe one of your patches

Re: [PATCH v3 61/95] kconfig: Support writing separate SPL files

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 12:59:34PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 14 Feb 2023 at 10:38, Tom Rini wrote: > > > > On Tue, Feb 14, 2023 at 09:58:59AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 14 Feb 2023 at 09:31, Tom Rini wrote: > > > > > > > > On Sun, Feb 12,

Re: [PATCH v2 1/6] binman: Add support for a rockchip-tpl entry

2023-02-14 Thread Jonas Karlman
Hi Simon, On 2023-02-14 20:48, Simon Glass wrote: > Hi Jonas, > > On Tue, 14 Feb 2023 at 03:33, Jonas Karlman wrote: >> >> The rockchip-tpl entry can be used when an external TPL binary should be >> used instead of the normal U-Boot TPL. >> >> Signed-off-by: Jonas Karlman >> --- >> v2: >> -

Re: [PATCH] binman: Avoid requiring a home directory on startup

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 03:12:46PM -0500, Mike Frysinger wrote: > On Tue, Feb 14, 2023 at 3:08 PM Tom Rini wrote: > > Downloading things from the internet and putting them in to the default > > PATH always and forever is also kinda not great? > > you just described a standard distribution. this

Re: [PATCH v2 5/8] video console: allow font size configuration at runtime

2023-02-14 Thread Heinrich Schuchardt
Am 14. Februar 2023 20:48:53 MEZ schrieb Simon Glass : >Hi Dzmitry, > >On Mon, 13 Feb 2023 at 09:57, Dzmitry Sankouski wrote: >> >> Allow font size configuration at runtime for console_simple.c >> driver. This needed for unit testing different fonts. >> >> - move 8x16 font data to

Re: [PATCH] binman: Avoid requiring a home directory on startup

2023-02-14 Thread Mike Frysinger
On Tue, Feb 14, 2023 at 3:08 PM Tom Rini wrote: > Downloading things from the internet and putting them in to the default > PATH always and forever is also kinda not great? you just described a standard distribution. this is like literally how all of them work. not to mention every other

Re: [PATCH] binman: Avoid requiring a home directory on startup

2023-02-14 Thread Mike Frysinger
considering, iiuc, the user has to execute the command to opt-in to installing the programs, putting it into a dir that's in $PATH is reasonable i would quibble that ~/bin is archaic and everyone should be using ~/.local/bin nowadays. but that can be a followup.

[PATCH v2 1/1] arm64: dts: rockchip: rk3308: Add Radxa ROCK Pi S support

2023-02-14 Thread Akash Gajjar
Add Radxa ROCK 3 Model A support. sync rk3308-rock-pi-s.dts from Linux 6.2.0-rc7. ROCK Pi S is RK3308 based SBC from radxa.com. ROCK Pi S has a, - 256MB/512MB DDR3 RAM - SD, NAND flash (optional on board 1/2/4/8Gb) - 100MB ethernet, PoE (optional) - Onboard 802.11 b/g/n wifi + Bluetooth 4.0

[PATCH v2 0/1] Add Radxa ROCK Pi S support in U-boot

2023-02-14 Thread Akash Gajjar
ROCK Pi S is rk3308 soc based board from Radxa. Add board support in u-boot. Booting logs is accessible at https://paste.ubuntu.com/p/cJDRzBRdXq/ Akash Gajjar (1): arm64: dts: rockchip: rk3308: Add Radxa ROCK Pi S support arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi | 17 ++

[PATCH v4 1/1] arm64: dts: rockchip: rk3568: Add Radxa ROCK 3 Model A board support

2023-02-14 Thread Akash Gajjar
Add Radxa ROCK 3 Model A support. sync rk3568-rock-3a.dts from Linux 6.2.0-rc7 Board Specifications - Rockchip RK3568 - 2/4/8GB LPDDR4 3200MT/s - eMMC socket, SD card slot - GbE LAN - PCIe 3.0/2.0 - M.2 Connector - 3.5mm Audio jack with mic - HDMI 2.0, MIPI DSI/CSI - USB 3.0 Host/OTG, USB 2.0

[PATCH v4 0/1] Add Radxa ROCK 3 Model A support in U-boot.

2023-02-14 Thread Akash Gajjar
ROCK 3 Model A is rk3568 based soc board from Radxa, Add board support in u-boot. Booting logs available at https://paste.ubuntu.com/p/v9BNrB7MdM/ Akash Gajjar (1): arm64: dts: rockchip: rk3568: Add Radxa ROCK 3 Model A board support arch/arm/dts/Makefile | 3 +-

Re: [PATCH 06/11] efi: Support copy framebuffer

2023-02-14 Thread Heinrich Schuchardt
Am 14. Februar 2023 20:48:58 MEZ schrieb Simon Glass : >Hi Heinrich, > >On Fri, 10 Feb 2023 at 05:11, Heinrich Schuchardt wrote: >> >> On 2/5/23 20:46, Simon Glass wrote: >> > Add support for this to EFI in case it becomes useful. At present it just >> > slows things down. Enable

[PATCH 2/2] x86: Pass -z execstack for EFI payload flags

2023-02-14 Thread Tom Rini
To match how we link EFI executables elsewhere, and to silence a linker warning, pass -z execstack here as well. Cc: Bin Meng Cc: Heinrich Schuchardt Signed-off-by: Tom Rini --- arch/x86/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/config.mk

[PATCH 1/2] Makefile: Link with -z noexectack

2023-02-14 Thread Tom Rini
When moving to gcc-12.2 we started trying to quiet some of the new linker warnings, that are not relevant to us. However, a misunderstanding of the mechanics at play meant that I intentionally omitted passing -z noexecstack to the linker, when we do need to. Add this flag and in turn remove

Re: [PATCH] binman: Avoid requiring a home directory on startup

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 12:48:56PM -0700, Simon Glass wrote: > Hi Mark, > > On Fri, 10 Feb 2023 at 14:23, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Fri, 10 Feb 2023 13:59:46 -0700 > > > > > > This is needed to download tools, but we may not need to do this. At > > > present

Re: [PATCH v3 61/95] kconfig: Support writing separate SPL files

2023-02-14 Thread Simon Glass
Hi Tom, On Tue, 14 Feb 2023 at 10:38, Tom Rini wrote: > > On Tue, Feb 14, 2023 at 09:58:59AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 14 Feb 2023 at 09:31, Tom Rini wrote: > > > > > > On Sun, Feb 12, 2023 at 04:16:04PM -0700, Simon Glass wrote: > > > > > > > At present kconfig

Re: [PATCH v2 6/6] RFC: binman: Improve allow missing for mkimage entry

2023-02-14 Thread Simon Glass
Hi Jonas, On Tue, 14 Feb 2023 at 03:34, Jonas Karlman wrote: > > Implement CheckMissing and CheckOptional methods that is adapted to > Entry_mkimage in order to improve support for allow missing flag. > > Use collect_contents_to_file in multiple-data-files handling to improve > support for allow

Re: [PATCH 06/11] efi: Support copy framebuffer

2023-02-14 Thread Simon Glass
Hi Heinrich, On Fri, 10 Feb 2023 at 05:11, Heinrich Schuchardt wrote: > > On 2/5/23 20:46, Simon Glass wrote: > > Add support for this to EFI in case it becomes useful. At present it just > > slows things down. Enable CONFIG_VIDEO_COPY to turn it on. > > > > Signed-off-by: Simon Glass > > --- >

Re: [PATCH] binman: Avoid requiring a home directory on startup

2023-02-14 Thread Simon Glass
Hi Mark, On Fri, 10 Feb 2023 at 14:23, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Fri, 10 Feb 2023 13:59:46 -0700 > > > > This is needed to download tools, but we may not need to do this. At > > present binman fails to start if HOME is not set. > > > > Use the current directory as a

Re: [PATCH v2 1/6] binman: Add support for a rockchip-tpl entry

2023-02-14 Thread Simon Glass
Hi Jonas, On Tue, 14 Feb 2023 at 03:33, Jonas Karlman wrote: > > The rockchip-tpl entry can be used when an external TPL binary should be > used instead of the normal U-Boot TPL. > > Signed-off-by: Jonas Karlman > --- > v2: > - rename external-tpl to rockchip-tpl > - missing message moved to

Re: [PATCH v2 2/6] rockchip: Use an external TPL binary on RK3568

2023-02-14 Thread Simon Glass
On Tue, 14 Feb 2023 at 03:33, Jonas Karlman wrote: > > Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps > back to BootRom to load next stage, U-Boot SPL, into DRAM. BootRom then > jumps to U-Boot SPL to continue the normal boot flow. > > However, there is no support to

Re: [PATCH v2 5/8] video console: allow font size configuration at runtime

2023-02-14 Thread Simon Glass
Hi Dzmitry, On Mon, 13 Feb 2023 at 09:57, Dzmitry Sankouski wrote: > > Allow font size configuration at runtime for console_simple.c > driver. This needed for unit testing different fonts. > > - move 8x16 font data to video_font_8x16.h file please do that in a separate patch > - place common

Re: [PATCH v2 8/8] video console: add 12x22 console simple font test

2023-02-14 Thread Simon Glass
On Mon, 13 Feb 2023 at 09:57, Dzmitry Sankouski wrote: > > Tests fonts wider than a byte. > > Signed-off-by: Dzmitry Sankouski > --- > Changes for v2: N/A > > configs/sandbox_defconfig | 3 +++ > test/dm/video.c | 41 +++ > 2 files changed, 44

Re: [PATCH v2 4/8] video console: add select font logic to vidconsole uclass driver

2023-02-14 Thread Simon Glass
Hi Dzmitry, On Mon, 13 Feb 2023 at 09:57, Dzmitry Sankouski wrote: > > Select font logic at runtime needed to unit test different fonts. > This commit is a preparation to enable runtime font selection in > console_simple driver. > > - move console true type select font logic to driver ops > -

Re: [PATCH v2 6/8] video console: add 12x22 Sun font from linux

2023-02-14 Thread Simon Glass
On Mon, 13 Feb 2023 at 16:17, Dzmitry Sankouski wrote: > > Modern mobile phones typically have high pixel density. > Bootmenu is hardly readable on those with 8x16 font. > > Signed-off-by: Dzmitry Sankouski > --- > Changes for v2: N/A > > drivers/video/Kconfig |7 + >

Re: [PATCH v2 7/8] video console: add 16x32 Terminus font from linux

2023-02-14 Thread Simon Glass
On Mon, 13 Feb 2023 at 16:17, Dzmitry Sankouski wrote: > > Modern mobile phones typically have high pixel density. > Bootmenu is hardly readable on those with 8x16 font. > > Signed-off-by: Dzmitry Sankouski > --- > Changes for v2: > - edit for runtime configuration > > drivers/video/Kconfig

Please pull u-boot-dm into -next

2023-02-14 Thread Simon Glass
Hi Tom, This is for the -next branch https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/15198 The following changes since commit faac9dee8e0629326dc122f4624fc4897e3f38b0: Prepare v2023.04-rc2 (2023-02-13 18:39:15 -0500) are available in the Git repository at:

[PATCH v4 14/16] ARM: tegra: crypto: extend crypto functional

2023-02-14 Thread Svyatoslav Ryhel
Add support for encryption, decryption and signinig with non-zero key saving backward compatibility. Signed-off-by: Svyatoslav Ryhel --- arch/arm/include/asm/arch-tegra/crypto.h | 47 ++ arch/arm/mach-tegra/crypto.c | 63 +---

Re: [PATCH v3 61/95] kconfig: Support writing separate SPL files

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 09:58:59AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 14 Feb 2023 at 09:31, Tom Rini wrote: > > > > On Sun, Feb 12, 2023 at 04:16:04PM -0700, Simon Glass wrote: > > > > > At present kconfig writes out several files, including: > > > > > >auto.conf - CONFIG

[PATCH v4 16/16] ARM: tegra20: implement BCT patching

2023-02-14 Thread Svyatoslav Ryhel
This function allows updating bootloader from u-boot on production devices without need in host PC. Be aware! It works only with re-crypt BCT. Tested-by: Robert Eckelmann # ASUS TF101 T20 Signed-off-by: Ramin Khonsari Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/Kconfig |

[PATCH v4 15/16] ARM: tegra30: implement BCT patching

2023-02-14 Thread Svyatoslav Ryhel
From: Ramin Khonsari This function allows updating bootloader from u-boot on production devices without need in host PC. Be aware! It works only with re-crypted BCT. Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Ramin Khonsari

[PATCH v4 13/16] ARM: tegra: expose crypto module for all Tegra SoCs

2023-02-14 Thread Svyatoslav Ryhel
Move crypto module from T20 only into common Tegra dir. Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/Kconfig| 5 + arch/arm/mach-tegra/Makefile | 1 + arch/arm/mach-tegra/{tegra20 => }/crypto.c | 0 arch/arm/mach-tegra/{tegra20 => }/crypto.h | 0

[PATCH v4 12/16] board: tegra30: switch to updated pre-dm i2c write

2023-02-14 Thread Svyatoslav Ryhel
Configure PMIC voltages for early stages using updated early i2c write. Tested-by: Thierry Reding # Beaver T30 Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- arch/arm/mach-tegra/tegra30/Kconfig | 8 arch/arm/mach-tegra/tegra30/cpu.c | 36 -

[PATCH v4 11/16] board: tegra124: switch to updated pre-dm i2c write

2023-02-14 Thread Svyatoslav Ryhel
Configure PMIC for early stages using updated i2c write. Tested-by: Thierry Reding # Jetson TK1 T124 Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- board/nvidia/venice2/as3722_init.c | 65 board/nvidia/venice2/as3722_init.h | 43 -

[PATCH v4 10/16] ARM: tegra: create common pre-dm i2c write

2023-02-14 Thread Svyatoslav Ryhel
This implementation allows pwr i2c writing on early SPL stages when DM is not yet setup. Such writing is needed to configure main voltages of PMIC on early SPL for bootloader to boot properly. Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Robert Eckelmann # ASUS TF101 T20

[PATCH v4 09/16] ARM: tegra: add late init support

2023-02-14 Thread Svyatoslav Ryhel
Late init function allows passing values like identifiers and perform device specific configurations of pre-boot stage. Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel --- arch/arm/include/asm/arch-tegra/sys_proto.h |

[PATCH v4 08/16] ARM: tegra: provide default USB gadget setup

2023-02-14 Thread Svyatoslav Ryhel
From: Maxim Schwalm All Nvidia boards use the same manufacturer, vendor ID and product ID for the gadgets. Make them the defaults to remove some boilerplate from the defconfigs. Inspired by commit e02687bda96c ("sunxi: provide default USB gadget setup") which did the same for Allwinner boards.

[PATCH v4 07/16] spi: tegra20_slink: accept any word length

2023-02-14 Thread Svyatoslav Ryhel
Original t20 slink could work with commands only fully divisible by 8. This patch removes such restriction, so commands of any bitlength now can be passed and processed. Tested-by: Andreas Westman Dorcsak # ASUS TF600T T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Tested-by: Thierry Reding #

[PATCH v4 06/16] ARM: tegra: Fix Tegra PWM parent clock

2023-02-14 Thread Svyatoslav Ryhel
Default parent clock for the PWM on Tegra is a 32kHz clock and is unable to support the requested PWM period. Fix PWM support on Tegra20, Tegra30, Tegra114, Tegra124 and Tegra210 by updating the parent clock for the PWM to be the PLL_P. This commit is equivalent to Linux kernel commit:

[PATCH v4 05/16] ARM: tegra30: add PLLD to pll setup

2023-02-14 Thread Svyatoslav Ryhel
On T30 unlike T20 dsi panels are wider used on devices and PLLD is used as DISP1 parent more often, so lets enable it as well for this cases. Tested-by: Andreas Westman Dorcsak # ASUS TF700T T30 Tested-by: Svyatoslav Ryhel # HTC One X T30 Tested-by: Thierry Reding # Beaver T30 Signed-off-by:

[PATCH v4 04/16] ARM: tegra: clock: add clock_decode_pair helper

2023-02-14 Thread Svyatoslav Ryhel
Get periph clock id and its parent from device tree. This works by looking up the peripheral's 'clocks' node and reading out the second and fourth cells, which are the peripheral and PLL clock numbers. Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Robert Eckelmann # ASUS TF101 T20

[PATCH v4 03/16] ARM: tegra: clock: add clk_id_to_pll_id helper

2023-02-14 Thread Svyatoslav Ryhel
This function allows to convert a device tree clock ID to PLL ID. Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Svyatoslav Ryhel # HTC One X Signed-off-by: Svyatoslav Ryhel --- arch/arm/include/asm/arch-tegra/clock.h | 8 ++

[PATCH v4 02/16] ARM: t20/t30: swap host1x and disp1 clock parents

2023-02-14 Thread Svyatoslav Ryhel
According to mainline clock tables and TRM HOST1X parent is PLLC, while DISP1 usually uses PLLP as parent clock. Tested-by: Andreas Westman Dorcsak # ASUS TF T30 Tested-by: Robert Eckelmann # ASUS TF101 T20 Tested-by: Svyatoslav Ryhel # LG P895 T30 Tested-by: Thierry Reding # Beaver T30

[PATCH v4 01/16] tegra30: clock: add EXTPERIPH

2023-02-14 Thread Svyatoslav Ryhel
This mappings were missing for some reason. Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- arch/arm/include/asm/arch-tegra30/clock-tables.h | 6 +++--- arch/arm/mach-tegra/tegra30/clock.c | 6 +++--- 2 files changed, 6

[PATCH v4 00/16] General Tegra improvements

2023-02-14 Thread Svyatoslav Ryhel
List of changes in patch set: - add missing EXTPERIPH clocks for t30 - swap host1x and disp1 clock parents (as they should be) - add clk_id_to_pll_id and clock_decode_pair helpers to use dts deeper (in tegra clocks often go in pair child - parent) - include PLLD setup in T30 (DISP1 may use

Re: imx8mp EQOS regression in dwc_eth_qos,c

2023-02-14 Thread Elmar Psilog
Am 13.02.23 um 22:20 schrieb Marek Vasut: On 2/13/23 22:04, Fabio Estevam wrote: Adding Marek, who has sent some EQOS patches recently. On Mon, Feb 13, 2023 at 6:02 PM Elmar Psilog wrote: Hello, Think I found a regression in EQOS driver with fixed-phy. Maybe someone with a imx8mp board

Re: [PATCH v3 61/95] kconfig: Support writing separate SPL files

2023-02-14 Thread Simon Glass
Hi Tom, On Tue, 14 Feb 2023 at 09:31, Tom Rini wrote: > > On Sun, Feb 12, 2023 at 04:16:04PM -0700, Simon Glass wrote: > > > At present kconfig writes out several files, including: > > > >auto.conf - CONFIG settings used by make > >autoconf.h - header file used by C code > > > > This

Re: [PATCH v3 65/95] omap: Correct an SPL build error with watchdog

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 11:34:47AM -0500, Tom Rini wrote: > On Sun, Feb 12, 2023 at 04:16:08PM -0700, Simon Glass wrote: > > The logic here is strange since the call to hw_watchdog_init() depends on > > CONFIG_HW_WATCHDOG || CONFIG_WATCHDOG but the code it calls is only > > enabled if

Re: [PATCH v3 68/95] socfpga: Use the correct condition for SYS_L2_PL310

2023-02-14 Thread Tom Rini
On Sun, Feb 12, 2023 at 04:16:11PM -0700, Simon Glass wrote: > Update this to use the PPL condition instead, so that nothing changes when > building for SPL with split config. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > arch/arm/mach-socfpga/misc.c | 4 ++-- > 1 file

Re: [PATCH v3 65/95] omap: Correct an SPL build error with watchdog

2023-02-14 Thread Tom Rini
On Sun, Feb 12, 2023 at 04:16:08PM -0700, Simon Glass wrote: > The logic here is strange since the call to hw_watchdog_init() depends on > CONFIG_HW_WATCHDOG || CONFIG_WATCHDOG but the code it calls is only > enabled if !CONFIG_IS_ENABLED(WDT). This seems to work, but with split > config we get a

Re: [PATCH v3 09/95] Correct SPL uses of MULTIPLEXER

2023-02-14 Thread Tom Rini
On Sun, Feb 12, 2023 at 04:15:12PM -0700, Simon Glass wrote: > This converts 3 usages of this option to the non-SPL form, since there is > no SPL_MULTIPLEXER defined in Kconfig > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 61/95] kconfig: Support writing separate SPL files

2023-02-14 Thread Tom Rini
On Sun, Feb 12, 2023 at 04:16:04PM -0700, Simon Glass wrote: > At present kconfig writes out several files, including: > >auto.conf - CONFIG settings used by make >autoconf.h - header file used by C code > > This works well but is a bit ugly in places, for example requiring the use >

Re: [PATCH v3 11/95] Correct SPL use of PHY_CADENCE_SIERRA

2023-02-14 Thread Tom Rini
On Sun, Feb 12, 2023 at 04:15:14PM -0700, Simon Glass wrote: > This converts 1 usage of this option to the non-SPL form, since there is > no SPL_PHY_CADENCE_SIERRA defined in Kconfig > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > drivers/phy/cadence/Makefile | 2 +- > 1

Re: [PATCH v2 0/8] vidconsole: refactoring and support for wider fonts

2023-02-14 Thread Dzmitry Sankouski
Hi, I'll rebase it вт, 14 февр. 2023 г. в 16:14, Simon Glass : > > Hi Dzmitry, > > On Mon, 13 Feb 2023 at 10:03, Dzmitry Sankouski wrote: > > > > Modern mobile phones typically have high pixel density. > > Bootmenu is hardly readable on those with 8x16 font. > > > > This patch series aims to add

RE: [PATCH v3 00/16] General Tegra improvements

2023-02-14 Thread Tom Warren
Usually best to have the original author make sure all of the patches have all the attributes required, so if you wouldn't mind, I'll take v4 when it's ready. Thanks! Tom -Original Message- From: Svyatoslav Ryhel Sent: Tuesday, February 14, 2023 7:15 AM To: Thierry Reding ; Tom

Re: [PATCH v1 1/2] ARM: configs: add bitbang feature for npcm8xx

2023-02-14 Thread Tom Rini
On Tue, Feb 14, 2023 at 04:20:35PM +0800, Jim Liu wrote: > Signed-off-by: Jim Liu > --- > configs/arbel_evb_defconfig | 3 +++ > include/configs/arbel.h | 1 + > 2 files changed, 4 insertions(+) > > diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig > index

Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-02-14 Thread Tom Rini
-- Forwarded message - From: Date: Mon, Feb 13, 2023, 6:50 PM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest report on new defect(s) introduced to Das U-Boot found with Coverity Scan. 2 new defect(s) introduced to Das U-Boot found

Re: [PATCH v3 00/16] General Tegra improvements

2023-02-14 Thread Svyatoslav Ryhel
Thierry, thank you very much for a quick test. Tom, should I amend patches and upload the next iteration of patchset with Thierry's tested-by or, if no more objections/comments there are, you will add Thierry's tested-by on your own? Best regards. Svyatoslav R. вт, 14 лют. 2023 р. о 16:00

Re: [PATCH v3 00/16] General Tegra improvements

2023-02-14 Thread Thierry Reding
On Fri, Feb 03, 2023 at 11:26:24AM +0200, Svyatoslav Ryhel wrote: > List of changes in patch set: > - add missing EXTPERIPH clocks for t30 > - swap host1x and disp1 clock parents (as they should be) > - add clk_id_to_pll_id and clock_decode_pair helpers to use >dts deeper (in tegra clocks

[PATCH 2/2] arm64: Reduce PT size estimation complexity

2023-02-14 Thread Ying-Chun Liu (PaulLiu)
From: Marc Zyngier count_required_pts()'s complexity is high if mappings are not using the largest possible block size (due to some other requirement such as tracking dirty pages, for example). Let's switch to a method that follows the pattern established with the add_map() helper, and make it

[PATCH 1/2] arm64: Reduce add_map() complexity

2023-02-14 Thread Ying-Chun Liu (PaulLiu)
From: Marc Zyngier In the add_map() function, for each level it populates, it iterates from the root of the PT tree, making it ineficient if a mapping needs to occur past level 1. Instead, replace it with a recursive (and much simpler) algorithm that keeps the complexity as low as possible.

[PATCH 0/2] Reduce the complexity of add_map() and count_required_pts()

2023-02-14 Thread Ying-Chun Liu (PaulLiu)
Reduce the complexity of add_map() and count_required_pts() to gain better performance. Marc Zyngier (2): arm64: Reduce add_map() complexity arm64: Reduce PT size estimation complexity arch/arm/cpu/armv8/cache_v8.c | 201 +- 1 file changed, 79 insertions(+),

RE: [PATCH v1 1/1] fpga: zynqmppl: fix fpga loads command for unencrypted use case

2023-02-14 Thread Soma, Ashok Reddy
Acked-by: Ashok Reddy Soma Thanks, Ashok > -Original Message- > From: Neal Frager > Sent: Tuesday, February 14, 2023 6:50 PM > To: u-boot@lists.denx.de; git-dev (AMD-Xilinx) > Cc: Simek, Michal ; Soma, Ashok Reddy > ; Manne, Nava kishore > ; Erkiaga Elorza, Ibai elo...@amd.com>;

[PATCH v1 1/1] fpga: zynqmppl: fix fpga loads command for unencrypted use case

2023-02-14 Thread Neal Frager
When using the fpga loads command, the driver is passing the AES encryption key address is all cases. However, for the authenticated, but not encrypted use case, there is no AES encryption key, and this value is 0. When AES encryption is not used on the fpga bitstream, the pmufw assumes that the

Re: [PATCH v2 0/8] vidconsole: refactoring and support for wider fonts

2023-02-14 Thread Simon Glass
Hi Dzmitry, On Mon, 13 Feb 2023 at 10:03, Dzmitry Sankouski wrote: > > Modern mobile phones typically have high pixel density. > Bootmenu is hardly readable on those with 8x16 font. > > This patch series aims to add wider fonts for devices with high ppi. > > Add 16x32, 12x22 fonts from linux,

[PATCH v2 2/2] riscv: ae350: Adjust the memory layout of ae350

2023-02-14 Thread Leo Yu-Chi Liang
Adjust the initial stack pointer address to 0x1000(256M) Signed-off-by: Leo Yu-Chi Liang --- Change v1 -> v2: * Modify the address from 0x100(16MB) to 0x1000(256MB) --- configs/ae350_rv32_spl_defconfig | 6 +++--- configs/ae350_rv32_spl_xip_defconfig | 6 +++---

[PATCH v2 1/2] riscv: Rename Andes cpu and board names

2023-02-14 Thread Leo Yu-Chi Liang
The current ae350-related defconfigs could also support newer Andes CPU IP, so modify the names of CPU from ax25 to andesv5, and board name from ax25-ae350 to ae350. Signed-off-by: Leo Yu-Chi Liang Reviewed-by: Yu Chien Peter Lin Reviewed-by: Rick Chen --- arch/riscv/Kconfig

Re: [PATCH] efi_loader: update SetVariable attribute check

2023-02-14 Thread Heinrich Schuchardt
On 2/14/23 10:19, Masahisa Kojima wrote: UEFI specification v2.10 says that EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS is deprecated and EFI_UNSUPPORTED should be returned in SetVariable variable service. Current implementation returns EFI_INVALID_PARAMETER, let's fix the return value. Together

Re: [RFC][PATCH] board: rockchip: add Radxa ROCK5B Rk3588 board

2023-02-14 Thread Jonas Karlman
Hi Eugen, On 2023-02-14 11:26, Eugen Hristev wrote: > On 2/6/23 14:14, Jonas Karlman wrote: >> Hi Eugen, >> On 2023-02-06 12:59, Eugen Hristev wrote: >>> ROCK 5B is a Rockchip RK3588 based SBC (Single Board Computer) by Radxa. >>> >>> There are tree variants depending on the DRAM size : 4G, 8G

Re: [PATCH v3 01/95] mtd: Drop unused kb9202_nand driver

2023-02-14 Thread Michael Nazzareno Trimarchi
Hi Simon On Mon, Feb 13, 2023 at 12:17 AM Simon Glass wrote: > > This is not used since time out of mind. > > Drop the driver and Kconfig option. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > drivers/mtd/nand/raw/Makefile | 1 - > drivers/mtd/nand/raw/kb9202_nand.c

Re: [PATCH] mtd: spinand: Fix display of unknown raw ID

2023-02-14 Thread Michael Nazzareno Trimarchi
Hi On Tue, Feb 14, 2023 at 9:14 AM Frieder Schrempf wrote: > > On 13.02.23 18:30, Patrice Chotard wrote: > > In case ID is not found in manufacturer table, the raw ID is > > printed using %*phN format which is not supported by lib/vsprintf.c. > > The information displayed doesn't reflect the raw

  1   2   >