Re: [PATCH v5 00/25] passage: Define a standard for firmware data flow

2025-05-28 Thread Simon Glass
Hi Tom, On Wed, 28 May 2025 at 16:19, Tom Rini wrote: > > On Wed, May 28, 2025 at 03:32:12PM +0100, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 28 May 2025 at 15:25, Tom Rini wrote: > > > > > > On Wed, May 28, 2025 at 06:32:02AM -0600, Simon Glass

Re: [PATCH v5 00/25] passage: Define a standard for firmware data flow

2025-05-28 Thread Simon Glass
Hi Tom, On Wed, 28 May 2025 at 15:25, Tom Rini wrote: > > On Wed, May 28, 2025 at 06:32:02AM -0600, Simon Glass wrote: > > > > This series adds a standard way of passing information between different > > firmware phases. This already exists in U-Boot at a very basic lev

[PATCH v5 17/25] arm: qemu: Add an SPL build

2025-05-28 Thread Simon Glass
can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Drop common.h - Refresh the U-Boot output in the documentation - Use bootph tags arch/arm/dts/qemu-arm-u-boot.dtsi

[PATCH v5 18/25] arm: qemu: Add a 64-bit SPL build

2025-05-28 Thread Simon Glass
, so we can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a build for aarch64 as well arch/arm/dts/qemu-arm64-u-boot.dtsi | 29 ++ arch/arm/dts/qemu-arm64.dts

[PATCH v5 00/25] passage: Define a standard for firmware data flow

2025-05-28 Thread Simon Glass
ches already applied) - Rework global_data for new stdpass convention - Split the jump_to_image_no_args() change into its own patch - Update the commit message to mention the long lines - Use three registers instead of two for the entry Simon Glass (25): RFC: scripts: Add scripts for running QEM

[PATCH v4 15/22] arm: qemu: Add a 64-bit SPL build

2025-05-10 Thread Simon Glass
, so we can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add a build for aarch64 as well arch/arm/dts/qemu-arm64-u-boot.dtsi | 29 ++ arch/arm/dts/qemu-arm64.dts

[PATCH v4 14/22] arm: qemu: Add an SPL build

2025-05-10 Thread Simon Glass
can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Drop common.h - Refresh the U-Boot output in the documentation - Use bootph tags arch/arm/dts/qemu-arm-u-boot.dtsi

[PATCH v3 14/22] arm: qemu: Add an SPL build

2025-04-17 Thread Simon Glass
can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- Changes in v3: - Drop common.h - Refresh the U-Boot output in the documentation - Use bootph tags arch/arm/dts/qemu-arm-u-boot.dtsi| 22 ++ arch/arm/dts

[PATCH v3 15/22] arm: qemu: Add a 64-bit SPL build

2025-04-17 Thread Simon Glass
, so we can obtain it from standard passage. For now this just boots and hangs in SPL as there is no bloblist. Signed-off-by: Simon Glass --- Changes in v3: - Add a build for aarch64 as well arch/arm/dts/qemu-arm64-u-boot.dtsi | 29 +++ arch/arm/dts/qemu-arm64.dts | 338

[PATCH v3] hw/arm/virt: Allow additions to the generated device tree

2025-04-05 Thread Simon Glass
cular type of format. Link: https://docs.u-boot.org/en/latest/develop/devicetree/dt_qemu.html Link: https://patchwork.ozlabs.org/project/uboot/patch/20250405190711.365419-1-...@chromium.org/ Signed-off-by: Simon Glass --- Changes in v3: - Rebase to master Changes in v2: - Rebase to master docs

[PATCH v4 04/47] x86: qemu: Switch to bochs display

2025-03-15 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- (no changes since v2) Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files

[PATCH v5 00/46] x86: Improve operation under QEMU

2025-03-15 Thread Simon Glass
with a test for booting Ubuntu 24.04 Simon Glass (46): boot: Correct ramdisk address sandbox: Correct a typo in mapmem x86: Expand x86_64 early memory x86: qemu: Switch to bochs display x86: qemu: Enable dhrystone x86: qemu: Avoid accessing BSS too early x86: Drop mpspec from the SPL

[PATCH v5 05/46] x86: qemu: Enable dhrystone

2025-03-15 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v5 28/46] x86: qemu: Support environment and cat command

2025-03-15 Thread Simon Glass
Add support for an environment stored in the first partition of the disk, which is assumed to hold a FAT filesystem. Support the 'cat' command as it is useful for looking at extlinux.conf files. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_def

Re: [PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-15 Thread Simon Glass
Hi Tom, On Sat, 15 Mar 2025 at 13:57, Tom Rini wrote: > > On Sat, Mar 15, 2025 at 12:54:25PM +, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 14 Mar 2025 at 16:06, Tom Rini wrote: > > > > > > On Fri, Mar 14, 2025 at 02:44:35PM +, Simon Glass

[PATCH v5 34/46] x86: qemu: Use the new e820 API

2025-03-15 Thread Simon Glass
Move over to use this API before making the code even more complicated. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to use the new e820 API arch/x86/cpu/qemu/e820.c | 48 ++-- 1 file changed, 12 insertions(+), 36

[PATCH v5 04/46] x86: qemu: Switch to bochs display

2025-03-15 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- (no changes since v2) Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files

[PATCH v5 06/46] x86: qemu: Avoid accessing BSS too early

2025-03-15 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

Re: [PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-15 Thread Simon Glass
Hi Tom, On Fri, 14 Mar 2025 at 16:06, Tom Rini wrote: > > On Fri, Mar 14, 2025 at 02:44:35PM +, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 7 Mar 2025 at 14:23, Tom Rini wrote: > > > > > > On Thu, Mar 06, 2025 at 09:03:27AM -0700, Simon Glass

Re: [PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-14 Thread Simon Glass
Hi Tom, On Fri, 7 Mar 2025 at 14:23, Tom Rini wrote: > > On Thu, Mar 06, 2025 at 09:03:27AM -0700, Simon Glass wrote: > > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it > > is not perfect. > > > > With both builds, executing the VESA RO

[PATCH v4 06/47] x86: qemu: Avoid accessing BSS too early

2025-03-08 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

[PATCH v4 00/47] x86: Improve operation under QEMU

2025-03-06 Thread Simon Glass
new patch with a helper to send characters - Add new patch to allow tests to be filtered by role - Add more patches to support booting with kvm - Add new patch with a test for booting Ubuntu 24.04 Simon Glass (47): boot: Correct ramdisk address sandbox: Correct a typo in mapmem x86: Expand

[PATCH v4 28/47] x86: qemu: Support environment and cat command

2025-03-06 Thread Simon Glass
Add support for an environment stored in the first partition of the disk, which is assumed to hold a FAT filesystem. Support the 'cat' command as it is useful for looking at extlinux.conf files. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_def

[PATCH v4 05/47] x86: qemu: Enable dhrystone

2025-03-06 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v4 34/47] x86: qemu: Use the new e820 API

2025-03-06 Thread Simon Glass
Move over to use this API before making the code even more complicated. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to use the new e820 API arch/x86/cpu/qemu/e820.c | 48 ++-- 1 file changed, 12 insertions(+), 36

[PATCH v3 00/44] x86: Improve operation under QEMU

2025-02-24 Thread Simon Glass
patch with a test for booting Ubuntu 24.04 Simon Glass (44): x86: Expand x86_64 early memory x86: qemu: Switch to bochs display x86: qemu: Enable dhrystone x86: qemu: Avoid accessing BSS too early x86: Drop mpspec from the SPL build x86: Add some log categories x86: Drop use of

[PATCH v3 04/44] x86: qemu: Avoid accessing BSS too early

2025-02-24 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

[PATCH v3 26/44] x86: qemu: Support environment and cat command

2025-02-24 Thread Simon Glass
Add support for an environment stored in the first partition of the disk, which is assumed to hold a FAT filesystem. Support the 'cat' command as it is useful for looking at extlinux.conf files. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_def

[PATCH v3 03/44] x86: qemu: Enable dhrystone

2025-02-24 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v3 02/44] x86: qemu: Switch to bochs display

2025-02-24 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- (no changes since v2) Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files

[PATCH v3 32/44] x86: qemu: Use the new e820 API

2025-02-24 Thread Simon Glass
Move over to use this API before making the code even more complicated. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to use the new e820 API arch/x86/cpu/qemu/e820.c | 48 ++-- 1 file changed, 12 insertions(+), 36 deletions(-) diff --git a

Re: [PATCH v2 00/28] x86: Improve operation under QEMU

2025-02-17 Thread Simon Glass
Hi Paolo, On Sun, 16 Feb 2025 at 14:14, Paolo Bonzini wrote: > > On 2/16/25 21:43, Simon Glass wrote: > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it > > is not perfect. > > > > With both builds, executing the VESA ROM causes an intermitt

Re: [PATCH v2 00/28] x86: Improve operation under QEMU

2025-02-17 Thread Simon Glass
Hi Tom, On Sun, 16 Feb 2025 at 14:57, Tom Rini wrote: > > On Sun, Feb 16, 2025 at 01:43:45PM -0700, Simon Glass wrote: > > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it > > is not perfect. > > > > With both builds, executing the VES

[PATCH v2 03/28] x86: qemu: Enable dhrystone

2025-02-16 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- (no changes since v1) configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/co

[PATCH v2 04/28] x86: qemu: Avoid accessing BSS too early

2025-02-16 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 20

[PATCH v2 02/28] x86: qemu: Switch to bochs display

2025-02-16 Thread Simon Glass
as it doesn't need an option ROM. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- Changes in v2: - Redo commit message configs/qemu-x86_64_defconfig | 5 ++--- configs/qemu-x86_defconfig| 5 ++--- 2 files changed, 4 insertions(+), 6

[PATCH v2 00/28] x86: Improve operation under QEMU

2025-02-16 Thread Simon Glass
of is_power_of_2() - Add new patch to set an MTRR for the RAM in QEMU - Add new patch with a helper to send characters - Add new patch to allow tests to be filtered by role - Add more patches to support booting with kvm - Add new patch with a test for booting Ubuntu 24.04 Simon Glass (28): x86

[PATCH 04/18] x86: qemu: Enable dhrystone

2024-11-12 Thread Simon Glass
Provide the 'dhry' command, which helps to check that kvm is being used properly with QEMU. Signed-off-by: Simon Glass --- configs/qemu-x86_64_defconfig | 1 + configs/qemu-x86_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/configs/qemu-x86_64_defconfig b/co

[PATCH 05/18] x86: qemu: Avoid accessing BSS too early

2024-11-12 Thread Simon Glass
BSS is placed in DRAM which is actually available early with QEMU. But it is cleared by the init sequence, so values stored there are lost. Move the system-type flag into a function, instead. Signed-off-by: Simon Glass --- arch/x86/cpu/qemu/qemu.c | 20 ++-- 1 file changed, 14

[PATCH 03/18] RFC: x86: qemu: Switch to bochs display

2024-11-12 Thread Simon Glass
as it doesn't need an option ROM. Unfortunately this causes the Ubuntu 22.04 installer to stop booting, which needs further investigation Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/31 --- configs/qemu-x86_64_defconfig | 5 ++--- co

[PATCH 00/18] x86: Improve operation under QEMU

2024-11-12 Thread Simon Glass
clear whether this due to a problem with the UEFI GOP, or something else. It hangs before the Ubuntu logo appears. So this series is unfinished. I thought it best to post what is here in the hope that others can help work out the kinks. Simon Glass (18): scripts: Add a script for building and booting

[PATCH 15/19] arm: qemu: Allow SPL and TPL

2024-09-25 Thread Simon Glass
Indicate that these boards can be supported, so a new 'TPL' board can be added. Signed-off-by: Simon Glass --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 656f588a97c..dfc735237aa 100644 --- a/arch/arm/Kconfig +++

[PATCH 00/19] spl: Support a relocating jump between phases (VBE part F)

2024-09-25 Thread Simon Glass
ich so far have only been used on real hardware. Overall, without SPL_RELOC_LOADER enabled, this series provides a very small code-size benefit due to it dropping some unneeded symbols. Simon Glass (19): spl: Reduce the size of the bl_len field spl: Provide a way of indicating the phase to

[PATCH v6 6/7] x86: qemu: Expand ROM size

2024-01-04 Thread Simon Glass
Expand the ROM for x86_64 to 2MB to make space for the font, as it is already on the edge. Signed-off-by: Simon Glass --- (no changes since v1) board/emulation/qemu-x86/Kconfig | 3 ++- configs/qemu-x86_64_defconfig| 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a

[PATCH v6 0/7] Resolve issues with booting distros on x86

2024-01-04 Thread Simon Glass
new patch to drop unnecessary truetype operations from SPL - Add new patch to enable truetype fonts in coreboot - Add new patch to enable truetype fonts in qemu-x86 and qemu-x86_64 Changes in v2: - Add new patch to add a coreboot boot script Simon Glass (7): x86: coreboot: Add a boot scri

[PATCH v6 7/7] x86: qemu: Enable truetype fonts

2024-01-04 Thread Simon Glass
Enable this feature to provide a larger font choice and more attractive menus. Expand the ROM for x86_64 to 2MB to make space for the font. Signed-off-by: Simon Glass --- Changes in v6: - Move 'Avoid unbinding devices in use by bootflows' to another series Changes in v3: - Add ne

[PATCH v2] hw/arm/virt: Allow additions to the generated device tree

2023-11-16 Thread Simon Glass
cular type of format. [resending this as the original patch has gone stale] Signed-off-by: Simon Glass --- Changes in v2: - Rebase to master docs/system/arm/virt.rst | 13 +++- hw/arm/virt.c| 135 +++ hw/core/machine.c| 20 ++

Re: [PULL 2/3] edk2: replace build scripts

2023-03-20 Thread Simon Glass
Hi Gerd, On Thu, 16 Mar 2023 at 04:49, Gerd Hoffmann wrote: > > Hi, > > > The README should mention that you need to use > > > > . edk2setup.sh > > > > first. > > The script will do that if needed. > > > Also you need to be in the edk2 directory, I think. > > Or use the --core switch, or place

Re: [PULL 3/3] edk2: update firmware binaries

2023-03-10 Thread Simon Glass
Hi Gerd, On Thu, 9 Mar 2023 at 22:38, Gerd Hoffmann wrote: > > On Thu, Mar 09, 2023 at 02:09:30PM -0800, Simon Glass wrote: > > Hi Gerd, > > > > Where did these binaries come from? What commit and how were they built? > > See patch 1/3 for the source (edk2 submo

Re: [PULL 2/3] edk2: replace build scripts

2023-03-10 Thread Simon Glass
Hi Gerd, On Thu, 9 Mar 2023 at 03:58, Gerd Hoffmann wrote: > > Remove Makefile.edk2 and the edk2*.sh scripts with a python script > (which already handles fedora rpm builds) and a config file for it. > > Signed-off-by: Gerd Hoffmann > --- > roms/edk2-build.py | 372 +

Re: [PULL 3/3] edk2: update firmware binaries

2023-03-09 Thread Simon Glass
Hi Gerd, Where did these binaries come from? What commit and how were they built? Regards, Simon

Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree

2023-02-07 Thread Simon Glass
roposal at least on the intent. On the how >> exactly, that is outside my skillset. > > Responding to my own comment: > As the boot flow TFA+U-Boot works, it looks like a cleaner option is to leave > QEMU alone and have > U-Boot SPL do the same work as with TFA: use a section f

Re: [PATCH 00/31] passage: Define a standard for firmware data flow

2021-11-10 Thread Simon Glass
Hi François, On Mon, 8 Nov 2021 at 09:20, François Ozog wrote: > > > > On Fri, 5 Nov 2021 at 18:17, Simon Glass wrote: >> >> ) to signal Hi François, >> >> On Fri, 5 Nov 2021 at 10:31, François Ozog wrote: >> > >> > Hi Simon, >&

Re: [PATCH 00/31] passage: Define a standard for firmware data flow

2021-11-05 Thread Simon Glass
) to signal Hi François, On Fri, 5 Nov 2021 at 10:31, François Ozog wrote: > > Hi Simon, > > Le ven. 5 nov. 2021 à 17:12, Simon Glass a écrit : >> >> Hi François, >> >> On Fri, 5 Nov 2021 at 02:27, François Ozog wrote: >> > >> > >

Re: [PATCH 00/31] passage: Define a standard for firmware data flow

2021-11-05 Thread Simon Glass
Hi François, On Fri, 5 Nov 2021 at 02:27, François Ozog wrote: > > > > On Fri, 5 Nov 2021 at 03:02, Simon Glass wrote: >> >> Hi François, >> >> On Tue, 2 Nov 2021 at 10:03, François Ozog wrote: >> > >> > Hi Simon, >> > >&

Re: [PATCH 00/31] passage: Define a standard for firmware data flow

2021-11-04 Thread Simon Glass
Hi François, On Tue, 2 Nov 2021 at 10:03, François Ozog wrote: > > Hi Simon, > > On Tue, 2 Nov 2021 at 15:59, Simon Glass wrote: >> >> Hi François, >> >> On Mon, 1 Nov 2021 at 02:53, François Ozog wrote: >> > >> > Hi Simon, >> >

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-11-03 Thread Simon Glass
Hi Tom, On Wed, 3 Nov 2021 at 10:02, Tom Rini wrote: > > On Wed, Nov 03, 2021 at 09:22:58AM +0100, Mark Kettenis wrote: > > > From: Simon Glass > > > Date: Tue, 2 Nov 2021 19:20:51 -0600 > > > > > > Hi Mark, > > > > > &g

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-11-03 Thread Simon Glass
Hi Tom, On Wed, 3 Nov 2021 at 09:56, Tom Rini wrote: > > On Tue, Nov 02, 2021 at 07:20:51PM -0600, Simon Glass wrote: > > Hi Mark, > > > > On Wed, 27 Oct 2021 at 16:30, Mark Kettenis wrote: > > > > > > > From: Simon Glass > > > >

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-11-03 Thread Simon Glass
Hi Tom, On Wed, 27 Oct 2021 at 13:25, Tom Rini wrote: > > On Wed, Oct 27, 2021 at 12:23:21PM -0600, Simon Glass wrote: > > Hi François, > > > > On Wed, 27 Oct 2021 at 09:14, François Ozog > > wrote: > > > > > > > > > > > >

Re: [PATCH v5 06/26] arm: qemu: Add a devicetree file for qemu_arm64

2021-11-02 Thread Simon Glass
Hi Tom, On Tue, 2 Nov 2021 at 10:57, Tom Rini wrote: > > On Tue, Nov 02, 2021 at 08:59:45AM -0600, Simon Glass wrote: > > Hi François, > > > > On Mon, 1 Nov 2021 at 11:33, François Ozog wrote: > > > > > > Hi Simon > > > > > > Le lun.

Re: [PATCH v5 06/26] arm: qemu: Add a devicetree file for qemu_arm64

2021-11-02 Thread Simon Glass
Hi Tom, On Tue, 2 Nov 2021 at 11:28, Tom Rini wrote: > > On Tue, Nov 02, 2021 at 09:00:53AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 1 Nov 2021 at 12:07, Tom Rini wrote: > > > > > > On Mon, Nov 01, 2021 at 06:33:35PM +0100, François Ozog

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-11-02 Thread Simon Glass
Hi François, On Wed, 27 Oct 2021 at 14:07, François Ozog wrote: > > Hi Simon > > Le mer. 27 oct. 2021 à 20:23, Simon Glass a écrit : >> >> Hi François, >> >> On Wed, 27 Oct 2021 at 09:14, François Ozog wrote: >> > >> > >> > >&g

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-11-02 Thread Simon Glass
Hi Mark, On Wed, 27 Oct 2021 at 16:30, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Wed, 27 Oct 2021 12:23:21 -0600 > > > > Hi François, > > > > On Wed, 27 Oct 2021 at 09:14, François Ozog > > wrote: > > > > > &g

Re: [PATCH v5 06/26] arm: qemu: Add a devicetree file for qemu_arm64

2021-11-02 Thread Simon Glass
Hi Tom, On Mon, 1 Nov 2021 at 12:07, Tom Rini wrote: > > On Mon, Nov 01, 2021 at 06:33:35PM +0100, François Ozog wrote: > > Hi Simon > > > > Le lun. 1 nov. 2021 à 17:58, Simon Glass a écrit : > > > > > Hi Peter, > > > > > >

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-11-02 Thread Simon Glass
Hi François, On Thu, 28 Oct 2021 at 10:26, François Ozog wrote: > > Hi Simon > > Le jeu. 28 oct. 2021 à 17:44, Simon Glass a écrit : >> >> Hi François, >> >> On Thu, 28 Oct 2021 at 08:50, François Ozog wrote: >> > >> > Hi Simon >&g

Re: [PATCH 00/31] passage: Define a standard for firmware data flow

2021-11-02 Thread Simon Glass
s). It would be great to carve those out > to fast path them and keep this one with the very core of your idea. The DM stats is used in 'passage: Report the devicetree source'. I know it is sideways but I think it is better to make the output line more useful than just r

Re: [PATCH v5 06/26] arm: qemu: Add a devicetree file for qemu_arm64

2021-11-02 Thread Simon Glass
Hi François, On Mon, 1 Nov 2021 at 11:33, François Ozog wrote: > > Hi Simon > > Le lun. 1 nov. 2021 à 17:58, Simon Glass a écrit : >> >> Hi Peter, >> >> On Mon, 1 Nov 2021 at 04:48, Peter Maydell wrote: >> > >> > On Tue, 26 Oct 2021 at

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-11-02 Thread Simon Glass
Hi Ilias, On Mon, 1 Nov 2021 at 05:05, Ilias Apalodimas wrote: > > Hi Simon, > > On Thu, 28 Oct 2021 at 05:51, Simon Glass wrote: > > > > Hi Ilias, > > > > On Tue, 26 Oct 2021 at 00:46, Ilias Apalodimas > > wrote: > > > > > > Hi Sim

Re: [PATCH v5 06/26] arm: qemu: Add a devicetree file for qemu_arm64

2021-11-01 Thread Simon Glass
Hi Peter, On Mon, 1 Nov 2021 at 04:48, Peter Maydell wrote: > > On Tue, 26 Oct 2021 at 01:33, Simon Glass wrote: > > > > Add this file, generated from qemu, so there is a reference devicetree > > in the U-Boot tree. > > > > Signed-off-by: Simon Glass > &

[PATCH 14/31] arm: qemu: Add an SPL build

2021-10-31 Thread Simon Glass
Add an SPL build for qemu so we can test the standard passage feature. Include a binman definition so that SPL and U-Boot are in the same image. For now this just boots to a prompt. Signed-off-by: Simon Glass --- arch/arm/dts/qemu-arm-u-boot.dtsi| 22 + arch/arm/mach-qemu/Kconfig

[PATCH 00/31] passage: Define a standard for firmware data flow

2021-10-31 Thread Simon Glass
1ff10eb217 Simon Glass (31): Makefile: Correct TPL rule for OF_REAL kconfig: Add support for conditional values dm: core: Allow getting some basic stats stddef: Avoid warning with clang with offsetof() fdt: Drop SPL_BUILD macro bloblist: Put the magic number first bloblist: Rename t

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-28 Thread Simon Glass
Hi François, On Thu, 28 Oct 2021 at 08:50, François Ozog wrote: > > Hi Simon > > Le jeu. 28 oct. 2021 à 16:30, Simon Glass a écrit : >> >> Hi François, >> >> On Thu, 28 Oct 2021 at 02:21, François Ozog wrote: >> > >> > Hi Simon, >&g

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-28 Thread Simon Glass
Hi François, On Thu, 28 Oct 2021 at 02:21, François Ozog wrote: > > Hi Simon, > > Le jeu. 28 oct. 2021 à 04:51, Simon Glass a écrit : >> >> Hi Ilias, >> >> On Tue, 26 Oct 2021 at 00:46, Ilias Apalodimas >> wrote: >> > >> > Hi Sim

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-27 Thread Simon Glass
Hi Ilias, On Tue, 26 Oct 2021 at 00:46, Ilias Apalodimas wrote: > > Hi Simon, > > A bit late to the party, sorry! (Did you remember the beer? I am replying to this but I don't think it is all that helpful for me to reply to a lot of things on this thread, since I would not be adding much to my c

Re: [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64

2021-10-27 Thread Simon Glass
Hi all, On Wed, 27 Oct 2021 at 08:56, Tom Rini wrote: > > On Wed, Oct 27, 2021 at 03:44:08PM +0100, Alex Bennée wrote: > > > > François Ozog writes: > > > > > Hi Simon > > > > > > The only place I could agree with this file presence is in the > > > documentation directory, not in dts. It create

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-10-27 Thread Simon Glass
Hi François, On Wed, 27 Oct 2021 at 09:14, François Ozog wrote: > > > > On Wed, 27 Oct 2021 at 16:08, Simon Glass wrote: >> >> Hi François, >> >> On Tue, 26 Oct 2021 at 00:07, François Ozog wrote: >> > >> > Hi Simon >> > >>

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-27 Thread Simon Glass
Hi Mark, On Wed, 27 Oct 2021 at 09:11, Mark Kettenis wrote: > > > From: François Ozog > > Date: Wed, 27 Oct 2021 15:15:01 +0200 > > > > Hi, > > > > On Wed, 27 Oct 2021 at 14:48, Tom Rini wrote: > > > > > On Fri, Oct 15, 2021

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-10-27 Thread Simon Glass
the bloblist handoff working with a devicetree inside it, for qemu_arm. I need to try it on a real board to figure out what the difference is. Regards, Simon > > > Cheers > > FF > > Le mar. 26 oct. 2021 à 02:24, Simon Glass a écrit : >> >> With Ilias' effo

[PATCH v5 06/26] arm: qemu: Add a devicetree file for qemu_arm64

2021-10-25 Thread Simon Glass
Add this file, generated from qemu, so there is a reference devicetree in the U-Boot tree. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/Makefile| 2 +- arch/arm/dts/qemu-arm64.dts | 381 +++ configs/qemu_arm64_defconfig | 1

[PATCH v5 07/26] riscv: qemu: Add devicetree files for qemu_riscv32/64

2021-10-25 Thread Simon Glass
Add these files, generated from qemu, so there is a reference devicetree in the U-Boot tree. Split the existing qemu-virt into two, since we need a different devicetree for 32- and 64-bit machines. Signed-off-by: Simon Glass --- (no changes since v1) arch/riscv/dts/Makefile

[PATCH v5 04/26] arm: riscv: qemu: Explain how to extract the generated dt

2021-10-25 Thread Simon Glass
QEMU currently generates a devicetree for use with U-Boot. Explain how to obtain it. Also explain how to merge it to produce a devicetree with the U-Boot features included. Signed-off-by: Simon Glass --- Changes in v5: - Merge RISC-V and ARM patches since they are similar doc/board/emulation

[PATCH v5 05/26] arm: qemu: Add a devicetree file for qemu_arm

2021-10-25 Thread Simon Glass
Add this file, generated from qemu, so there is a reference devicetree in the U-Boot tree. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/Makefile | 2 + arch/arm/dts/qemu-arm.dts | 402 + configs/qemu_arm_defconfig | 1 + 3

[PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-10-25 Thread Simon Glass
rce in U-Boot' - Rewrite 'Devicetree generated on-the-fly in another project' to cover points raised on v1 - Add 'Why does U-Boot have its nodes and properties?' - Add 'Why not have two devicetrees?' Ilias Apalodimas (1): sandbox: Remove OF_HOSTFILE Simon Glass

[PATCH v5 03/26] arm: qemu: Mention -nographic in the docs

2021-10-25 Thread Simon Glass
Without this option QEMU appears to hang. Add it to avoid confusion. Signed-off-by: Simon Glass --- (no changes since v1) doc/board/emulation/qemu-arm.rst | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-15 Thread Simon Glass
Hi all, On Thu, 14 Oct 2021 at 09:28, Tom Rini wrote: > > On Thu, Oct 14, 2021 at 09:17:52AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 14 Oct 2021 at 08:56, Tom Rini wrote: > > > > > > On Wed, Oct 13, 2021 at 12:06:02PM -06

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-14 Thread Simon Glass
Hi François, On Thu, 14 Oct 2021 at 12:13, François Ozog wrote: > > > > Le mer. 13 oct. 2021 à 20:06, Simon Glass a écrit : >> >> Hi François, >> >> On Wed, 13 Oct 2021 at 11:35, François Ozog wrote: >> > >> > Hi Simon >&g

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-14 Thread Simon Glass
Hi Tom, On Thu, 14 Oct 2021 at 08:56, Tom Rini wrote: > > On Wed, Oct 13, 2021 at 12:06:02PM -0600, Simon Glass wrote: > > Hi François, > > > > On Wed, 13 Oct 2021 at 11:35, François Ozog > > wrote: > > > > > > Hi Simon > > >

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-13 Thread Simon Glass
Hi François, On Wed, 13 Oct 2021 at 11:35, François Ozog wrote: > > Hi Simon > > Le mer. 13 oct. 2021 à 16:49, Simon Glass a écrit : >> >> Hi Tom, Bin,François, >> >> On Tue, 12 Oct 2021 at 19:34, Tom Rini wrote: >> > >> > On Wed, Oct 1

Re: [PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree

2021-10-13 Thread Simon Glass
Hi François, On Tue, 12 Oct 2021 at 19:20, François Ozog wrote: > > > > Le mer. 13 oct. 2021 à 03:02, Simon Glass a écrit : >> >> QEMU currently generates a devicetree for use with U-Boot. Explain how to >> obtain it. >> >> Signed-off-by: Simon Gla

Re: [PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-13 Thread Simon Glass
Hi Tom, Bin,François, On Tue, 12 Oct 2021 at 19:34, Tom Rini wrote: > > On Wed, Oct 13, 2021 at 09:29:14AM +0800, Bin Meng wrote: > > Hi Simon, > > > > On Wed, Oct 13, 2021 at 9:01 AM Simon Glass wrote: > > > > > > With Ilias' efforts we

[PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree

2021-10-12 Thread Simon Glass
QEMU currently generates a devicetree for use with U-Boot. Explain how to obtain it. Signed-off-by: Simon Glass --- doc/board/emulation/qemu-arm.rst | 12 1 file changed, 12 insertions(+) diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst index

[PATCH 04/16] arm: qemu: Add a devicetree file for qemu_arm

2021-10-12 Thread Simon Glass
Add this file, generated from qemu, so there is a reference devicetree in the U-Boot tree. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile | 2 + arch/arm/dts/qemu-arm.dts | 402 + configs/qemu_arm_defconfig | 1 + 3 files changed, 405

[PATCH 03/16] riscv: qemu: Explain how to extract the generate devicetree

2021-10-12 Thread Simon Glass
QEMU currently generates a devicetree for use with U-Boot. Explain how to obtain it. Signed-off-by: Simon Glass --- doc/board/emulation/qemu-riscv.rst | 12 1 file changed, 12 insertions(+) diff --git a/doc/board/emulation/qemu-riscv.rst b/doc/board/emulation/qemu-riscv.rst

[PATCH 01/16] arm: qemu: Mention -nographic in the docs

2021-10-12 Thread Simon Glass
Without this option QEMU appears to hang. Add it to avoid confusion. Signed-off-by: Simon Glass --- doc/board/emulation/qemu-arm.rst | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst index 8d7fda10f15

[PATCH 06/16] riscv: qemu: Add devicetree files for qemu_riscv32/64

2021-10-12 Thread Simon Glass
Add these files, generated from qemu, so there is a reference devicetree in the U-Boot tree. Split the existing qemu-virt into two, since we need a different devicetree for 32- and 64-bit machines. Signed-off-by: Simon Glass --- arch/riscv/dts/Makefile | 2 +- arch/riscv/dts

[PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64

2021-10-12 Thread Simon Glass
Add this file, generated from qemu, so there is a reference devicetree in the U-Boot tree. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile| 2 +- arch/arm/dts/qemu-arm64.dts | 381 +++ configs/qemu_arm64_defconfig | 1 + 3 files changed, 383

[PATCH 00/16] fdt: Make OF_BOARD a boolean option

2021-10-12 Thread Simon Glass
t/patch/20210919215111.3830278-3-...@chromium.org/ Simon Glass (16): arm: qemu: Mention -nographic in the docs arm: qemu: Explain how to extract the generate devicetree riscv: qemu: Explain how to extract the generate devicetree arm: qemu: Add a devicetree file for qemu_arm arm: q

Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree

2021-09-29 Thread Simon Glass
Hi Peter, On Wed, 29 Sept 2021 at 03:10, Peter Maydell wrote: > > On Wed, 29 Sept 2021 at 04:01, Simon Glass wrote: > > On Tue, 28 Sept 2021 at 03:21, Peter Maydell > > wrote: > > > So what *is* this patch doing? The subject says "Allow additions to > >

Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree

2021-09-28 Thread Simon Glass
Hi Peter, On Tue, 28 Sept 2021 at 03:21, Peter Maydell wrote: > > On Mon, 27 Sept 2021 at 21:12, Simon Glass wrote: > > I think you are misunderstanding my patch and that may be the problem here. > > > > Where QEMU is provided with a dtb (-dtb) it uses that and p

Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree

2021-09-27 Thread Simon Glass
Hi Peter, On Mon, 27 Sept 2021 at 10:50, Peter Maydell wrote: > > On Mon, 27 Sept 2021 at 17:04, Simon Glass wrote: > > On Mon, 27 Sept 2021 at 09:46, Peter Maydell > > wrote: > > > > My take is that this is u-boot doing weird custom things with > >

  1   2   >