[GIT PULL] Please pull u-boot-pmic master

2022-07-26 Thread Jaehoon Chung
: Merge tag 'u-boot-imx-20220726' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2022-07-26 10:26:00 -0400) are available in the Git repository at: g...@source.denx.de:u-boot/custodians/u-boot-pmic.git master for you to fetch changes up to 67b5663d771121b3d606fc3346dc83024618448

Please pull u-boot-dm

2022-07-26 Thread Simon Glass
Hi Tom, Build here: https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/12903 The following changes since commit 6e15cda270a060cf87c6c643a1cc3da65ffb242d: Prepare v2022.10-rc1 (2022-07-25 20:31:12 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git t

Re: [PATCH v10 00/10] enable menu-driven UEFI variable maintenance

2022-07-26 Thread Takahiro Akashi
On Wed, Jul 27, 2022 at 10:08:00AM +0900, Takahiro Akashi wrote: > On Fri, Jul 22, 2022 at 11:45:49AM +0300, Ilias Apalodimas wrote: > > Hi Kojima-san, > > > > On Fri, 22 Jul 2022 at 05:36, Masahisa Kojima > > wrote: > > > > > > This series adds the menu-driven UEFI boot variable maintenance > >

Re: [PATCH v10 00/10] enable menu-driven UEFI variable maintenance

2022-07-26 Thread Takahiro Akashi
On Fri, Jul 22, 2022 at 11:45:49AM +0300, Ilias Apalodimas wrote: > Hi Kojima-san, > > On Fri, 22 Jul 2022 at 05:36, Masahisa Kojima > wrote: > > > > This series adds the menu-driven UEFI boot variable maintenance > > through the "eficonfig" new command. > > This series also adds the removable me

[RFC PATCH 2/2] cmd/fru: add product info area parsing support

2022-07-26 Thread Jae Hyun Yoo
Add product info area parsing support. Signed-off-by: Jae Hyun Yoo --- common/fru_ops.c | 134 ++- include/fru.h| 22 2 files changed, 155 insertions(+), 1 deletion(-) diff --git a/common/fru_ops.c b/common/fru_ops.c index 0c5e264226ed..

[RFC PATCH 1/2] cmd/fru: cmd/fru: move FRU handling support to common region

2022-07-26 Thread Jae Hyun Yoo
From: Graeme Gregory The FRU handling was added as a Xilinx board dependent support but it would be useful for other boards too, so this commit moves the FRU handling support to the common region to be enabled by CONFIG_CMD_FRU. Since the Multirecord parsing logic should be implemented on each OE

[RFC PATCH 0/2] cmd/fru: move FRU handling support to common region

2022-07-26 Thread Jae Hyun Yoo
Hello, The FRU handling was added as a Xilinx board dependent support but it would be useful for other boards too, so this commit moves the FRU handling support to the common region to be enabled by CONFIG_CMD_FRU. Since the Multirecord parsing logic should be implemented on each board specificall

SiFive Unmatched (riscv64), hang scanning xhci_pci

2022-07-26 Thread Alex
Somewhere between e7fb67df319cec410c20906bbf33936a6f7479b2 and 86feeab3dc71977afb70f595e42060ce324086d0 u-boot stopped booting on the SiFive unmatched. gcc version 11.2.0 (GCC) GNU ld (GNU Binutils) 2.36.1 First boot... U-Boot SPL 2022.10-rc1-00159-g86feeab3dc (Jul 26 2022 - 17:01:52 -050

Re: [PATCH] boot: allow bootmeth-distro without CONFIG_NET

2022-07-26 Thread Simon Glass
Hi John, On Thu, 21 Jul 2022 at 10:56, John Keeping wrote: > > Remove the dependency on CMD_PXE from BOOTMETH_DISTRO by introducing a > new hidden kconfig symbol to control whether pxe_utils is compiled, > allowing bootstd's distro method to be compiled without needing > networking support enable

Re: Replace make-fit-atf.py with binman. Was: migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-26 Thread Simon Glass
Hi Quentin, On Tue, 26 Jul 2022 at 03:08, Quentin Schulz wrote: > > Hi Xavier, > > On 7/25/22 19:33, Xavier Drudis Ferran wrote: > > El Mon, Jul 25, 2022 at 07:29:53PM +0200, Xavier Drudis Ferran deia: > >> > >> I copy here the rockchip-u-boot.dtsi file and then 2 patches on top of > >> yours. >

Re: Replace make-fit-atf.py with binman. Was: migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-26 Thread Simon Glass
kHi Xavier, On Tue, 26 Jul 2022 at 13:08, Xavier Drudis Ferran wrote: > > El Tue, Jul 26, 2022 at 11:08:21AM +0200, Quentin Schulz deia: > > > > You could also have a fit,align = <8>; property instead of hardcoding it. > > I'm not sure the fit entry in binman heeds this property, may have > overl

Re: [PATCH/RFC] rockchip: derive GPIO bank from alias if available

2022-07-26 Thread Simon Glass
Hi John, On Tue, 26 Jul 2022 at 10:25, John Keeping wrote: > > Upstream device trees now use standard node names like "gpio@ff..." but > the rk_gpio driver expects a name like "gpio0@ff..." (note the index > before the @). > > This is not a change that can be made in a -u-boot.dtsi file, so > upd

Re: Build with CONFIG_TOOLS_LIBCRYPTO disabled is broken

2022-07-26 Thread Simon Glass
Hi Alexander, On Tue, 26 Jul 2022 at 02:27, Alexander Dahl wrote: > > Hei hei, > > once again I tried building U-Boot with CONFIG_TOOLS_LIBCRYPTO disabled and > with no libssl-dev installed on the build machine. It does not work. > > Even porting the patch disabling the build with kwbimage (see l

Re: [PATCH v2] Provide more details of exactly how configuration signatures are calculated

2022-07-26 Thread Simon Glass
On Mon, 25 Jul 2022 at 01:46, Martin Bonner wrote: > > Describe exactly which bytes are hashed and in what order > when signing a configuration. > > Signed-off-by: Martin Bonner > --- > doc/uImage.FIT/signature.txt | 26 ++ > 1 file changed, 26 insertions(+) Reviewed-by:

Re: [PATCH 1/1] dm: avoid NULL dereference in add_item()

2022-07-26 Thread Simon Glass
On Sun, 10 Jul 2022 at 07:40, Heinrich Schuchardt wrote: > > acpi_add_other_item() passes dev = NULL. Instead of dev->name write the > string "other" to the debug log: > > ACPI: Writing ACPI tables at 1fd3000 > 0base: writing table '' > * other: Added type 3, 11fd4000, size 240

Re: [PATCH 2/4] test: fix log tests

2022-07-26 Thread Simon Glass
On Mon, 11 Jul 2022 at 00:21, Heinrich Schuchardt wrote: > > Consider CONFIG_LOG_MAX_LEVEL and gd->default_log_level in > > * do_log_test_helpers() > * log_test_dropped() > * log_test_level_deny() > > Signed-off-by: Heinrich Schuchardt > --- > test/log/log_test.c | 11 +++ > 1 file chang

Re: [PATCH 4/4] configs: sandbox_defconfig: CONFIG_LOG_MAX_LEVEL=9

2022-07-26 Thread Simon Glass
On Mon, 11 Jul 2022 at 00:21, Heinrich Schuchardt wrote: > > Without setting CONFIG_LOG_MAX_LEVEL to a value above 6 we will not detect > NULL dereferences and other errors in log_debug() calls. > > Signed-off-by: Heinrich Schuchardt > --- > Resent > --- > configs/sandbox_defconfig | 2 ++ > 1 f

Re: Replace make-fit-atf.py with binman. Was: migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-26 Thread Xavier Drudis Ferran
El Tue, Jul 26, 2022 at 09:08:25PM +0200, Xavier Drudis Ferran deia: > want u-boot.itb it runs binman -a of-list="rk3399-rock-pi-4b.dts > rockchip-itb-u-boot.dts" Sorry. I mistook the parameter. That would only generate two config entries and 2 fdts in the .itb image. We could use some includes

Re: [PATCH 3/4] dm: avoid NULL dereference in lists_bind_fdt()

2022-07-26 Thread Simon Glass
On Mon, 11 Jul 2022 at 00:21, Heinrich Schuchardt wrote: > > If parameter drv of lists_bind_fdt() is specified, we want to bind to this > specific driver even if its field of_match is NULL. > > If entry->of_match is NULL, we should not dereference it in a debug > statement. > > Fixes: d3e773613b6d

Re: [PATCH 1/1] dm: fix logic of lists_bind_fdt()

2022-07-26 Thread Simon Glass
On 7/12/22 12:58, Simon Glass wrote: > Hi Heinrich, > > On Mon, 11 Jul 2022 at 00:25, Heinrich Schuchardt > wrote: >> >> If parameter drv of lists_bind_fdt() is specified, we shall bind only to >> this very driver and to no other. >> >> If the driver drv has an of_match property, we shall only bin

Re: [PATCH v2] log: force DEBUG when LOG_DEBUG is activated

2022-07-26 Thread Simon Glass
When CONFIG_LOG is activated, if LOG_DEBUG is defined in a file and DEBUG is not defined the trace with debug() macro are not displayed, because the parameter cond : _DEBUG = 0 is checked in debug_cond(). With this patch the define DEBUG, used to force the trace generated by debug() macro, is link

Re: [PATCH] binman: Increase default fitImage data section resize step from 1k to 64k

2022-07-26 Thread Simon Glass
On Tue, 12 Jul 2022 at 11:41, Marek Vasut wrote: > > Currently the fitImage data area is resized in 1 kiB steps. This works > when bundling smaller images below some 1 MiB, but when bundling large > images into the fitImage, this make binman spend extreme amount of time > and CPU just spinning in

Re: [PATCH 1/3] addrmap: Support on sandbox

2022-07-26 Thread Simon Glass
Update this feature so that it works on sandbox, using a basic identity mapping. This allows us to run the 'ut addrmap' test. Also fix up the test to use the correct macros to access the linker list, so that the 'ut addrmap' command actually works. Signed-off-by: Simon Glass --- board/sandbox/

Re: [PATCH 3/3] doc: Make a start on docs for fdt command

2022-07-26 Thread Simon Glass
Add some information about the 'fdt addr' subcommand, to get things started. Signed-off-by: Simon Glass --- doc/usage/cmd/fdt.rst | 69 +++ doc/usage/index.rst | 1 + 2 files changed, 70 insertions(+) create mode 100644 doc/usage/cmd/fdt.rst Applied

Re: [PATCH 2/3] fdt: Start a test for the fdt command

2022-07-26 Thread Simon Glass
Add a basic test of the 'fdt addr' command, to kick things off. This includes a new convenience function to run a command from a printf() string. Signed-off-by: Simon Glass --- common/cli.c | 15 + include/command.h | 10 +++ include/test/suites.h | 1 + test/cmd/Makefile

Re: [PATCH v4] patman: By default don't pass "--no-tree" to checkpatch for linux

2022-07-26 Thread Simon Glass
On Tue, 19 Jul 2022 at 16:00, Douglas Anderson wrote: > > When you pass "--no-tree" to checkpatch it disables some extra checks > that are important for Linux. Specifically I want checks like: > > warning: DT compatible string "boogie,woogie" appears un-documented > check ./Documentation/devic

Re: [PATCH] dm: fix mis-word in SPL_DM description

2022-07-26 Thread Simon Glass
On Wed, 13 Jul 2022 at 10:42, Oleksandr Suvorov wrote: > > Replace logically correct word in the description. > > Fixes: 91a91ff804d ("dm: Add Kconfig options for driver model SPL support") > Signed-off-by: Oleksandr Suvorov > --- > > drivers/core/Kconfig | 2 +- > 1 file changed, 1 insertion(+)

Re: [SPAM] Re: Replace make-fit-atf.py with binman. Was: migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-26 Thread Xavier Drudis Ferran
El Tue, Jul 26, 2022 at 09:15:10PM +0200, Jerome Forissier deia: > > > I'm sending a patch below that adds a couple of configuration properties to > > binman so that split-elf can fill the properties. How many segments are > > in bl31.elf or optee is not something that we have in CONFIGs, I thi

Re: Replace make-fit-atf.py with binman. Was: migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-26 Thread Jerome Forissier
On 7/26/22 21:08, Xavier Drudis Ferran wrote: > El Tue, Jul 26, 2022 at 11:08:21AM +0200, Quentin Schulz deia: >> >> You could also have a fit,align = <8>; property instead of hardcoding it. > > I'm not sure the fit entry in binman heeds this property, may have > overlooked something. I'd have

Re: Replace make-fit-atf.py with binman. Was: migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-26 Thread Xavier Drudis Ferran
El Tue, Jul 26, 2022 at 11:08:21AM +0200, Quentin Schulz deia: > > You could also have a fit,align = <8>; property instead of hardcoding it. I'm not sure the fit entry in binman heeds this property, may have overlooked something. I'd have to try it. > The issue is that this flag seems to be adde

Re: Pull request: u-boot-imx u-boot-imx-20220726

2022-07-26 Thread Tom Rini
://source.denx.de/u-boot/custodians/u-boot-nand-flash (2022-07-24 > 07:46:55 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20220726 > > for you to fetch changes up to e29303993bad6c94954da

Re: [PATCH 0/9] Add DM support for atmel NAND driver

2022-07-26 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jul 20, 2022 at 9:56 AM Michael Nazzareno Trimarchi wrote: > > Hi > > On Wed, Jul 20, 2022 at 9:40 AM wrote: > > > > On 7/19/22 13:46, Balamanikandan Gunasundar wrote: > > > This patch series adds support for NAND flash. The series adds DM > > > support and replaces the existing NAND

[PATCH/RFC] rockchip: derive GPIO bank from alias if available

2022-07-26 Thread John Keeping
Upstream device trees now use standard node names like "gpio@ff..." but the rk_gpio driver expects a name like "gpio0@ff..." (note the index before the @). This is not a change that can be made in a -u-boot.dtsi file, so updating to the latest upstream device trees requires updating the driver. W

Re: [PATCH] fastboot: release usb_gadget on reboot commands

2022-07-26 Thread Mattijs Korpershoek
Hi Marek, On Tue, Jul 26, 2022 at 15:36, Marek Vasut wrote: > On 7/26/22 10:25, Mattijs Korpershoek wrote: > [...] > implementation, which would cover all such odd states for every other > USB UDC mode of operation, not just fastboot ? Implementing a platform_reset to reset the

Re: Pull request: u-boot-imx u-boot-imx-20220726

2022-07-26 Thread Stefano Babic
-boot-imx.git tags/u-boot-imx-20220726 for you to fetch changes up to e29303993bad6c94954da7d5cd92b1d36cf2c80b: imx: imx8mm-icore: migrate to use BINMAN (2022-07-26 11:29:02 +0200) ---- u-boot-imx-20220726 --- i.MX fo

Re: Pull request: u-boot-imx u-boot-imx-20220726

2022-07-26 Thread Michael Nazzareno Trimarchi
> > > > > >Merge commit '90ba25b7cb78bd85c6af0b6429226c6616dedefa' of > > > https://source.denx.de/u-boot/custodians/u-boot-nand-flash (2022-07-24 > > > 07:46:55 -0400) > > > > > > are available in the Git repository at: >

Re: Pull request: u-boot-imx u-boot-imx-20220726

2022-07-26 Thread Tom Rini
e following changes since commit 538f6643b07586301a115d7aae304f916ba71004: > > > >Merge commit '90ba25b7cb78bd85c6af0b6429226c6616dedefa' of > > https://source.denx.de/u-boot/custodians/u-boot-nand-flash (2022-07-24 > > 07:46:55 -0400) > > > > are available in

Re: [GIT PULL] xilinx patches for v2022.10-rc2

2022-07-26 Thread Tom Rini
On Tue, Jul 26, 2022 at 01:20:52PM +0200, Michal Simek wrote: > Hi Tom, > > please pull the following patches to your tree. CI loop doesn't show any > problem. > > Thanks, > Michal > > The following changes since commit 6e15cda270a060cf87c6c643a1cc3da65ffb242d: > > Prepare v2022.10-rc1 (202

Re: [PATCH v4 2/3] drivers: tee: optee: discover OP-TEE services

2022-07-26 Thread Etienne Carriere
Hello, On Fri, 8 Jul 2022 at 16:56, Tom Rini wrote: > > On Fri, Jun 17, 2022 at 05:36:52PM +0200, Etienne Carriere wrote: > > > This change defines resources for OP-TEE service drivers to register > > themselves for being bound to when OP-TEE firmware reports the related > > service is supported.

[PATCH v5 3/3] drivers: rng: optee_rng: register to CONFIG_OPTEE_SERVICE_DISCOVERY

2022-07-26 Thread Etienne Carriere
Changes optee_rng driver to register itself has a OP-TEE service so that a device is bound for the driver when OP-TEE enumerates the PTA RNG service. Cc: Sughosh Ganu Cc: Patrick Delaunay Signed-off-by: Etienne Carriere Reviewed-by: Patrick Delaunay --- No change since v4. Changes since v3: -

[PATCH v5 2/3] drivers: tee: optee: discover OP-TEE services

2022-07-26 Thread Etienne Carriere
This change defines resources for OP-TEE service drivers to register themselves for being bound to when OP-TEE firmware reports the related service is supported. OP-TEE services are discovered during optee driver probe sequence which mandates optee driver is always probe once bound. Discovery of o

[PATCH v5 1/3] drivers: tee: optee: remove unused probe local variable

2022-07-26 Thread Etienne Carriere
Removes local variable child in optee_probe() that is not used. Cc: Patrick Delaunay Reviewed-by: Patrick Delaunay Signed-off-by: Etienne Carriere --- - No change since v4 Changes since v3: - Applied Patrick's R-b tag. No change since v2. New change not in v1 series. --- drivers/tee/optee/c

Re: Pull request: u-boot-imx u-boot-imx-20220726

2022-07-26 Thread Michael Nazzareno Trimarchi
: > >Merge commit '90ba25b7cb78bd85c6af0b6429226c6616dedefa' of > https://source.denx.de/u-boot/custodians/u-boot-nand-flash (2022-07-24 > 07:46:55 -0400) > > are available in the Git repository at: > >https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > t

Pull request: u-boot-imx u-boot-imx-20220726

2022-07-26 Thread Stefano Babic
in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20220726 for you to fetch changes up to e29303993bad6c94954da7d5cd92b1d36cf2c80b: imx: imx8mm-icore: migrate to use BINMAN (2022-07-26 11:2

[PATCH 4/4] cmd: mvebu/bubt: Fix cmd main return value on error

2022-07-26 Thread Pali Rohár
Negative return value from cmd main function cause U-Boot to print criplic error message: exit not allowed from main input shell. Set return value on error to 1. Signed-off-by: Pali Rohár --- cmd/mvebu/bubt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/mve

[PATCH 2/4] cmd: mvebu/bubt: Correctly propagate failure during tftp transport

2022-07-26 Thread Pali Rohár
net_loop() returns signed int type and negative value represents error. tftp_read_file() returns unsigned size_t type and zero value represents error. Casting signed negative value to unsigned size_t type cause losing information about error and bubt thinks that no error happened, and continue eras

[PATCH 0/4] cmd: mvebu/bubt: Improvements for image verification

2022-07-26 Thread Pali Rohár
This patch series improves verification of bootable Marvell Armada images in U-Boot bubt command before flashing into boot location. Pali Rohár (4): cmd: mvebu/bubt: Verify image type for all 32-bit Aramda SoCs and Armada 3700 cmd: mvebu/bubt: Correctly propagate failure during tftp transp

[PATCH 3/4] cmd: mvebu/bubt: Add support for sha512 checksum validation for Armada 3700

2022-07-26 Thread Pali Rohár
Armada 3700 BootROM supports also images with sha512 checksums and mox-imager tool [1] generates such bootable images. Without sha512 support U-Boot bubt command just prints error message: Error: Unsupported hash_algorithm_id = 64 Error: Image header verification failed This patch adds suppor

[PATCH 1/4] cmd: mvebu/bubt: Verify image type for all 32-bit Aramda SoCs and Armada 3700

2022-07-26 Thread Pali Rohár
Current image type verification code is specific to 32-bit Armada SoCs but used only for Armada 38x. Implement image type verification for Armada 3700 and enable Armada 38x image verification for all 32-bit Armada SoCs. Signed-off-by: Pali Rohár --- cmd/mvebu/bubt.c | 74

[PATCH V2 06/53] imx: move get_boot_device to common header

2022-07-26 Thread sbabic
> From: Peng Fan > Most i.MX implements get_boot_device, move it to common header to > simplify code > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH V2 09/53] imx: add basic i.MX9 support

2022-07-26 Thread sbabic
> From: Peng Fan > Add i.MX9 Kconfig and basic files for the new SoC > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wo

[PATCH V2 17/53] imx: imx9: disable watchdog

2022-07-26 Thread sbabic
> From: Ye Li > Disable all 3 wdogs on AIPS2 and unmask SRC reset trigger for WDOG3-5 > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Eng

[PATCH V2 27/53] misc: S400_API: Rename imx8ulp_s400_msg to sentinel_msg

2022-07-26 Thread sbabic
> From: Ye Li > Use more generic name for S40x msg structure > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Manag

[PATCH V2 47/53] net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr

2022-07-26 Thread sbabic
> From: Peng Fan > i.MX has specific hook to get MAC address, so introduce a hook and move > i.MX code to its own driver > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX S

[PATCH V2 32/53] imx: imx9: Add MIX power init

2022-07-26 Thread sbabic
> From: Peng Fan > Add power init of MEDIAMIX, MLMIX and DDRMIX. And clear isolation > of MIPI DSI/CSI, USBPHY after the power up. > SPL should call the power init in its boot sequence before accessing > above three MIX and USB. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! B

[PATCH V2 26/53] imx: imx9: Get the chip revision through S400 API

2022-07-26 Thread sbabic
> From: Peng Fan > Update the get chip revision methond to use S400 API, also record > other information like lifecycle and UID to global data. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH V2 04/53] imx: spl: Allow iMX7/8/8M to overwrite spl_board_boot_device

2022-07-26 Thread sbabic
> From: Ye Li > Move the default mapping of spl_boot_device to weak function of > spl_board_boot_device. So that every board of iMX7/8/8M can overwrite > this function to implement specific mapping. > Reviewed-by: Peng Fan > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx,

[PATCH V2 38/53] ddr: imx9: enable Performance monitor counter

2022-07-26 Thread sbabic
> From: Ye Li > Add Kconfig for enabling reference events counter in DDRC performance > monitor by default > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH V2 31/53] imx: imx9: Add gpio registers structure

2022-07-26 Thread sbabic
> From: Ye Li > Add GPIO registers structure for iMX93, so that we can enable lpgpio > driver > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Soft

[PATCH V2 53/53] imx: imx8mm-icore: migrate to use BINMAN

2022-07-26 Thread sbabic
> From: Peng Fan > Use BINMAN instead of imx specific packing method. > Signed-off-by: Peng Fan > Reviewed-by: Alper Nebi Yasak Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineerin

[PATCH V2 15/53] spl: Use SPL_FIT_IMAGE_TINY for iMX9

2022-07-26 Thread sbabic
> From: Peng Fan > Select SPL_FIT_IMAGE_TINY for i.MX9 > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HR

[PATCH V2 40/53] imx: imx93_evk: Add basic board support

2022-07-26 Thread sbabic
> From: Peng Fan > Add basic board codes and defconfig for i.MX93 11x11 EVK board. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engine

[PATCH V2 18/53] imx: imx9: support romapi

2022-07-26 Thread sbabic
> From: Peng Fan > i.MX9 shares same ROM API with i.MX8ULP, so make the i.MX8ULP the function > prototype common and usable by i.MX9. > Also include mmc env functions that use ROM API. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 02/53] arm: makefile: cleanup mach-imx usage

2022-07-26 Thread sbabic
> From: Peng Fan > All the SoCs use mach-imx has CONFIG_MACH_IMX selected, so > the macro could be the gate to build arch/arm/mach-imx to simplify > the rules. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH] configs: imx8mp_venice: remove unnecessary FEC_QUIRK_ENET_MAC

2022-07-26 Thread sbabic
> FEC_QUIRK_ENET_MAC is defined in the imx-regs.h include file and thus > does not need to be defined in the various board config includes. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 52/53] arm: dts: imx8m: shrink ddr firmware size to actual file size

2022-07-26 Thread sbabic
> From: Peng Fan > After we switch to use BINMAN_SYMBOLS, there is no need to pad > the file size to 0x8000 and 0x4000. After we use BINMAN_SYMBOLS, > the u-boot-spl-ddr.bin shrink about 36KB with i.MX8MP-EVK. > Tested-by: Tim Harvey #imx8m[m,n,p]-venice > Signed-off-by: Peng Fan > Reviewed-by:

[PATCH V2 12/53] imx: pinctrl: add pinctrl and pinfunc file for i.MX93

2022-07-26 Thread sbabic
> From: Peng Fan > Add the pinctrl driver and pinfunc header file to support iMX93 > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managin

[PATCH V2 14/53] mmc: fsl_esdhc_imx: Support i.MX9

2022-07-26 Thread sbabic
> From: Peng Fan > Support i.MX9 for fsl_esdhc_imx driver > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk

[PATCH V2 20/53] misc: s4mu: Support iMX93 with Sentinel MU

2022-07-26 Thread sbabic
> From: Peng Fan > Support iMX93 communicate with Sentinel > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Den

[PATCH V2 36/53] imx: imx9: clock: Add DDR clock support

2022-07-26 Thread sbabic
> From: Ye Li > Implement the DDR driver clock interfaces for set DDR rate and > bypass DDR PLL > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX So

[PATCH V2 24/53] imx: imx9: Add TRDC driver for TRDC init

2022-07-26 Thread sbabic
> From: Ye Li > Add TRDC driver to iMX9. The TRDC init splits to two phases: > 1. Early init phase will release TRDC from Sentinel and open write >permission to the memory where SPL image runs. Sentinel will set >the memory to RX only after ROM authentication for the OEM >closed part.

[PATCH V2 46/53] net: eqos: add function to get phy node and address

2022-07-26 Thread sbabic
> From: Ye Li > Since new atheros PHY driver needs to access its PHY node through > phy device, we have to assign the phy node in ethernet controller > driver. Otherwise the PHY driver will fail to get some nodes > and properties. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boo

[PATCH V2 03/53] imx: Change USB boot device type

2022-07-26 Thread sbabic
> From: Ye Li > The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from > USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 49/53] tools: image: support i.MX93

2022-07-26 Thread sbabic
> From: Peng Fan > Support build i.MX93 container image with mkimage > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wo

[PATCH V2 13/53] imx: imx9: Add CCM and clock API support

2022-07-26 Thread sbabic
> From: Peng Fan > Add clock API to support CCM root clock and LPCG setting > Set the CCM AUTHEN register to allow non-secure world to set > root clock and lpcg. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH V2 44/53] net: dwc_eth_qos: public some functions

2022-07-26 Thread sbabic
> From: Peng Fan > Move macros and structures to header file and make some functions > public, so that could used by other files, this is to > prepare split platform specific config to one file. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH V2 07/53] imx: move get_boot_device to common file

2022-07-26 Thread sbabic
> From: Peng Fan > i.MX8MN/P/ULP supports ROM API, they have almost same get_boot_device > implementation, so move to a common file. And when support i.MX9, > no need to include the other function copy. > Since sys_proto.h is included in imx_romapi.c, there will be build > warning for i.MX8M becau

[PATCH V2 50/53] arm: dts: imx8m: update binman ddr firmware node name

2022-07-26 Thread sbabic
> From: Peng Fan > We are migrating to use binman symbols, the current names are > inconsistent across different boards, so unify them. > Also add `type = "blob-ext";`, since the new names are not valid binman > types. > Tested-by: Tim Harvey #imx8m[m,n,p]-venice > Signed-off-by: Peng Fan > Revi

[PATCH V2 45/53] net: dwc_eth_qos: move i.MX code out

2022-07-26 Thread sbabic
> From: Peng Fan > Move i.MX code to a standalone file to make it easy for adding new > platform support > Reviewed-by: Ramon Fried > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 01/53] spl: imx8mm: enlarge SPL_MAX_SIZE

2022-07-26 Thread sbabic
> From: Peng Fan > The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE > set to 0x7E1000. > The DDR firmware max uses 96KB, there is a 4KB padding header before > SPL_TEXT_BASE, so the SPL MAX SIZE is `256KB - 96KB - 4KB`. > Signed-off-by: Peng Fan > Reviewed-by: Fabio Estevam

[PATCH V2 19/53] misc: imx: S400_API: Move S400 MU and API to a common place

2022-07-26 Thread sbabic
> From: Ye Li > Since iMX9 uses S401 which shares the API with iMX8ULP. So move S400 > MU driver and API to a common place and selected by CONFIG_IMX_SENTINEL > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH V2 48/53] board: freescale: imx93_evk: support ethernet

2022-07-26 Thread sbabic
> From: Peng Fan > Add ethernet support > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich

[PATCH V2 42/53] net: fec_mxc: support i.MX93

2022-07-26 Thread sbabic
> From: Peng Fan > Support i.MX93 in fec_mxc driver > Reviewed-by: Ramon Fried > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing D

[PATCH V2 25/53] imx: imx9: Add AHAB boot support

2022-07-26 Thread sbabic
> From: Ye Li > Add AHAB driver for iMX9 to do authentication by calling sentinel API > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Eng

[PATCH V2 37/53] ddr: imx: Add i.MX9 DDR controller driver

2022-07-26 Thread sbabic
> From: Ye Li > Since i.MX9 uses same DDR PHY with i.MX8M, split the DDRPHY to a common > directory under imx, then use dedicated ddr controller driver for each > iMX9 and iMX8M. > The DDRPHY registers are space compressed, so it needs conversion to > access the DDRPHY address. Introduce a common

[PATCH V2 11/53] gpio: pca953x: support pcal6524

2022-07-26 Thread sbabic
> From: Peng Fan > Support pcal6524 IO expander driver > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HR

[PATCH 1/1] configs: imx8mm-cl-iot-gate: enable extension command

2022-07-26 Thread sbabic
> For imx8mm-cl-iot-gate we can use extension command to scan > extension boards attached on the mainboard. We enable the > extension command by default for users to detect the extension > boards. > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: NXP i.MX U-B

[PATCH V2 16/53] imx: imx9: Add function to initialize timer

2022-07-26 Thread sbabic
> From: Jian Li > Add timer_init to update ARM arch timer with correct frequency > from system counter and enable system counter. > Signed-off-by: Jian Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH V2 33/53] imx: imx9: Add M33 release prepare function

2022-07-26 Thread sbabic
> From: Peng Fan > To support on-demand booting M33 image from A core. SPL needs > to follow M33 kick up sequence to release M33 firstly, > then set M33 CPUWAIT signal. ATF will clear CPUWAIT to kick > M33 to run. > The prepare function also works around the M33 TCM ECC issue by > clean the TCM. A

[PATCH V2 29/53] misc: fuse: support to access fuse on i.MX93

2022-07-26 Thread sbabic
> From: Alice Guo > i.MX93 fuse can be accessed through FSB and s400-api. Add mapping tables > for i.MX93. The offset address of FSB accessing OTP shadow registers is > different between i.MX8ULP and i.MX93, so use macro to define the offset > address instead of hardcode. > Signed-off-by: Alice Gu

[PATCH V2 34/53] imx: imx9: Support booting m33 from Acore

2022-07-26 Thread sbabic
> From: Peng Fan > Add bootaux command to support on-demand booting M33 from u-boot. > It kicks M33 via ATF by "bootaux 0x201e 0" > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH V2 10/53] fsl_lpuart: add i.MX9 support

2022-07-26 Thread sbabic
> From: Peng Fan > i.MX9 shares same register layout as i.MX7ULP, so > add the i.MX9 define here. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering Gmb

[PATCH V2 39/53] arm: dts: Add i.MX93 SoC DTSi file

2022-07-26 Thread sbabic
> From: Peng Fan > Add the DTSi file and DT header files for i.MX93 SoC > Signed-off-by: Ye Li > Signed-off-by: Alice Guo > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DEN

[PATCH V2 23/53] misc: s400_api: introduce ahab_release_m33_trout

2022-07-26 Thread sbabic
> From: Peng Fan > Introduce Sentinel API ahab_release_m33_trout to make sure sentinel > release M33 trout and make sure M33 could boot. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 28/53] misc: imx8ulp: move fuse.c from imx8ulp to sentinel

2022-07-26 Thread sbabic
> From: Alice Guo > The i.MX93 platform wants to reuse drivers/misc/imx8ulp/fuse.c. Moving > fuse.c from the folder imx8ulp to sentinel makes it can be used by other > platforms. > Signed-off-by: Alice Guo > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano B

[PATCH V2 51/53] ddr: imx8m: helper: load ddr firmware according to binman symbols

2022-07-26 Thread sbabic
> From: Peng Fan > By reading binman symbols, we no need hard coded IMEM_LEN/DMEM_LEN after > we update the binman dtsi to drop 0x8000/0x4000 length for the firmware. > And that could save binary size for many KBs. > Tested-by: Tim Harvey #imx8m[m,n,p]-venice > Signed-off-by: Peng Fan > Reviewed

[PATCH V2 43/53] net: dwc_eth_qos: fix build break when CLK not enabled

2022-07-26 Thread sbabic
> From: Peng Fan > When CONFIG_CLK is not enabled, there will be buil break: > "error: ‘eqos’ undeclared (first use in this function)" > Take eqos definition out the CONFIG_CLK ifdef. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH V2 05/53] imx: simplify dependency with SPL_BOOTROM_SUPPORT

2022-07-26 Thread sbabic
> From: Peng Fan > For SoCs support ROM API, CONFIG_SPL_BOOTROM_SUPPORT is needed, > so use this macro to guard the code to avoid extend the list. > And drop the guard with structure definition, there is no need. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Ste

[PATCH V2 30/53] misc: fuse: update the code for accessing fuse of i.MX93

2022-07-26 Thread sbabic
> From: Alice Guo > Sentinel have read access of OTP shadow register 0-511, and fsb have > read access of shadow 0-51/312-511. > Reviewed-by: Ye Li > Signed-off-by: Alice Guo > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH V2 21/53] misc: S400_API: Update release RDC API

2022-07-26 Thread sbabic
> From: Ye Li > To support more RDC instances on i.MX93, update API to latest > definition. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Softwa

  1   2   >