Re: [PATCH 1/1] tools: use cryptographically safe RNG

2024-11-15 Thread Heinrich Schuchardt
Rasmus Villemoes schrieb am Fr., 15. Nov. 2024, 08:18: > On Fri, Nov 15 2024, Mark Kettenis wrote: > > >> Date: Thu, 14 Nov 2024 11:39:27 -0600 > >> From: Tom Rini > >> > >> On Thu, Nov 14, 2024 at 06:35:44PM +0100, Heinrich Schuchardt wrote: > >> > Tom Rini schrieb am Do., 14. Nov. 2024, 18:2

OMAP4 removal

2024-11-15 Thread Andreas Kemnade
Hi, to my horror I found out that omap4 support is removed. I have some code waiting for a brush here for the Epson Moverio BT-200. There is some support for it in postmarketOS. It has a devicetree in mainline kernel. I did not manage to get hold of the vendor u-boot source, so when I distribute s

[PATCH] microblaze: Disable JFFS2 support

2024-11-15 Thread Michal Simek
JFFS2 is not maintained for quite a long time and none should be using it. Please use other filesystems for flashes like UBIFS instead. Also remove jffs to MTD map but MTD map is for example that's why it won't affect anything. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconf

Re: [PATCH 1/1] tools: use cryptographically safe RNG

2024-11-15 Thread Rasmus Villemoes
On Fri, Nov 15 2024, Heinrich Schuchardt wrote: >> > >> > Linking against libbsd might be an alternative on older systems. >> >> Or use getrandom(), which according to the man page has been exposed via >> glibc since glibc 2.25. Or just read from /dev/urandom which should work >> everywhere. >> >

Re: [PATCH 01/18] scripts: Add a script for building and booting QEMU

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 07:21:47AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 12 Nov 2024 at 17:54, Tom Rini wrote: > > > > On Wed, Nov 13, 2024 at 01:49:30AM +0100, Heinrich Schuchardt wrote: > > > Am 12. November 2024 14:58:54 MEZ schrieb Simon Glass : > > > >It is handy to be able to quic

[PATCH v4 12/19] boot: Update extlinux pxe_getfile_func() to include type

2024-11-15 Thread Simon Glass
Add a file-type parameter to this function and update all users. Add a proper comment to the function which we are here. This will allow tracking of the file types loaded by the extlinux bootmeth. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Update to use a new image-t

Re: [PATCH 1/1] tools: use cryptographically safe RNG

2024-11-15 Thread Mark Kettenis
> From: Rasmus Villemoes > Date: Fri, 15 Nov 2024 20:21:41 +0100 > > On Fri, Nov 15 2024, Mark Kettenis wrote: > > >> > >> Or use getrandom(), which according to the man page has been exposed via > >> glibc since glibc 2.25. Or just read from /dev/urandom which should work > >> everywhere. > >

[PATCH v4 04/19] bootstd: Drop the bootdev-specific list of bootflows

2024-11-15 Thread Simon Glass
This list is only used by two functions, which can be updated to iterate through the global list. Take this approach, which allows the bootdev list to be dropped. Overall this makes the code slightly more complicated, but will allow moving the bootflow list into an alist Signed-off-by: Simon Glas

Re: [PATCH v13 00/10] net: tcp: improve tcp support in legacy stack

2024-11-15 Thread Tom Rini
On Thu, Nov 14, 2024 at 06:36:33AM +0300, Mikhail Kshevetskiy wrote: > Legacy TCP stack is bad. Here are some of the known issues: > * tcp packet from other connection can break a current one > * tcp send sequence always starts from zero > * bad tcp options processing > * strange assumptions o

Re: [PATCH 1/3] aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500

2024-11-15 Thread Fabio Estevam
On Fri, Nov 15, 2024 at 1:54 PM Tom Rini wrote: > > It is not the case that we can only pick ASPEED_AST2500 if DM_REGULATOR > is enabled, but rather choosing ASPEED_AST2500 means we must select > DM_REGULATOR. Do you mean DM_RESET instead?

Re: [PATCH 1/3] aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 02:41:05PM -0300, Fabio Estevam wrote: > On Fri, Nov 15, 2024 at 1:54 PM Tom Rini wrote: > > > > It is not the case that we can only pick ASPEED_AST2500 if DM_REGULATOR > > is enabled, but rather choosing ASPEED_AST2500 means we must select > > DM_REGULATOR. > > Do you mea

Re: [PATCH] docker.rst: Reword slightly around "buildx"

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 10:26:49AM -0600, Tom Rini wrote: > Try and be slightly clearer about what "buildx" is, and how to install > it. > > Signed-off-by: Tom Rini > --- > I rephrased this slightly to try and be clearer as if you're using the > docker.io provided packages you need to just instal

Re: Git commit failed with mbedtls/framework

2024-11-15 Thread Tony Dinh
Hi Tom, Hi Raymond, On Fri, Nov 15, 2024 at 1:09 PM Raymond Mao wrote: > > Hi Tony > > On Fri, 15 Nov 2024 at 15:32, Tony Dinh wrote: >> >> Hi Tom, >> >> On Fri, Nov 15, 2024 at 11:27 AM Tony Dinh wrote: >> > >> > Hi Tom, >> > >> > On Fri, Nov 15, 2024 at 6:17 AM Tom Rini wrote: >> > > >> > >

Re: [GIT PULL] Please pull u-boot-imx-master-20241115

2024-11-15 Thread Tom Rini
-14 18:14:06 > -0600) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20241115 > > for you to fetch changes up to e6c3c63035c7ed58e6d6a95525d4f297c14e139c: > > imx: Fix critical t

Re: [PATCH u-boot v2] fs: btrfs: hide duplicate 'Cannot lookup file' error on 'load'

2024-11-15 Thread Tom Rini
On Fri, 15 Nov 2024 11:15:47 +0900, Dominique Martinet wrote: > Running commands such as 'load mmc 2:1 $addr $path' when path does not > exists will print an error twice if the file does not exist, e.g.: > ``` > Cannot lookup file boot/boot.scr > Failed to load 'boot/boot.scr' > ``` > (where the f

Re: [PATCH] km: disable CMD_JFFS2 for all PPC boards

2024-11-15 Thread Tom Rini
On Thu, 14 Nov 2024 19:06:54 +0100, Holger Brunck wrote: > We don't use this feature, we can remove it therefore in the defconfigs. > > Applied to u-boot/master, thanks! -- Tom

Re: [PATCH] test/py: spi: Rephrase the warning/error messages

2024-11-15 Thread Tom Rini
On Fri, 15 Nov 2024 18:38:00 +0530, Love Kumar wrote: > Rephrasing the error and warning messages to be more meaningful and > clear. > > Applied to u-boot/master, thanks! -- Tom

Re: Git commit failed with mbedtls/framework

2024-11-15 Thread Raymond Mao
Hi Tony and Tom, On Fri, 15 Nov 2024 at 16:35, Tony Dinh wrote: > Hi Tom, > Hi Raymond, > > On Fri, Nov 15, 2024 at 1:09 PM Raymond Mao > wrote: > > > > Hi Tony > > > > On Fri, 15 Nov 2024 at 15:32, Tony Dinh wrote: > >> > >> Hi Tom, > >> > >> On Fri, Nov 15, 2024 at 11:27 AM Tony Dinh wrote:

[PATCH v4 01/19] bootstd: Move bootflow-adding to bootstd

2024-11-15 Thread Simon Glass
This relates to more than just the bootdev, since there is a global list of bootflows. Move the function to the bootstd file and rename it. Signed-off-by: Simon Glass --- (no changes since v1) boot/bootdev-uclass.c | 25 - boot/bootstd-uclass.c | 25

Re: [PATCH v3 11/19] bootmeth_efi: Check the filename-allocation in the network path

2024-11-15 Thread Simon Glass
Hi Heinrich, On Mon, 4 Nov 2024 at 14:42, Heinrich Schuchardt wrote: > > On 11/4/24 18:51, Simon Glass wrote: > > If the filename cannot be set we should give up. Add the missing error > > check. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v2) > > > > Changes in v2: > >

[PATCH v4 03/19] bootstd: Add a function to get bootstd only if available

2024-11-15 Thread Simon Glass
Provide a function which is safe to call in the 'unbind' path, which returns the bootstd priv data if available. Signed-off-by: Simon Glass --- (no changes since v1) boot/bootstd-uclass.c | 11 +++ include/bootstd.h | 17 + 2 files changed, 28 insertions(+) diff --

[PATCH 1/3] aspeed: Fix Kconfig logic on "DM_REGULATOR" and ASPEED_AST2500

2024-11-15 Thread Tom Rini
It is not the case that we can only pick ASPEED_AST2500 if DM_REGULATOR is enabled, but rather choosing ASPEED_AST2500 means we must select DM_REGULATOR. Signed-off-by: Tom Rini --- Cc: Maxim Sloyko --- arch/arm/mach-aspeed/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH 3/3] arm: sunxi: Use "imply" for USB without further guards

2024-11-15 Thread Tom Rini
Given that ARCH_SUNXI already implies that USB_GADGET should be enable, we should also imply USB being enabled. Signed-off-by: Tom Rini --- Is this a tiny bit of a cheat to avoid patch 1/8 of Simon's bootstd series? Yes, a little. But it's also correct I believe. Cc: Andre Przywara Cc: Simon Gl

Re: Git commit failed with mbedtls/framework

2024-11-15 Thread Raymond Mao
Hi Tony On Fri, 15 Nov 2024 at 15:32, Tony Dinh wrote: > Hi Tom, > > On Fri, Nov 15, 2024 at 11:27 AM Tony Dinh wrote: > > > > Hi Tom, > > > > On Fri, Nov 15, 2024 at 6:17 AM Tom Rini wrote: > > > > > > On Thu, Nov 14, 2024 at 08:26:33PM -0800, Tony Dinh wrote: > > > > Hi Tom, > > > > > > > >

"help" output too much for my screen

2024-11-15 Thread Brian Sammon
I recently upgraded the u-boot on my Pinebook Pro, and lo and behold!, the new version supports the built-in display. So, now I'm experimenting. I hit the any key to stop the autoboot, and I get the command prompt. I type "help", and a large quantity of information spews out to my screen, fas

[PATCH 0/2] Add phyCORE AM62Ax

2024-11-15 Thread Garrett Giordano
This patch set adds the phyCORE AM62Ax board support and documenation to u-boot. The phyCORE-AM62Ax is a SoM (System on Module) featuring TI's AM62Ax SoC. It can be used in combination with different carrier boards. This module can come with different sizes and models for DDR, eMMC, SPI NOR Flash

[PATCH v4 07/19] bootstd: Update bootmeth_alloc_file() to record images

2024-11-15 Thread Simon Glass
As a first step to recording images and where they came from, update this function to do so, since it is used by two bootmeths Create a helper function in the bootflow system, since recorded images are always associated with bootflows. Signed-off-by: Simon Glass --- (no changes since v3) Chang

[PATCH v4 10/19] bootmeth: Update the read_file() method to include a type

2024-11-15 Thread Simon Glass
We want to record the type of each file which is loaded. Add an new parameter for this, to the read_file() method. Update all users. Make bootmeth_common_read_file() store information about the image that is read. Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- (no changes sinc

[PATCH v4 06/19] bootstd: Maintain a list of images

2024-11-15 Thread Simon Glass
We want to keep track of images which are loaded, or those which could perhaps be loaded. This will make it easier to manage memory allocation, as well as permit removal of the EFI set_efi_bootdev() feature. Add a list of these, attached to the bootflow. For now the list is empty. Signed-off-by:

[PATCH v4 02/19] bootstd: Move bootflow-clearing to bootstd

2024-11-15 Thread Simon Glass
This relates to more than just the bootdev, since there is a global list of bootflows. Move the function to the bootstd file and rename it. Signed-off-by: Simon Glass Acked-by: Heinrich Schuchardt --- (no changes since v1) boot/bootdev-uclass.c | 19 +-- boot/bootstd-uclass.c

[PATCH v4 08/19] boot: pxe: Drop the duplicate comment on get_pxe_file()

2024-11-15 Thread Simon Glass
This function is exported, so document it in the header file. Drop the duplicate comment in the C file. Signed-off-by: Simon Glass --- (no changes since v1) boot/pxe_utils.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index 3ae17553c6d..8c

[PATCH v4 16/19] bootstd: Add a simple command to list images

2024-11-15 Thread Simon Glass
Add a new 'bootstd images' command, which lists the images which have been loaded. Update some existing tests to use it. Provide some documentation about images in general and this command in particular. Use a more realistic kernel command-line to make the test easier to follow. Signed-off-by: S

[PATCH v4 17/19] bootstd: Export bootdev_get_from_blk()

2024-11-15 Thread Simon Glass
Export this function so it can be used from other files. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to export bootdev_get_from_blk() boot/bootdev-uclass.c | 2 +- include/bootdev.h | 9 + 2 files changed, 10 insertions(+), 1 deletion(-) di

[PATCH v4 18/19] bootstd: Add the concept of an ad-hoc bootflow

2024-11-15 Thread Simon Glass
The normal situation with bootstd is that a bootflow is created from a bootmeth. In some cases, a script or user-command may cause an image to be loaded. To deal with this, add the concept of an ad-hoc bootflow. This can be used to record information about manually loaded images. Signed-off-by: Si

[PATCH v4 11/19] bootmeth_efi: Check the filename-allocation in the network path

2024-11-15 Thread Simon Glass
If the filename cannot be set we should give up. Add the missing error check. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Change the tag to bootmeth_efi boot/bootmeth_efi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.

[PATCH v4 14/19] Update bootmeth_alloc_other() to record images

2024-11-15 Thread Simon Glass
Update this function to add the image to the list. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Use the helper function Changes in v2: - Update to use a new image-type enum in bootflow.h boot/bootmeth-uclass.c | 6 +- boot/bootmeth_script.c | 4 ++-- include/boot

[PATCH v4 19/19] fs: Record loaded files in an ad-hoc bootflow

2024-11-15 Thread Simon Glass
This makes a start on dealing with images loaded outside the context of bootstd. For now, it just records these images. They can be listed using the 'bootstd images' command. Often, very little is known about these images, but future work could perhaps use the filename or contents to detect the ty

[PATCH v4 13/19] boot: Update pxe bootmeth to record images

2024-11-15 Thread Simon Glass
Record images loaded by this bootmeth. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Use the helper function boot/bootmeth_pxe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boot/bootmeth_pxe.c b/boot/bootmeth_pxe.c index b2873075ba5..b91e61bcbc4 100644 --- a

[PATCH v4 15/19] bootstd: Update cros bootmeth to record images

2024-11-15 Thread Simon Glass
Record images loaded by this bootmeth. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Use the helper function Changes in v2: - Update to use a new image-type enum in bootflow.h boot/bootmeth_cros.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/boo

[PATCH v4 00/19] bootstd: Support recording images

2024-11-15 Thread Simon Glass
This series provides a way to keep track of the images used in bootstd, including the type of each image. At present this is sort-of handled by struct bootflow but in quite an ad-hoc way. The structure has become quite large and is hard to query. Future work will be able to reduce its size. Ultim

[PATCH 2/2] doc: board: phytec: Add phyCORE-AM62ax

2024-11-15 Thread Garrett Giordano
Add documentation for PHYTEC phyCORE-AM62ax SoM. Signed-off-by: Garrett Giordano --- doc/board/phytec/index.rst | 1 + doc/board/phytec/phycore-am62ax.rst | 161 doc/board/ti/k3.rst | 1 + 3 files changed, 163 insertions(+) create mode 1

Re: [PATCH 3/3] arm: sunxi: Use "imply" for USB without further guards

2024-11-15 Thread Simon Glass
On Fri, 15 Nov 2024 at 09:54, Tom Rini wrote: > > Given that ARCH_SUNXI already implies that USB_GADGET should be enable, > we should also imply USB being enabled. > > Signed-off-by: Tom Rini > --- > Is this a tiny bit of a cheat to avoid patch 1/8 of Simon's bootstd > series? Yes, a little. But

[PATCH v4 05/19] bootstd: Move the bootflow list into an alist

2024-11-15 Thread Simon Glass
Use an alist for this data structure as it is somewhat simpler to manage. This means that bootstd holds a simple list of bootflow structs and can drop it at will, without chasing down lists. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Update bootstd_add_bootflow() to r

Re: [PATCH 0/3] teach 'env default' to optionally keep runtime variables

2024-11-15 Thread Tom Rini
On Wed, 30 Oct 2024 22:34:01 +0100, Rasmus Villemoes wrote: > Doing bringup of a board, part of my bootstrap logic is in U-Boot. So > when tweaking that logic, I was bitten by a previous completed > bootstrap having left a copy of the environment on the device, which > was imported and thus overri

Re: [PATCH] test/cmd/wget.c: move net_test_wget() to the cmd test suite

2024-11-15 Thread Jerome Forissier
On 11/15/24 01:14, Tom Rini wrote: > On Tue, Nov 05, 2024 at 01:06:53PM +0100, Jerome Forissier wrote: > >> Since net_test_wget() is testing a command and is in test/cmd it >> should be in the 'cmd' test suite, not 'lib'. >> >> Reported-by: Simon Glass >> Signed-off-by: Jerome Forissier >> Re

Re: [PATCH v3 2/2] doc: spacemit: bananapi_f3: document Banana Pi F3 board

2024-11-15 Thread Huan Zhou
On Thu, Nov 14, 2024 at 11:11:21AM +0100, Heinrich Schuchardt wrote: > On 11/14/24 08:21, Huan Zhou wrote: > > From: Kongyang Liu > > > > Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC. > > > > Signed-off-by: Kongyang Liu > > Signed-off-by: Huan Zhou > > --- > > doc/boa

[PATCH] test/py: spi: Rephrase the warning/error messages

2024-11-15 Thread Love Kumar
Rephrasing the error and warning messages to be more meaningful and clear. Signed-off-by: Love Kumar --- test/py/tests/test_spi.py | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/py/tests/test_spi.py b/test/py/tests/test_spi.py index 44e54738dd09..0abd

[PATCH] ram: k3-ddrss: drop debug() in timing-sensitive sequence

2024-11-15 Thread Théo Lebrun
truct k3_ddrss_desc *)pd->ddr_instance; - debug("--->>> LPDDR4 Initialization is in progress ... <<<---\n"); - switch (ddrss->dram_class) { case DENALI_CTL_0_DRAM_CLASS_DDR4: break; --- base-commit: 2bf2615b8004e4a296fb2549

Re: [PATCH v2 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android

2024-11-15 Thread Neil Armstrong
On 14/11/2024 22:29, Guillaume La Roque wrote: Actually khadas vim3l use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3l android. Signed-off-by: Guillaume La Roque --- configs/khadas-vim3l_android_ab_defconfig | 7 ++- configs/khadas-vim3l_an

Re: Clarification on Bloblist Initialization Settings

2024-11-15 Thread Harrison Mutai
Hi Simon, Thanks for the clarification. On 14/11/2024 22:06, Simon Glass wrote: Hi Harrison, On Thu, 14 Nov 2024 at 13:41, Harrison Mutai wrote: Hi all, I wanted to clarify some details about the settings for initializing a Bloblist (i.e., CONFIG_BLOBLIST_ALLOC, CONFIG_BLOBLIST_FIXED, CONF

Re: [PATCH 0/3] teach 'env default' to optionally keep runtime variables

2024-11-15 Thread Rasmus Villemoes
On Fri, Nov 15 2024, Simon Glass wrote: > Hi Rasmus, > > On Wed, 13 Nov 2024 at 15:32, Rasmus Villemoes wrote: >> >> On Wed, Oct 30 2024, Rasmus Villemoes wrote: >> >> > Doing bringup of a board, part of my bootstrap logic is in U-Boot. So >> > when tweaking that logic, I was bitten by a previo

Re: [PATCH 1/1] tools: use cryptographically safe RNG

2024-11-15 Thread Torsten Duwe
On Fri, 15 Nov 2024 09:34:54 +0100 Heinrich Schuchardt wrote: > Rasmus Villemoes schrieb am Fr., 15. Nov. 2024, > 08:18: [...] > > Or use getrandom(), which according to the man page has been +1 > > exposed via glibc since glibc 2.25. Or just read from /dev/urandom > > which should work everyw

[PATCH] test/py: zynqmp_rpu: Fix tcminit mode value

2024-11-15 Thread Love Kumar
Update the tcminit value to string and number both as per commit 342ccba5586a ("arm64: zynqmp: Fix tcminit mode value based on argv") and also adds negative cases based on invalid command sequences. Signed-off-by: Love Kumar --- test/py/tests/test_zynqmp_rpu.py | 84 +++--

Re: [PATCH 8/9] buildman: Propose a format for extra boards

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 06:37:18AM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 13 Nov 2024 at 15:20, Tom Rini wrote: > > > > On Wed, Nov 13, 2024 at 09:03:35AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 12 Nov 2024 at 19:40, Tom Rini wrote: > > > > > > > > On Fri, Nov 08, 20

[PATCH v5 0/6] CI: Set up for an arm64 runner

2024-11-15 Thread Simon Glass
All gitlab runners are currently amd64 machines. This series attempts to create a docker image which can also support arm64 so that sandbox tests can be run on it. The TARGET_... environment variables for grub could perhaps be adjusted, using the new variables, but I have not done that for now. C

[PATCH v5 5/6] docker: Install toolchains on arm64 host

2024-11-15 Thread Simon Glass
Refactor the code to support downloading toolchains for arm64 as well as x86_64 There doesn't seem to be an xtensa toolchain for arm64 at the same location, so download that only on x86 Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v3) Changes in v3: - Add patch to in

[PATCH v5 1/6] docker: Support building for multiple architectures

2024-11-15 Thread Simon Glass
Add instructions on how to build the file for multiple architectures. Add a message indicating what is happening. Update the documentation as well. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: - Drop the comment in the gitlab file - Add back a final missing sudo Changes

[PATCH v5 4/6] docker: Fix LegacyKeyValueFormat warning with PYTHONPATH

2024-11-15 Thread Simon Glass
Fix a warning due to the syntax used for PYTHONPATH: LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 304) Signed-off-by: Simon Glass Reviewed-by: Heinrich Schuchardt Reviewed-by: Tom Rini --- (no changes since v1) tools/docker/Doc

[PATCH v5 2/6] docker: Adjust packages for arm64

2024-11-15 Thread Simon Glass
The package names are slightly different for arm64 and we don't seem to have a linux-image-kvm package. Provide some extra ones for x86 Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v3) Changes in v3: - Use grub-efi and linux-image-generic for both archs Changes in v2

[PATCH v5 3/6] docker: Drop coreboot for arm64

2024-11-15 Thread Simon Glass
This isn't needed for sandbox builds and coreboot isn't much used on arm64, nor does U-Boot have a build that supports running from coreboot on any ARM target. So drop it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- (no changes since v1) tools/docker/Dockerfile | 6 -- 1 file ch

[PATCH v5 6/6] CI: Add platform variable

2024-11-15 Thread Simon Glass
Add a list of possible platforms that can be used by gitlab runners. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Reviewed-by: Ilias Apalodimas --- (no changes since v3) Changes in v3: - Drop patches which remove grub and tracing for arm64 .gitlab-ci.yml | 1 + 1 file changed, 1 inserti

Re: [PATCH v3 1/9] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-15 Thread Simon Glass
Hi Ilias, On Thu, 14 Nov 2024 at 00:04, Ilias Apalodimas wrote: > > Hi Simon, > > On Tue, 12 Nov 2024 at 16:11, Simon Glass wrote: > > > > The cache-flush function is incorrect which causes a crash in the > > remoteproc tests with arm64. > > > > Fix both problems by using map_sysmem() to convert

Re: [PATCH v3 1/9] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-15 Thread Ilias Apalodimas
On Fri, 15 Nov 2024 at 15:53, Simon Glass wrote: > Hi Ilias, > > On Thu, 14 Nov 2024 at 00:04, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Tue, 12 Nov 2024 at 16:11, Simon Glass wrote: > > > > > > The cache-flush function is incorrect which causes a crash in the > > > remoteproc test

Re: [PATCH v3 1/9] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-15 Thread Ilias Apalodimas
On Fri, 15 Nov 2024 at 15:54, Ilias Apalodimas wrote: > > > On Fri, 15 Nov 2024 at 15:53, Simon Glass wrote: > >> Hi Ilias, >> >> On Thu, 14 Nov 2024 at 00:04, Ilias Apalodimas >> wrote: >> > >> > Hi Simon, >> > >> > On Tue, 12 Nov 2024 at 16:11, Simon Glass wrote: >> > > >> > > The cache-flus

Re: Clarification on Bloblist Initialization Settings

2024-11-15 Thread Simon Glass
Hi Harrison, On Fri, 15 Nov 2024 at 05:49, Harrison Mutai wrote: > > Hi Simon, > > Thanks for the clarification. > > On 14/11/2024 22:06, Simon Glass wrote: > > Hi Harrison, > > > > On Thu, 14 Nov 2024 at 13:41, Harrison Mutai wrote: > >> > >> Hi all, > >> I wanted to clarify some details about

Re: [PATCH 3/9] buildman: Support #include files in defconfigs

2024-11-15 Thread Simon Glass
Hi Tom, On Wed, 13 Nov 2024 at 14:53, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 07:39:37AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 12 Nov 2024 at 19:40, Tom Rini wrote: > > > > > > On Fri, Nov 08, 2024 at 08:23:44AM -0700, Simon Glass wrote: > > > > > > > This is used by some boa

Re: [PATCH v5 1/8] bootstd: Avoid depending on BLK

2024-11-15 Thread Simon Glass
Hi Tom, On Thu, 14 Nov 2024 at 07:22, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 08:53:31PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 13 Nov 2024 at 10:47, Tom Rini wrote: > > > > > > On Wed, Nov 13, 2024 at 08:09:31AM -0700, Simon Glass wrote: > > > > > > > In principle bootstd can

Re: [PATCH v2 12/20] test: Move str_ut test into lib

2024-11-15 Thread Simon Glass
Hi Heinrich, On Thu, 14 Nov 2024 at 04:10, Heinrich Schuchardt wrote: > > On 11/2/24 20:36, Simon Glass wrote: > > This test doesn't belong at the top level. Move it into the lib/ > > directory, to match (most of) its implementation. Rename it to drop the > > unnecessary _ut suffix. > > > > Signe

Re: [PATCH v2 06/20] command_ut: test: Move test into lib

2024-11-15 Thread Simon Glass
Hi Heinrich, On Thu, 14 Nov 2024 at 04:09, Heinrich Schuchardt wrote: > > On 11/2/24 20:36, Simon Glass wrote: > > This test doesn't belong at the top level. Move it into the lib/ > > directory, since that is where compression is implemented. > > > > Rename it to just 'command', since it is obvio

Re: [PATCH v2] net: lwip: provide entropy to MBed TLS in one go

2024-11-15 Thread Simon Glass
On Thu, 14 Nov 2024 at 07:29, Ilias Apalodimas wrote: > > We currently provide entropy to mbedTLS using 8b chunks. > Take into account the 'len' parameter passed by MBed TLS to the entropy > gathering function instead. Note that the current code works because len > is always 128 (defined at compil

[PATCH v2] xilinx: Introduce XILINX_MINI configuration

2024-11-15 Thread Michal Simek
There is no common symbol which mini configurations are using and recent get_mem_top() changes adding 1.3kB without having a way to remove it. That's why introduce new symbol which can be used for removing features which are not requested by these configurations. Signed-off-by: Michal Simek ---

Re: [PATCH 1/1] efi_loader: run bootdev_hunt() to find ESP

2024-11-15 Thread Simon Glass
Hi Heinrich, On Thu, 14 Nov 2024 at 14:08, Heinrich Schuchardt wrote: > > > > Jonas Karlman schrieb am Do., 14. Nov. 2024, 21:26: >> >> Hi Heinrich, >> >> On 2024-11-13 20:55, Heinrich Schuchardt wrote: >> > Some hard devices need specific routines to scan for block devices, >> > e.g. NVMe (nvme

Re: [PATCH v3 1/9] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-15 Thread Simon Glass
Hi Ilias, On Fri, 15 Nov 2024 at 06:58, Ilias Apalodimas wrote: > > > > On Fri, 15 Nov 2024 at 15:54, Ilias Apalodimas > wrote: >> >> >> >> On Fri, 15 Nov 2024 at 15:53, Simon Glass wrote: >>> >>> Hi Ilias, >>> >>> On Thu, 14 Nov 2024 at 00:04, Ilias Apalodimas >>> wrote: >>> > >>> > Hi Simon

Re: [PATCH v2 09/20] bootm: test: Move test into boot

2024-11-15 Thread Simon Glass
Hi Heinrich, On Thu, 14 Nov 2024 at 04:07, Heinrich Schuchardt wrote: > > On 11/2/24 20:36, Simon Glass wrote: > > This test doesn't belong at the top level. Move it into the boot/ > > directory, to match its implementation. > > > > This test is currently dependent on bloblist, but the real depen

Re: [PATCH 1/1] tools: use cryptographically safe RNG

2024-11-15 Thread Mark Kettenis
> From: Rasmus Villemoes > Date: Fri, 15 Nov 2024 08:18:17 +0100 > > On Fri, Nov 15 2024, Mark Kettenis wrote: > > >> Date: Thu, 14 Nov 2024 11:39:27 -0600 > >> From: Tom Rini > >> > >> On Thu, Nov 14, 2024 at 06:35:44PM +0100, Heinrich Schuchardt wrote: > >> > Tom Rini schrieb am Do., 14. N

Re: [PATCH v5 1/8] bootstd: Avoid depending on BLK

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 07:27:19AM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, 14 Nov 2024 at 07:22, Tom Rini wrote: > > > > On Wed, Nov 13, 2024 at 08:53:31PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 13 Nov 2024 at 10:47, Tom Rini wrote: > > > > > > > > On Wed, Nov 13, 20

Re: [PATCH v3 1/9] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-15 Thread Ilias Apalodimas
On Fri, 15 Nov 2024 at 16:28, Simon Glass wrote: > > Hi Ilias, > > On Fri, 15 Nov 2024 at 06:58, Ilias Apalodimas > wrote: > > > > > > > > On Fri, 15 Nov 2024 at 15:54, Ilias Apalodimas > > wrote: > >> > >> > >> > >> On Fri, 15 Nov 2024 at 15:53, Simon Glass wrote: > >>> > >>> Hi Ilias, > >>>

Re: [PATCH v3 4/6] net: lwip: Enable https:// support for wget

2024-11-15 Thread Ilias Apalodimas
[...] > > > > + > > > > > + return 0; > > > > > > > > Yep, that's identical to what I had above without the allocation, > > > > which indeed isn't needed. > > > > Both of the versions are correct and I ask internally mbedTLS devs if > > > > they have a preference. > > > > > > > > In any cas

Re: [PATCH v2 01/20] bloblist: test: Move test into common

2024-11-15 Thread Simon Glass
Hi Heinrich, On Thu, 14 Nov 2024 at 04:13, Heinrich Schuchardt wrote: > > On 11/2/24 20:36, Simon Glass wrote: > > This test doesn't belong at the top level. Move it into the common/ > > directory, to match its implementation. > > > > Signed-off-by: Simon Glass > > > > --- > > > > Changes in v2:

Re: [PATCH v2 4/5] configs: khadas-vim3_android{_ab}: move on bootmeth android

2024-11-15 Thread Neil Armstrong
On 14/11/2024 22:29, Guillaume La Roque wrote: Actually khadas vim3 use distro command to boot android image. Move on new bootmeth android for A/B and non-A/B vim3 android. Signed-off-by: Guillaume La Roque --- configs/khadas-vim3_android_ab_defconfig | 7 ++- configs/khadas-vim3_androi

Re: [PATCH] mtd: spi-nor: Address the Macronix flash probe failure

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 10:36:56AM +0530, Venkatesh Yadav Abbarapu wrote: > When performing a soft reset on the OSPI flash, the default > cmd_ext_type is set to SPI_NOR_EXT_REPEAT. However, Macronix > flash requires the command type SPI_NOR_EXT_INVERT for soft > reset. > > To address this issue,

Re: Git commit failed with mbedtls/framework

2024-11-15 Thread Tom Rini
On Thu, Nov 14, 2024 at 08:26:33PM -0800, Tony Dinh wrote: > Hi Tom, > > I am on 2025.01-rc2, and I am trying to commit some files. The error > seems to indicate this framework directory might need some > modification. Did I miss something? > > error: 'lib/mbedtls/external/mbedtls/framework' does

Re: [PATCH] xilinx: Introduce MINI configuration

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 02:36:32PM +0100, Michal Simek wrote: > There is no common symbol which mini configurations are using and recent > get_mem_top() changes adding 1.3kB without having a way to remove it. > That's why introduce new symbol which can be used for removing features > which are not

Re: [PATCH] xilinx: Introduce MINI configuration

2024-11-15 Thread Michal Simek
On 11/15/24 15:19, Tom Rini wrote: On Fri, Nov 15, 2024 at 02:36:32PM +0100, Michal Simek wrote: There is no common symbol which mini configurations are using and recent get_mem_top() changes adding 1.3kB without having a way to remove it. That's why introduce new symbol which can be used fo

Re: [PATCH v2 04/20] compression: test: Move test into lib

2024-11-15 Thread Simon Glass
Hi Heinrich, On Thu, 14 Nov 2024 at 03:58, Heinrich Schuchardt wrote: > > On 11/2/24 20:36, Simon Glass wrote: > > This test doesn't belong at the top level. Move it into the lib/ > > directory, since that is where compression is implemented. > > > > Signed-off-by: Simon Glass > > --- > > > > (n

Re: [PATCH v3 4/6] net: lwip: Enable https:// support for wget

2024-11-15 Thread Simon Glass
Hi Ilias, On Wed, 13 Nov 2024 at 22:10, Ilias Apalodimas wrote: > > On Thu, 14 Nov 2024 at 05:53, Simon Glass wrote: > > > > Hi Ilias, > > > > On Wed, 13 Nov 2024 at 09:11, Ilias Apalodimas > > wrote: > > > > > > On Wed, 13 Nov 2024 at 18:04, Simon Glass wrote: > > > > > > > > Hi Ilias, > > >

Re: [PATCH v3 0/2] riscv: spacemit: add support for bananapi-f3

2024-11-15 Thread Huan Zhou
On Thu, Nov 14, 2024 at 09:24:32PM +0800, Yixun Lan wrote: > Hi Huan: > > On 01:21 Thu 14 Nov , Huan Zhou wrote: > > Banana Pi F3 board is a industrial grade RISC-V development board, it > > design with SpacemiT K1 8 core RISC-V chip, CPU integrates 2.0 TOPs AI > > computing power. 4G DDR and

Re: [PATCH] doc: cmd: wget: document lwIP syntax

2024-11-15 Thread Simon Glass
On Thu, 14 Nov 2024 at 07:32, Ilias Apalodimas wrote: > > Hi Jerome > > +CC Simon, since he asked for an update on the docs > > On Thu, 14 Nov 2024 at 16:20, Jerome Forissier > wrote: >> >> The lwIP version of wget supports a different syntax with a URL, >> in addition to the legacy syntax. Docu

Re: [PATCH 0/3] teach 'env default' to optionally keep runtime variables

2024-11-15 Thread Simon Glass
Hi Rasmus, On Wed, 13 Nov 2024 at 15:32, Rasmus Villemoes wrote: > > On Wed, Oct 30 2024, Rasmus Villemoes wrote: > > > Doing bringup of a board, part of my bootstrap logic is in U-Boot. So > > when tweaking that logic, I was bitten by a previous completed > > bootstrap having left a copy of the

Re: [PATCH v2] Makefile: Fake external blob with BINMAN_ALLOW_MISSING=1

2024-11-15 Thread Simon Glass
Hi Yannic, On Thu, 14 Nov 2024 at 00:51, Yannic Moog wrote: > > Hi Simon, > > On Wed, 2024-11-06 at 08:35 -0700, Simon Glass wrote: > > This flag was lost by a previous change and has never been restored. > > Without it, binman cannot fully handle missing blobs which are > > themselves inputs to

Re: [PATCH 1/1] test: unit test for hextoull()

2024-11-15 Thread Simon Glass
On Wed, 13 Nov 2024 at 14:15, Heinrich Schuchardt wrote: > > Provide a unit test for the hextoull() function. > > Signed-off-by: Heinrich Schuchardt > --- > test/str_ut.c | 18 ++ > 1 file changed, 18 insertions(+) > Reviewed-by: Simon Glass Thanks

Re: [PATCH 01/18] scripts: Add a script for building and booting QEMU

2024-11-15 Thread Simon Glass
Hi Tom, On Tue, 12 Nov 2024 at 17:54, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 01:49:30AM +0100, Heinrich Schuchardt wrote: > > Am 12. November 2024 14:58:54 MEZ schrieb Simon Glass : > > >It is handy to be able to quickly build and boot a QEMU image for a > > >particular architecture and dist

Re: [PATCH v5 3/8] efi_loader: bootstd: Drop bootmgr for sunxi

2024-11-15 Thread Simon Glass
Hi Tom, On Wed, 13 Nov 2024 at 10:50, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 08:09:33AM -0700, Simon Glass wrote: > > > This causes problems with the boot order, so drop it until we can figure > > out a better way to know when bootmgr should be used. > > > > Link: > > https://lore.kernel.or

Fwd: New Defects reported by Coverity Scan for Das U-Boot

2024-11-15 Thread Tom Rini
Hey all, Here's the latest report. -- Forwarded message - From: Date: Thu, Nov 14, 2024, 10:40 PM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest report on new defect(s) introduced to Das U-Boot found with Coverity Scan. 2 new def

Re: [PATCH] test/cmd/wget.c: move net_test_wget() to the cmd test suite

2024-11-15 Thread Tom Rini
On Fri, Nov 15, 2024 at 11:53:59AM +0100, Jerome Forissier wrote: > > > On 11/15/24 01:14, Tom Rini wrote: > > On Tue, Nov 05, 2024 at 01:06:53PM +0100, Jerome Forissier wrote: > > > >> Since net_test_wget() is testing a command and is in test/cmd it > >> should be in the 'cmd' test suite, not '

[PATCH] xilinx: Introduce MINI configuration

2024-11-15 Thread Michal Simek
There is no common symbol which mini configurations are using and recent get_mem_top() changes adding 1.3kB without having a way to remove it. That's why introduce new symbol which can be used for removing features which are not requested by these configurations. Signed-off-by: Michal Simek ---

Re: [PATCH 8/9] buildman: Propose a format for extra boards

2024-11-15 Thread Simon Glass
Hi Tom, On Wed, 13 Nov 2024 at 15:20, Tom Rini wrote: > > On Wed, Nov 13, 2024 at 09:03:35AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 12 Nov 2024 at 19:40, Tom Rini wrote: > > > > > > On Fri, Nov 08, 2024 at 08:23:49AM -0700, Simon Glass wrote: > > > > > > > It has become more commo

Re: OMAP4 removal

2024-11-15 Thread Peter Robinson
Hi Andreas, > to my horror I found out that omap4 support is removed. I have some > code waiting for a brush here for the Epson Moverio BT-200. There is > some support for it in postmarketOS. It has a devicetree in mainline > kernel. > I did not manage to get hold of the vendor u-boot source, so w

[PATCH 0/2] pinctrl: add support for X1E80100 TLMM

2024-11-15 Thread Neil Armstrong
/Kconfig| 7 +++ drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-x1e80100.c | 100 4 files changed, 109 insertions(+) --- base-commit: 56accc56b9aab87ef4809ccc588e1257969cd271 change-id: 20241115-topic-x1e80100-pinctrl

[PATCH 1/2] pinctrl: qcom: Add X1E80100 pinctrl driver

2024-11-15 Thread Neil Armstrong
Add pinctrl driver for the TLMM block found in the X1E80100 SoC. Signed-off-by: Neil Armstrong --- drivers/pinctrl/qcom/Kconfig| 7 +++ drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-x1e80100.c | 100 3 files changed,

  1   2   >