Re: [PATCH 1/2] cmd: efidebug: add uri device path

2023-08-24 Thread Masahisa Kojima
On Thu, 24 Aug 2023 at 14:37, Heinrich Schuchardt wrote: > > On 8/23/23 10:37, Masahisa Kojima wrote: > > This adds the URI device path option for 'boot add' subcommand. > > User can add the URI load option for downloading ISO image file > > or EFI application through network(e.g. HTTP). > > > >

Re: [PATCH 1/2] cmd: efidebug: add uri device path

2023-08-24 Thread Masahisa Kojima
On Thu, 24 Aug 2023 at 09:11, AKASHI Takahiro wrote: > > Hi Kojima-san, > > On Wed, Aug 23, 2023 at 05:37:19PM +0900, Masahisa Kojima wrote: > > This adds the URI device path option for 'boot add' subcommand. > > User can add the URI load option for downloading ISO image file > > or EFI

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-24 Thread Siddharth Vadapalli
Roger, On 25/08/23 00:39, Roger Quadros wrote: > > > On 24/08/2023 21:24, Tom Rini wrote: >> On Thu, Aug 24, 2023 at 11:34:29PM +0530, Siddharth Vadapalli wrote: >>> Hello Roger, >>> >>> On 22-08-2023 17:43, Roger Quadros wrote: ... > > Even a single "PHY not found" print is not OK. It looks

[PATCH 2/2] Title: Add Meta OpenBMC Minerva dts in uboot.

2023-08-24 Thread peteryin
Add dts file for Meta OpenBMC Minerva. Signed-off-by: peteryin --- arch/arm/dts/Makefile| 1 + arch/arm/dts/ast2600-minerva.dts | 93 2 files changed, 94 insertions(+) create mode 100644 arch/arm/dts/ast2600-minerva.dts diff --git

[PATCH 1/2] Title:Add board for Meta openbmc Minerva.

2023-08-24 Thread peteryin
From: peteryin Create minerva initial file. Signed-off-by: peteryin --- arch/arm/mach-aspeed/ast2600/Kconfig | 8 ++ board/aspeed/meta_ast2600/Kconfig | 13 ++ board/aspeed/meta_ast2600/Makefile| 1 + .../meta_ast2600/meta_minerva_ast2600.c | 130

[PATCH v2] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-24 Thread Jesse Taube
Commit 65cc0e2a65d2 ("global: Move remaining CONFIG_SYS_* to CFG_SYS_*") renamed CONFIG_SYS_UBOOT_START to CFG_SYS_UBOOT_START. Unfortunately, this meant that the value was no longer available to the Makefile. This caused imxrt to fail to boot. All the other boards that used this variable were

Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation

2023-08-24 Thread Nishanth Menon
On 19:31-20230824, Simon Glass wrote: > > > > > > Also I tried the mmc instructions and managed to brick the board. Is > > Hmm.. This is just documenting what Robert has in his scripts[1] > > > > > there a recovery procedure? > > > > Oopsie.. Sorr

[PATCH] bootstd: Drop some TODOs

2023-08-24 Thread Simon Glass
The existing TODOs are done, so remove them. Add another that came up today. Signed-off-by: Simon Glass --- doc/develop/bootstd.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/develop/bootstd.rst b/doc/develop/bootstd.rst index ec3136535783..3e566e994d6c 100644

Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation

2023-08-24 Thread Simon Glass
Hi Nishanth, On Thu, 24 Aug 2023 at 19:22, Nishanth Menon wrote: > > On 19:04-20230824, Simon Glass wrote: > > Hi Nishanth, > > > > On Tue, 22 Aug 2023 at 12:43, Nishanth Menon wrote: > > > > > > Add base documentation for BeaglePlay > > > >

Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation

2023-08-24 Thread Nishanth Menon
On 19:04-20230824, Simon Glass wrote: > Hi Nishanth, > > On Tue, 22 Aug 2023 at 12:43, Nishanth Menon wrote: > > > > Add base documentation for BeaglePlay > > > > Signed-off-by: Nishanth Menon > > --- > > Cc: Heinrich Schuchardt > > > &

Re: [PATCH] board: ti: am62x: beagleplay: Disable semi-functional PSCI reset support

2023-08-24 Thread Nishanth Menon
On 17:58-20230824, Tom Rini wrote: > On Thu, Aug 24, 2023 at 11:53:17PM +0200, Jan Kiszka wrote: > > From: Jan Kiszka > > > > At this point, system shutdown is not supported by the DM firmware that > > TF-A calls. As we can't de-select only this feature, declare comp

Re: [PATCH V4 8/8] doc: board: ti: Add BeaglePlay documentation

2023-08-24 Thread Simon Glass
Hi Nishanth, On Tue, 22 Aug 2023 at 12:43, Nishanth Menon wrote: > > Add base documentation for BeaglePlay > > Signed-off-by: Nishanth Menon > --- > Cc: Heinrich Schuchardt > > Changes Since V3: > * Updated documentation to give a more clear overview of MMC partitions > and flashing

Re: [PATCH v7 2/2] phy: phy-imx8mq-usb: clean up clock code

2023-08-24 Thread Marek Vasut
On 8/24/23 20:05, Tim Harvey wrote: On Thu, Jul 13, 2023 at 12:17 PM Marek Vasut wrote: On 7/13/23 20:56, Tim Harvey wrote: use CONFIG_IS_ENABLED for clock enable/disable and change printf's to dev_err. Additionlly remove the comment that does not make sense. Signed-off-by: Tim Harvey

Re: [PATCH 1/1] doc: describe TPL/VPL/SPL boot

2023-08-24 Thread Pali Rohár
On Thursday 24 August 2023 15:06:44 Marek Vasut wrote: > On 8/23/23 22:55, Pali Rohár wrote: > > On Wednesday 23 August 2023 22:46:13 Marek Vasut wrote: > > > On 8/23/23 22:35, Pali Rohár wrote: > > > > On Wednesday 23 August 2023 22:32:18 Heinrich Schuchardt wrote: > > > > > Looking at the

Re: [PATCH v7 1/2] phy: phy-imx8mq-usb: add vbus regulator support

2023-08-24 Thread Marcel Ziswiler
Hi Tim Thanks! On Thu, 2023-07-13 at 11:56 -0700, Tim Harvey wrote: > Add support for enabling and disabling vbus-supply regulator found > on several imx8mp boards in the usb3_phy0 and usb3_phy1 nodes. > > Signed-off-by: Tim Harvey > Reviewed-by: Adam Ford > Reviewed-by: Marek Vasut

Re: [PATCH] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-24 Thread Tom Rini
On Thu, Aug 24, 2023 at 06:40:09PM -0400, Jesse T wrote: > On Thu, Aug 24, 2023 at 4:01 PM Simon Glass wrote: > > > > Hi Jesse, > > > > On Wed, 23 Aug 2023 at 20:30, Jesse Taube wrote: > > > > > > Commit 65cc0e2a65d2 ("global: Move remaining CONFIG_SYS_* to CFG_SYS_*") > > > renamed

Re: [PATCH] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-24 Thread Jesse T
On Thu, Aug 24, 2023 at 4:01 PM Simon Glass wrote: > > Hi Jesse, > > On Wed, 23 Aug 2023 at 20:30, Jesse Taube wrote: > > > > Commit 65cc0e2a65d2 ("global: Move remaining CONFIG_SYS_* to CFG_SYS_*") > > renamed CONFIG_SYS_UBOOT_START to CFG_SYS_UBOOT_START. Unfortunately, > > this meant that the

Re: [PATCH] board: ti: am62x: beagleplay: Disable semi-functional PSCI reset support

2023-08-24 Thread Tom Rini
On Thu, Aug 24, 2023 at 11:53:17PM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > At this point, system shutdown is not supported by the DM firmware that > TF-A calls. As we can't de-select only this feature, declare complete > PSCI reset support as non-functional so that we don't signal

[PATCH] board: ti: am62x: beagleplay: Disable semi-functional PSCI reset support

2023-08-24 Thread Jan Kiszka
From: Jan Kiszka At this point, system shutdown is not supported by the DM firmware that TF-A calls. As we can't de-select only this feature, declare complete PSCI reset support as non-functional so that we don't signal incomplete support to the OS via EFI runtime services. This makes power-off

Re: [PATCH v2 0/4] arm: qemu: Enable Bochs, console buffering, USB keyboard

2023-08-24 Thread Tom Rini
On Mon, Aug 14, 2023 at 08:39:40PM +0300, Alper Nebi Yasak wrote: > Now that the driver for the Bochs VGA card emulated by QEMU is no longer > limited to x86 architectures [1], this series enables it on arm and > arm64 virtual machines to provide a graphical interface. In line with > that series

Re: [PATCH] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-24 Thread Simon Glass
Hi Jesse, On Wed, 23 Aug 2023 at 20:30, Jesse Taube wrote: > > Commit 65cc0e2a65d2 ("global: Move remaining CONFIG_SYS_* to CFG_SYS_*") > renamed CONFIG_SYS_UBOOT_START to CFG_SYS_UBOOT_START. Unfortunately, > this meant that the value was no longer available to the Makefile. This > caused imxrt

[PATCH 19/19] boot: Join ARCH_FIXUP_FDT_MEMORY with related options

2023-08-24 Thread Simon Glass
Move this to be with the other devicetree-fixup options. Signed-off-by: Simon Glass --- boot/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index 32d3a7306139..d9cb67945716 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@

[PATCH 18/19] boot: Join FDT_FIXUP_PARTITIONS with related options

2023-08-24 Thread Simon Glass
Move this to be with the other devicetree-fixup options. Signed-off-by: Simon Glass --- boot/Kconfig | 8 lib/Kconfig | 9 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index 4742ee2027bd..32d3a7306139 100644 --- a/boot/Kconfig

[PATCH 17/19] Make DISTRO_DEFAULTS as deprecated

2023-08-24 Thread Simon Glass
Encourage people to move to distro boot. Add a short migration guide. Signed-off-by: Simon Glass --- boot/Kconfig| 7 ++- doc/develop/bootstd.rst | 23 +++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kconfig index

[PATCH 16/19] Kconfig: Move TEXT_BASE et al under general setup

2023-08-24 Thread Simon Glass
These don't relate to booting. Move them out of there and into the same place as the other related settings. Signed-off-by: Simon Glass --- Kconfig | 65 boot/Kconfig | 65 2 files

[PATCH 15/19] boot: Make standard boot a menu

2023-08-24 Thread Simon Glass
Collect these options into a menu for easier viewing. Signed-off-by: Simon Glass --- boot/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index af08703ea1e5..8343eba10531 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -372,8

[PATCH 14/19] spl: Tidy up load address in spl_ram

2023-08-24 Thread Simon Glass
This CONFIG is used but is not given a value by some boards. Use a default value of 0 explicitly, rather than relying on the 0 value provided by CONFIG_SPL_LOAD_FIT_ADDRESS This will allow us to make SPL_LOAD_FIT_ADDRESS depend on SPL_LOAD_FIT as it should. Signed-off-by: Simon Glass ---

[PATCH 12/19] Kconfig: Create a menu for FIT

2023-08-24 Thread Simon Glass
This is a major feature with a lot of options. Give it its own menu to tidy up the 'make menuconfig' display. Drop the 'depends on FIT' pieces which are now unnecessary, since they are now bracketed by an 'if FIT'. Signed-off-by: Simon Glass --- boot/Kconfig | 18 -- 1 file

[PATCH 13/19] Kconfig: Move SPL_FIT under FIT

2023-08-24 Thread Simon Glass
This option already depends on FIT, so put it under the same umbrella, so that it appears in the FIT menu. Signed-off-by: Simon Glass --- boot/Kconfig | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index bc3a68402a15..af08703ea1e5

[PATCH 11/19] boot: Rename Android-boot text

2023-08-24 Thread Simon Glass
Phrases like 'Enable support for' are pointless since this is an option which enables things. Drop that part so it is easier to follow. Signed-off-by: Simon Glass --- boot/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/Kconfig b/boot/Kconfig index

[PATCH 10/19] boot: Move some other fdt-fixup options to the same menu

2023-08-24 Thread Simon Glass
Move more options relating to fixing up a device tree into the new devicetree-fixup menu. Signed-off-by: Simon Glass --- boot/Kconfig | 55 +--- 1 file changed, 26 insertions(+), 29 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index

[PATCH 09/19] Move fdt_simplefb to boot/

2023-08-24 Thread Simon Glass
This relates to booting, so move it there. Create a new Kconfig menu for things related to devicetree fixup. Signed-off-by: Simon Glass --- boot/Kconfig| 16 boot/Makefile | 1 + {common => boot}/fdt_simplefb.c | 0 common/Kconfig

[PATCH 08/19] boot: Move fdt_support to boot/

2023-08-24 Thread Simon Glass
This relates to booting since it fixes up the devicetree for the OS. Move it into the boot/ directory. Signed-off-by: Simon Glass --- boot/Makefile | 3 +++ {common => boot}/fdt_support.c | 0 common/Makefile| 2 -- 3 files changed, 3 insertions(+), 2

[PATCH 07/19] test: Move POST under a renamed Testing section

2023-08-24 Thread Simon Glass
Rename Unit tests to Testing, since it is a stretch to describe some of the tests as unit tests. Move POST there as well, so it doesn't show up by itself in the top-level menu. Signed-off-by: Simon Glass --- test/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[PATCH 06/19] FMU: Avoid showing an unselectable menu option

2023-08-24 Thread Simon Glass
Use a menuconfig to avoid showing a menu which cannot be selected in many cases. This option should really go with the other 'Update support'. Perhaps we should even consider a top-level update/ directory? Signed-off-by: Simon Glass --- lib/Kconfig | 4

[PATCH 05/19] net: Move SYS_RX_ETH_BUFFER into the network menu

2023-08-24 Thread Simon Glass
Move this Kconfig option into the correct place, so it doesn't show up in the top-level menu. Unfortunately this makes the CONFIG undefined on some boards which don't enable CONFIG_NET but do include the net.h header file. In fact that header is included from a lot of common places. So use a

[PATCH 04/19] video: Move BMP options and code to video directory

2023-08-24 Thread Simon Glass
Put the options and the common BMP code with the other related Kconfig options in the drivers/video directory. Signed-off-by: Simon Glass --- common/Kconfig | 11 --- common/Makefile | 1 - drivers/video/Kconfig | 11 +++

[PATCH 03/19] video: Hide the BMP options

2023-08-24 Thread Simon Glass
These appear prominently in the main menu at present. However they are selected when needed so do not need to be visible. Make them hidden. Signed-off-by: Simon Glass --- common/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/Kconfig b/common/Kconfig

[PATCH 02/19] Kconfig: Move API into general setup

2023-08-24 Thread Simon Glass
This is perhaps not a commonly used feature so should not have its own option in the main menu. Move it under general setup. Signed-off-by: Simon Glass --- Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kconfig b/Kconfig index 91170bf8d223..0a2e97578dfc 100644

[PATCH 01/19] lib: rational: Move the Kconfigs into the correct place

2023-08-24 Thread Simon Glass
These should not be part of the 'system tables' menu. Move them outside on their own. Signed-off-by: Simon Glass Fixes: 7d0f3fbb93c ("lib: rational: copy the rational fraction lib...") --- lib/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig

[PATCH 00/19] Kconfig: Tidy up some options

2023-08-24 Thread Simon Glass
The view from 'make menuconfig' is confusing in places. This series aims to improve the top-level menu and also the boot menu. It also groups FDT-fixup options tegether, at least the ones I could fine. Finally this series marks the distro scripts as deprecated, so people have a pointer to

[PATCH v2 23/23] CI: Add ChromiumOS utilities

2023-08-24 Thread Simon Glass
We need cgpt and futility for building test images. Add them. Signed-off-by: Simon Glass --- (no changes since v1) tools/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 3d2b64a355f3..6e6ae9ebed40 100644 ---

[PATCH v2 22/23] bootstd: cros: Allow detection of any kernel partition

2023-08-24 Thread Simon Glass
The existing ChromiumOS bootmeth only supports reading a single kernel partition, either 2 or 4. In fact there are normally two options available. Use the GUID to detect kernel partitions, with the BOOTMETHF_ANY_PART flag, so that bootstd does not require a valid filesystem before calling the

[PATCH v2 21/23] uuid: Add ChromiumOS partition types

2023-08-24 Thread Simon Glass
Add some GUIDs for ChromiumOS so we can detect the partitions. Signed-off-by: Simon Glass --- (no changes since v1) include/part_efi.h | 14 ++ lib/uuid.c | 7 +++ 2 files changed, 21 insertions(+) diff --git a/include/part_efi.h b/include/part_efi.h index

[PATCH v2 19/23] part: Add a fallback for part_get_bootable()

2023-08-24 Thread Simon Glass
This function can be called when partition support is disabled. Add a static inline to handle this. Signed-off-by: Simon Glass --- (no changes since v1) include/part.h | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/include/part.h b/include/part.h

[PATCH v2 20/23] bootstd: Support bootmeths which can scan any partition

2023-08-24 Thread Simon Glass
Some bootmeths support scanning a partition without a filesystem on it. Add a flag to support this. This will allow the ChromiumOS bootmeth to find kernel partition, which are stored in a special format, without a filesystem. Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 18/23] bootstd: Add a test for bootmeth_cros

2023-08-24 Thread Simon Glass
The ChromiumOS bootmeth has no tests at present. Before adding more features. add a basic test. This creates a disk which can be scanned by the bootmeth, so make sure things work. It is quite rudimentary, since the kernel is faked, the root disk is missing and there is no cmdline stored. Enable

[PATCH v2 17/23] bootstd: test: Allow binding and using any mmc device

2023-08-24 Thread Simon Glass
We currently use mmc4 for tests. Update the function which sets this up so that it can handle any device. Signed-off-by: Simon Glass --- (no changes since v1) test/boot/bootflow.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git

[PATCH v2 16/23] bootflow: Show an empty filename when there is none

2023-08-24 Thread Simon Glass
At present 'bootflow list' shows for the filename when it is not present. Show an empty string instead, since that is more user-friendly. Signed-off-by: Simon Glass --- (no changes since v1) cmd/bootflow.c | 2 +- test/boot/bootflow.c | 22 -- 2 files changed, 13

[PATCH v2 13/23] uuid: Move function comments to header file

2023-08-24 Thread Simon Glass
These should be in the header file for easy browsing, not in the source code. Move them and add a missing Return on one of the functions. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to -next include/uuid.h | 103 + lib/uuid.c |

[PATCH v2 15/23] test: Move 1MB.fat32.img and 2MB.ext2.img

2023-08-24 Thread Simon Glass
These are currently created in the source directory, which is not ideal. Move them to the persistent-data directory instead. Update the test so skip validating the filename, since it now includes a full path. Signed-off-by: Simon Glass --- (no changes since v1) test/dm/host.c | 44

[PATCH v2 14/23] sandbox: Add a way to access persistent test files

2023-08-24 Thread Simon Glass
Some pytests create files in the persistent-data directory. It is useful to be able to access these files in C tests. Add a function which can locate a file given its leaf name, using the environment variable set up in test/py/conftest.py Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 12/23] dm: core: Correct error handling when event fails

2023-08-24 Thread Simon Glass
Follow the correct path in device_probe() when and event handler fails. This avoids getting into a strange state where the device appears to be activated but is not. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/device.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v2 11/23] part: efi: Add debugging for the signature check

2023-08-24 Thread Simon Glass
Add a little more debugging for the initial signature check. Drop the pointless check for NULL. Also set a log category while we are here. Signed-off-by: Simon Glass --- (no changes since v1) disk/part_efi.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

[PATCH v2 10/23] part: Add an accessor for struct disk_partition sys_ind

2023-08-24 Thread Simon Glass
This field is only present when a CONFIG is set. To avoid annoying #ifdefs in the source code, add an accessor. Update the only usage. Note that the accessor is optional. It can be omitted if it is known that the option is enabled. Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 09/23] part: Add accessors for struct disk_partition type_uuid

2023-08-24 Thread Simon Glass
This field is only present when a CONFIG is set. To avoid annoying #ifdefs in the source code, add accessors. Update all code to use it. Note that the accessor is optional. It can be omitted if it is known that the option is enabled. Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 08/23] part: Add accessors for struct disk_partition uuid

2023-08-24 Thread Simon Glass
This field is only present when a CONFIG is set. To avoid annoying #ifdefs in the source code, add accessors. Update all code to use it. Note that the accessor is optional. It can be omitted if it is known that the option is enabled. Signed-off-by: Simon Glass --- (no changes since v1)

[PATCH v2 07/23] part: Add comments for static functions

2023-08-24 Thread Simon Glass
Some internal functions could do with a few comments, to explain what they do. Add these, to make the code easier to follow. Signed-off-by: Simon Glass --- (no changes since v1) disk/part.c | 32 1 file changed, 32 insertions(+) diff --git a/disk/part.c

[PATCH v2 04/23] part: efi: Use desc instead of dev_desc

2023-08-24 Thread Simon Glass
The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the efi code to just use 'desc'. Signed-off-by: Simon Glass --- (no changes since v1) disk/part_efi.c | 228 1 file

[PATCH v2 05/23] part: iso: Use desc instead of dev_desc

2023-08-24 Thread Simon Glass
The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the iso code to just use 'desc'. Signed-off-by: Simon Glass --- (no changes since v1) disk/part_iso.c | 52 - 1 file

[PATCH v2 06/23] part: nac: Use desc instead of dev_desc

2023-08-24 Thread Simon Glass
The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the mac code to just use 'desc'. Signed-off-by: Simon Glass --- (no changes since v1) disk/part_mac.c | 59 ++--- 1 file

[PATCH v2 03/23] part: dos: Use desc instead of dev_desc

2023-08-24 Thread Simon Glass
The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the dos code to just use 'desc'. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to -next disk/part_dos.c | 63 -

[PATCH v2 01/23] part: Use desc instead of dev_desc

2023-08-24 Thread Simon Glass
The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the partition code to just use 'desc', as is done with driver model. Signed-off-by: Simon Glass --- Changes in v2: - Rebase on -next disk/part.c| 178

[PATCH v2 02/23] part: amiga: Use desc instead of dev_desc

2023-08-24 Thread Simon Glass
The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the amiga code to just use 'desc'. Signed-off-by: Simon Glass --- (no changes since v1) disk/part_amiga.c | 34 +- 1 file changed, 17

[PATCH v2 00/23] bootstd: Support ChromiumOS better

2023-08-24 Thread Simon Glass
This updates the ChromiumOS bootmeth to detect multiple kernel partitions on a disk. It also includes minor code improvements to the partition drivers, including accessors for the optional fields. This series also includes some other related tweaks in testing. It is available at

Re: [PATCH v2 1/7] ufs: Convert quirks to BIT() macro

2023-08-24 Thread Tom Rini
On Wed, 16 Aug 2023 17:05:49 +0200, Marek Vasut wrote: > Use BIT() macro for quirks, no functional change. > > Applied to u-boot/next, thanks! -- Tom

[PATCH v2 16/16] board: asus: lg: move config fragments into device boards

2023-08-24 Thread Svyatoslav Ryhel
Move ASUS Transformers, Grouper, P895 and P880 config fragments into their respective device directory in /board/../configs/ Signed-off-by: Svyatoslav Ryhel --- board/asus/grouper/MAINTAINERS | 3 --- .../asus/grouper/configs}/grouper_E1565.config | 0

[PATCH v2 15/16] board: tegra30: remove nvidia_board_late_init calls

2023-08-24 Thread Svyatoslav Ryhel
Remove nvidia_board_late_init calls from board since this setup is performed in board2 of mach-tegra. Call of nvidia_board_late_init from within the board does not provide any additional data. Tested-by: Andreas Westman Dorcsak # ASUS Transformer T30 Tested-by: Svyatoslav Ryhel # LG P895 T30

[PATCH v2 14/16] ARM: tegra: board2: add generic late init

2023-08-24 Thread Svyatoslav Ryhel
Board specific late init allows vendors to set up different device or board specific env variables (like serial number, platform name). In case this information is missing, u-boot will lack info regards serial or platform. To avoid this prior nvidia_board_late_init internal generic function is

[PATCH v2 13/16] ARM: tegra20: tegra30: support EBTUPDATE on non-encrypted devices

2023-08-24 Thread Svyatoslav Ryhel
Re-crypt support was extended to devices without burnt SBK. In case SBK is not set, place from where it is read is filled with zeroes. This patch adds support for ebtupdate function to detect nosbk device and avoid crypto operations for it. Tested-by: Maksim Kurnosenko Signed-off-by: Svyatoslav

[PATCH v2 12/16] ARM: tegra114: enable base voltages setup from board

2023-08-24 Thread Svyatoslav Ryhel
Tegra 4, same as Tegra 3, requires configuration of CPU and CORE voltages in the SPL stage to boot properly. Expose function to be able perform this configuration in the SPL section of the device board. Tested-by: Svyatoslav Ryhel # ASUS TF701T Signed-off-by: Svyatoslav Ryhel ---

[PATCH v2 11/16] configs: transformer_t30: grouper: lg-x3: endeavoru: sync defconfigs

2023-08-24 Thread Svyatoslav Ryhel
Signed-off-by: Svyatoslav Ryhel --- configs/endeavoru_defconfig | 2 -- configs/grouper_common_defconfig | 4 configs/tf600t.config | 1 + configs/transformer_t30_defconfig | 2 -- configs/x3_t30_defconfig | 2 -- 5 files changed, 1 insertion(+), 10 deletions(-)

[PATCH v2 10/16] ARM: dts: grouper: complete missing bindings

2023-08-24 Thread Svyatoslav Ryhel
Clean up the tree and prepare for DM PMIC migration. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-asus-grouper-common.dtsi | 5 +++-- arch/arm/dts/tegra30-asus-nexus7-grouper-E1565.dts | 5 ++--- arch/arm/dts/tegra30-asus-nexus7-grouper-PM269.dts | 11 +--

[PATCH v2 09/16] ARM: dts: lg-x3: complete missing bindings

2023-08-24 Thread Svyatoslav Ryhel
Clean up the tree and prepare for DM PMIC migration. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-lg-x3.dtsi | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/tegra30-lg-x3.dtsi b/arch/arm/dts/tegra30-lg-x3.dtsi index 922e39915e..6e52fc5a53

[PATCH v2 08/16] ARM: dts: endeavoru: complete missing bindings

2023-08-24 Thread Svyatoslav Ryhel
Clean up the tree and prepare for DM PMIC migration. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-htc-endeavoru.dts | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/tegra30-htc-endeavoru.dts b/arch/arm/dts/tegra30-htc-endeavoru.dts

[PATCH v2 07/16] ARM: dts: transformer-t30: complete missing bindings

2023-08-24 Thread Svyatoslav Ryhel
Clean up the tree and prepare for DM PMIC migration. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-asus-transformer.dtsi | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/tegra30-asus-transformer.dtsi

[PATCH v2 06/16] configs: transformer_t30: convert bootmenu option

2023-08-24 Thread Svyatoslav Ryhel
Convert refresh USB to enter console. Transformers have full size USB and a dock keyboard so access to U-Boot console would be handy. Signed-off-by: Svyatoslav Ryhel --- configs/transformer_t30_defconfig| 2 +- include/configs/transformer-common.h | 7 +-- 2 files changed, 2

[PATCH v2 05/16] board: asus: transformer-t30: remove PMIC GPIOs configuration

2023-08-24 Thread Svyatoslav Ryhel
Default configuration matches values which are set in the board so this configuration is not required. Signed-off-by: Svyatoslav Ryhel --- board/asus/transformer-t30/transformer-t30.c | 25 1 file changed, 25 deletions(-) diff --git

[PATCH v2 04/16] ARM: dts: tf201: configure dock USB phy

2023-08-24 Thread Svyatoslav Ryhel
TF201 unlike other transformers uses non-fused xcvr value for its dock USB port. With out it dock USB and SD reader will not work. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-asus-tf201.dts| 5 + arch/arm/dts/tegra30-asus-transformer.dtsi | 4 2 files changed, 9

[PATCH v2 03/16] configs: transformer_t30: support booting from USB

2023-08-24 Thread Svyatoslav Ryhel
Change boot logic to primary try to boot from USB in dock, then from microSD and lastly from eMMC. Signed-off-by: Svyatoslav Ryhel --- configs/tf600t.config | 2 +- configs/transformer_t30_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 02/16] ARM: dts: tf600t: separate from common transformers tree

2023-08-24 Thread Svyatoslav Ryhel
TF600T has significant differences (Tegra DSI and DSI panel, own power supply system) which makes use of common transformer device tree complicated. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-asus-tf600t.dts | 160 +-- 1 file changed, 148 insertions(+), 12

[PATCH v2 01/16] ARM: dts: p1801-t: separate from common transformers tree

2023-08-24 Thread Svyatoslav Ryhel
P1801-T has significant differences (hdmi panel and backlight, own power supply system) which makes use of common transformer device tree complicated. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra30-asus-p1801-t.dts | 205 +- 1 file changed, 198 insertions(+), 7

[PATCH v2 00/16] General tegra and board improvements

2023-08-24 Thread Svyatoslav Ryhel
This patchset follows Transformers, Grouper, LG X3 and Endeavoru bringup and contains changes from v9 of previous patchset and some new improvenets. List of changes: - separated tf600t and p1801-t device trees since they use different video path bindings - enabled booting from usb devices (USB

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-24 Thread Roger Quadros
On 24/08/2023 21:24, Tom Rini wrote: > On Thu, Aug 24, 2023 at 11:34:29PM +0530, Siddharth Vadapalli wrote: >> Hello Roger, >> >> On 22-08-2023 17:43, Roger Quadros wrote: >>> Beagleplay has a buggy Ethernet PHY implementation for the Gigabit >>> PHY in the sense that it is non responsive over

[PATCH] arm: kirkwood: Pogo v4: Enable LTO

2023-08-24 Thread Tony Dinh
Enable building Pogo V4 u-boot image with LTO, which results in about 30K reduction in size. Signed-off-by: Tony Dinh --- configs/pogo_v4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig index 3e3e811543..ad36da712b 100644 ---

[PATCH v2] arm: imx: imx8m: add optee configuration to ft_system_setup

2023-08-24 Thread Tim Harvey
If optee is detected configure it in the Linux device-tree: - add /firmware/optee node - add /reserved-memory nodes for optee_core and optee_shm Signed-off-by: Tim Harvey Reviewed-by: Peng Fan --- v2: add rb tag for Peng --- arch/arm/mach-imx/imx8m/soc.c | 78

[PATCH v2] arm: dts: imx8m: move CAAM nodes into common u-boot.dtsi

2023-08-24 Thread Tim Harvey
Move the crypto and sec_jr* nodes from board-specific u-boot.dtsi files into the common files. Additionally protect the nodes with ifdef CONFIG_FSL_CAAM as they don't serve any purpose if that is not enabled. Signed-off-by: Tim Harvey --- v2: - fix invalid ifdef - add rb tags from Fabio and

[PATCH v2 3/3] arm: dts: imx8mn: protect the firmware/optee node with ifdef

2023-08-24 Thread Tim Harvey
There is no need to include the firmware/optee node if the optee driver is not enabled. Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- v2: added Fabio's rb tag --- arch/arm/dts/imx8mn-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi

[PATCH v2 2/3] arm: dts: imx8mp: move firmware/optee node to common imx8mp-u-boot.dtsi

2023-08-24 Thread Tim Harvey
Move the firmware/optee node to the common imx8mp-u-boot.dtsi and protect it with an ifdef CONFIG_OPTEE as it is a meaningless node without the optee driver enabled. Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- v2: added Fabio's rb tag --- arch/arm/dts/imx8mp-beacon-kit-u-boot.dtsi

[PATCH v2 1/3] arm: dts: imx8mm: move firmware/optee node to common imx8mm-u-boot.dtsi

2023-08-24 Thread Tim Harvey
Move the firmware/optee node to the common imx8mm-u-boot.dtsi and protect it with an ifdef CONFIG_OPTEE as it is a meaningless node without the optee driver enabled. Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam --- v2: added Fabio's rb tag ---

[PATCH v2 2/2] mmc: tegra: get default-tap and default-trim from device tree

2023-08-24 Thread Svyatoslav Ryhel
Default-tap and default-trim values are used for eMMC setup mostly on T114+ devices. As for now, those values are hardcoded for T210 and ignored for all other Tegra generations. Fix this by passing tap and trim values from dts. Signed-off-by: Svyatoslav Ryhel ---

[PATCH v2 1/2] ARM: tegra210: set default-tap and default-trim values in sdhci nodes

2023-08-24 Thread Svyatoslav Ryhel
Tegra MMC driver has hardcoded tap and trim values as for now. Set default-tap and default-trim values in sdhci nodes to avoid regressions in case Tegra MMC driver is upated to use dts values. Signed-off-by: Svyatoslav Ryhel --- arch/arm/dts/tegra210.dtsi | 8 1 file changed, 8

[PATCH v2 0/2] tegra_mmc: get tap and trim from dts

2023-08-24 Thread Svyatoslav Ryhel
Default-tap and default-trim values are used for eMMC setup mostly on T114+ devices. As for now, those values are hardcoded for T210 and ignored for all other Tegra generations. Fix this by passing tap and trim values from dts. --- Changes from v1 - move t210 device tree fix into this series -

Re: [PATCH RESEND 0/5] clk: A few bugfixes/enhancements for CCF

2023-08-24 Thread Yang Xiwen
Why is this patchset completely ignored for more than half a month already? I have some other patches pending because of this one. Please tell me what's wrong with this patchset so that i can fix them. -- Regards, Yang Xiwen

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-24 Thread Tom Rini
On Thu, Aug 24, 2023 at 11:34:29PM +0530, Siddharth Vadapalli wrote: > Hello Roger, > > On 22-08-2023 17:43, Roger Quadros wrote: > > Beagleplay has a buggy Ethernet PHY implementation for the Gigabit > > PHY in the sense that it is non responsive over MDIO immediately > > after power-up/reset. >

[PATCH 2/2] RFC: x86: acpi: Add some debugging

2023-08-24 Thread Simon Glass
Enable some debugging to help see what is going on. Signed-off-by: Simon Glass --- arch/x86/lib/tables.c | 1 + lib/acpi/acpi_writer.c | 9 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/x86/lib/tables.c b/arch/x86/lib/tables.c index 67bc0a72aebc..7c6b32e6e335

[PATCH 1/2] Reland "x86: Move FACP table into separate functions""

2023-08-24 Thread Simon Glass
Each board has its own way of creating this table. Rather than calling the acpi_create_fadt() function for each one from a common acpi_write_fadt() function, just move the writer into the board-specific code. Signed-off-by: Simon Glass --- Make another attempt to land this. It apparently breaks

Re: [PATCH] arm: Use builtins for ffs/fls

2023-08-24 Thread Tony Dinh
Hi Sean, On Mon, Jul 31, 2023 at 2:28 PM Sean Anderson wrote: > > Since ARMv5, the clz instruction allows for efficient implementation of > ffs/fls with builtins. Until ARMv7 (with Thumb-2), this instruction is > only available in ARM mode. LTO makes it difficult to force specific > functions to

Re: [PATCH v7 2/2] phy: phy-imx8mq-usb: clean up clock code

2023-08-24 Thread Tim Harvey
On Thu, Jul 13, 2023 at 12:17 PM Marek Vasut wrote: > > On 7/13/23 20:56, Tim Harvey wrote: > > use CONFIG_IS_ENABLED for clock enable/disable and change printf's > > to dev_err. Additionlly remove the comment that does not make sense. > > > > Signed-off-by: Tim Harvey > > Reviewed-by: Marek

Re: [PATCH 1/2] net: ti: am65-cpsw-nuss: Workaround for buggy PHY/Board

2023-08-24 Thread Siddharth Vadapalli
Hello Roger, On 22-08-2023 17:43, Roger Quadros wrote: > Beagleplay has a buggy Ethernet PHY implementation for the Gigabit > PHY in the sense that it is non responsive over MDIO immediately > after power-up/reset. > > We need to either try multiple times or wait sufficiently long enough >

  1   2   3   >