Re: [PATCH v4 2/2] cmd: acpi: fix acpi list command

2023-12-13 Thread Simon Glass
On Tue, 21 Nov 2023 at 07:41, Heinrich Schuchardt wrote: > > ACPI tables may comprise either RSDT, XSDT, or both. The current code fails > to check the presence of the RSDT table before accessing it. This leads to > an exception if the RSDT table is not provided. > > The XSDT table takes precedenc

Re: [PATCH 6/7] patman: Update the run script

2023-12-13 Thread Simon Glass
Patman now has its main program in a function, so update the toml file to match. Signed-off-by: Simon Glass --- tools/patman/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH v2 1/2] acpi: consider XSDT in acpi_find_table()

2023-12-13 Thread Simon Glass
On Sun, 19 Nov 2023 at 02:45, Simon Glass wrote: > > On Sat, 18 Nov 2023 at 14:57, Heinrich Schuchardt > wrote: > > > > The RSDT table is deprecated and does not exist on all systems. > > > > By preference scan XSDT for the table to find. If no XSDT table exists, try > > to use the RSDT table. >

Re: [PATCH 1/1] acpi: simplify acpi_write_ssdt()

2023-12-13 Thread Simon Glass
On Sat, 18 Nov 2023 at 14:52, Heinrich Schuchardt wrote: > > * Converting to void * is superfluous when calling memset(). > * acpi_fill_header() already fills oem_table_id. > > Fixes: d953137526cc ("x86: Move SSDT table to a writer function") > Signed-off-by: Heinrich Schuchardt > --- > lib/acpi

Re: [PATCH v2 2/2] test: unit test for acpi_find_table()

2023-12-13 Thread Simon Glass
On Sat, 18 Nov 2023 at 14:57, Heinrich Schuchardt wrote: > > Provide a unit test for acpi_find_table() > > Signed-off-by: Heinrich Schuchardt > --- > v2: > new patch > --- > test/dm/acpi.c | 96 ++ > 1 file changed, 96 insertions(+) > Revi

Re: [PATCH v2 1/1] acpi: cannot have RSDT above 4 GiB

2023-12-13 Thread Simon Glass
On Sun, 12 Nov 2023 at 16:54, Heinrich Schuchardt wrote: > > The field RsdtAddress has only 32 bit. The RSDT table cannot be located > beyond 4 GiB. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > Avoid superfluous 0 assignment. RSDP is already zeroed out. > Use constants for

Re: [PATCH 6/7] fdt: Drop the confusing casts in lmb_free()

2023-12-13 Thread Simon Glass
Just use map_to_sysmem() instead of all the casting. Signed-off-by: Simon Glass --- boot/image-fdt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH 5/7] boot: Move adding initrd earlier in image_setup_libfdt()

2023-12-13 Thread Simon Glass
This may as well happen before the general event is emitted, so move it. This will allow us to use the livetree for the event part, but the flattree for the earlier part. Signed-off-by: Simon Glass --- boot/image-fdt.c | 5 - include/fdt_support.h | 12 +++- 2 files changed, 1

Re: [PATCH 4/7] fdt: ppc: Drop extra size for ramdisk

2023-12-13 Thread Simon Glass
On Sun, Nov 12, 2023 at 08:27:47AM -0700, Simon Glass wrote: > This code dates from around 2008: > >56844a22b76 powerpc: Fix bootm to boot up again with a Ramdisk > > Since then we have added FDT relocation which provides enough space > for expansion. We have also added all sorts of fixups ear

Re: [PATCH 1/7] boot: Drop size parameter from image_setup_libfdt()

2023-12-13 Thread Simon Glass
On Sun, Nov 12, 2023 at 08:27:44AM -0700, Simon Glass wrote: > The of_size parameter is not used, so remove it. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom Applied to u-boot-dm/next, thanks!

Re: [PATCH] acpi: move acpi_get_rsdp_addr() to acpi/acpi_table.h

2023-12-13 Thread Simon Glass
Hi Tom, Heinrich, On Thu, 9 Nov 2023 at 13:42, Tom Rini wrote: > > On Thu, Nov 09, 2023 at 12:28:26PM -0800, Heinrich Schuchardt wrote: > > On 11/9/23 11:24, Tom Rini wrote: > > > On Thu, Nov 09, 2023 at 09:23:02AM -0800, Heinrich Schuchardt wrote: > > > > > > > Function acpi_get_rsdp_addr() is n

Re: [PATCH 15/34] bootstd: Add a menu option to bootflow scan

2023-12-13 Thread Simon Glass
Allow showing a menu and automatically booting, with 'bootflow scan'. This is more convenient than using a script. Signed-off-by: Simon Glass --- cmd/bootflow.c | 27 +++-- doc/usage/cmd/bootflow.rst | 5 +++ test/boot/bootflow.c | 82 +

Re: [PATCH 14/34] sandbox: Add a dummy booti command

2023-12-13 Thread Simon Glass
Add basic sandbox support for 'booti' so we can start to boot the test ARMbian image. This is helpful in checking that it is parsed correctly. Signed-off-by: Simon Glass --- arch/sandbox/lib/bootm.c | 7 +++ cmd/Kconfig | 2 +- cmd/booti.c | 2 +- confi

Re: [PATCH 13/34] video: Add a function to clear the display

2023-12-13 Thread Simon Glass
Hi, On Sun, 1 Oct 2023 at 19:16, Simon Glass wrote: > > Move the code from the 'cls' command into the console file, so it can > be called from elsewhere. > > Signed-off-by: Simon Glass > --- > > cmd/cls.c | 25 +++-- > common/console.c | 31 +

Re: [PATCH 12/34] test: print: Skip test on x86

2023-12-13 Thread Simon Glass
These tests cannot work on x86 machines as memory at address zero is not writable. Add a condition to skip these. Signed-off-by: Simon Glass --- test/print_ut.c | 8 1 file changed, 8 insertions(+) Applied to u-boot-dm/next, thanks!

Re: [PATCH 11/34] test: lmb: Move tests into the lib suite

2023-12-13 Thread Simon Glass
These tests are marked as driver model tests, but have nothing to do with driver model. As a result, they are run as part of 'ut dm' which only exists for sandbox. Move them to the 'lib' suite and drop the requirement for initing devices, since they don't use devices. Also put the lib_test_lmb_ma

Re: [PATCH 10/34] test: event: Only run test_event_probe() on sandbox

2023-12-13 Thread Simon Glass
This needs test devices which are only present on sandbox. Add a check for this and skip just this test if running on a real board. Signed-off-by: Simon Glass --- test/common/event.c | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-dm/next, thanks!

Re: [PATCH 09/34] test: font: Add dependencies on fonts

2023-12-13 Thread Simon Glass
The font test needs two fonts. If one is not available, skip out early, to avoid an error. Signed-off-by: Simon Glass --- test/cmd/font.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH 07/34] test: bdinfo: Add missing asserts

2023-12-13 Thread Simon Glass
Calling into sub-test functions should be done using ut_assertok() so that the test exits immediately on failure. Add those which are missing. Signed-off-by: Simon Glass --- test/cmd/bdinfo.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH 05/34] test: Run bootstd tests only on sandbox

2023-12-13 Thread Simon Glass
These make use of disk images which are not available on reak boards. Add a new Kconfig to ensure these tests only run where they are valid. Signed-off-by: Simon Glass --- test/Kconfig | 5 + test/Makefile | 2 +- test/cmd_ut.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) Appl

Re: [PATCH 06/34] test: Handle use of stack pointer in bdinfo

2023-12-13 Thread Simon Glass
This test assumes that the stack pointer is the same across two calls to lmb_init_and_reserve() but this is not the case on x86, for example. Add a special case to handle this, along with a detailed comment. Signed-off-by: Simon Glass --- test/cmd/bdinfo.c | 12 1 file changed, 12

Re: [PATCH 04/34] test: Make UT_LIB_ASN1 depend on sandbox

2023-12-13 Thread Simon Glass
This doesn't seem to work on a real board, so use the test on sandbox only. Signed-off-by: Simon Glass --- test/Kconfig | 1 + 1 file changed, 1 insertion(+) Applied to u-boot-dm/next, thanks!

Re: [PATCH 03/34] test: Add helper to skip to partial console line

2023-12-13 Thread Simon Glass
Sometimes we need to skip to a line but it includes addresses or other information which can vary depending on the runtime conditions. Add a new ut_assert_skip_to_linen() which is similar to the existing ut_assert_skip_to_line() function but only checks that the console line matches up to the leng

Re: [PATCH 02/34] test: Add a new suite for commands

2023-12-13 Thread Simon Glass
Add a new suite for 'cmd' tests, used for testing commands. These are kept in the test/cmd directory. For now it is empty, but it will be used for coreboot-command tests. Signed-off-by: Simon Glass --- include/test/cmd.h| 15 +++ include/test/suites.h | 1 + test/cmd/Makefile

Re: [PATCH] binman: doc: fix typo

2023-12-13 Thread Simon Glass
On Thu, 23 Nov 2023 at 06:13, Michael Nazzareno Trimarchi wrote: > > Hi > > On Thu, Nov 23, 2023 at 2:10 PM Dario Binacchi > wrote: > > > > s/use set/set/ > > > > Signed-off-by: Dario Binacchi > > --- > > > > tools/binman/binman.rst | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Simon Glass
Hi Tom, On Wed, 13 Dec 2023 at 13:17, Tom Rini wrote: > > On Wed, Dec 13, 2023 at 12:51:33PM -0700, Simon Glass wrote: > > Hi Ilias, > > > > On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas > > wrote: > > > > > > In order to fill in the SMBIOS tables U-Boot currently relies on a > > > "u-boot,sysin

Re: [PATCH 2/2 v2] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Simon Glass
Hi Tom, On Wed, 13 Dec 2023 at 13:19, Tom Rini wrote: > > On Wed, Dec 13, 2023 at 12:50:03PM -0700, Simon Glass wrote: > > Hi Ilias, > > > > On Mon, 11 Dec 2023 at 00:49, Ilias Apalodimas > > wrote: > > > > > > Hi Tom, > > > > > > On Sat, 9 Dec 2023 at 20:49, Tom Rini wrote: > > > > > > > > On

Re: [PATCH v4] arm: dts: rockpro64: Add RockPro64 smbios

2023-12-13 Thread Simon Glass
Hi Tom, On Wed, 13 Dec 2023 at 13:29, Tom Rini wrote: > > On Wed, Dec 13, 2023 at 12:50:06PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 11 Dec 2023 at 13:53, Tom Rini wrote: > > > > > > On Mon, Dec 11, 2023 at 08:42:19PM +, Shantur Rathore wrote: > > > > Hi, > > > > > > > > On Mon

Re: [PATCH v2 1/5] cyclic: Add a symbol for SPL

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 12:50:02PM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 9 Dec 2023 at 08:48, Tom Rini wrote: > > > > On Sat, Dec 02, 2023 at 08:33:48AM -0700, Simon Glass wrote: > > > > > The cyclic subsystem is currently enabled either in all build phases > > > or none. For tools this

Please pull u-boot-dm/next

2023-12-13 Thread Simon Glass
Hi Tom, This is for the -next branch https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/39e7e039b02e1cf8b04ea668e2bfe2cd2ef0e14d https://dev.azure.com/simon0972/u-boot/_build/results?buildId=56&view=results The following changes since commit 9565771076c2d4b0193f1741b3990695ac33c1f3:

Re: [PATCH v2 1/5] cyclic: Add a symbol for SPL

2023-12-13 Thread Simon Glass
Hi Tom, On Wed, 13 Dec 2023 at 13:42, Tom Rini wrote: > > On Wed, Dec 13, 2023 at 12:50:02PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 9 Dec 2023 at 08:48, Tom Rini wrote: > > > > > > On Sat, Dec 02, 2023 at 08:33:48AM -0700, Simon Glass wrote: > > > > > > > The cyclic subsystem is c

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 01:41:04PM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 13 Dec 2023 at 13:17, Tom Rini wrote: > > > > On Wed, Dec 13, 2023 at 12:51:33PM -0700, Simon Glass wrote: > > > Hi Ilias, > > > > > > On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas > > > wrote: > > > > > > > > In

Re: [PATCH v2 1/5] cyclic: Add a symbol for SPL

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 01:51:00PM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 13 Dec 2023 at 13:42, Tom Rini wrote: > > > > On Wed, Dec 13, 2023 at 12:50:02PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 9 Dec 2023 at 08:48, Tom Rini wrote: > > > > > > > > On Sat, Dec 02, 202

Re: [PATCH v3] mmc: Poll CD in case cyclic framework is enabled

2023-12-13 Thread Marek Vasut
On 12/13/23 20:49, Simon Glass wrote: Hi Marek, On Wed, 13 Dec 2023 at 07:08, Marek Vasut wrote: On 12/12/23 15:05, Simon Glass wrote: Hi Marek, On Mon, 11 Dec 2023 at 12:24, Marek Vasut wrote: On 12/11/23 18:52, Simon Glass wrote: Hi Marek, On Sun, 10 Dec 2023 at 08:03, Marek Vasut w

Re: [PATCH 2/2 v2] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 13 Dec 2023 13:41:05 -0700 > > Hi Tom, > > On Wed, 13 Dec 2023 at 13:19, Tom Rini wrote: > > > > On Wed, Dec 13, 2023 at 12:50:03PM -0700, Simon Glass wrote: > > > Hi Ilias, > > > > > > On Mon, 11 Dec 2023 at 00:49, Ilias Apalodimas > > > wrote: > > > > > > > >

[PATCH v2] net: wget: Support non-default HTTP port

2023-12-13 Thread Marek Vasut
Currently the wget command is hard wired to HTTP port 80. This is inconvenient, as it is extremely easy to start trivial HTTP server as an unprivileged user using e.g. python http module to serve the files, but such a server has to run on one of the higher ports: " $ python3 -m http.server -d $(pwd

Re: [PATCH 1/2 v3] smbios: Simplify reporting of unknown values

2023-12-13 Thread Ilias Apalodimas
Hi Simon, On Wed, 13 Dec 2023 at 21:52, Simon Glass wrote: > > Hi Ilias, > > On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas > wrote: > > > > If a value is not valid during the DT or SYSINFO parsing, we explicitly > > set that to "Unknown Product" and "Unknown" for the product and > > manufacture

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Ilias Apalodimas
Hi Simon, [...] > > Can we add a Kconfig to enable this? I don't see the point, and I am not the only one. > > + * @size: str buffer length [...] > > + int cnt = 0; > > + char *token; > > + > > + memset(str, 0, size); > > *str = '\0' should be enough, assuming size is not 0

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Simon Glass
Hi Ilias, On Wed, 13 Dec 2023 at 14:43, Ilias Apalodimas wrote: > > Hi Simon, > > [...] > > > > > Can we add a Kconfig to enable this? > > I don't see the point, and I am not the only one. The information is not curated and isn't accurate. E.g. it can end up putting the vendor, device and versio

Re: [PATCH v3] mmc: Poll CD in case cyclic framework is enabled

2023-12-13 Thread Simon Glass
Hi Marek, On Wed, 13 Dec 2023 at 14:00, Marek Vasut wrote: > > On 12/13/23 20:49, Simon Glass wrote: > > Hi Marek, > > > > On Wed, 13 Dec 2023 at 07:08, Marek Vasut wrote: > >> > >> On 12/12/23 15:05, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On Mon, 11 Dec 2023 at 12:24, Marek Vasut wrote

Re: [PATCH 1/2 v3] smbios: Simplify reporting of unknown values

2023-12-13 Thread Simon Glass
Hi Ilias, On Wed, 13 Dec 2023 at 14:37, Ilias Apalodimas wrote: > > Hi Simon, > > On Wed, 13 Dec 2023 at 21:52, Simon Glass wrote: > > > > Hi Ilias, > > > > On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas > > wrote: > > > > > > If a value is not valid during the DT or SYSINFO parsing, we explici

Re: [PATCH v2 1/5] cyclic: Add a symbol for SPL

2023-12-13 Thread Simon Glass
Hi Tom, On Wed, 13 Dec 2023 at 13:59, Tom Rini wrote: > > On Wed, Dec 13, 2023 at 01:51:00PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 13 Dec 2023 at 13:42, Tom Rini wrote: > > > > > > On Wed, Dec 13, 2023 at 12:50:02PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sat

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Simon Glass
Hi Tom, On Wed, 13 Dec 2023 at 13:56, Tom Rini wrote: > > On Wed, Dec 13, 2023 at 01:41:04PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 13 Dec 2023 at 13:17, Tom Rini wrote: > > > > > > On Wed, Dec 13, 2023 at 12:51:33PM -0700, Simon Glass wrote: > > > > Hi Ilias, > > > > > > > > On T

Re: [PATCH 1/2 v3] smbios: Simplify reporting of unknown values

2023-12-13 Thread Ilias Apalodimas
On Thu, 14 Dec 2023 at 00:22, Simon Glass wrote: > > Hi Ilias, > > On Wed, 13 Dec 2023 at 14:37, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Wed, 13 Dec 2023 at 21:52, Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas > > > wrote: > >

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 03:22:25PM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 13 Dec 2023 at 13:56, Tom Rini wrote: > > > > On Wed, Dec 13, 2023 at 01:41:04PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 13 Dec 2023 at 13:17, Tom Rini wrote: > > > > > > > > On Wed, Dec 13, 20

Re: [PATCH] lib/Kconfig: Correct typo about SYSINFO_SMBIOS in help message

2023-12-13 Thread Tom Rini
On Mon, Nov 20, 2023 at 03:17:23PM -0500, Tom Rini wrote: > The correct symbol to enable to have SMBIOS populate fields based on the > device tree is SYSINFO_SMBIOS and not SMBIOS_SYSINFO. > > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signa

Re: [PATCH] drivers: misc: Kconfig: Fix SPL_FS_LOADER prompt

2023-12-13 Thread Tom Rini
On Mon, Nov 20, 2023 at 08:21:51PM +, Alexander Gendin wrote: > Both FS_LOADER and SPL_FS_LOADER have the same menu prompt. > To avoid confusion, make prompt for SPL_FS_LOADER different. > > Signed-off-by: Alexander Gendin > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- T

Re: [PATCH] MAINTAINERS: Fix ARCH_APPLE file paths

2023-12-13 Thread Tom Rini
On Wed, Nov 22, 2023 at 04:21:14PM +, Moritz Fischer wrote: > Fixes a filepath in MAINTAINERS file that wasn't updated when > renaming the files to match the new SoC name. > > Fixes: a4bd5e4120d6 ('arm: apple: Change SoC name from "m1" into "apple"') > Signed-off-by: Moritz Fischer Applied

Re: [PATCH] maintainers: rk3399: remove maintainer

2023-12-13 Thread Tom Rini
On Fri, Nov 24, 2023 at 12:04:31PM +, Shantur Rathore wrote: > Remove Akash Gajjar from > MAINTAINERS as email is bouncing. > > Signed-off-by: Shantur Rathore > Reviewed-by: Kever Yang Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] maintainers: bcmns3: remove maintainer

2023-12-13 Thread Tom Rini
On Tue, Dec 05, 2023 at 09:12:22AM +, Peter Robinson wrote: > Remove Bharat Gooty as a maintainer as his mail is > bouncing. > > Signed-off-by: Peter Robinson > Cc: Rayagonda Kokatanur Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2] test/py: mii: Add tests for mii command

2023-12-13 Thread Tom Rini
On Tue, Dec 05, 2023 at 05:32:17PM +0530, Love Kumar wrote: > Add below test cases for mii commands: > mii_info -To display MII PHY info > mii_list - To list MII devices > mii_set_device - To set MII device > mii_read - To reads register from MII PHY address > mii_dump - To display data from MII P

Re: [PATCH v2] net: wget: Support non-default HTTP port

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 10:11:13PM +0100, Marek Vasut wrote: > Currently the wget command is hard wired to HTTP port 80. This is > inconvenient, as it is extremely easy to start trivial HTTP server > as an unprivileged user using e.g. python http module to serve the > files, but such a server has

Re: [PATCH v6 08/17] board: ti: j784s4: Add board support for J784S4 EVM

2023-12-13 Thread Tom Rini
On Wed, Dec 06, 2023 at 06:07:44PM +0530, Apurva Nandan wrote: > Add board files for J784S4 EVM. > > Signed-off-by: Hari Nagalla > [ add env and board specific yaml files for binman ] > Signed-off-by: Neha Malcom Francis > [ cleaned up the env files ] > Signed-off-by: Manorit Chawdhry > Signed

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Mark Kettenis
> Date: Wed, 13 Dec 2023 15:56:34 -0500 > From: Tom Rini > > On Wed, Dec 13, 2023 at 01:41:04PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 13 Dec 2023 at 13:17, Tom Rini wrote: > > > > > > On Wed, Dec 13, 2023 at 12:51:33PM -0700, Simon Glass wrote: > > > > Hi Ilias, > > > > > > > >

Re: Please pull u-boot-dm/next

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 01:50:57PM -0700, Simon Glass wrote: > Hi Tom, > > This is for the -next branch > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/39e7e039b02e1cf8b04ea668e2bfe2cd2ef0e14d > > https://dev.azure.com/simon0972/u-boot/_build/results?buildId=56&view=results > >

Re: [PATCH] efi_loader: eliminate efi_disk_obj structure

2023-12-13 Thread AKASHI Takahiro
Hi Kojima-san, On Wed, Dec 13, 2023 at 05:57:37PM +0900, Masahisa Kojima wrote: > Current code uses struct efi_disk_obj to keep information > about block devices and partitions. As the efi handle already > has a field with the udevice, we should eliminate > struct efi_disk_obj and use an pointer t

Re: [PATCH] efi_loader: eliminate efi_disk_obj structure

2023-12-13 Thread Masahisa Kojima
Hi Heinrich, On Wed, 13 Dec 2023 at 23:22, Heinrich Schuchardt wrote: > > On 13.12.23 09:57, Masahisa Kojima wrote: > > Current code uses struct efi_disk_obj to keep information > > about block devices and partitions. As the efi handle already > > has a field with the udevice, we should eliminate

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

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

Re: [PATCH] tools: mxsboot: pre-fill buffer with 0xff, not 0

2023-12-13 Thread Fabio Estevam
On Sun, Dec 3, 2023 at 9:24 PM Alessandro Rubini wrote: > > The tool works for me, with imx28 and NAND memory, but the resulting > blocks are reported as bad, both by u-boot and the kernel. > > This makes it impossible to erase from Linux (for an upgrade without > console access, for example -- u-

Re: [PATCH] imx: imx-hab: Select SPL_DRIVERS_MISC in the SPL case

2023-12-13 Thread Fabio Estevam
On Mon, Dec 11, 2023 at 10:46 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Selecting CONFIG_IMX_HAB=y on a SPL target, such as apalis_imx6_defconfig, > for example, leads to the following build error: > > /usr/bin/arm-linux-gnueabihf-ld.bfd: arch/arm/mach-imx/hab.o: in function > `imx_hab

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

2023-12-13 Thread Fabio Estevam
On Tue, Nov 7, 2023 at 7:16 PM wrote: > > From: Benjamin Szőke > > Technexion PICO-IMX7 SoM is supporting USDHC3 (eMMC or micro SD on SoM) > and USDHC1 (SD on carrier board) to use on any carrier board like > PICO-NYMPH. Based on the U-Boot version from Technexion it adds > baseboard SD card boot

How to boot Fedora 39

2023-12-13 Thread Simon Glass
Hi, I tried the instructions here with a rpi4: https://docs.fedoraproject.org/en-US/quick-docs/raspberry-pi/#_installing_fedora_on_a_raspberry_pi_for_linux_users xzcat Fedora-Workstation-39-1.5.aarch64.raw.xz | sudo dd status=progress bs=4M of=/dev/sdb 16843096064 bytes (17 GB, 16 GiB) copied, 1

Re: [PATCH v6 03/17] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-12-13 Thread Bryan Brattlof
On December 7, 2023 thus sayeth Neha Malcom Francis: > Hi Apurva, > > On 06/12/23 18:07, Apurva Nandan wrote: > > Add J784S4 initialization files for initial SPL boot. > > > > Signed-off-by: Hari Nagalla > > [ add firewall configurations and change the R5 MCU scratchpad ] > > Signed-off-by: Man

[GIT PULL] u-boot-riscv/master

2023-12-13 Thread 梁育齊
Hi Tom, The following changes since commit 20d0464300c25db673cfb5e4539aa3767606d151: Merge tag 'u-boot-imx-20231212' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2023-12-12 16:33:57 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-ri

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Simon Glass
Hi Tom, On Wed, 13 Dec 2023 at 16:05, Tom Rini wrote: > > On Wed, Dec 13, 2023 at 03:22:25PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 13 Dec 2023 at 13:56, Tom Rini wrote: > > > > > > On Wed, Dec 13, 2023 at 01:41:04PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Wed

RE: [EXT] Re: [PATCH v2 1/3] drivers: rtc: add pcf2131 rtc driver

2023-12-13 Thread Joy Zou
Okay,Thanks your kind reminder! BR Joy Zou > -Original Message- > From: Fabio Estevam > Sent: 2023年12月14日 4:07 > To: Joy Zou > Cc: Fabio Estevam ; Chris Packham > ; Peng Fan ; > sap...@gmail.com; Stefano Babic ; Simon Glass > ; U-Boot-Denx ; dl-uboot-imx > ; Ye Li > Subject: [EXT] Re:

[patch v1] arm add initial support for the Phytium Pe2201 Board board:phytium:add pe2201 folder,It initializes pcie, ddr and other aspects of phytium pe2201 board dts:add phytium_pe2201.dts,it is dev

2023-12-13 Thread TracyMg_Li
From: TracyMg_Li Signed-off-by: TracyMg_Li --- arch/arm/Kconfig | 8 ++ arch/arm/dts/Makefile| 1 + arch/arm/dts/phytium-pe2201.dts | 43 +++ board/phytium/pe2201/Kconfig | 12 ++ board/phytium/pe2201/MAINTAINERS | 8 ++ board/phytium/pe2201/Makefile

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

2023-12-13 Thread Chen-Yu Tsai
On Sun, Dec 10, 2023 at 1:31 AM Geert Uytterhoeven wrote: > > Hi Laurent, > > On Sat, Dec 9, 2023 at 4:29 PM Laurent Pinchart > wrote: > > On Sat, Dec 09, 2023 at 10:13:59PM +0900, Chen-Yu Tsai wrote: > > > On Thu, Dec 7, 2023 at 11:38 PM Laurent Pinchart > > > wrote: > > > > On Thu, Dec 07, 202

Re: [PATCH 02/17] video: dw_hdmi: Add Vendor PHY handling

2023-12-13 Thread Jagan Teki
Hi Simon, On Thu, Dec 14, 2023 at 1:21 AM Simon Glass wrote: > > Hi Jagan, > > On Mon, 11 Dec 2023 at 02:00, Jagan Teki wrote: > > > > From: Jagan Teki > > > > DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY. > > > > Extend the vendor phy handling by adding platform phy hooks. > >

[PATCH v6 0/6] spi-nor: Add parallel and stacked memories support

2023-12-13 Thread Venkatesh Yadav Abbarapu
This series adds support for Xilinx qspi parallel and stacked memeories. In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode sh

[PATCH v6 1/6] mtd: spi-nor: Add parallel and stacked memories support

2023-12-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode should be identical. During each operation SPI-NOR

[PATCH v6 3/6] mtd: spi-nor: Add parallel and stacked memories support in read_bar and write_bar

2023-12-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories and stacked memories configuration in read_bar and write_bar functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 55 +- 1 file changed,

[PATCH v6 2/6] mtd: spi-nor: Add parallel memories support for read_sr and read_fsr

2023-12-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Add support for parallel memories flash configuration in read status register and read flag status register functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 50 -- 1 f

[PATCH v6 4/6] spi: spi-uclass: Read chipselect and restrict capabilities

2023-12-13 Thread Venkatesh Yadav Abbarapu
From: Ashok Reddy Soma Read chipselect properties from DT which are populated using 'reg' property and save it in plat->cs[] array for later use. Also read multi chipselect capability which is used for parallel-memories and return errors if they are passed on using DT but driver is not capable o

[PATCH v6 6/6] spi: zynq_qspi: Add parallel memories support in QSPI driver

2023-12-13 Thread Venkatesh Yadav Abbarapu
Add support for parallel memories in zynq_qspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those commands a

[PATCH v6 5/6] spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver

2023-12-13 Thread Venkatesh Yadav Abbarapu
Add support for parallel memories in zynqmp_gqspi.c driver. In case of parallel memories STRIPE bit is set and sent to the qspi ip, which will send data bits to both the flashes in parallel. However for few commands we should not use stripe, instead send same data to both the flashes. Those command

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

2023-12-13 Thread Masahiro Yamada
On Thu, Dec 14, 2023 at 1:03 PM Chen-Yu Tsai wrote: > > On Sun, Dec 10, 2023 at 1:31 AM Geert Uytterhoeven > wrote: > > > > Hi Laurent, > > > > On Sat, Dec 9, 2023 at 4:29 PM Laurent Pinchart > > wrote: > > > On Sat, Dec 09, 2023 at 10:13:59PM +0900, Chen-Yu Tsai wrote: > > > > On Thu, Dec 7, 2

Re: [PATCH 1/7] doc: Update documentation URL

2023-12-13 Thread Heinrich Schuchardt
Am 13. Dezember 2023 21:39:12 MEZ schrieb Simon Glass : >Update to use the new docs.u-boot.org URL for documentation. Who owns that domain? Can we let http://www.u-boot.org forward to https://docs.u-boot.org? Best regards Heinrich > >Signed-off-by: Simon Glass >--- > > MAINTAINERS

Re: [PATCH] efi_loader: eliminate efi_disk_obj structure

2023-12-13 Thread Heinrich Schuchardt
Am 14. Dezember 2023 02:55:27 MEZ schrieb Masahisa Kojima : >Hi Heinrich, > >On Wed, 13 Dec 2023 at 23:22, Heinrich Schuchardt wrote: >> >> On 13.12.23 09:57, Masahisa Kojima wrote: >> > Current code uses struct efi_disk_obj to keep information >> > about block devices and partitions. As the e

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

2023-12-13 Thread Masahiro Yamada
On Thu, Dec 14, 2023 at 3:12 PM Masahiro Yamada wrote: > > On Thu, Dec 14, 2023 at 1:03 PM Chen-Yu Tsai wrote: > > > > On Sun, Dec 10, 2023 at 1:31 AM Geert Uytterhoeven > > wrote: > > > > > > Hi Laurent, > > > > > > On Sat, Dec 9, 2023 at 4:29 PM Laurent Pinchart > > > wrote: > > > > On Sat,

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

2023-12-13 Thread Geert Uytterhoeven
Hi Yamada-san, On Thu, Dec 14, 2023 at 7:12 AM Masahiro Yamada wrote: > On Thu, Dec 14, 2023 at 1:03 PM Chen-Yu Tsai wrote: > > On Sun, Dec 10, 2023 at 1:31 AM Geert Uytterhoeven > > wrote: > > > On Sat, Dec 9, 2023 at 4:29 PM Laurent Pinchart > > > wrote: > > > > On Sat, Dec 09, 2023 at 10:1

<    1   2