Re: [PATCH v7 02/26] arm: Disable SPL_FS_FAT when it isn't used

2023-11-08 Thread Simon Glass
_defconfig | 1 - > configs/xilinx_zynqmp_mini_qspi_defconfig | 3 ++- > configs/zynq_cse_nand_defconfig | 2 ++ > configs/zynq_cse_nor_defconfig| 2 ++ > configs/zynq_cse_qspi_defconfig | 2 ++ > 6 files changed, 9 insertions(+), 3 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v7 10/26] spl: Remove filename from spl_load_info

2023-11-08 Thread Simon Glass
c | 3 --- > common/spl/spl_semihosting.c| 1 - > common/spl/spl_spi.c| 2 -- > common/spl/spl_ymodem.c | 1 - > include/spl.h | 2 -- > test/image/spl_load_os.c | 1 - > 10 files changed, 6 insertions(+), 18 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v7 09/26] spl: Set FAT bl_len to ARCH_DMA_MINALIGN

2023-11-08 Thread Simon Glass
_fs.c| 3 ++- > common/spl/spl_fat.c | 2 +- > common/spl/spl_fit.c | 23 +-- > common/spl/spl_imx_container.c | 8 +--- > 4 files changed, 9 insertions(+), 27 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v11 2/9] net: wget: add wget with dns utility function

2023-11-08 Thread Simon Glass
with dhs. > User can call wget with the uri like "http://foo/bar;. > > Signed-off-by: Masahisa Kojima > Reviewed-by: Ilias Apalodimas > Reviewed-by: Ramon Fried > --- > include/net.h | 9 + > net/wget.c| 54 +++++++ > 2 files changed, 63 insertions(+) Reviewed-by: Simon Glass

Re: [PATCH] net: Make NET imply NETDEVICES

2023-11-08 Thread Simon Glass
This suggestion (as an imply is) really isn't about the network > commands but network itself and is a legacy of how intertwined > NET/CMD_NET were historically. Move this over to the NET entry instead > where it is a more logical fit. > > Reported-by: Simon Glass > Signed-off-by:

Re: [PATCH 4/4] serial: s5p: Improve coding style

2023-11-07 Thread Simon Glass
On Tue, 7 Nov 2023 at 12:06, Sam Protsenko wrote: > > Just some minor style fixes. No functional change. > > Signed-off-by: Sam Protsenko > --- > drivers/serial/serial_s5p.c | 34 ++ > 1 file changed, 18 insertions(+), 16 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v6 01/25] spl: blk_fs: Fix uninitialized return value when we can't get a blk_desc

2023-11-07 Thread Simon Glass
> - New > > common/spl/spl_blk_fs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

Re: [PATCH v6 05/25] spl: Remove NULL assignments in spl_load_info

2023-11-07 Thread Simon Glass
pl/spl_spi.c| 2 -- > common/spl/spl_ymodem.c | 1 - > 6 files changed, 12 deletions(-) This makes me wonder if we should have a function to clear it out (using memset() and perhaps a bl_len parameter)? Having said that, the info-field use is pretty self-contained with these files. Reviewed-by: Simon Glass

Re: [PATCH v6 19/25] spl: Convert net to spl_load

2023-11-07 Thread Simon Glass
o members > > Changes in v5: > - Rework to load header in spl_load > > common/spl/spl_net.c | 29 + > include/spl_load.h| 1 + > test/image/spl_load_net.c | 2 ++ > 3 files changed, 8 insertions(+), 24 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v6 17/25] spl: Convert mmc to spl_load

2023-11-07 Thread Simon Glass
l_load > > common/spl/Kconfig | 8 > common/spl/spl_mmc.c | 89 > include/spl_load.h | 1 + > test/image/spl_load_fs.c | 3 -- > 4 files changed, 16 insertions(+), 85 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v6 25/25] spl: fat: Add option to disable DMA alignment

2023-11-07 Thread Simon Glass
gt; 3 files changed, 24 insertions(+), 4 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v6 07/25] spl: Take advantage of bl_len's power-of-twoness

2023-11-07 Thread Simon Glass
.c | 2 +- > common/spl/spl_imx_container.c | 8 > 2 files changed, 5 insertions(+), 5 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v6 24/25] spl: spi: Consolidate spi_load_image_os into spl_spi_load_image

2023-11-07 Thread Simon Glass
> 1 file changed, 14 insertions(+), 40 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-07 Thread Simon Glass
Hi Andre, On Tue, 7 Nov 2023 at 08:12, Andre Przywara wrote: > > On Tue, 7 Nov 2023 05:22:58 -0700 > Simon Glass wrote: > > Hi Simon, > > > Hi Andre, > > > > On Tue, 7 Nov 2023 at 04:27, Andre Przywara > > wrote: > > > > > >

Re: [PATCH v4 1/8] binman: ti-secure: Add support for firewalling entities

2023-11-07 Thread Simon Glass
Hi Manorit, On Tue, 7 Nov 2023 at 02:40, Manorit Chawdhry wrote: > > Hi Simon, > > On 08:29-20231012, Simon Glass wrote: > > Hi Manorit, > > > > On Wed, 11 Oct 2023 at 22:46, Manorit Chawdhry wrote: > > > > > > Hi Simon, > > > >

Re: [PATCH v6 15/25] spl: Convert ext to use spl_load

2023-11-07 Thread Simon Glass
ad_info members > > Changes in v5: > - Rework to load header in spl_load > > common/spl/spl_ext.c | 36 ++-- > include/spl_load.h | 1 + > test/image/spl_load_fs.c | 9 ++--- > 3 files changed, 25 insertions(+), 21 deletions(-)

Re: [PATCH v6 18/25] spl: Convert nand to spl_load

2023-11-07 Thread Simon Glass
gt; test/image/spl_load_nand.c | 2 ++ > 3 files changed, 19 insertions(+), 54 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH 1/4] serial: s5p: Remove common.h inclusion

2023-11-07 Thread Simon Glass
On Tue, 7 Nov 2023 at 12:06, Sam Protsenko wrote: > > It's not really needed here anymore. Remove it, as common.h is going > away at some point. > > Signed-off-by: Sam Protsenko > --- > drivers/serial/serial_s5p.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v6 16/25] spl: Convert fat to spl_load

2023-11-07 Thread Simon Glass
iles changed, 20 insertions(+), 40 deletions(-) Reviewed-by: Simon Glass nits below > > diff --git a/common/spl/spl_fat.c b/common/spl/spl_fat.c > index a0c34eba48f..569f2b32928 100644 > --- a/common/spl/spl_fat.c > +++ b/common/spl/spl_fat.c > @@ -11,8 +11,8 @@ > #include

Re: [PATCH v6 13/25] test: spl: Support testing LEGACY_LZMA filesystem images

2023-11-07 Thread Simon Glass
nged, 25 insertions(+), 6 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH] serial: s5p: Use dev_read_addr_ptr() to get base address

2023-11-07 Thread Simon Glass
v_read_addr_ptr when cast to pointer"). > > Signed-off-by: Sam Protsenko > --- > drivers/serial/serial_s5p.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v6 20/25] spl: Convert nor to spl_load

2023-11-07 Thread Simon Glass
pl_load_nor.c | 2 ++ > 4 files changed, 10 insertions(+), 94 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v6 23/25] spl: Convert spi to spl_load

2023-11-07 Thread Simon Glass
d.h| 1 + > test/image/spl_load_spi.c | 1 + > 3 files changed, 15 insertions(+), 67 deletions(-) > Reviewed-by: Simon Glass I am just amazed at how many times this FIT code got copied...there is something wrong with U-Boot's development model here.

Re: [PATCH v6 14/25] spl: Add generic spl_load function

2023-11-07 Thread Simon Glass
. This is not > complete, since overhead depends on bl_mask. > > common/spl/spl.c | 10 > include/spl_load.h | 135 + > 2 files changed, 145 insertions(+) > create mode 100644 include/spl_load.h > Reviewed-by: Simon Glass Definitely a lot of effort on code size!

Re: [PATCH v6 11/25] spl: nand: Remove spl_nand_legacy_read

2023-11-07 Thread Simon Glass
--- > > Changes in v6: > - New > > common/spl/spl_nand.c | 33 + > 1 file changed, 13 insertions(+), 20 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v6 12/25] spl: legacy: Split off LZMA decompression into its own function

2023-11-07 Thread Simon Glass
+++--- > include/spl.h | 13 > 2 files changed, 52 insertions(+), 34 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH 2/4] serial: s5p: Use livetree API to get "id" property

2023-11-07 Thread Simon Glass
Hi Sam, On Tue, 7 Nov 2023 at 12:06, Sam Protsenko wrote: > > Use dev_read_u8_default() instead of fdtdec_get_int() to read the "id" > property from device tree, as suggested in [1]. dev_* API is already > used in this driver, so there is no reason to stick to fdtdec_* API. > This also fixes

Re: [PATCH v6 21/25] spl: Convert NVMe to spl_load

2023-11-07 Thread Simon Glass
iles changed, 14 insertions(+), 55 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH 3/4] serial: s5p: Use named constants for register values

2023-11-07 Thread Simon Glass
tsenko > --- > drivers/serial/serial_s5p.c | 31 +-- > 1 file changed, 21 insertions(+), 10 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v6 03/25] spl: Make SHOW_ERRORS depend on LIBCOMMON

2023-11-07 Thread Simon Glass
since v5) > > Changes in v5: > - New > > common/spl/Kconfig | 1 + > common/spl/spl.c | 3 +-- > 2 files changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v6 04/25] spl: semihosting: Don't close fd before spl_load_simple_fit

2023-11-07 Thread Simon Glass
> at the end of spl_smh_load_image. > > Signed-off-by: Sean Anderson > --- > > Changes in v6: > - New > > common/spl/spl_semihosting.c | 20 > 1 file changed, 8 insertions(+), 12 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v6 09/25] spl: Remove filename from spl_load_info

2023-11-07 Thread Simon Glass
| 1 - > include/spl.h | 2 -- > test/image/spl_load_os.c | 1 - > 12 files changed, 15 insertions(+), 45 deletions(-) Er, I think Reviewed-by: Simon Glass but I wonder if this patch could be split?

Re: [PATCH v6 06/25] spl: Remove dev from spl_load_info

2023-11-07 Thread Simon Glass
nate to drop the device, isn't it? But then, as before, this is self-contained so Is suppose it doesn't matter what we store. Reviewed-by: Simon Glass Regards, Simon > > Signed-off-by: Sean Anderson > --- > > Changes in v6: > - New > > common/spl/spl_mmc.c | 6 +++-

Re: [PATCH v6 10/25] spl: Only support bl_len when we have to

2023-11-07 Thread Simon Glass
c| 4 ++-- > common/spl/spl_ymodem.c | 2 +- > drivers/usb/gadget/f_sdp.c | 4 ++-- > include/spl.h | 25 + > test/image/Kconfig | 1 + > test/image/spl_load.c | 9 ++++----- > test/image/spl_load_os.c| 2 +- > 21 files changed, 78 insertions(+), 41 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-07 Thread Simon Glass
Hi, On Tue, 7 Nov 2023 at 15:38, Tom Rini wrote: > > On Tue, Nov 07, 2023 at 10:27:50PM +, Conor Dooley wrote: > > On Tue, Nov 07, 2023 at 05:10:23PM -0500, Tom Rini wrote: > > > > > > > further clarify or not > > > the RISC-V ISA thing that's elsewhere in this thread (and part of the > > >

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-11-07 Thread Simon Glass
Hi, On Tue, 31 Oct 2023 at 09:56, Simon Glass wrote: > > Hi Rob, > > On Mon, 16 Oct 2023 at 15:54, Simon Glass wrote: > > > > Hi Rob, > > > > On Mon, 16 Oct 2023 at 10:50, Rob Herring wrote: > > > > > > On Fri, Oct 13, 2023

[PATCH v4 3/3] arm64: boot: Support Flat Image Tree

2023-11-07 Thread Simon Glass
to change the compression other than by editing the rule for $(obj)/image.fit While FIT supports a ramdisk / initrd, no attempt is made to support this here, since it must be built separately from the Linux build. Signed-off-by: Simon Glass --- Changes in v4: - Use single quotes for UIMAGE_NAME

[PATCH v4 2/3] arm: boot: Move the single quotes for image name

2023-11-07 Thread Simon Glass
Add quotes where UIMAGE_NAME is used, rather than where it is defined. This allows the UIMAGE_NAME variable to be set by the user. Signed-off-by: Simon Glass --- Changes in v4: - Add a patch to move the single quotes for image name scripts/Makefile.lib | 4 ++-- 1 file changed, 2 insertions

[PATCH v4 1/3] kbuild: arm64: Add BOOT_TARGETS variable

2023-11-07 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 --- (no changes since v1) arch/arm64/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Makefile b

[PATCH v4 0/3] arm64: Add a build target for Flat Image Tree

2023-11-07 Thread Simon Glass
to the FIT spec and mention of its wide industry usage - Mention the kernel version in the FIT description Simon Glass (3): kbuild: arm64: Add BOOT_TARGETS variable arm: boot: Move the single quotes for image name arm64: boot: Support Flat Image Tree MAINTAINERS| 7 +

Re: [PATCH v2 2/3] arm: boot: Use double quotes for image name

2023-11-07 Thread Simon Glass
Hi Masahiro, On Tue, 7 Nov 2023 at 07:13, Masahiro Yamada wrote: > > Hi Simon, > > > On Tue, Nov 7, 2023 at 3:11 PM Simon Glass wrote: > > > > Hi Masahiro, > > > > On Tue, 7 Nov 2023 at 03:13, Masahiro Yamada wrote: > > > > &g

Re: [PATCH 0/4] bootm: Handle compressed arm64 images with bootm

2023-11-07 Thread Simon Glass
Hi Tom, On Tue, 7 Nov 2023 at 06:49, Tom Rini wrote: > > On Tue, Nov 07, 2023 at 06:31:15AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 7 Nov 2023 at 06:04, Tom Rini wrote: > > > > > > On Tue, Nov 07, 2023 at 05:23:05AM -

Re: [PATCH 0/4] bootm: Handle compressed arm64 images with bootm

2023-11-07 Thread Simon Glass
Hi Tom, On Tue, 7 Nov 2023 at 06:04, Tom Rini wrote: > > On Tue, Nov 07, 2023 at 05:23:05AM -0700, Simon Glass wrote: > > Hi Rasmus, > > > > On Tue, 7 Nov 2023 at 02:56, Rasmus Villemoes > > wrote: > > > > > > On 05/11/2023 21.03, Simon Glass wrot

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

2023-11-07 Thread Simon Glass
to change the compression other than by editing the rule for $(obj)/image.fit While FIT supports a ramdisk / initrd, no attempt is made to support this here, since it must be built separately from the Linux build. Signed-off-by: Simon Glass --- Changes in v3: - Drop temporary file image.itk - Drop

[PATCH v3 1/2] kbuild: arm64: Add BOOT_TARGETS variable

2023-11-07 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 --- (no changes since v1) arch/arm64/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Makefile b

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

2023-11-07 Thread Simon Glass
dependency on CONFIG_EFI_ZBOOT - Pick up .dtb files separately from the kernel - Correct pylint too-many-args warning for write_kernel() - Include the kernel image in the file count - Add a pointer to the FIT spec and mention of its wide industry usage - Mention the kernel version in the FIT description S

Re: [PATCH v2 2/3] arm: boot: Use double quotes for image name

2023-11-07 Thread Simon Glass
Hi Masahiro, On Tue, 7 Nov 2023 at 03:13, Masahiro Yamada wrote: > > On Sat, Nov 4, 2023 at 9:42 PM Simon Glass wrote: > > > > The use of single quotes in the image name causes them to appear in > > the image description when the uImage is created. Use dou

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-07 Thread Simon Glass
Hi Andre, On Tue, 7 Nov 2023 at 04:27, Andre Przywara wrote: > > On Tue, 7 Nov 2023 01:08:15 +0000 > Simon Glass wrote: > > Hi Simon, > > > On Mon, 6 Nov 2023 at 21:55, Andre Przywara wrote: > > > > > > On Mon, 6 Nov 2023 13:38:39 -0700 >

Re: [PATCH] bootstage: Correct exhasuted typo

2023-11-07 Thread Simon Glass
On Tue, 7 Nov 2023 at 02:18, Patrick Delaunay wrote: > > From: Simon Glass > > Correct this typo in the warning message shown when no more bootstage > records can be added. > > Signed-off-by: Simon Glass > Signed-off-by: Patrick Delaunay > --- > I just

Re: [PATCH 0/4] bootm: Handle compressed arm64 images with bootm

2023-11-07 Thread Simon Glass
Hi Rasmus, On Tue, 7 Nov 2023 at 02:56, Rasmus Villemoes wrote: > > On 05/11/2023 21.03, Simon Glass wrote: > > This little series corrects a problem I noticed with arm64 images, > > where the kernel is not recognised: > > The $subject is misleading, bootm works just fi

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 13:46, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 01:38:39PM -0700, Simon Glass wrote: > > Hi Andre, > > > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > > > On Sat, 4 Nov 2023 19:45:06 +000

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Simon Glass
; > > > Hi Simon, > > > > > > > > On Mon, Nov 6, 2023 at 9:25 AM Simon Glass wrote: > > > > > > > > > > Hi Tony, > > > > > > > > > > On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > &

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 13:15, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 12:58:46PM -0700, Simon Glass wrote: > > Hi Tom, > > > > > > On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > > > > > On Mon, Nov 06, 2023 at 10:

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Andre, On Mon, 6 Nov 2023 at 21:55, Andre Przywara wrote: > > On Mon, 6 Nov 2023 13:38:39 -0700 > Simon Glass wrote: > > Hi Simon, > > > On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > > > > > On Sat, 4 Nov 2023 19:45:06 +000

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Simon Glass
+Marek Vasut +Vagrant Cascadian On Mon, 6 Nov 2023 at 10:33, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> wrote: > Hi Simon! > > On Mon, 2023-11-06 at 10:24 -0700, Simon Glass wrote: > > > So, I assume, I should just be able to write u-boot.bin to > /d

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Andre, On Mon, 6 Nov 2023 at 10:26, Andre Przywara wrote: > > On Sat, 4 Nov 2023 19:45:06 +0000 > Simon Glass wrote: > > Hi, > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > > > > > On Fri, 3 Nov 2023 13:38:58 -0600 >

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 11:30, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 10:25:00AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > > > > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-11-06 Thread Simon Glass
Hi Andrew, On Mon, 6 Nov 2023 at 10:27, Andrew Davis wrote: > > On 11/6/23 9:31 AM, Tom Rini wrote: > > On Mon, Nov 06, 2023 at 11:23:51AM +0530, Manorit Chawdhry wrote: > >> Hi Simon, > >> > >> On 11:22-20231005, Simon Glass wrote: > >>> H

Re: [PATCH v2] bootstd: Skip over bad device during bootflows scanning

2023-11-06 Thread Simon Glass
tus. > - Set status of sata_rescan() to -ENOENT when the SATA device is not found. > > boot/bootdev-uclass.c | 2 +- > drivers/ata/sata.c | 2 +- > include/bootdev.h | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v2 1/2] driver: power: add support for TPS65224

2023-11-06 Thread Simon Glass
Hi Bhargav, On Mon, 6 Nov 2023 at 10:11, Bhargav Raviprakash wrote: > > Added support for PMIC TPS65224. Includes driver for pmic, > and disabling Watchdog. > > Signed-off-by: Bhargav Raviprakash > --- > drivers/power/pmic/Kconfig| 6 ++ > drivers/power/pmic/Makefile | 1 + >

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-11-06 Thread Simon Glass
Hi Tony, On Wed, 4 Oct 2023 at 21:23, Tony Dinh wrote: > > Hi Simon, > > On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > > > Hi Simon, > > > > On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > > > > > Hi Tony, >

Re: [PATCH 2/4] bootm: Move arm64-image processing later

2023-11-06 Thread Simon Glass
Hi Tom, On Sun, 5 Nov 2023 at 14:20, Tom Rini wrote: > > On Sun, Nov 05, 2023 at 01:03:52PM -0700, Simon Glass wrote: > > > If the image is compressed, then the existing check fails, since the > > header is wrong. > > > > Move the check later in t

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-06 Thread Simon Glass
Hi Tom, On Mon, 6 Nov 2023 at 09:46, Tom Rini wrote: > > On Sat, Nov 04, 2023 at 05:12:12PM +, Andre Przywara wrote: > > On Fri, 3 Nov 2023 13:38:58 -0600 > > Simon Glass wrote: > > > > Hi Simon, > > > > > Hi Heinrich, > > >

Re: [PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-06 Thread Simon Glass
Hi Heinrich, On Sun, 5 Nov 2023 at 14:54, Heinrich Schuchardt wrote: > > On 11/5/23 18:25, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 5 Nov 2023 at 03:47, Heinrich Schuchardt > > wrote: > >> > >> On 11/4/23 21:42, Simon Glass wrote: &

Re: [PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-06 Thread Simon Glass
Hi Tom, On Sun, 5 Nov 2023 at 14:19, Tom Rini wrote: > > On Sun, Nov 05, 2023 at 01:03:51PM -0700, Simon Glass wrote: > > > This image type is supposed to ignore the load address. But at present > > it fails if the load address is missing. If it is zero, the image is &g

Re: Need advise with u-boot on SH-7785LCR

2023-11-06 Thread Simon Glass
Hi John, On Mon, 6 Nov 2023 at 15:00, John Paul Adrian Glaubitz wrote: > > Hi Simon, > > On Sun, 2023-11-05 at 16:29 +, Simon Glass wrote: > > No, sorry I don't have any idea about that. You could check the > > MAINTAINERS files in U-Boot and Linux for other peopl

Re: [PATCH 0/4] bootm: Handle compressed arm64 images with bootm

2023-11-05 Thread Simon Glass
Hi, On Sun, 5 Nov 2023 at 20:05, Simon Glass wrote: > > This little series corrects a problem I noticed with arm64 images, > where the kernel is not recognised: > >## Loading kernel from FIT Image at 1000 ... > Using 'conf-930' configuration > Verifying

[PATCH 4/4] image: Correct load_bug typo

2023-11-05 Thread Simon Glass
Correct a typo in the function comment for image_decomp(). Signed-off-by: Simon Glass --- include/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.h b/include/image.h index 2e3cf839ee36..0fe67852c563 100644 --- a/include/image.h +++ b/include/image.h

[PATCH 2/4] bootm: Move arm64-image processing later

2023-11-05 Thread Simon Glass
If the image is compressed, then the existing check fails, since the header is wrong. Move the check later in the boot process, after the kernel is decompressed. This allows use of bootm with compressed kernels, while still permitting an uncompressed kernel to be used. Signed-off-by: Simon Glass

[PATCH 1/4] bootm: Allow ignoring the load address with kernel_noload

2023-11-05 Thread Simon Glass
reasonable to me. Signed-off-by: Simon Glass --- boot/bootm.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/boot/bootm.c b/boot/bootm.c index cb61485c226c..7583be5a4515 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -176,7 +176,13 @@ static int bootm_find_os(struct

[PATCH 3/4] image: Show the load address when decompressing

2023-11-05 Thread Simon Glass
The destination address for decompression (or copying) is useful information. Show this to the user while booting, e.g.: Uncompressing Kernel Image (no loading done) to 208 Signed-off-by: Simon Glass --- boot/image.c | 13 + 1 file changed, 9 insertions(+), 4 deletions

[PATCH 0/4] bootm: Handle compressed arm64 images with bootm

2023-11-05 Thread Simon Glass
variable instead. A patch is included to show the kernel load-address, so it is easy to see what is going on. Simon Glass (4): bootm: Allow ignoring the load address with kernel_noload bootm: Move arm64-image processing later image: Show the load address when decompressing image: Correct

Re: [PATCH v3 09/12] x86: Enable SSE in 64-bit mode

2023-11-05 Thread Simon Glass
Hi Bin, On Sun, 5 Nov 2023 at 14:05, Bin Meng wrote: > > Hi Simon, > > On Mon, Oct 2, 2023 at 9:15 AM Simon Glass wrote: > > > > This is needed to support Truetype fonts. In any case, the compiler > > expects SSE to be available in 64-bit mode. Enable it. >

Re: Need advise with u-boot on SH-7785LCR

2023-11-05 Thread Simon Glass
Hi John, On Sun, 5 Nov 2023 at 09:37, John Paul Adrian Glaubitz wrote: > > Hi Simon, > > On Sat, 2023-11-04 at 19:42 +, Simon Glass wrote: > > Is it possible to check if it reaches the kernel? E.g. with > > earlyprintk ? It would be good to know if U-Boot manag

Re: [PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-05 Thread Simon Glass
Hi Heinrich, On Sun, 5 Nov 2023 at 03:47, Heinrich Schuchardt wrote: > > On 11/4/23 21:42, Simon Glass wrote: > > Hi Heinrich, > > > > On Sat, 4 Nov 2023 at 06:51, Heinrich Schuchardt > > wrote: > >> > >> The existence of devices should be chec

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-04 Thread Simon Glass
Hi Heinrich, On Sat, 4 Nov 2023 at 20:36, Heinrich Schuchardt wrote: > > On 11/4/23 21:45, Simon Glass wrote: > > Hi Andre, > > > > On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > >> > >> On Fri, 3 Nov 2023 13:38:58 -0600 > >> Simon Glass

Re: [PATCH 1/1] dm: fix misleading messages

2023-11-04 Thread Simon Glass
Hi Heinrich, On Sat, 4 Nov 2023 at 20:00, Heinrich Schuchardt wrote: > > On 11/4/23 21:45, Simon Glass wrote: > > Hi Heinrich, > > > > On Sat, 4 Nov 2023 at 18:47, Heinrich Schuchardt > > wrote: > >> > >> When no RNG device exists for a dr

Re: [PATCH] sandbox: Close file after mmaping it

2023-11-04 Thread Simon Glass
++- > 1 file changed, 10 insertions(+), 5 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH 1/1] dm: fix misleading messages

2023-11-04 Thread Simon Glass
Hi Heinrich, On Sat, 4 Nov 2023 at 18:47, Heinrich Schuchardt wrote: > > When no RNG device exists for a driver referenced via U_BOOT_DRVINFO() we > get messages like: > > No match for driver 'arm-rndr' > Some drivers were not found > > This is misleading as it is not the driver that was

Re: [PATCH 1/1] dm: Do not enable debug messages by default

2023-11-04 Thread Simon Glass
rzywara > Signed-off-by: Heinrich Schuchardt > --- > drivers/core/Kconfig | 1 - > include/dm/util.h| 4 +--- > 2 files changed, 1 insertion(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH] doc: build: fix wrongly written targests instead of targets

2023-11-04 Thread Simon Glass
On Sat, 4 Nov 2023 at 14:39, Milan P. Stanić wrote: > > Signed-off-by: Milan P. Stanić > --- > doc/build/gcc.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-04 Thread Simon Glass
Hi Andre, On Sat, 4 Nov 2023 at 17:13, Andre Przywara wrote: > > On Fri, 3 Nov 2023 13:38:58 -0600 > Simon Glass wrote: > > Hi Simon, > > > Hi Heinrich, > > > > On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt > > wrote: > > > > > >

Re: U-boot env in binary format

2023-11-04 Thread Simon Glass
ut you might find the information in the fixed-partitions node in the devicetree? - Simon > > Regards > Simon > > On Wed, Nov 1, 2023 at 1:22 PM Simon Glass wrote: >> >> Hi Simon, >> >> On Tue, 31 Oct 2023 at 17:07, SIMON BABY wrote: >> > >

Re: uboot reports adding disk failed(EFI_NOT_FOUND) and first disk is gone in next scsi scan

2023-11-04 Thread Simon Glass
Hi Richard, +Heinrich as I think this is an EFI bug. On Thu, 2 Nov 2023 at 19:37, Hongxing Zhu wrote: > > Hi Simon: > I found that the EFI complained that the disk install path is not updated for > the second disk. > The install path is “EFI: installed device path >

Re: [PATCH 1/4] mkimage: also honour -B even without external data

2023-11-04 Thread Simon Glass
Hi Rasmus, On Fri, 29 Sept 2023 at 07:16, Sean Anderson wrote: > > On 9/28/23 03:10, Rasmus Villemoes wrote: > > On 27/09/2023 21.02, Sean Anderson wrote: > >> On 9/19/23 07:37, Rasmus Villemoes wrote: > >>> In some cases, using the "external data" feature is impossible or > >>> undesirable, but

Re: [PATCH v2 1/5] arm: mach-k3: common: Reserve video memory from end of the RAM

2023-11-04 Thread Simon Glass
Hi Devarsh, On Fri, 3 Nov 2023 at 11:48, Devarsh Thakkar wrote: > > Hi Simon, > > Thanks for the review. > > On 03/11/23 04:16, Simon Glass wrote: > > Hi Devarsh, > > > > On Tue, 31 Oct 2023 at 13:12, Devarsh Thakkar wrote: > >> > >> Add fun

Re: [PATCH] arm: init: add an option to use FDT from previous bootloader

2023-11-04 Thread Simon Glass
Hi Mark, On Wed, 25 Oct 2023 at 08:05, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Tue, 24 Oct 2023 12:34:39 -0700 > > > > > This mechanism of retrieving the DTB is also used on the apple M1 I > > > think, and any other boa

Re: Need advise with u-boot on SH-7785LCR

2023-11-04 Thread Simon Glass
Hi John, On Sat, 4 Nov 2023 at 13:59, John Paul Adrian Glaubitz wrote: > > Hello! > > I am Debian's maintainer for the SuperH (sh4) port as well as one of the > upstream > maintainers of SuperH support in the kernel. I own various SuperH boards with > one > of them being the Renesas SH-7785LCR

Re: [PATCH 1/1] rng: detect RISC-V Zkr RNG device in bind method

2023-11-04 Thread Simon Glass
Hi Heinrich, On Sat, 4 Nov 2023 at 06:51, Heinrich Schuchardt wrote: > > The existence of devices should be checked in the bind method and not in > the probe method. Adjust the RISC-V Zkr RNG driver accordingly. > > Use ENOENT (and not ENODEV) to signal that the device is not available. > >

[PATCH v2 3/3] arm64: boot: Support Flat Image Tree

2023-11-04 Thread Simon Glass
to change the compression other than by editing the rule for $(obj)/image.fit While FIT supports a ramdisk / initrd, no attempt is made to support this here, since it must be built separately from the Linux build. Signed-off-by: Simon Glass --- Changes in v2: - Drop patch previously applied - Add

[PATCH v2 2/3] arm: boot: Use double quotes for image name

2023-11-04 Thread Simon Glass
The use of single quotes in the image name causes them to appear in the image description when the uImage is created. Use double quotes, to avoid this. Signed-off-by: Simon Glass --- Changes in v2: - Split double-quote change out into its own patch scripts/Makefile.lib | 2 +- 1 file changed

[PATCH v2 1/3] kbuild: arm64: Add BOOT_TARGETS variable

2023-11-04 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 --- (no changes since v1) arch/arm64/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Makefile b

[PATCH v2 0/3] arm64: Add a build target for Flat Image Tree

2023-11-04 Thread Simon Glass
and mention of its wide industry usage - Mention the kernel version in the FIT description Simon Glass (3): kbuild: arm64: Add BOOT_TARGETS variable arm: boot: Use double quotes for image name arm64: boot: Support Flat Image Tree MAINTAINERS| 7 + arch/arm64/Makefile

[PATCH 4/5] patman: Avoid using func_test at top level

2023-11-04 Thread Simon Glass
Import this only when it is needed, since it is not present when installed via 'pip install'. Signed-off-by: Simon Glass Fixes: https://source.denx.de/u-boot/u-boot/-/issues/26 --- tools/patman/__main__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/patman/__main__.py b/tools

[PATCH 1/5] patman: Split out arg parsing into its own file

2023-11-04 Thread Simon Glass
Move this code into a separate cmdline module, as is done with the other tools. Use the same HAS_TESTS check as buildman Signed-off-by: Simon Glass --- tools/patman/__main__.py | 116 +- tools/patman/cmdline.py | 147 +++ 2

[PATCH 5/5] patman: Correct Python 3.6 behaviour

2023-11-04 Thread Simon Glass
The importlib_resources import is not actually used. Fix this so that patman can run on Python 3.6 to some extent, once 'pip3 install importlib-resources' has been run. Signed-off-by: Simon Glass --- tools/patman/__main__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 3/5] patman: Correct easy pylint warnings in __main__

2023-11-04 Thread Simon Glass
Tidy up the code a little to reduce the number of pylint warnings. Signed-off-by: Simon Glass --- tools/patman/__main__.py | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tools/patman/__main__.py b/tools/patman/__main__.py index

[PATCH 2/5] patman: Move the main program into a function

2023-11-04 Thread Simon Glass
Add a new run_patman() function to hold the main logic. Signed-off-by: Simon Glass --- tools/patman/__main__.py | 127 +-- 1 file changed, 67 insertions(+), 60 deletions(-) diff --git a/tools/patman/__main__.py b/tools/patman/__main__.py index 0e559b5810be

Re: [PATCH v4 1/1] efi_loader: expose the device-tree file name

2023-11-03 Thread Simon Glass
Hi Heinrich, On Wed, 25 Oct 2023 at 15:22, Heinrich Schuchardt wrote: > > On 10/25/23 23:13, Tom Rini wrote: > > On Wed, Oct 25, 2023 at 10:28:05PM +0200, Mark Kettenis wrote: > >>> Date: Wed, 25 Oct 2023 21:57:44 +0200 > >>> From: Heinrich Schuchardt > &

Re: [PATCH v3 0/2] rng: Provide a RNG based on the RISC-V Zkr ISA extension

2023-11-03 Thread Simon Glass
Hi Heinrich, On Wed, 1 Nov 2023 at 14:20, Heinrich Schuchardt wrote: > > On 11/1/23 19:05, Andre Przywara wrote: > > On Tue, 31 Oct 2023 14:55:50 +0200 > > Heinrich Schuchardt wrote: > > > > Hi Heinrich, > > > >> The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It > >>

<    7   8   9   10   11   12   13   14   15   16   >