Re: [RFC 6/6] test: dm: add SCMI pinctrl test

2023-09-10 Thread AKASHI Takahiro
On Sun, Sep 10, 2023 at 01:13:30PM -0600, Simon Glass wrote: > Hi AKASHI, > > On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro > wrote: > > > > In this test, SCMI-based pinmux feature is exercised. > > > > Signed-off-by: AKASHI Takahiro > > --- > > test/dm/scmi.c | 62

Re: [RFC 4/6] gpio: add scmi driver based on pinctrl

2023-09-10 Thread AKASHI Takahiro
Hi Simon, On Sun, Sep 10, 2023 at 01:13:24PM -0600, Simon Glass wrote: > Hi, > > On Thu, 7 Sept 2023 at 22:32, AKASHI Takahiro > wrote: > > > > Hi Simon, > > > > On Thu, Sep 07, 2023 at 06:23:05AM -0600, Simon Glass wrote: > > > Hi AKASHI, > > > > > > On Tue, 5 Sept 2023 at 20:41, AKASHI

Re: [PATCH] ufs: ufs-renesas: Drop include common.h

2023-09-10 Thread Bhupesh Sharma
On 9/9/23 8:24 AM, Marek Vasut wrote: The "#include " is being phased out in favor of more fine grained header management, i.e. ideally include a subset of headers that are really needed. Remove it from this driver. Signed-off-by: Marek Vasut --- Cc: Bhupesh Sharma Cc: Neha Malcom Francis

Re: [RFC 5/6] firmware: scmi: add pseudo pinctrl protocol support on sandbox

2023-09-10 Thread AKASHI Takahiro
On Sun, Sep 10, 2023 at 01:13:28PM -0600, Simon Glass wrote: > Hi AKASHI, > > On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro > wrote: > > > > With this patch, sandbox SCMI agent can handle pinctrl protocol. > > This feature is used in an unit test for SCMI pinctrl. > > > > Signed-off-by: AKASHI

Re: [RFC 3/6] pinctrl: add scmi driver

2023-09-10 Thread AKASHI Takahiro
Hi Simon, On Sun, Sep 10, 2023 at 01:13:27PM -0600, Simon Glass wrote: > Hi AKASHI, > > On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro > wrote: > > > > This DM-compliant driver deals with SCMI pinctrl protocol and presents > > pinctrl devices exposed by SCMI firmware (server). > > > >

Re: [RFC 1/6] firmware: scmi: fix protocol enumeration logic

2023-09-10 Thread AKASHI Takahiro
Hi Simon, On Sun, Sep 10, 2023 at 01:13:26PM -0600, Simon Glass wrote: > Hi AKASHI, > > On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro > wrote: > > > > The original logic in enumerating all the protocols accidentally > > modifies a *loop* variable, node, at Voltage domain protocol. > > So

Re: [PATCH v2] binman: Fix SyntaxWarning: invalid escape sequence '\('

2023-09-10 Thread Rong Tao
On 9/11/23 6:36 AM, Simon Glass wrote: Hi, On Tue, 5 Sept 2023 at 19:34, 荣涛 wrote: Thanks, Simon The following lines is my systeme ENV and make log $ cat /etc/os-release NAME="Fedora Linux" VERSION="40 (Workstation Edition Prerelease)" ID=fedora VERSION_ID=40 VERSION_CODENAME=""

[PATCH] buildman: Disable CONFIG_CMD_CONFIG for reproduceable build

2023-09-10 Thread Simon Glass
When the ordering of CONFIG options changes, the gzipped CONFIG list can change in size and contents. This makes it hard to compare commits which only different in CONFIG ordering. Disable this when -r is given, to make this easier. Update the documentation as well. Signed-off-by: Simon Glass

Re: [PATCH v3 5/9] board: qualcomm: Add support for dragonboard845c

2023-09-10 Thread Simon Glass
Hi Sumit, On Tue, 29 Aug 2023 at 04:24, Sumit Garg wrote: > > Hi Simon, > > On Tue, 29 Aug 2023 at 03:39, Simon Glass wrote: > > > > Hi Peter, > > > > On Mon, 28 Aug 2023 at 14:24, Peter Robinson wrote: > > > > > > On Mon, Aug 28, 2023 at 6:55 PM Simon Glass wrote: > > > > > > > > Hi Sumit, >

Re: [PATCH v3 5/9] board_f: Fix corruption of relocaddr

2023-09-10 Thread Simon Glass
Hi Devarsh, On Thu, 17 Aug 2023 at 09:10, Tom Rini wrote: > > On Wed, Aug 16, 2023 at 09:16:05PM +0530, Devarsh Thakkar wrote: > > Hi Simon, > > > > On 15/08/23 20:14, Simon Glass wrote: > > > Hi Devarsh, > > > > > > On Tue, 15 Aug 2023 at 03:23, Devarsh Thakkar wrote: > > >> > > >> Hi Simon,

Re: [PATCH v2] binman: Fix SyntaxWarning: invalid escape sequence '\('

2023-09-10 Thread Simon Glass
Hi, On Tue, 5 Sept 2023 at 19:34, 荣涛 wrote: > > Thanks, Simon > > The following lines is my systeme ENV and make log > > $ cat /etc/os-release > NAME="Fedora Linux" > VERSION="40 (Workstation Edition Prerelease)" > ID=fedora > VERSION_ID=40 > VERSION_CODENAME="" > PLATFORM_ID="platform:f40" >

Re: [PATCH] Makefile: Force regeneration of env.txt

2023-09-10 Thread Simon Glass
Hi Andrew, On Tue, 5 Sept 2023 at 12:15, Andrew Davis wrote: > > On 9/5/23 1:09 PM, Andrew Davis wrote: > > If the source .env file changes to one that is also older than > > the generated env.txt file then it is not regenerated. This means > > when switching board configs we do not regenerate

Re: sandbox trace errors in CI loop

2023-09-10 Thread Simon Glass
Hi Michal, On Fri, 8 Sept 2023 at 09:00, Michal Simek wrote: > > Hi Tom, > > pá 8. 9. 2023 v 15:42 odesílatel Michal Simek napsal: > > > > > > > > On 9/8/23 15:34, Tom Rini wrote: > > > On Fri, Sep 08, 2023 at 12:24:10PM +0200, Michal Simek wrote: > > >> > > >> > > >> On 9/7/23 20:14, Tom Rini

Re: [PATCH v3] bootstd: sata: Add bootstd support for ahci sata

2023-09-10 Thread Simon Glass
Hi Tony, On Fri, 8 Sept 2023 at 13:10, Tony Dinh wrote: > > Add ahci sata bootdev and corresponding hunting function. > > Signed-off-by: Tony Dinh > --- > > Changes in v3: > - Correct drivers/ata/Makefile to compile sata_bootdev only if > ahci sata is enabled. > > Changes in v2: > - set devtype

Re: [PATCH] arm: apple: Add initial Apple M2 Ultra support

2023-09-10 Thread Simon Glass
Hi, On Wed, 6 Sept 2023 at 15:50, Janne Grunau wrote: > > Apple's M2 Ultra SoC are somewhat similar to the M1 Ultra but needs > a tweaked memory map as the M2 Pro/Max SoCs. USB, NVMe, UART, WDT > and PCIe are working with the existing drivers. > > Signed-off-by: Janne Grunau > --- >

Re: NVMe support on RPi CM4 board

2023-09-10 Thread Simon Glass
Hi Luis, On Tue, 5 Sept 2023 at 17:17, Luis Alfredo da Silva wrote: > > Thanks for your answer Simon, > >> Can you check if the device has PCI bus master enabled? > > > I think this one will take me a bit more time, should this be in raspberry > pi’s eeprom firmware? > > Will the disabled PCI

Re: [RFC 4/6] gpio: add scmi driver based on pinctrl

2023-09-10 Thread Simon Glass
Hi, On Thu, 7 Sept 2023 at 22:32, AKASHI Takahiro wrote: > > Hi Simon, > > On Thu, Sep 07, 2023 at 06:23:05AM -0600, Simon Glass wrote: > > Hi AKASHI, > > > > On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro > > wrote: > > > > > > This DM-compliant driver deals with SCMI pinctrl protocol and

Re: [PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-09-10 Thread Simon Glass
Hi Mark, On Sun, 10 Sept 2023 at 08:57, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Thu, 7 Sep 2023 09:57:34 -0600 > > > > Hi Mark, > > > > On Thu, 7 Sept 2023 at 07:08, Mark Kettenis wrote: > > > > > > > From: Simon Glass > > > > Date: Thu, 7 Sep 2023 06:23:10 -0600 > > > > > > >

Re: [PATCH 30/32] fdt: Allow the devicetree to come from a bloblist

2023-09-10 Thread Simon Glass
Hi Ilias, On Mon, 4 Sept 2023 at 03:31, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 1 Sept 2023 at 18:51, Simon Glass wrote: > > > > Hi Ilias, > > > > On Fri, 1 Sept 2023 at 01:50, Ilias Apalodimas > > wrote: > > > > > > [...] > > > > > > > > > > > > > > +config OF_BLOBLIST > > > > > >

Re: [RFC 6/6] test: dm: add SCMI pinctrl test

2023-09-10 Thread Simon Glass
Hi AKASHI, On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro wrote: > > In this test, SCMI-based pinmux feature is exercised. > > Signed-off-by: AKASHI Takahiro > --- > test/dm/scmi.c | 62 ++ > 1 file changed, 62 insertions(+) > > diff --git

Re: [PATCH v2] global: Use proper project name U-Boot (next2)

2023-09-10 Thread Simon Glass
On Fri, 8 Sept 2023 at 01:11, Michal Simek wrote: > > Use proper project name in README, rst and comment. > Done in connection to commit bb922ca3eb4b ("global: Use proper project name > U-Boot (next)"). > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Revert change in

Re: [PATCH] tpm: Fix autostart for TPM1.2 devices

2023-09-10 Thread Simon Glass
On Fri, 8 Sept 2023 at 22:07, Heinrich Schuchardt wrote: > > On 9/8/23 22:37, Ilias Apalodimas wrote: > > On commit e663b2ff4ba2("tpm: Add 'tpm autostart' shell command") an > > autostart function was added for both TPM1.2 and 2.0 devices. Instead > > of correctly wiring the autostart command

Re: [RFC 1/6] firmware: scmi: fix protocol enumeration logic

2023-09-10 Thread Simon Glass
Hi AKASHI, On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro wrote: > > The original logic in enumerating all the protocols accidentally > modifies a *loop* variable, node, at Voltage domain protocol. > So subsequent protocol nodes in a device tree won't be detected. > > Signed-off-by: AKASHI

Re: [RFC 3/6] pinctrl: add scmi driver

2023-09-10 Thread Simon Glass
Hi AKASHI, On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro wrote: > > This DM-compliant driver deals with SCMI pinctrl protocol and presents > pinctrl devices exposed by SCMI firmware (server). > > Signed-off-by: AKASHI Takahiro > --- > drivers/pinctrl/Kconfig| 11 + >

Re: [RFC 5/6] firmware: scmi: add pseudo pinctrl protocol support on sandbox

2023-09-10 Thread Simon Glass
Hi AKASHI, On Tue, 5 Sept 2023 at 20:41, AKASHI Takahiro wrote: > > With this patch, sandbox SCMI agent can handle pinctrl protocol. > This feature is used in an unit test for SCMI pinctrl. > > Signed-off-by: AKASHI Takahiro > --- > arch/sandbox/dts/test.dts | 115 >

Re: [PATCH 3/8] binman: capsule: Generate capsules through config file

2023-09-10 Thread Simon Glass
Hi Sughosh, On Fri, 8 Sept 2023 at 06:00, Sughosh Ganu wrote: > > Add support in binman for generating capsules by reading the capsule > parameters through a config file. Also add a test case in binman for > this mode of capsule generation. > > Signed-off-by: Sughosh Ganu > --- > >

Re: [PATCH] binman: doc: fix reference tag placement for Logging section

2023-09-10 Thread Simon Glass
Hi Massimo, On Sun, 10 Sept 2023 at 09:35, Massimo Pegorer wrote: > > Hi Simon, Heinrich, > > Il giorno sab 9 set 2023 alle ore 15:52 Massimo Pegorer > ha scritto: > > > > Move BinmanLogging reference tag after section "Signing FIT container > > with private key in an image" and just before

Re: [PATCH 1/1] test: build dependency for event unit tests

2023-09-10 Thread Simon Glass
On Thu, 7 Sept 2023 at 10:45, Heinrich Schuchardt wrote: > > The test_event_base and test_event_probe unit tests use function > event_register() which depends on CONFIG_EVENT_DYNAMIC=y. > > Fixes: 7d02645fe4c0 ("event: Add a simple test") > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH v1] doc: Update path to source_file_format.rst

2023-09-10 Thread Simon Glass
On Fri, 8 Sept 2023 at 13:28, Heinrich Schuchardt wrote: > > On 9/7/23 22:50, Joao Marcos Costa wrote: > > Previously, the file extension was .txt, and it referenced the uImage.FIT > > directory, which no longer exists. This commit updates the path accordingly. > > > > Signed-off-by: Joao Marcos

Re: UEFI update files missing on sandbox?

2023-09-10 Thread Simon Glass
Hi Sughosh, On Sun, 10 Sept 2023 at 04:54, Sughosh Ganu wrote: > > hi Simon, > > On Sun, 10 Sept 2023 at 04:10, Simon Glass wrote: > > > > Hi Sughosh, > > > > I thought that all your patches were merged but now when I build > > sandbox I don't see the capsule-update files generated. Is there >

Re: [PATCH] patman: Respect include directive on Git config lookup

2023-09-10 Thread Simon Glass
On Fri, 8 Sept 2023 at 08:17, Fei Shao wrote: > > People may put their user name and email in a local config file and > reference it by the include.* directives, however `git config --global` > doesn't look up the included configs by default. > > Enable the --includes option explicitly to support

[PATCH v4 2/2] x86: Update cbmem driver

2023-09-10 Thread Simon Glass
This driver is not actually built since a Kconfig was never created for it. Add a Kconfig (which is already implied by COREBOOT) and update the implementation to avoid using unnecessary memory. Drop the #ifdef at the top since we can rely on Kconfig to get that right. To enable it (in addition

[PATCH v4 1/2] x86: coreboot: Document cbmem console struct

2023-09-10 Thread Simon Glass
Coreboot changed a few years ago to include an overflow flag. Update the structure to match this. This comes from coreboot commit: 6f5ead14b4 ("mb/google/nissa/var/joxer: Update eMMC DLL settings") Note: There are several implementations of this in coreboot. I have chosen to follow the one

Re: [PATCH v3 0/4] support for booting the compressed U-boot binary on Rockchip based ARM64 SOC's

2023-09-10 Thread Jonas Karlman
Hi, On 2023-09-10 20:24, Manoj Sai wrote: > This patchset adds the support on Rockchip based ARM64 SOC's that compress > the U-BOOT proper along with dtb > and ATF in FIT image format.Second stage bootloader(SPL) loads the compressed > binaries, uncompress > them and handover control to the

[PATCH v3 4/4] rockchip: Add support to generate LZMA compressed U-boot binary

2023-09-10 Thread Manoj Sai
Add support for generating a LZMA-compressed U-boot binary with the help of binman, if CONFIG_SPL_LZMA is selected. Signed-off-by: Manoj Sai Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- Changes in v3: - None Changes in v2: - New patch for v2 arch/arm/dts/rockchip-u-boot.dtsi | 4

[PATCH v3 3/4] rockchip: Add support to generate GZIP compressed U-boot binary

2023-09-10 Thread Manoj Sai
Add support for generating a GZIP-compressed U-boot binary with the help of binman, if CONFIG_SPL_GZIP is selected. Signed-off-by: Manoj Sai Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- Changes in v3: - None Changes in v2: - New patch for v2 arch/arm/dts/rockchip-u-boot.dtsi | 7

[PATCH v3 2/4] spl: fit: support for booting a LZMA-compressed U-boot binary

2023-09-10 Thread Manoj Sai
If LZMA Compression support is enabled, LZMA compressed U-Boot binary will be placed at a specified RAM location which is defined at CONFIG_SYS_LOAD_ADDR and will be assigned as the source address. image_decomp() function, will decompress the LZMA compressed U-Boot binary which is placed at

[PATCH v3 1/4] spl: fit: support for booting a GZIP-compressed U-boot binary

2023-09-10 Thread Manoj Sai
If GZIP Compression support is enabled, GZIP compressed U-Boot binary will be at a specified RAM location which is defined at CONFIG_SYS_LOAD_ADDR and will be assign it as the source address. gunzip function in spl_load_fit_image ,will decompress the GZIP compressed U-Boot binary which is placed

[PATCH v3 0/4] support for booting the compressed U-boot binary on Rockchip based ARM64 SOC's

2023-09-10 Thread Manoj Sai
This patchset adds the support on Rockchip based ARM64 SOC's that compress the U-BOOT proper along with dtb and ATF in FIT image format.Second stage bootloader(SPL) loads the compressed binaries, uncompress them and handover control to the next stage. Changes for V3 :- 1. Replaced

Re: [PATCH] binman: doc: fix reference tag placement for Logging section

2023-09-10 Thread Massimo Pegorer
Hi Simon, Heinrich, Il giorno sab 9 set 2023 alle ore 15:52 Massimo Pegorer ha scritto: > > Move BinmanLogging reference tag after section "Signing FIT container > with private key in an image" and just before section "Logging". > > Fixes: 0f40e23fd22 ("binman: add documentation for binman sign

Re: [PATCH v2] bootstd: Make efi_mgr bootmeth work for non-sandbox setups

2023-09-10 Thread Mark Kettenis
> From: Simon Glass > Date: Thu, 7 Sep 2023 09:57:34 -0600 > > Hi Mark, > > On Thu, 7 Sept 2023 at 07:08, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Thu, 7 Sep 2023 06:23:10 -0600 > > > > > > Hi Mark, > > > > > > On Sun, 3 Sept 2023 at 14:40, Mark Kettenis wrote: > > > > >

Re: UEFI update files missing on sandbox?

2023-09-10 Thread Sughosh Ganu
hi Simon, On Sun, 10 Sept 2023 at 04:10, Simon Glass wrote: > > Hi Sughosh, > > I thought that all your patches were merged but now when I build > sandbox I don't see the capsule-update files generated. Is there > something missing? The building of the EFI capsules was moved to the