RE: [PATCH resend 1/2] imx: imx8mq: default select CLK_IMX8MQ

2022-06-02 Thread Peng Fan (OSS)
Stefano, > Subject: [PATCH resend 1/2] imx: imx8mq: default select CLK_IMX8MQ This patch is needed as a bugfix, please consider pick up. Thanks, Peng. > > From: Peng Fan > > Since the power domain driver default select CONFIG_CLK, so we will meet lots > failures without CLK_IMX8MQ, so defaul

RE: [PATCH] boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN

2022-06-02 Thread Peng Fan
Tom, > Subject: [PATCH] boot: image-pre-load: drop unused CONFIG_SYS_BOOTM_LEN You gave an R-b, but still not pick this up? Thanks, Peng. > > From: Peng Fan > > CONFIG_SYS_BOOTM_LEN is not used in this file, drop it. > > Signed-off-by: Peng Fan > --- > boot/image-pre-load.c | 5 - > 1

RE: [PATCH 0/8] arm64: binman: use binman symbols for imx

2022-06-02 Thread Peng Fan
> Subject: [PATCH 0/8] arm64: binman: use binman symbols for imx Sorry I missed to add V6 in patchset subject, but I do add V6 changelog below, please raise if you have concern, and I could resend with V6 in patch subject. Thanks, Peng. > > From: Peng Fan > > V6: > Drop no-u-boot-any introdu

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

2022-06-02 Thread Peng Fan (OSS)
From: Peng Fan Use BINMAN instead of imx specific packing method. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 1 + arch/arm/mach-imx/imx8m/imximage-8mm-lpddr4.cfg | 10 +- configs/imx8mm-icore-mx8mm-ctouch2_defconfig| 2 +- configs/imx8mm-icore-m

[PATCH 7/8] binman_sym: guard with CONFIG_IS_ENABLED(BINMAN_SYMBOLS)

2022-06-02 Thread Peng Fan (OSS)
From: Peng Fan There is case that CONFIG_BINMAN is defined, but CONFIG_SPL_BINMAN_SYMBOLS is not defined. In that case, there will be build failure. So use CONFIG_SPL_BINMAN_SYMBOLS to guard the macros, and define CONFIG_SPL_BINMAN_SYMBOLS in binman syms test. Tested-by: Tim Harvey #imx8m[m,n,p

[PATCH 6/8] arm: dts: imx8m: shrink ddr firmware size to actual file size

2022-06-02 Thread Peng Fan (OSS)
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 --- arch/arm/dts/imx8mm-

[PATCH 5/8] ddr: imx8m: helper: load ddr firmware according to binman symbols

2022-06-02 Thread Peng Fan (OSS)
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 --- drivers/ddr/im

[PATCH 4/8] armv8: u-boot-spl.lds: mark __image_copy_start as symbol

2022-06-02 Thread Peng Fan (OSS)
From: Peng Fan In arch/arm/lib/sections.c there is below code: char __image_copy_start[0] __section(".__image_copy_start"); But actually 'objdump -t spl/u-boot-spl' not able to find out symbol '__image_copy_start' for binman update image-pos/size. So update link file Reviewed-by: Tom Rini Test

[PATCH 3/8] arm: dts: imx8m: update binman ddr firmware node name

2022-06-02 Thread Peng Fan (OSS)
From: Peng Fan We are migrating to use BINMAN SYMBOLS, the current name is not a valid binman type, so update to unify them. Also add `type = "blob-ext";` for generating a valid binman symbol The current names are inconsistent across different boards, so unify them. Also add `type = "blob-ext"

[PATCH 2/8] configs: imx8mm_data_modul_edm_sbc: not select SPL_RAM_DEVICE

2022-06-02 Thread Peng Fan (OSS)
From: Peng Fan i.MX8M use FIT image, not RAW image. And to support binman symbols, u_boot_any could be optimized if RAW image is not selected, otherwise there will be build failure. So not select SPL_RAW_DEVICE Signed-off-by: Peng Fan --- configs/imx8mm_data_modul_edm_sbc_defconfig | 2 -- 1 f

[PATCH 1/8] spl: Kconfig: not select SPL_RAW_IMAGE_SUPPORT for i.MX8M

2022-06-02 Thread Peng Fan (OSS)
From: Peng Fan i.MX8M use FIT image, not RAW image. And to support binman symbols, u_boot_any could be optimized if RAW image is not selected, otherwise there will be build failure. So not select SPL_RAW_IMAGE_SUPPORT Signed-off-by: Peng Fan --- common/spl/Kconfig | 1 + 1 file changed, 1 inse

[PATCH 0/8] arm64: binman: use binman symbols for imx

2022-06-02 Thread Peng Fan (OSS)
From: Peng Fan V6: Drop no-u-boot-any introduced in V5 Drop binman symbol replacement with @ to _, which is not needed Update imx8m config to not select RAM IMAGE and RAM DEVICE Update ddr firmware node name Introduce autoconf.h for binman test V5: Introduce no-u-boot-any property to drop

[PATCH v3 2/2] arm: k3: j721e: add dynamic sf bus override support for j721e

2022-06-02 Thread Vaishnav Achath
implement overrides for spl_spi_boot_bus() and spl_spi_boot_cs() lookup functions according to bootmode selection, so as to support both QSPI and OSPI boot using the same build. Signed-off-by: Vaishnav Achath Reviewed-by: Pratyush Yadav --- V2->V3 : removed unnecessary spl_spi_boot_cs()

[PATCH v3 1/2] common: spl: spl_spi: add support for dynamic override of sf bus

2022-06-02 Thread Vaishnav Achath
Currently the SPI flash to load from is defined through the compile time config CONFIG_SF_DEFAULT_BUS and CONFIG_SF_DEFAULT_CS, this prevents the loading of binaries from different SPI flash using the same build.E.g. supporting QSPI flash boot and OSPI flash boot on J721E platform is not possible d

[PATCH v3 0/2] Add support for dynamic overriding of default SF bus

2022-06-02 Thread Vaishnav Achath
Currently the SPI flash to load from is defined through the compile time config CONFIG_SF_DEFAULT_BUS and CONFIG_SF_DEFAULT_CS, this prevents the loading of binaries from different SPI flash using the same build. This series adds support for choosing the flash device based on the selected boot dev

Re: [PATCH v3] board: freescale: p1_p2_rdb_pc: Move boot reset macros to p1_p2_bootsrc.h

2022-06-02 Thread Pali Rohár
On Thursday 26 May 2022 10:52:27 Pali Rohár wrote: > Code for changing boot source is platform generic and can be used by any > P1* and P2* compatible RDB board. Not only by boards which use config > header file p1_p2_rdb_pc.h. > > So move this code from p1_p2_rdb_pc.h to p1_p2_bootsrc.h and clean

Re: [PATCH v5 2/3] arm: mvebu: add support for Methode eDPU

2022-06-02 Thread Pali Rohár
On Monday 23 May 2022 11:20:27 Pali Rohár wrote: > On Monday 23 May 2022 11:18:23 Robert Marko wrote: > > On Mon, May 23, 2022 at 10:20 AM Pali Rohár wrote: > > > > > > On Friday 20 May 2022 13:46:32 Robert Marko wrote: > > > > Changes in v4: > > > > * Remove CMD_PCI as PCI is disabled anyway > >

RE: [PATCH v1 6/9] ARM: dts: Add device tree files for hpe gxp soc

2022-06-02 Thread Hawkins, Nick
-Original Message- From: Hawkins, Nick Sent: Thursday, June 2, 2022 3:56 PM To: Tom Rini Cc: Verdun, Jean-Marie ; u-boot@lists.denx.de Subject: RE: [PATCH v1 6/9] ARM: dts: Add device tree files for hpe gxp soc > > > The dts files need to be in linux-next (or similar) upstream before

RE: [PATCH v1 6/9] ARM: dts: Add device tree files for hpe gxp soc

2022-06-02 Thread Hawkins, Nick
> > > The dts files need to be in linux-next (or similar) upstream before we > > > start taking them in to Linux, and then re-synced periodically. > > > > Hi Tom, > > > > When you say taking them into Linux do you mean these files for U-Boot > > would go into Torvalds Linux? Ideally we would li

[PATCH v3 3/3] ARM: dts: omap3-devkit8000: Fix CONFIG_DM_ETH warning

2022-06-02 Thread Anthoine Bourgeois
Add the missing ethernet node in u-boot dts. Signed-off-by: Anthoine Bourgeois --- arch/arm/dts/omap3-devkit8000-u-boot.dtsi | 6 ++ configs/devkit8000_defconfig | 1 + 2 files changed, 7 insertions(+) diff --git a/arch/arm/dts/omap3-devkit8000-u-boot.dtsi b/arch/arm/dts/omap3

[PATCH v3 2/3] ARM: dts: omap3-devkit8000: Fix CONFIG_DM_I2C warning

2022-06-02 Thread Anthoine Bourgeois
Seems that u-boot can't probe i2c bus at 2.6Mhz speed, so lower the speed to the default value 100Khz. v2: fix i2c1 frequency in the root omap3-u-boot.dtsi include. Signed-off-by: Anthoine Bourgeois --- arch/arm/dts/omap3-u-boot.dtsi | 1 + configs/devkit8000_defconfig | 1 + 2 files changed,

[PATCH v3 1/3] ARM: dts: omap3-devkit8000: Add support for Devkit8000

2022-06-02 Thread Anthoine Bourgeois
This commit adds OMAP3 BeagleBoard devicetree files from Linux v5.16.0. This commit fixes CONFIG_DM_MMC warning. v3: patch clean-up Signed-off-by: Anthoine Bourgeois --- arch/arm/dts/Makefile | 2 + arch/arm/dts/omap3-devkit8000-u-boot.dtsi | 14 + arch/arm/dts/omap3-devk

[PATCH v3 0/3] Support Devkit800 device tree

2022-06-02 Thread Anthoine Bourgeois
This serie clean-up the devkit8000 configuration to support device tree and fixes CONFIG_DM_* warnings. v3: Clean-up the first patch and rebase the serie. v2: Override i2c1 frequency in omap3-u-boot.dtsi. Anthoine Bourgeois (3): ARM: dts: omap3-devkit8000: Add support for Devkit8000 ARM: dts:

Re: binman: Why is the first word the compressed size in compressed data

2022-06-02 Thread Alper Nebi Yasak
On 01/06/2022 11:29, Stefan Herbrechtsmeier wrote: > Hi Simon, > > I want to compress a FPGA Image on the fly via binman but this doesn't > work. I have add a bintool implementation for gzip, add gzip support to > comp_util.py and set `compress` and `compression` property in the binman > node o

Re: [u-boot PATCH 3/3] k3-am642-evm-u-boot: Use binman to generate u-boot.img and tispl.bin

2022-06-02 Thread Alper Nebi Yasak
On 31/05/2022 17:15, Andrew Davis wrote: > On 5/31/22 12:06 AM, Roger Quadros wrote: >> On 27/05/2022 20:50, Alper Nebi Yasak wrote: >>> This would definitely work, see etype/mkimage.py for example. I'd prefer >>> to know the file-format details (and maybe replicate them in binman) if >>> you could

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-06-02 Thread Alper Nebi Yasak
On 02/06/2022 13:43, Jens Wiklander wrote: > On Thu, Jun 2, 2022 at 9:50 AM Jerome Forissier > wrote: >> On 5/29/22 18:08, Alper Nebi Yasak wrote: >>> Why I am asking these is that I'm hypothesizing we can put the >>> unmodified 'tee.bin' (including header) and 'bl31.elf' (normally split >>> into

[PATCH] doc: update mail author for st-dt.rst

2022-06-02 Thread Patrick Delaunay
Update author email address with the one dedicated to upstream activities. Signed-off-by: Patrick Delaunay --- doc/board/st/st-dt.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/st/st-dt.rst b/doc/board/st/st-dt.rst index 3dade1681f..67e16ef165 100644 --- a/doc

Re: [PATCH v9 00/13] fpga: zynqmp: Adding support of loading authenticated images

2022-06-02 Thread Oleksandr Suvorov
Adrian, I don't have access to the ZynqMP hardware for now, so could you please test this patchset? On Wed, Jun 1, 2022 at 11:46 AM Oleksandr Suvorov wrote: > > > This patchset introduces support for the authenticated and encrypted > FPGA images on ZynqMP boards, besides that introducing common w

Re: [PATCH v1 7/9] configs: gxp: add core support

2022-06-02 Thread Tom Rini
On Thu, Jun 02, 2022 at 02:46:09PM +, Hawkins, Nick wrote: > > > > Can we figure any of that out dynamically instead? Since > > CONFIG_SYS_SDRAM_SIZE is only used (for ARM) in board code, I'd rather see > > this handled in there, with SZ_xxx and not use CONFIG_SYS_SDRAM_SIZE at all. > > H

RE: [PATCH v1 7/9] configs: gxp: add core support

2022-06-02 Thread Hawkins, Nick
> Can we figure any of that out dynamically instead? Since > CONFIG_SYS_SDRAM_SIZE is only used (for ARM) in board code, I'd rather see > this handled in there, with SZ_xxx and not use CONFIG_SYS_SDRAM_SIZE at all. Hi Tom, Would something like this be acceptable? int dram_init(void) { #ifd

[PATCH 22/22] microblaze: Add support for run time relocation

2022-06-02 Thread Michal Simek
Microblaze is using NEEDS_MANUAL_RELOC from the beginnging. This is causing issues with function pointer arrays which need to be updated manually after relocation. Building code with -fPIC and linking with -pic will remove this limitation and there is no longer need to run manual update. By defaul

[PATCH 19/22] tools: relocate-rela: Check that relocation works only for EM_AARCH64

2022-06-02 Thread Michal Simek
Relocation support is only for EM_AARCH64 that's why check machine type to make sure that the code will never run on any unsupported one. Signed-off-by: Michal Simek --- tools/relocate-rela.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c

[PATCH 21/22] tools: relocate-rela: Add support for 32bit Microblaze relocation

2022-06-02 Thread Michal Simek
Microblaze is 32bit that's why it is using elf32 format. Relocation code requires to get information about rela and dynsym senctions and also text base which was used for compilation. Code build with -fPIC and linked with -pic generates 4 relocation types. R_MICROBLAZE_NONE is the easiest one which

[PATCH 20/22] tools: relocate-rela: Add support for elf32 decoding

2022-06-02 Thread Michal Simek
Add support for 32bit ELF format which is used by Microblaze. Also check that code runs only for Microblaze. Function finds information about rela.dyn and dynsym which will be used later for relocation. Signed-off-by: Michal Simek --- tools/relocate-rela.c | 141 +++

[PATCH 17/22] microblaze: Create SYM_ADDR macro to deal with symbols

2022-06-02 Thread Michal Simek
Symbol handling depends on compilation flags. Right now manual relocation is used that's why symbols can be referenced just by name and there is no need to find them out. But when position independent code (PIC) is used symbols need to be described differently. That's why having one macro change is

[PATCH 18/22] tools: relocate-rela: Extract elf64 reloc to special function

2022-06-02 Thread Michal Simek
Adding support for new type requires to change code layout that's why move elf64 code to own function for easier maintenance. It also solves the problem with not calling fclose in case of error. Return value from rela_elf64 is saved to variable that's why fclose() is called all the time. Signed-o

[PATCH 15/22] microblaze: Remove _start symbol handling at U-Boot start

2022-06-02 Thread Michal Simek
Right now U-Boot runs all the time from the same address where it is loaded but going to full relocation code starting address doesn't need to be fixed and can be simply discovered from reading PC register. That's why use r20 to get PC address and subtract offset from the beginning to get starting

[PATCH 16/22] microblaze: Add comment about reset location

2022-06-02 Thread Michal Simek
Better to add comment to explain why reset vector points all the time to origin U-Boot location. If reset happens U-Boot should start from it's origin location. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/cpu/st

[PATCH 12/22] microblaze: Change stack protection address to new stack address

2022-06-02 Thread Michal Simek
SLR low address is still setup to 0 that's why only high limit should be updated. STACK_SIZE macro is present and could be possible used for low address alignment but it is not done by this patch. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 1 + 1 file changed, 1 insertion(+)

[PATCH 11/22] microblaze: Separate code end substraction

2022-06-02 Thread Michal Simek
Follow up patch will convert symbol handling that's why it is necessary to separate logic around symbols to special instruction. It adds 4B for new instruction but it is worth to do it to have code ready for for full relocation. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 3 ++

[PATCH 13/22] microblaze: Optimize register usage in relocate_code

2022-06-02 Thread Michal Simek
There are additional operations which can be done simpler that's why improve logic around relocation address r7 handling and _start symbol. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/microblaze/cpu/

[PATCH 14/22] microblaze: Remove code around r20 in relocate_code()

2022-06-02 Thread Michal Simek
r20 is not used that's why remove logic around it. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index f2d6d12deb73..c3d925c1d151 100644 --- a/arch/microblaze/cpu/star

[PATCH 10/22] microblaze: Enable REMAKE_ELF

2022-06-02 Thread Michal Simek
Enable u-boot.elf recreation from u-boot.bin to prepare for removing manul relocation. Enable option for big endian configuration but it is not used too much that's why it is completely untested. By supporting this system there is a need to define LITTLE/BIG endian Kconfig options to pass -EL/-EB f

[PATCH 08/22] microblaze: Remove CONFIG_TEXT_BASE from code

2022-06-02 Thread Michal Simek
Use symbol instead macro to find where U-Boot starts. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 1acac5faf428..205d5f384c38 100644 --- a/arc

[PATCH 09/22] microblaze: Fix typo in exception.c

2022-06-02 Thread Michal Simek
Trivial fix. Signed-off-by: Michal Simek --- arch/microblaze/cpu/exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/cpu/exception.c b/arch/microblaze/cpu/exception.c index d3640d3903b8..9414776afa7f 100644 --- a/arch/microblaze/cpu/exception.c +++ b/

[PATCH 07/22] microblaze: Fix early stack allocation

2022-06-02 Thread Michal Simek
CONFIG_SYS_INIT_SP_OFFSET macro place stack to TEXT_BASE - SYS_MALLOC_F_LEN but there is no reason to do it now because board_init_f_alloc_reserve() returns exact location where stack should be. That's why stack location is calculated at run time and there is no need to hardcode it via macro. This

[PATCH 06/22] microblaze: Fix stack protection behavior

2022-06-02 Thread Michal Simek
When U-Boot starts stack protection can be already enabled that's why setup the lowest possible SLR value which is address 0. And the highest possible stack in front of U-Boot. That's why you should never load U-Boot to the beginning of DDR. There must be some space reserved. Code is using this loc

[PATCH 04/22] tools: relocate-rela: Read rela start/end directly from ELF

2022-06-02 Thread Michal Simek
There is no need to pass section information via parameters. Let's read text base and rela start/end directly from elf. It will help with reading other information from ELF for others architecture. Input to relocate-rela is u-boot binary and u-boot ELF. Signed-off-by: Michal Simek --- Makefile

[PATCH 05/22] microblaze: Switch absolute branches to relative

2022-06-02 Thread Michal Simek
There is no reason to use absolute branches and use just relative. This change helps with moving binary to different location and start it from there. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH 03/22] tools: relocate-rela: Use global variables

2022-06-02 Thread Michal Simek
Declare rela_start/end and text_base as global variables. It will help with using these variables for ELF decoding. Signed-off-by: Michal Simek --- tools/relocate-rela.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c index 88

[PATCH 02/22] Makefile: Fix description for relocate-rela parameters

2022-06-02 Thread Michal Simek
Numbers in comment are shifter which is visible from command which calls them. Also relocate-rela usage is describing them. "Usage: %s" Signed-off-by: Michal Simek --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 61927f8918b4..dfb655

[PATCH 01/22] tools: relocate-rela: Open binary u-boot file later

2022-06-02 Thread Michal Simek
There is no value to open u-boot binary file so early. Better to check all values first and then open binary file. Signed-off-by: Michal Simek --- tools/relocate-rela.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/relocate-rela.c b/tools/relocate-rela

[PATCH 00/22] microblaze: Add support for full relocation

2022-06-02 Thread Michal Simek
Hi, this series is adding support for full rela relocation. Origin NEEDS_MANUAL_RELOC option is still there as default. Code has been tested with multiple configurations on QEMU. - Origin behavior - u-boot - Relocated version - u-boot.elf - Loading u-boot.bin to higher address than TEXT_BASE - Lo

[PATCH] configs: fsl: add missing SYS_FMAN_FW_ADDR defines

2022-06-02 Thread Camelia Groza
From: Camelia Groza Two defconfigs were missed when transitioning the SYS_FMAN_FW_ADDR symbol to Kconfig. CONFIG_SYS_FMAN_FW_ADDR is currently initialized to 0 by default on these builds, which prevents the firmware from loading. Add the correct symbols to these defconfigs. Fixes: a97a071d10d2b

[PATCH v3 1/3] clk: Add directory for STM32 clock drivers

2022-06-02 Thread Patrick Delaunay
Add a directory in drivers/clk to regroup the clock drivers for all STM32 SoCs with CONFIG_ARCH_STM32 (MCUs with Cortex-M) or CONFIG_ARCH_STM32MP (MPUs with Cortex-A). Signed-off-by: Patrick Delaunay Reviewed-by: Grzegorz Szymaszek Reviewed-by: Patrice Chotard --- Changes in v3: - Some nits in

[PATCH v3 2/3] misc: stm32mp13: introduce STM32MP13 RCC driver

2022-06-02 Thread Patrick Delaunay
Add the MISC RCC driver for STM32MP13, and bind it to the RCC reset driver, required for initial support. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes since v1) drivers/misc/stm32_rcc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/misc/stm3

[PATCH v3 3/3] ARM: dts: stm32: add rcc node for STM32MP13

2022-06-02 Thread Patrick Delaunay
Add the RCC node, not yet in Linux kernel device tree to handle the U-Boot RCC drivers with the needed U-Boot property "u-boot,dm-pre-reloc" property as the clock and reset drivers are required during pre-location. Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- (no changes si

[PATCH v3 0/3] stm32mp: prepare RCC support for STM32MP13

2022-06-02 Thread Patrick Delaunay
Prepare the support of STM32MP13 RCC, the reset and clock controller - update of the RCC MISC driver to bind the correct clock and reset driver - reset driver, same than STM32MP15x = drivers/reset/stm32-reset.c - clock driver, add a stm32 sub directory to prepare the addition of stm32mp13 drive

Re: [PATCH 2/2] pmic: pca9450: drop pointless .data entries

2022-06-02 Thread Rasmus Villemoes
On 02/06/2022 02.30, Jaehoon Chung wrote: > Dear Rasums, > > On 5/17/22 08:44, Jaehoon Chung wrote: >> On 5/3/22 17:58, Rasmus Villemoes wrote: >>> These are the i2c addresses of the chips, but that comes from device >>> tree. Having that information duplicated here just adds confusion. >>> >>> Si

Re: [PATCH 2/2] drivers: rng: optee_rng: register to CONFIG_OPTEE_SERVICE_DISCOVERY

2022-06-02 Thread Patrick DELAUNAY
Hi Etienne, On 6/1/22 10:27, Etienne Carriere wrote: 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 --- drivers/rng/K

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

2022-06-02 Thread Patrick DELAUNAY
Hi, minbor remarks on "#ifdef" usage. On 6/1/22 10:27, 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. OP-TEE services are discovered during optee driver pro

Re: [PATCH 3/3] arm: rockchip: rk3399: Power domain driver for rockchip.

2022-06-02 Thread Xavier Drudis Ferran
Enable clocks and power up domains when a get on a domain is made. This (together with initialising a couple of new clocks) helped boot a Radxa Rock Pi 4B from SD card. It's adapted from Linux 5.15.25 and includes parameters for a dozen Rockchip SOCs, but it's only tested on RK3399. Some of the p

Re: [PATCH 2/3] Add a couple of missing clocks for MMCSD.

2022-06-02 Thread Xavier Drudis Ferran
This helped boot a Radxa Rock Pi 4B from SD card. With U-boot master at commit 4fe629d2e8bb ("Merge https://source.denx.de/u-boot/custodians/u-boot-riscv";) from 2022-05-27T08:50:42-0400 and the SPI clock shorted to GND to make the bootrom boot from SD card, SPL stopped at the "Trying to boot from

Re: [PATCH 1/3] Reserve some RAM at 0 for bl31_0x00000000.bin for Radxa Rock Pi 4.

2022-06-02 Thread Xavier Drudis Ferran
When trying to boot from MMC in a Rock Pi 4 where I shorted SPI clk to GND to have bootrom load tpl+spl from MMC, SPL hanged after the message "Trying to boot from MMC1". With this patch it continued booting, printed two notices from ATF with BL31 version and date, and loaded U-Boot proper. I'm n

[PATCH 0/3] arm: rockchip: rk3399: rock-pi-4: power domain driver to boot from MMCSD

2022-06-02 Thread Xavier Drudis Ferran
Hello. I've been trying to compile myself all the stack to boot a Radxa Rock Pi 4B. I've found and worked around a few issues and I'm starting to select, clean up and send the patches I used. Since I'm new to the project I may have overseen something obvious. If so sorry. For the rest I hope so

Open Source Firmware Conference 2022

2022-06-02 Thread Christian Walter
** *Dear u-boot community,* * the OSFC is the biggest open-source firmware conference worldwide made by and for developers. After two years we can finally meet in person again. This year's OSFC will take place in Gothenburg, Sweden from September 19th - 21th. We will have a two day conferenc

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-06-02 Thread Jens Wiklander
Hi, On Thu, Jun 2, 2022 at 9:50 AM Jerome Forissier wrote: > > > > On 5/29/22 18:08, Alper Nebi Yasak wrote: > > On 28/05/2022 01:08, Jerome Forissier wrote: > >> On 5/27/22 21:24, Alper Nebi Yasak wrote: > >>> On 11/05/2022 18:35, Jerome Forissier wrote: > +if paged_sz != 0: >

Re: [PATCH] mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format

2022-06-02 Thread Jerome Forissier
On 5/29/22 18:08, Alper Nebi Yasak wrote: > On 28/05/2022 01:08, Jerome Forissier wrote: >> On 5/27/22 21:24, Alper Nebi Yasak wrote: >>> On 11/05/2022 18:35, Jerome Forissier wrote: +if paged_sz != 0: +raise ValueError("OP-TEE paged mode not supported") >>> >>> Is

Re: [PATCH u-boot-marvell 2/2] treewide: Fix Marek's name and change my e-mail address

2022-06-02 Thread Stefan Roese
On 01.06.22 17:17, Marek Behún wrote: Fix diacritics in some instances of my name and change my e-mail address to ka...@kernel.org. Add corresponding .mailmap entries. Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan --- .mailmap

Re: [PATCH u-boot-marvell 1/2] board: turris: Fix MAINTAINERS and add Pali

2022-06-02 Thread Stefan Roese
On 01.06.22 17:17, Marek Behún wrote: From: Marek Behún Fix MAINTAINERS files for Turris devices, add missing files and add Pali as maintainer. Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan --- MAINTAINERS | 8 board/CZ.NIC/tur