Re: [PATCH v2 2/4] arm: mach-k3: Do not map ATF and OPTEE regions in MMU

2023-11-29 Thread Manorit Chawdhry
Hi Andrew, On 28/11/23 22:35, Andrew Davis wrote: > ATF and OPTEE regions may be firewalled from non-secure entities. To > prevent access to this area we leave a hole there in the MMU map. This > is the same idea as [0] but we complete that patch by adding the same > for AM65, J721e, J7200, and J7

Re: [PATCH v2 1/3] drivers: xilinx_spi: Use udevice in start_tranfer

2023-11-29 Thread Kumar, Love
Tested-by: Love Kumar On 16/11/23, 10:13 PM, "U-Boot" wrote: Modify start_transfer and related functions to take a udevice parameter as input instead of spi_slave. This is needed so that start_transfer can be used directly via the xfer callback. Also fix a compiler warning. Signed-off-by: Mayur

Re: [PATCH v2 0/3] Xilinx SPI driver enhancements

2023-11-29 Thread Michal Simek
+Love On 11/16/23 17:43, Mayuresh Chitale wrote: This series makes the Xilinx XPS SPI driver compatible with the MMC_SPI driver and also includes an enhacement from the corresponding Linux driver. Changes in v2: - Improve comment and add reviewed-by tag in patch 3 Mayuresh Chitale (3): driv

Re: [PATHv11 06/43] net/lwip: implement tftp cmd

2023-11-29 Thread neil . armstrong
On 27/11/2023 13:56, Maxim Uvarov wrote: U-Boot recently got support for an alternative network stack using LWIP. Replace tftp command with the LWIP variant while keeping the output and error messages identical. Signed-off-by: Maxim Uvarov --- include/net/lwip.h | 13 net/l

Re: [PATCH v2 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2023-11-29 Thread Robert Marko
On Tue, Nov 28, 2023 at 4:49 PM Stefan Roese wrote: > > Hi Robert, > > On 11/28/23 16:44, Stefan Roese wrote: > > Hi Robert, > > > > On 11/28/23 11:19, Robert Marko wrote: > >> On Fri, Oct 20, 2023 at 12:21 PM Robert Marko > >> wrote: > >>> > >>> Currently, Esspresobin FDT is being fixed up direc

[PATCH v3 1/3] arm: mvebu: Espressobin: move FDT fixup into a separate function

2023-11-29 Thread Robert Marko
Currently, Esspresobin FDT is being fixed up directly in ft_board_setup() which makes it hard to add support for any other board to be fixed up. So, lets just move the FDT fixup code to a separate function and call it if compatible matches, there should be no functional change. Signed-off-by: Rob

[PATCH v3 2/3] arm: mvebu: Espressobin: move network setup into a separate function

2023-11-29 Thread Robert Marko
Currently, Esspresobin switch is being setup directly in last_stage_init() which makes it hard to add support for any other board to be setup. So, lets just move the switch setup code to a separate function and call it if compatible matches, there should be no functional change. Signed-off-by: Ro

[PATCH v3 3/3] arm: mvebu: eDPU: support new board revision

2023-11-29 Thread Robert Marko
There is a new eDPU revision that uses Marvell 88E6361 switch onboard. We can rely on detecting the switch to enable and fixup the Linux DTS so a single DTS can be used. There is currently no support for the 88E6361 switch and thus no working networking in U-Boot, so we disable both ports. Signed

RE: [PATCH v2 0/3] Xilinx SPI driver enhancements

2023-11-29 Thread Kumar, Love
> -Original Message- > From: Simek, Michal > Sent: 29 November 2023 13:55 > To: Mayuresh Chitale ; Jagan Teki > ; Kumar, Love > Cc: u-boot@lists.denx.de; Simon Glass ; Tom Rini > > Subject: Re: [PATCH v2 0/3] Xilinx SPI driver enhancements > > +Love > > On 11/16/23 17:43, Mayuresh Ch

Re: [PATCH v2 0/3] Xilinx SPI driver enhancements

2023-11-29 Thread Michal Simek
On 11/16/23 17:43, Mayuresh Chitale wrote: This series makes the Xilinx XPS SPI driver compatible with the MMC_SPI driver and also includes an enhacement from the corresponding Linux driver. Changes in v2: - Improve comment and add reviewed-by tag in patch 3 Mayuresh Chitale (3): drivers:

[PATCH 1/2] tee: optee: don't fail on services enumeration failure

2023-11-29 Thread Etienne Carriere
Change optee probe function to only warn when service enumeration sequence fails instead of reporting an optee driver probe failure. Indeed U-Boot can still use OP-TEE even if some OP-TEE services are not discovered. Fixes: 94ccfb78a4d6 ("drivers: tee: optee: discover OP-TEE services") Signed-off-

[PATCH 2/2] tee: optee: don't enumerate services if there ain't any

2023-11-29 Thread Etienne Carriere
Change optee driver service enumeration to not enumerate (and allocate a zero sized shared memory buffer) when OP-TEE reports that there is no service to enumerate. This change fixes an existing issue that occurs when the such zero sized shared memory buffer allocated from malloc() has a physical

TPM SPI issue

2023-11-29 Thread niek.nooij...@omron.com
Hi there I have the same issue as here: https://community.infineon.com/t5/OPTIGA-TPM/I-MX8-TPM-SLB9670-SPI-Com-Error/td-p/472533 apparently the CS is released in between responses. Can you help me solve this? Thnx! Niek

Re: [PATCH 4/6] siemens: board: clean up draco products vs common

2023-11-29 Thread Sverdlin, Alexander
Hi Enrico and all, On Tue, 2023-11-21 at 15:21 +0100, Enrico Leto wrote: > The common folder was initialially created for the common parts of the > products based on draco-am355x board family. These are the product > lines 'pxm2', 'rut' and the base line named 'draco'! > > Adding the new capricor

Re: [PATCH 3/6] siemens draco: i2c: use driver model for u-boot

2023-11-29 Thread Sverdlin, Alexander
Hi Enrico and all, On Tue, 2023-11-21 at 15:21 +0100, Enrico Leto wrote: > Add support for driver model where EEPROM data are read in draco board. > > Signed-off-by: Enrico Leto Reviewed-by: Alexander Sverdlin > --- >  configs/draco-etamin_defconfig   | 4 +++- >  configs/draco-rastaban_defcon

Re: [PATCH 6/6] siemens: factoryset: use correct config for soc specific implementation

2023-11-29 Thread Sverdlin, Alexander
Hi Enrico, On Tue, 2023-11-21 at 15:21 +0100, Enrico Leto wrote: > Adding the capricorn board family some parts diverge from draco family. > The switches used were not pertinent and need to be enhanced for each new > board of the capricorn family. Replace them through the SOC name 'AM33XX' > and '

Re: [PATCH 1/6] siemens: eeprom: clean up definitions

2023-11-29 Thread Sverdlin, Alexander
Hi Enrico and all, On Tue, 2023-11-21 at 15:21 +0100, Enrico Leto wrote: > Move the I2C and EEPROM address definitions in common board header. > > Signed-off-by: Enrico Leto Reviewed-by: Alexander Sverdlin > --- >  board/siemens/capricorn/board.c   |  5 ++--- >  board/siemens/common/board.c  

Re: [PATCH v1 1/1] Makefile.lib: Always rebuild DSDT

2023-11-29 Thread Andy Shevchenko
On Wed, Mar 30, 2022 at 12:21:25PM +0300, Andy Shevchenko wrote: > On Mon, Oct 25, 2021 at 09:52:45PM +0300, Andy Shevchenko wrote: > > On Mon, Oct 25, 2021 at 09:18:56AM -0600, Simon Glass wrote: > > > On Mon, 25 Oct 2021 at 01:34, Andy Shevchenko > > > wrote: > > > > On Sun, Oct 24, 2021 at 11:

Re: [PATCH v3 0/5] cmd: add scmi command

2023-11-29 Thread Tom Rini
On Tue, 14 Nov 2023 11:14:23 +0900, AKASHI Takahiro wrote: > "Scmi" command will be re-introduced per Michal's request. > The functionality is the same as I put it in my patch set of adding > SCMI base protocol support, but made some tweak to make UT, "ut dm > scmi_cmd," more flexible and tolerabl

Re: TPM SPI issue

2023-11-29 Thread Fabio Estevam
Hi Niek, On Wed, Nov 29, 2023 at 9:51 AM niek.nooij...@omron.com wrote: > > Hi there > > I have the same issue as here: > https://community.infineon.com/t5/OPTIGA-TPM/I-MX8-TPM-SLB9670-SPI-Com-Error/td-p/472533 > > apparently the CS is released in between responses. Can you help me solve > this?

Re: [PATCH v5 0/8] ATF and OP-TEE Firewalling for K3 devices.

2023-11-29 Thread Tom Rini
On Mon, Nov 13, 2023 at 03:48:59PM +0530, Manorit Chawdhry wrote: > K3 devices have firewalls that are used to prevent illegal accesses to > memory regions that are deemed secure. The series prevents the illegal > accesses to ATF and OP-TEE regions that are present in different K3 > devices. > >

Intermitten Azure CI failures

2023-11-29 Thread Tom Rini
Hey all, If you see a failure in CI that looks like the one in: filenamehttps://dev.azure.com/u-boot/u-boot/_build/results?buildId=7436&view=logs&j=6ebe5bb0-481f-5026-b4e6-2d4192a94e80&t=66c5926e-2461-580f-927d-c0d0a6120549&l=524 Which is: "FAT: illegal filename (.)" being printed instead of "Unab

Re: [PATCH v2 2/4] arm: mach-k3: Do not map ATF and OPTEE regions in MMU

2023-11-29 Thread Andrew Davis
On 11/29/23 2:00 AM, Manorit Chawdhry wrote: Hi Andrew, On 28/11/23 22:35, Andrew Davis wrote: ATF and OPTEE regions may be firewalled from non-secure entities. To prevent access to this area we leave a hole there in the MMU map. This is the same idea as [0] but we complete that patch by adding

Re: [PATCH v2 6/6] led: add TI LP5562 LED driver

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 12:38:11PM +0100, Rasmus Villemoes wrote: > From: Doug Zobel > > Driver for the TI LP5562 4 channel LED controller. Supports > independent on/off control of all 4 channels. Supports LED_BLINK on 3 > independent channels: blue/green/red. The white channel can blink, but >

Re: [PATCH 00/21] Qualcomm generic board support

2023-11-29 Thread Caleb Connolly
On 23/11/2023 07:04, Sumit Garg wrote: > On Wed, 22 Nov 2023 at 21:34, Caleb Connolly > wrote: >> >> >> >> On 22/11/2023 14:27, Tom Rini wrote: >>> On Wed, Nov 22, 2023 at 07:44:09PM +0530, Sumit Garg wrote: On Wed, 22 Nov 2023 at 19:31, Tom Rini wrote: > > On Wed, Nov 22, 2023 a

Re: [PATCH v2 6/6] led: add TI LP5562 LED driver

2023-11-29 Thread Rasmus Villemoes
On 29/11/2023 16.23, Tom Rini wrote: > On Fri, Nov 17, 2023 at 12:38:11PM +0100, Rasmus Villemoes wrote: > >> --- >> doc/device-tree-bindings/leds/leds-lp5562.txt | 63 ++ >> drivers/led/Kconfig | 8 + >> drivers/led/Makefile | 1 + >> drive

Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Ba Gia Bao Phan
Hello everyone, I am a trainee at STMicroelectronics France. I am working on a project "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM Cortex-A . The objective of my project is to add a way of booting (with ACPI) besides Device Tree available on STM32MPU. I found that ACPI was

Re: [PATCH 00/21] Qualcomm generic board support

2023-11-29 Thread Neil Armstrong
On 29/11/2023 16:34, Caleb Connolly wrote: On 23/11/2023 07:04, Sumit Garg wrote: On Wed, 22 Nov 2023 at 21:34, Caleb Connolly wrote: On 22/11/2023 14:27, Tom Rini wrote: On Wed, Nov 22, 2023 at 07:44:09PM +0530, Sumit Garg wrote: On Wed, 22 Nov 2023 at 19:31, Tom Rini wrote: On Wed,

Re: [UBOOT PATCH v3] test/py: net: Add a TFTP put test

2023-11-29 Thread Tom Rini
On Wed, Nov 08, 2023 at 12:40:31PM +0530, Love Kumar wrote: > Execute tftpput command for uploading files to a server and validate its > size & CRC32. > > Signed-off-by: Love Kumar > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/3] configs: keystone2: Remove unused SPL_MALLOC_F_SIZE and KEYSTONE_SPL_STACK_SIZE

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 04:38:27PM -0600, Andrew Davis wrote: > These are leftover definitions. While here cleanup some leftover comments. > > Signed-off-by: Andrew Davis > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] configs: keystone2: Do not include hardware.h

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 04:38:28PM -0600, Andrew Davis wrote: > This is a hacky way to have this file included in all source files that > include common.h, instead just include from the files that need it. > > Signed-off-by: Andrew Davis Applied to u-boot/next, thanks! -- Tom signature.asc

Re: [PATCH 3/3] ARM: keystone2: Remove unneeded inclusions of common.h

2023-11-29 Thread Tom Rini
On Fri, Nov 17, 2023 at 04:38:29PM -0600, Andrew Davis wrote: > Signed-off-by: Andrew Davis > Reviewed-by: Simon Glass Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Fix stack-protector for powerpc

2023-11-29 Thread Tom Rini
On Wed, Nov 15, 2023 at 07:36:36PM +0100, Christophe Leroy wrote: > On powerpc, stack protector expects a function called > __stack_chk_fail_local() instead of __stack_chk_fail() > > And some versions of GCC for powerpc default to TLS canary > instead of global canary, so always force GCC to use

Re: [PATCH] lib/slre: Fix memory leak if regex compilation fails

2023-11-29 Thread Tom Rini
On Sun, Nov 12, 2023 at 08:16:50PM +0100, Francois Berder wrote: > Signed-off-by: Francois Berder Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] timer-uclass: Always use "clock-frequency" property as fallback

2023-11-29 Thread Tom Rini
On Tue, Nov 14, 2023 at 10:11:27PM +0100, Alex Bee wrote: > Currently the "clock-frequency" DT property is only being considered as an > fallback if either there is no clock driver, the clock driver implements > the request-op correctly or there is no clock defined for the timer at all. > > This

Re: [PATCH] xen: pvblock: fix the maximum io size in one operation

2023-11-29 Thread Tom Rini
On Wed, Nov 15, 2023 at 10:53:45AM +0900, AKASHI Takahiro wrote: > The current implementation may cause BUG_ON() in blkfront_aio() > BUG_ON(n > BLKIF_MAX_SEGMENTS_PER_REQUEST); > > In pvblock_iop(), a read/write operation will be split into smaller > chunks of data so that the size in one a

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Andy Shevchenko
On Wed, Nov 29, 2023 at 6:25 PM Andy Shevchenko wrote: > On Wed, Nov 29, 2023 at 5:29 PM Ba Gia Bao Phan > wrote: > > > > Hello everyone, > > > > I am a trainee at STMicroelectronics France. I am working on a project > > "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM Cortex-A

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Andy Shevchenko
On Wed, Nov 29, 2023 at 5:29 PM Ba Gia Bao Phan wrote: > > Hello everyone, > > I am a trainee at STMicroelectronics France. I am working on a project > "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM Cortex-A . > The objective of my project is to add a way of booting (with ACP

Re: [PATCH 00/21] Qualcomm generic board support

2023-11-29 Thread Dennis Gilmore
A big benefit of using the full dtb in u-boot means it can be used to boot the system without the need to load a replacement file from disk or elsewhere, which, AFAIK is required for the System Ready standards and it definitely helps in cases like EFI booting. Dennis On Wed, Nov 29, 2023 at 10:37

Re: [PATCH v1 1/1] Makefile.lib: Always rebuild DSDT

2023-11-29 Thread Heinrich Schuchardt
On 20.10.21 14:37, Andy Shevchenko wrote: The dsdt.asl is usually combined out of several files that are included in the main one. Whenever we change the content of any of such files, build system is not able to recognize them. Hence the easiest way is to force DSDT rebuild each time we run make.

[PATCH v7 0/2] arm64: Add a build target for Flat Image Tree

2023-11-29 Thread Simon Glass
Flat Image Tree (FIT) is a widely used file format for packaging a kernel and associated devicetree files[1]. It is not specific to any one bootloader, as it is supported by U-Boot, coreboot, Linuxboot, Tianocore and Barebox. This series adds support for building a FIT as part of the kernel build.

[PATCH v7 1/2] arm64: Add BOOT_TARGETS variable

2023-11-29 Thread Simon Glass
Add a new variable containing a list of possible targets. Mark them as phony. This matches the approach taken for arch/arm Signed-off-by: Simon Glass --- Changes in v7: - Drop the kbuild tag Changes in v6: - Drop the unwanted .gz suffix arch/arm64/Makefile | 6 +- 1 file changed, 5 insert

[PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Simon Glass
Add a script which produces a Flat Image Tree (FIT), a single file containing the built kernel and associated devicetree files. Compression defaults to gzip which gives a good balance of size and performance. The files compress from about 86MB to 24MB using this approach. The FIT can be used by b

[PATCH] bootflow: Allow setting a cmdline arg with no value

2023-11-29 Thread Simon Glass
This is supposed to be supported by the 'bootflow cmd' command, at least according to the help. There is a 'bootflow cmd clear' but it is often more intuitive to use 'bootcmd cmd set' with an empty value. Update the command to pass BOOTFLOWCL_EMPTY in this case. Signed-off-by: Simon Glass ---

Re: [PATCH v2 1/3] efi_var_file: refactor to move buffer functions

2023-11-29 Thread Heinrich Schuchardt
On 24.11.23 12:35, Shantur Rathore wrote: Currently efi_var_file.c has functions to store/read EFI variables to/from memory buffer. These functions can be used with other EFI variable stores so move them out to efi_var_common.c The moved functions relate to filling the memory buffer of variable

Re: [PATCH v5 5/5] fdt: Fix compile error for !OFNODE_MULTI_TREE

2023-11-29 Thread Simon Glass
On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Sean Edmond > > Required to fix the following compile error when building sandbox: > /tmp/cci9ibby.ltrans21.ltrans.o: In function `do_cedit_load': > :(.text+0x601d): undefined reference to `oftree_dispose' > > Signed-off-by: Sean Edmond > --- > dri

Re: [PATCH v5 4/5] dm: core: Modify default for OFNODE_MULTI_TREE

2023-11-29 Thread Simon Glass
On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Sean Edmond > > There is a preference to use the "ofnode" API for FDT fixups > moving forward. The FDT fixup will usually be for the kernel FDT. To > fixup the kernel FDT with the ofnode API, it's required to set the > OFNODE_MULTI_TREE option. > >

Re: [PATCH v5 1/5] fdt: common API to populate kaslr seed

2023-11-29 Thread Simon Glass
Hi Sean, On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Dhananjay Phadke > > fdt_fixup_kaslr_seed() will update given ofnode with random seed value. > Source for random seed can be TPM or RNG driver in u-boot or sec > firmware (ARM). > > Signed-off-by: Dhananjay Phadke > Signed-off-by: Sean Edm

Re: [PATCH v5 2/5] fdt: kaslr seed from RNG device

2023-11-29 Thread Simon Glass
Hi Sean, On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Dhananjay Phadke > > Add support for KASLR seed from the RNG device. Invokes dm_rng_read() > API to read 8-bytes of random bytes. Performs the FDT fixup using event > spy. To enable use CONFIG_KASLR_RNG_SEED > > Signed-off-by: Dhananjay P

Re: [PATCH v5 3/5] cmd: kaslrseed: Use common API to fixup FDT

2023-11-29 Thread Simon Glass
On Thu, 16 Nov 2023 at 19:02, wrote: > > From: Sean Edmond > > Use the newly introduced common API fdt_fixup_kaslr_seed() in the > kaslrseed command. > > Signed-off-by: Sean Edmond > --- > cmd/kaslrseed.c | 22 -- > 1 file changed, 8 insertions(+), 14 deletions(-) > Reviewe

Re: [PATCH v2] pci: Enable dm_pci_map_bar() for 64-bit BARs

2023-11-29 Thread Simon Glass
On Tue, 28 Nov 2023 at 17:49, Moritz Fischer wrote: > > Allow dm_pci_map_bar() usage on systems with CONFIG_SYS_PCI_64BIT. > > Reviewed-by: Philip Oberfichtner > Signed-off-by: Moritz Fischer > --- > Changes from v1: > - Fixed commit message > --- > drivers/pci/pci-uclass.c | 11 +++ >

[PATCH] x86: coreboot: Show a coreboot logo if booted from coreboot

2023-11-29 Thread Simon Glass
U-Boot shows its own logo when starting up, if a display is active. Add a coreboot logo too, for when U-Boot is booted from coreboot. Note that the logo's license applies: https://coreboot.org/Logo#coreboot_Logo_License Signed-off-by: Simon Glass Signed-off-by: Nico Huber --- drivers/video/Kc

Re: [PATCH v5 2/5] fdt: kaslr seed from RNG device

2023-11-29 Thread Ilias Apalodimas
On Wed, 29 Nov 2023 at 19:47, Simon Glass wrote: > Hi Sean, > > On Thu, 16 Nov 2023 at 19:02, wrote: > > > > From: Dhananjay Phadke > > > > Add support for KASLR seed from the RNG device. Invokes dm_rng_read() > > API to read 8-bytes of random bytes. Performs the FDT fixup using event > > spy.

Re: [PATCH] imx8mn-var-som: add manufacturer to target description

2023-11-29 Thread Fabio Estevam
On Tue, Oct 17, 2023 at 11:25 AM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > Add Variscite manufacturer to the IMX8MN_VAR_SOM target menu label as > the majority of targets include the manufacturer as part of their menu > description/label and it helps when looking for a particular > man

Re: [PATCH] board: gateworks: venice: add fixup for GW73xx-F+

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > GW73xx-F board revision switched back to the original PCIe switch due to > part availability. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] arm: dts: imx8mm-venice-gw73xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > Add the TPM device found on the GW73xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] arm: dts: imx8mp-venice-gw73xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > Add the TPM device found on the GW73xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH v2] arm: mxs: Clear CPSR V bit to activate low vectors

2023-11-29 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:52 PM Marek Vasut wrote: > > The MXS starts with CPSR V bit set, which makes the CPU jump to high vectors > in case of an exception. Those high vectors are located at 0x, which > is where the BootROM exception table is located as well. U-Boot should handle > excep

Re: [PATCH] imx8mn_var_som: Add myself to MAINTAINERS

2023-11-29 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 4:42 PM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > I would like to help maintaining the imx8mn_var_som symphony board. > > Add myself to MAINTAINERS. > > Signed-off-by: Hugo Villeneuve Reviewed-by: Fabio Estevam

Re: [PATCH 0/2] librem5: allow using distroboot w/ extlinux files

2023-11-29 Thread Fabio Estevam
On Fri, Oct 27, 2023 at 10:41 AM Arnaud Ferraris wrote: > > The Librem 5 currently can't boot from `extlinux.conf` files due to > undefined environment variables: > * `fdtfile` is missing, preventing the kernel from selecting the > appropriate device-tree > * the lack of `kernel_comp_addr_r` and

Re: [PATCH 1/2] arm: imx6: Enable TCP, IPv6, wget on DH i.MX6 DHCOM

2023-11-29 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 1:32 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to fu

Re: [PATCH 2/2] arm64: imx8mp: Enable TCP, IPv6, wget on DH i.MX8MP DHCOM

2023-11-29 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 1:32 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to fu

Re: [PATCH] arm64: imx8mp: Inhibit DTC warning on DH i.MX8MP DHCOM rev.100 DTO

2023-11-29 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 9:04 PM Marek Vasut wrote: > > Inhibit DTC warning in imx8mp-dhcom-pdk3-overlay-rev100.dts: > " > arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dtbo: Warning (reg_format): > /fragment@0/__overlay__:reg: property has invalid length (4 bytes) > (#address-cells == 2, #size-ce

Re: [PATCH 1/2] apalis/colibri imx6/imx6ull/imx7: defconfig: Enable fastboot support

2023-11-29 Thread Fabio Estevam
On Thu, Nov 9, 2023 at 2:44 PM Hiago De Franco wrote: > > Add fastboot support for Apalis iMX6, Colibri iMX6, Colibri iMX6ULL and > Colibri iMX7 boards. Remove CONFIG_FASTBOOT_BUF_SIZE from > colibri_imx7_emmc_defconfig to get the default value of 0x700 instead > of 0x1000, to make it cons

Re: [PATCH 2/2] board: apalis/colibri imx6/imx6ull/imx7: Add fastboot bootcmd support

2023-11-29 Thread Fabio Estevam
On Thu, Nov 9, 2023 at 1:44 PM Hiago De Franco wrote: > > This commit adds support for Fastboot boot commands by checking both Just a nit: use imperative mood - "Add support for Fastboot". > CONFIG_CMD_USB_SDP and CONFIG_USB_FUNCTION_FASTBOOT. If either of these > configurations is set, it i

Re: [PATCH] tqma6: Fix DDR configuration

2023-11-29 Thread Fabio Estevam
On Fri, Nov 17, 2023 at 1:50 PM Miquel Raynal wrote: > > Initially investigating a Linux network issue causing a lot of drop and > poor network performances on a custom system based on a TQMA6A module > (based on an iMX6Q), [1st link below]. > > I eventually correlated my observations with a conte

Re: [PATCH] arm64: imx8mp: Enable TCP, IPv6, wget on Data Modul i.MX8M eDM SBC

2023-11-29 Thread Fabio Estevam
On Wed, Nov 22, 2023 at 8:38 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to f

Re: [PATCH] arm: dts: imx8mm-venice-gw72xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Mon, Nov 27, 2023 at 4:37 PM Tim Harvey wrote: > > Add the TPM device found on the GW72xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH] arm: dts: imx8mp-venice-gw72xx: add TPM device

2023-11-29 Thread Fabio Estevam
On Mon, Nov 27, 2023 at 4:37 PM Tim Harvey wrote: > > Add the TPM device found on the GW72xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH v2 1/3] efi_var_file: refactor to move buffer functions

2023-11-29 Thread Shantur Rathore
Hi Heinrich, On Wed, Nov 29, 2023 at 5:41 PM Heinrich Schuchardt wrote: > > On 24.11.23 12:35, Shantur Rathore wrote: > > Currently efi_var_file.c has functions to store/read > > EFI variables to/from memory buffer. These functions > > can be used with other EFI variable stores so move > > them o

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Ahmad Fatoum
Hello Simon, On 29.11.23 18:21, Simon Glass wrote: > Add a script which produces a Flat Image Tree (FIT), a single file > containing the built kernel and associated devicetree files. > Compression defaults to gzip which gives a good balance of size and > performance. Thanks for working on this. I

OrangePI Zero3 memory timing testing

2023-11-29 Thread Stephen Graf
Some testing results: With the default DRAM timing of 30x24=720, most often when my system boots it comes up with DRAM 2G, but I have a 1G system. Once in a while the boot shows 1G. When it shows 2G the linux OS also shows 2G and continuing does not make much sense. On one boot where u-boot

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Ahmad Fatoum
Hi, a few more comments after decompiling the FIT image: On 29.11.23 18:21, Simon Glass wrote: > +with fsw.add_node('kernel'): > +fsw.property_string('description', args.name) > +fsw.property_string('type', 'kernel_noload') The specification only says no loading done, but doe

[RK3568] Default kernel_comp_addr_r can be too narrow

2023-11-29 Thread MichaIng
Hey guys, for our PINE64 Quartz64 images, I am working on moving from an older U-Boot fork (by Peter Geis', but rebased until v2022.07: https://gitlab.com/MichaIng/u-boot) to upstream U-Boot. But I was running into an error on boot: ERROR: Did not find a cmdline Flattened Device Tree It turn

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 11:35, Ahmad Fatoum wrote: > > Hello Simon, > > On 29.11.23 18:21, Simon Glass wrote: > > Add a script which produces a Flat Image Tree (FIT), a single file > > containing the built kernel and associated devicetree files. > > Compression defaults to gzip which giv

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Tom Rini
On Wed, Nov 29, 2023 at 07:59:00PM +0100, Ahmad Fatoum wrote: > Hi, > > a few more comments after decompiling the FIT image: > > On 29.11.23 18:21, Simon Glass wrote: > > +with fsw.add_node('kernel'): > > +fsw.property_string('description', args.name) > > +fsw.property_string(

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: > > Hi, > > a few more comments after decompiling the FIT image: > > On 29.11.23 18:21, Simon Glass wrote: > > +with fsw.add_node('kernel'): > > +fsw.property_string('description', args.name) > > +fsw.property_string(

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Ahmad Fatoum
Hello Simon, On 29.11.23 20:02, Simon Glass wrote: > Hi Ahmad, > > On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: >> >> Hi, >> >> a few more comments after decompiling the FIT image: >> >> On 29.11.23 18:21, Simon Glass wrote: >>> +with fsw.add_node('kernel'): >>> +fsw.property_st

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Ahmad Fatoum
Hello Tom, On 29.11.23 20:02, Tom Rini wrote: > On Wed, Nov 29, 2023 at 07:59:00PM +0100, Ahmad Fatoum wrote: >> Hi, >> >> a few more comments after decompiling the FIT image: >> >> On 29.11.23 18:21, Simon Glass wrote: >>> +with fsw.add_node('kernel'): >>> +fsw.property_string('descri

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: > > Hello Simon, > > On 29.11.23 20:02, Simon Glass wrote: > > Hi Ahmad, > > > > On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: > >> > >> Hi, > >> > >> a few more comments after decompiling the FIT image: > >> > >> On 29.11.23 18:21,

Re: [PATCH v2 1/1] bootm: Fix flags used for bootargs string substitution

2023-11-29 Thread Simon Glass
On Fri, 24 Nov 2023 at 09:35, Piotr Kubik wrote: > > Commit 51bb33846ad2 ("bootm: Support string substitution in > bootargs") introduced a feature of bootargs string substitution > and changed a flag used in bootm_process_cmdline_env() call > to be either true or false. With this flag value, > con

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Simon Glass
+Heinrich Schuchardt Hi, On Wed, 29 Nov 2023 at 08:29, Ba Gia Bao Phan wrote: > > Hello everyone, > > I am a trainee at STMicroelectronics France. I am working on a project > "Setting up a boot chain ACPI" for STM32MPU, which is based on ARM Cortex-A . > The objective of my project is to add a

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Ahmad Fatoum
On 29.11.23 20:27, Simon Glass wrote: > On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: >> On 29.11.23 20:02, Simon Glass wrote: >>> On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum wrote: The specification says that this is the root U-Boot compatible, which I presume to mean the top-level

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Simon Glass
Hi Ahmad, On Wed, 29 Nov 2023 at 12:33, Ahmad Fatoum wrote: > > On 29.11.23 20:27, Simon Glass wrote: > > On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: > >> On 29.11.23 20:02, Simon Glass wrote: > >>> On Wed, 29 Nov 2023 at 11:59, Ahmad Fatoum > >>> wrote: > The specification says tha

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Moritz Fischer
Hi, On Wed, Nov 29, 2023 at 11:28 AM Simon Glass wrote: > > +Heinrich Schuchardt > > Hi, > > On Wed, 29 Nov 2023 at 08:29, Ba Gia Bao Phan > wrote: > > > > Hello everyone, > > > > I am a trainee at STMicroelectronics France. I am working on a project > > "Setting up a boot chain ACPI" for STM32

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Ahmad Fatoum
Hello Simon, On 29.11.23 20:44, Simon Glass wrote: > Hi Ahmad, > > On Wed, 29 Nov 2023 at 12:33, Ahmad Fatoum wrote: >> >> On 29.11.23 20:27, Simon Glass wrote: >>> On Wed, 29 Nov 2023 at 12:15, Ahmad Fatoum wrote: On 29.11.23 20:02, Simon Glass wrote: > On Wed, 29 Nov 2023 at 11:59, A

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Tom Rini
On Wed, Nov 29, 2023 at 08:16:20PM +0100, Ahmad Fatoum wrote: > Hello Tom, > > On 29.11.23 20:02, Tom Rini wrote: > > On Wed, Nov 29, 2023 at 07:59:00PM +0100, Ahmad Fatoum wrote: > >> Hi, > >> > >> a few more comments after decompiling the FIT image: > >> > >> On 29.11.23 18:21, Simon Glass wrote

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Ba Gia Bao Phan
> > Sort-of...the refactoring to allow ACPI tables on ARM is completed, > but I don't think any U-Boot board uses this. Can you give me the link to this topic? I can not find it. I think that if U-Boot can not use this, EDK2 may be a solution. Firstly I wonder why you want ACPI? For this questio

Re: [PATCH v7 2/2] arm64: boot: Support Flat Image Tree

2023-11-29 Thread Ahmad Fatoum
Hi Simon, On 29.11.23 20:00, Simon Glass wrote: > On Wed, 29 Nov 2023 at 11:35, Ahmad Fatoum wrote: >> Doesn't hardcoding a load address and entry address here defeat the point >> of having FIT as generic portable image format? >> >> At least barebox will try to place the kernel image at physical

Re: Setting up boot chain ACPI on ARM with STM32MPU

2023-11-29 Thread Ba Gia Bao Phan
Hi, > > Overall I think it's a worthwhile endeavour to get this sorted for at > least one ARM platform as a starting point. So, do you know are there any ARM platforms having ACPI enabled? Le mer. 29 nov. 2023 à 20:45, Moritz Fischer a écrit : > Hi, > > On Wed, Nov 29, 2023 at 11:28 AM Simon G

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-29 Thread Szőke Kálmán Benjamin
https://lists.yoctoproject.org/g/main  Eredeti levél Feladó: Dragan Simic Dátum: 2023 november 29 05:47:55Tárgy: Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detectCímzett: Szőke Kálmán Benjamin On 2023-11-29 00:35, Szőke Kálmán Benjamin wrote: > Sorry i can not fix it

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-29 Thread Dragan Simic
On 2023-11-29 22:12, Szőke Kálmán Benjamin wrote: https://lists.yoctoproject.org/g/main Ah, I already used the same mailing list system. I saw no benefits, though. Eredeti levél Feladó: Dragan Simic Dátum: 2023 november 29 05:47:55 Tárgy: Re: [PATCH 1/1] pico-imx7d:

[PATCH v1] gpio: dw: Drop unused headers

2023-11-29 Thread Maksim Kiselev
Drop headers which are not used or needed in this file. Signed-off-by: Maksim Kiselev --- drivers/gpio/dwapb_gpio.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c index e6e919444f..7a6eae9ba1 100644 --- a/drive

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-29 Thread Szőke Kálmán Benjamin
https://wiki.yoctoproject.org/wiki/GroupsMigrationIt seems to me, you should take little more time to understand the benefits. In Yocto wiki site there is an overview about why was they migrate mailing list to Groups.io some years ago from legacy and outdated Mailman. Eredeti levél -

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2023-11-29 Thread Simon Glass
Hi, On Thu, 16 Nov 2023 at 10:29, Simon Glass wrote: > > Add a compatible string for binman, so we can extend fixed-partitions > in various ways. > > Signed-off-by: Simon Glass > --- > > (no changes since v5) Is there any movement on this series, please? > > Changes in v5: > - Add #address/siz

Re: mdt_debug write

2023-11-29 Thread Andre Przywara
Hi Stephen, On 28/11/2023 20:07, Stephen Graf wrote: Below is the consol log from trying to use mtd_debug write. It returned immediately with a strange success message. root@orangepizero3:~# mtd_debug write /dev/mtd0 0 0xf /home/sysadmin/u-boot-sunxi-with-spl.bin file_to_flash: fread, si

Re: OrangePI Zero3 memory timing testing

2023-11-29 Thread Andre Przywara
Hi Stephen, On 29/11/2023 18:45, Stephen Graf wrote: Some testing results: With the default DRAM timing of 30x24=720, most often when my system boots it comes up with DRAM 2G, but I have a 1G system. Once in a while the boot shows 1G.  When it shows 2G the linux OS also shows 2G and continui

Re: mdt_debug write

2023-11-29 Thread Stephen Graf
Thank you for the update Andre. The flashcp worked. I rebooted without an SD card and the new u-boot started properly. Now as to making a patch file, I will give it a try. Keep in mind that when I started my working career the concept of patching was to shuffle a deck of IBM 80 column punc

Re: mdt_debug write

2023-11-29 Thread Stephen Graf
Is the attached patch file going in the right direction? On 2023-11-29 3:57 p.m., Andre Przywara wrote: Hi Stephen, On 28/11/2023 20:07, Stephen Graf wrote: Below is the console log from trying to use mtd_debug write. It returned immediately with a strange success message. root@orangepizero3

Re: OrangePI Zero3 memory timing testing

2023-11-29 Thread Siarhei Siamashka
Hello, Please try to insert udelay() calls in addition to dsb() in the mctl_mem_matches() and see if this helps. I suspect that there's just no way to do perfectly reliable synchronization all the way from the CPU to DRAM and back in this particular scenario (which involves wacky things, such as a

  1   2   >