Re: [PATCH] env: Remove misuse of env is nowhere driver

2023-04-28 Thread Heiko Schocher
Hello Stefan, On 28.04.23 15:45, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier > > When using a list of writeable variables, the initial values come from > the built-in default environment since commit 5ab81058364b > ("env: Complete generic support for writable list"). Remove

Re: [PATCH] buildman: Pass -Werror to the host compiler too

2023-04-28 Thread Tom Rini
On Fri, Apr 28, 2023 at 01:50:48PM -0600, Simon Glass wrote: > The host compiler is not failing on warnings at present, when the > -E flag is used in buildman. Add the required flag to fix this. > > Signed-off-by: Simon Glass Since I reported this with a CI build that didn't fail, I can see

Re: [PATCH v8] board: mntre: imx8mq: Add MNT Reform 2 board support

2023-04-28 Thread Vagrant Cascadian
On 2023-04-28, Vagrant Cascadian wrote: > On 2023-02-05, Vagrant Cascadian wrote: >> On 2023-02-06, Patrick Wildt wrote: >>> The MNT Reform 2 is a modular DIY laptop. In its initial version it >>> is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been >>> lifted from BoundaryDevices

Re: [PATCH 16/18] bootstd: Add a simple bootmeth for ChromiumOS

2023-04-28 Thread Simon Glass
Hi Heinrich, On Fri, 28 Apr 2023 at 13:51, Heinrich Schuchardt wrote: > > On 4/28/23 21:18, Simon Glass wrote: > > It is possible to boot x86-based ChromeOS machines by parsing a table and > > locating the kernel and command line. Add a bootmeth for this. > > What is missing for booting ChromeOS

Re: [PATCH 1/1] doc: man-page for cp

2023-04-28 Thread Simon Glass
Hi Heinrich, On Fri, 28 Apr 2023 at 13:43, Heinrich Schuchardt wrote: > > > > On 4/28/23 21:21, Simon Glass wrote: > > Hi Heinrich, > > > > On Fri, 28 Apr 2023 at 01:41, Heinrich Schuchardt > > wrote: > >> > >> Add a man-page for the cp command. > >> > >> Signed-off-by: Heinrich Schuchardt >

[RFC] power: imx8m-power-domain: Add delay to align with kernel driver

2023-04-28 Thread Fabio Estevam
From: Fabio Estevam In the imx8m power domain kernel driver, there is an extra udelay(5) prior to requesting the domain to power up: https://github.com/torvalds/linux/blob/v6.3/drivers/soc/imx/gpcv2.c#L347-L375 Haven't observed any issues due to the lack of this delay in U-Boot, but better to

Re: [PATCH 16/18] bootstd: Add a simple bootmeth for ChromiumOS

2023-04-28 Thread Heinrich Schuchardt
On 4/28/23 21:18, Simon Glass wrote: It is possible to boot x86-based ChromeOS machines by parsing a table and locating the kernel and command line. Add a bootmeth for this. What is missing for booting ChromeOS on arm64? Best regards Heinrich Signed-off-by: Simon Glass ---

[PATCH] buildman: Pass -Werror to the host compiler too

2023-04-28 Thread Simon Glass
The host compiler is not failing on warnings at present, when the -E flag is used in buildman. Add the required flag to fix this. Signed-off-by: Simon Glass --- tools/buildman/builderthread.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/buildman/builderthread.py

Re: [PATCH 1/1] doc: man-page for cp

2023-04-28 Thread Heinrich Schuchardt
On 4/28/23 21:21, Simon Glass wrote: Hi Heinrich, On Fri, 28 Apr 2023 at 01:41, Heinrich Schuchardt wrote: Add a man-page for the cp command. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/cp.rst | 83 doc/usage/index.rst | 1 + 2

Re: [PATCH v9] core: fdtaddr: use map_sysmem() as cast for the return

2023-04-28 Thread Simon Glass
Hi Johan, On Fri, 28 Apr 2023 at 13:20, Simon Glass wrote: > > On Sun, 23 Apr 2023 at 03:19, Johan Jonker wrote: > > > > For the devfdt_get_addr_index_ptr() and devfdt_get_addr_size_index_ptr() > > function use map_sysmem() function as cast for the return for use in > > sandbox. Also fix

[PATCH 12/18] bootstd: Add support for updating elements of the cmdline

2023-04-28 Thread Simon Glass
Add a bootflow command to update the command line more easily. This allows changing a particular parameter rather than editing a very long strings. It is also easier to handle with scripting. The new 'bootflow cmdline' command allows getting and setting single parameters. Fix up the example

[PATCH 07/18] bootstd: Use the bootargs env var for changing the cmdline

2023-04-28 Thread Simon Glass
The "bootargs" environment variable is used to set the command-line arguments to pass to the OS. Use this same mechanism with bootstd as well. When the variable is updated, it is written to the current bootflow. When the current bootflow is updated, the environment variable is updated too.

[PATCH 11/18] bootstd: Add a function to update a command line

2023-04-28 Thread Simon Glass
The Linux command line consists of a number of words with optional values. At present U-Boot allows this to be changed using the bootargs environment variable. But this is quite painful, since the command line can be very long. Add a function which can adjust a single field in the command line,

[PATCH 13/18] bootstd: Support automatically setting Linux parameters

2023-04-28 Thread Simon Glass
Some Linux parameters can be set automatically by U-Boot, if it knows the device being used. For example, since U-Boot knows the serial console being used, it can add parameters for earlycon and console. Add support for this. Note that this is an experimental feature and we will see how useful

Please pull u-boot-dm

2023-04-28 Thread Simon Glass
Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/16143 The following changes since commit c9c2c95d4cd27fe0cd41fe13a863899d268f973c: Merge branch '2023-04-27-introduce-nvm-xip-block-storage-emulation' (2023-04-27 19:22:38 -0400) are available in the Git repository at:

Re: [PATCH] sandbox: disable tracing before unmapping RAM

2023-04-28 Thread Simon Glass
Hi Pavel, On Fri, 28 Apr 2023 at 13:20, Simon Glass wrote: > > Hi Tom, > > Tom Rini says: > > Simon takes sandbox patches himself and I've assigned this to him in > > patchwork, thanks for submitting the patch. > > > > Ah, sorry for noise then. I am just unfamiliar with u-boot development >

Re: [PATCH] dm: core: introduce uclass_get_device_by_of_path()

2023-04-28 Thread Simon Glass
Hi Rasmus, On Fri, 28 Apr 2023 at 13:20, Simon Glass wrote: > > Hi Rasmus, > > On Thu, 13 Apr 2023 at 09:17, Rasmus Villemoes > wrote: > > > > There's quite a few instances of board-specific code doing > > > > off = fdt_path_offset(gd->fdt_blob, ...); > > ... > > ret =

Re: [PATCH 1/1] doc: man-page for cp

2023-04-28 Thread Simon Glass
Hi Heinrich, On Fri, 28 Apr 2023 at 01:41, Heinrich Schuchardt wrote: > > Add a man-page for the cp command. > > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/cmd/cp.rst | 83 > doc/usage/index.rst | 1 + > 2 files changed, 84 insertions(+)

Re: [PATCH] sandbox: disable tracing before unmapping RAM

2023-04-28 Thread Simon Glass
Hi Tom, Tom Rini says: > Simon takes sandbox patches himself and I've assigned this to him in > patchwork, thanks for submitting the patch. > Ah, sorry for noise then. I am just unfamiliar with u-boot development process. Thank you! With regards, Pavel Skripkin Applied to u-boot-dm, thanks!

Re: [PATCH] uclass: add uclass_find_device_by_phandle_id() helper

2023-04-28 Thread Simon Glass
On Thu, 13 Apr 2023 at 09:16, Rasmus Villemoes wrote: > > The functions uclass_find_device_by_phandle() and > uclass_get_device_by_phandle_id() both loop over a given uclass > looking for a device with a given phandle. Factor that out to a common > helper. > > For now, there are no (known

Re: [PATCH] dm: core: introduce uclass_get_device_by_of_path()

2023-04-28 Thread Simon Glass
Hi Rasmus, On Thu, 13 Apr 2023 at 09:17, Rasmus Villemoes wrote: > > There's quite a few instances of board-specific code doing > > off = fdt_path_offset(gd->fdt_blob, ...); > ... > ret = uclass_get_device_by_of_offset(..., off, ); > > looking for an eeprom or a pmic via some alias. Such

Re: [PATCH] binman: Use expanduser instead of HOME

2023-04-28 Thread Simon Glass
There may not be a HOME environment variable, so use the os.expanduser() function instead. Signed-off-by: Simon Glass --- tools/binman/bintool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm, thanks!

Re: [PATCH 1/1] patman: fix class TestFunctional

2023-04-28 Thread Simon Glass
On Fri, 21 Apr 2023 at 06:07, Heinrich Schuchardt wrote: > > Variable orig_dir cannot be used in the finally block if it has not be > assigned outside of the try block. > > tools/patman/func_test.py:523:21: > E0601: Using variable 'orig_dir' before assignment > (used-before-assignment) > >

Re: [PATCH] test: fdt: Fix copyright message

2023-04-28 Thread Simon Glass
On Sat, 22 Apr 2023 at 07:00, Marek Vasut wrote: > > Drop the map_to_sysmem() copy paste error. No functional change. > > Signed-off-by: Marek Vasut > --- > Cc: Jason Liu > Cc: Michal Simek > Cc: Ovidiu Panait > Cc: Simon Glass > --- > test/cmd/fdt.c | 2 +- > 1 file changed, 1

Re: [PATCH] fdt_support: fix comments syntax error

2023-04-28 Thread Simon Glass
On Mon, 24 Apr 2023 at 14:51, Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > Fix comments syntax error in fdt_node_offset_by_compat_reg() > description: > compatiable -> compatible > > Signed-off-by: Hugo Villeneuve > --- > common/fdt_support.c | 4 ++-- > 1 file changed, 2

Re: [PATCH] tools: Fall back to importlib_resources on Python 3.6

2023-04-28 Thread Simon Glass
On Sat, 22 Apr 2023 at 08:42, Jan Kiszka wrote: > > From: Jan Kiszka > > importlib.resources became part of 3.7 only. Allow using distros with > 3.6 and the importlib_resources backport. > > Signed-off-by: Jan Kiszka > --- > > Tested on OpenSUSE 15.4 with importlib_resources 1.1.0. > >

Re: [PATCH v9] core: fdtaddr: use map_sysmem() as cast for the return

2023-04-28 Thread Simon Glass
On Sun, 23 Apr 2023 at 03:19, Johan Jonker wrote: > > For the devfdt_get_addr_index_ptr() and devfdt_get_addr_size_index_ptr() > function use map_sysmem() function as cast for the return for use in > sandbox. Also fix sandbox test. > > Signed-off-by: Johan Jonker > --- > > Apply after: > [PATCH

[PATCH 18/18] x86: coral: Adjust various config options

2023-04-28 Thread Simon Glass
Add NVME support. Add ms so it is easier to search for tables in memory. Expand the command-line and print buffers so that we can deal with the very long ChromeOS command lines. (typically 700 characters). Enable BOOTSTD_FULL to get the full set of standard-boot options. Replace the existing

[PATCH 09/18] bootstd: Work around missing partition 1

2023-04-28 Thread Simon Glass
If there is no partition numbered 1, we decide that there are no partitions at all. That may not be correct, since at least one Debian installed has just a single partition numbered 2. Continue searching up to partition 3, just in case. Signed-off-by: Simon Glass --- boot/bootdev-uclass.c | 9

[PATCH 17/18] x86: coreboot: Adjust various config options

2023-04-28 Thread Simon Glass
Drop IDE since this is not widely used anymore. Add NVME since it is becoming more popular. Add ms so it is easier to search for tables in memory. Expand the command-line and print buffers so that we can deal with the very long ChromeOS command lines. (typically 700 characters). Enable

[PATCH 15/18] x86: zimage: Export the function to obtain the cmdline

2023-04-28 Thread Simon Glass
Allow reading the command line from a zimage, so that it can be recorded in the bootflow. Signed-off-by: Simon Glass --- arch/x86/include/asm/zimage.h | 10 ++ arch/x86/lib/zimage.c | 11 --- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git

[PATCH 16/18] bootstd: Add a simple bootmeth for ChromiumOS

2023-04-28 Thread Simon Glass
It is possible to boot x86-based ChromeOS machines by parsing a table and locating the kernel and command line. Add a bootmeth for this. Signed-off-by: Simon Glass --- boot/Kconfig | 11 ++ boot/Makefile| 1 + boot/bootmeth_cros.c | 212

[PATCH 14/18] x86: Add a function to boot a zimage

2023-04-28 Thread Simon Glass
Add a direct interface to booting a zimage, so that bootstd can call it without going through the command-line interface. Signed-off-by: Simon Glass --- arch/x86/include/asm/zimage.h | 17 arch/x86/lib/zimage.c | 82 ++- 2 files changed, 88

[PATCH 10/18] bdinfo: Show information about the serial port

2023-04-28 Thread Simon Glass
It is useful to see the detailed setting of the serial port, e.g. to allow setting up earlycon or console for Linux. Add this output to the 'bdinfo' command. Signed-off-by: Simon Glass --- cmd/bdinfo.c | 21 + 1 file changed, 21 insertions(+) diff --git a/cmd/bdinfo.c

[PATCH 04/18] bootstd: Use bootdev instead of bootdevice

2023-04-28 Thread Simon Glass
It seems better to call this a 'bootdev' since this is name used in the documentation. The older 'Bootdevice' name is no-longer used and may cause confusion with the 'bootdevice' environment variable. Update throughout to use bootdev. Signed-off-by: Simon Glass --- boot/bootflow.c

[PATCH 02/18] test: Skip flat-tree tests if devicetree is not used

2023-04-28 Thread Simon Glass
Many tests don't actually use the devicetree at all so there is no point in running the tests both with livetree and flat tree. Check for this and skip the flat tree test in that case. Signed-off-by: Simon Glass --- test/test-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH 08/18] bootstd: Allow storing x86 setup information

2023-04-28 Thread Simon Glass
On x86 boards Linux uses a block of binary data to provide information about the command line, memory map, etc. Provide a way to store this in the bootflow so it can be passed on to the OS. Signed-off-by: Simon Glass --- cmd/bootflow.c | 2 ++ include/bootflow.h | 2 ++ 2 files changed, 4

[PATCH 06/18] bootstd: Allow storing the OS command line in the bootflow

2023-04-28 Thread Simon Glass
Some operating systems have a command line which can be adjusted before booting. Store this in the bootflow so it can be controlled within U-Boot. Fix up the example output while we are here, since there are a few new items. Signed-off-by: Simon Glass --- cmd/bootflow.c | 6 ++

[PATCH 05/18] bootstd: Correct baudrate typo

2023-04-28 Thread Simon Glass
This is a copy error. Fix it. Signed-off-by: Simon Glass --- boot/bootmeth-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth-uclass.c b/boot/bootmeth-uclass.c index 2aee1e0f0c5..139ab08c4ed 100644 --- a/boot/bootmeth-uclass.c +++

[PATCH 03/18] bootstd: Correct the name of the QEMU bootmeth

2023-04-28 Thread Simon Glass
This does not relate to sandbox. Correct the name. Signed-off-by: Simon Glass --- boot/bootmeth_qfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth_qfw.c b/boot/bootmeth_qfw.c index a5f95d4d0c5..0af745f 100644 --- a/boot/bootmeth_qfw.c +++

[PATCH 01/18] test: Restore test behaviour on failure

2023-04-28 Thread Simon Glass
A recent change makes test continue to run after failure. This results in a lot of useless output and may lead to a segfault. Fix this by adding back the 'return' statement. Fixes: fa847bb409d ("test: Wrap assert macros in ({ ... }) and fix") Signed-off-by: Simon Glass --- include/test/ut.h |

[PATCH 00/18] bootstd: Add a bootmeth for ChromiumOS on x86

2023-04-28 Thread Simon Glass
This series adds a simple bootmeth for ChromiumOS on x86. It uses zimage to boot the kernel. Full verified boot is not included at this stage - that is still a separate chunk of code to be brought into standard boot at some point. For now it just obtains the kernel and command line and boots.

Re: [PATCH 1/2] Revert "mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B"

2023-04-28 Thread Henrik Grimler
Hi Jaehoon, On Thu, Mar 23, 2023 at 02:18:39PM +0900, Jaehoon Chung wrote: > Hi Andy, > > On 3/15/23 14:26, andy...@sony.com wrote: > > Hi Jaehoon > > > >> commit 4a3ea75de4c5b3053eac326bf1c753ed65df8cb9 > >> Author: yuezhang...@sony.com > >> Date: Wed Mar 17 06:44:37 2021 + > >> > >>

[PATCH] usb: ehci-mx6: move phy setup before register access

2023-04-28 Thread Tim Harvey
For the CONFIG_PHY case, move the PHY setup before the register access. This avoids a hang when updating the imx8mm.dtsi which moves the USB OTG power-domains to the PHY. Signed-off-by: Tim Harvey Tested-by: Fabio Estevam --- drivers/usb/host/ehci-mx6.c | 10 -- 1 file changed, 4

Re: [PATCH v8] board: mntre: imx8mq: Add MNT Reform 2 board support

2023-04-28 Thread Vagrant Cascadian
On 2023-02-05, Vagrant Cascadian wrote: > On 2023-02-06, Patrick Wildt wrote: >> The MNT Reform 2 is a modular DIY laptop. In its initial version it >> is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been >> lifted from BoundaryDevices official U-Boot downstream project. >> >>

[PATCH 1/1] pci: pcie_dw_rockchip: support fixed vcc3v3 regulator type

2023-04-28 Thread John Clark
If the regulator is fixed, the call to regulator_set_value will fail with -ENOSYS as fixed regulators do not support dm_regulator_ops->set_value. see: regulator-uclass.c, regulator_set_value(), ops->set_value This patch ignores -ENOSYS and enables the regulator via regulator_set_enable which

[PATCH 0/1] pci: pcie_dw_rockchip: support fixed vcc3v3 regulator type

2023-04-28 Thread John Clark
When trying to nvme boot rk3568 boards (tested with odroid-m1 and nanopi-r5s), it failes with error -19. This is because it is trying to set the voltage of a fixed-regulator to 3.3v. John Clark (1): pci: pcie_dw_rockchip: support fixed vcc3v3 regulator type drivers/pci/pcie_dw_rockchip.c |

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Fabio Estevam
Hi Tim, On Fri, Apr 28, 2023 at 2:59 PM Tim Harvey wrote: > I believe the fix we need is the following which moves phy setup > before the register access (where it should have been along with the > case for !defined(CONFIG_PHY): ... > If everyone agrees here I'll submit a formal patch which

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 9:44 AM Adam Ford wrote: > > On Fri, Apr 28, 2023 at 11:26 AM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Fri, Apr 28, 2023 at 12:48 PM Tim Harvey wrote: > > > > > Yes I think that is similar enough to test. In my experience simply > > > enabling otg2 via dt on

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Adam Ford
On Fri, Apr 28, 2023 at 11:26 AM Fabio Estevam wrote: > > Hi Tim, > > On Fri, Apr 28, 2023 at 12:48 PM Tim Harvey wrote: > > > Yes I think that is similar enough to test. In my experience simply > > enabling otg2 via dt on imx8mm-evk shows the issue I see here but > > Fabio says he sees a hang

Re: [PATCH v5 1/3] regulator: implement basic reference counter

2023-04-28 Thread Simon Glass
Hi Eugen, On Fri, 28 Apr 2023 at 01:39, Eugen Hristev wrote: > > On 4/28/23 02:39, Tim Harvey wrote: > > On Wed, Apr 19, 2023 at 6:45 AM Eugen Hristev > > wrote: > >> > >> Some devices share a regulator supply, when the first one will request > >> regulator disable, the second device will have

Re: [PATCH v5 1/3] regulator: implement basic reference counter

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 12:39 AM Eugen Hristev wrote: > > On 4/28/23 02:39, Tim Harvey wrote: > > On Wed, Apr 19, 2023 at 6:45 AM Eugen Hristev > > wrote: > >> > >> Some devices share a regulator supply, when the first one will request > >> regulator disable, the second device will have it's

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Fabio Estevam
Hi Tim, On Fri, Apr 28, 2023 at 12:48 PM Tim Harvey wrote: > Yes I think that is similar enough to test. In my experience simply > enabling otg2 via dt on imx8mm-evk shows the issue I see here but > Fabio says he sees a hang on 'usb start' even before this dt sync and > I don't know why my

[PATCH] board: cssi: Migrate to hashed password

2023-04-28 Thread Christophe Leroy
Use a hashed password instead of clear text in order to improve board security. Signed-off-by: Christophe Leroy --- Will be part of soon to come pull request configs/CMPC885_defconfig | 5 - configs/MCR3000_defconfig | 5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 8:32 AM Adam Ford wrote: > > On Fri, Apr 28, 2023 at 10:27 AM Tim Harvey wrote: > > > > On Fri, Apr 28, 2023 at 4:57 AM Adam Ford wrote: > > > > > > On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > > > > > > > On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam > > >

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Adam Ford
On Fri, Apr 28, 2023 at 10:27 AM Tim Harvey wrote: > > On Fri, Apr 28, 2023 at 4:57 AM Adam Ford wrote: > > > > On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > > > > > On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > > > > > > > On Thu, Apr 27, 2023 at 4:44 PM Tim Harvey > > >

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 4:57 AM Adam Ford wrote: > > On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > > > On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > > > > > On Thu, Apr 27, 2023 at 4:44 PM Tim Harvey wrote: > > > > > > > Fabio, > > > > > > > > Sorry for the confusion. > > >

[PATCH] env: Remove misuse of env is nowhere driver

2023-04-28 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier When using a list of writeable variables, the initial values come from the built-in default environment since commit 5ab81058364b ("env: Complete generic support for writable list"). Remove unnecessary misuse of the env is nowhere driver as default environment.

Re: [PATCH 16/18] arm: dts: fsl-ls1088a: copy all missing bindings from Linux

2023-04-28 Thread Tom Rini
On Fri, Apr 28, 2023 at 11:33:23AM +0800, Peng Fan wrote: > > > On 4/12/2023 3:38 PM, Mathew McBride wrote: > > This is effectively: > > > > cp linux/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi \ > > u-boot/arch/arm/dts/fsl-ls1088a.dtsi > > > > Tested working with Ten64 board (LS1088A)

Re: [PATCH 27/31] Makefile: Disable LTO when building with MSYS2

2023-04-28 Thread Tom Rini
On Fri, Apr 28, 2023 at 09:37:57AM +0200, Marek Behún wrote: > On Thu, 27 Apr 2023 13:34:53 -0400 > Tom Rini wrote: > > > On Thu, Apr 27, 2023 at 10:25:13AM -0600, Simon Glass wrote: > > > Hi Pali, > > > > > > On Wed, 26 Apr 2023 at 01:07, Pali Rohár wrote: > > > > > > > > On Tuesday 25

Re: [PATCH 3/3] include: configs: am62x_evm: Use CONFIG_IS_ENABLED

2023-04-28 Thread Tom Rini
On Fri, Apr 28, 2023 at 01:23:36PM +0530, Nikhil M Jain wrote: > Update to using CONFIG_IS_ENABLED and change DISTRO_BOOT_DEV_MMC to > first attempt SD card boot and next emmc boot. > > Signed-off-by: Nikhil M Jain > --- > include/configs/am62x_evm.h | 8 > 1 file changed, 4

Re: [PATCH 1/3] board: ti: am62x: Kconfig: Add ENV_SOIRCE_FILE for am62x

2023-04-28 Thread Tom Rini
On Fri, Apr 28, 2023 at 01:23:34PM +0530, Nikhil M Jain wrote: > Set the base name for am62x to use am62x.env file, for setting > environment variable. > > Signed-off-by: Nikhil M Jain > --- > board/ti/am62x/Kconfig | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

Re: [PATCH 00/18] Synchronise LS1088A/Ten64 device tree with Linux

2023-04-28 Thread Ioana Ciornei
On Wed, Apr 12, 2023 at 07:38:12AM +, Mathew McBride wrote: > I am intensively working on updating the current > "production" Ten64 (NXP LS1088A) firmware from v2020.07 to > the latest U-Boot, with the hope of taking advantage of > bootstd/bootflow and other improvements. > > One desire I

[PATCH 4/4] spi: pl022: Add chip-select gpio support

2023-04-28 Thread Stefan Herbrechtsmeier
From: Lukas Funke Add support for an optional external chip-select gpio. Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- drivers/spi/pl022_spi.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git

[PATCH 2/4] spi: pl022: Rename flush into pl022_spi_flush

2023-04-28 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Rename the flush function into pl022_spi_flush to avoid conflicting types with previous declaration of the function in stdio.h header. Signed-off-by: Stefan Herbrechtsmeier --- drivers/spi/pl022_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 1/4] spi: pl022: Align compatible property with device tree binding

2023-04-28 Thread Stefan Herbrechtsmeier
From: Lukas Funke Align the compatible property with the kernel device tree binding [1] by removing the '-spi' suffix. [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-pl022.yaml Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier ---

[PATCH 3/4] spi: pl022: Remove platform data header

2023-04-28 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Remove the platform data header because its content is only used by the driver. Signed-off-by: Stefan Herbrechtsmeier --- drivers/spi/pl022_spi.c | 8 +++- include/dm/platform_data/spi_pl022.h | 21 - 2 files changed, 7

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Adam Ford
On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > > > On Thu, Apr 27, 2023 at 4:44 PM Tim Harvey wrote: > > > > > Fabio, > > > > > > Sorry for the confusion. > > > > > > This imx8mm dt sync patch will hang on imx8mm boards that use

Re: [PATCH v3 1/2] mtd: cfi: respect reg address length

2023-04-28 Thread Nuno Sá
Hi Stefan, On Fri, 2023-04-28 at 11:59 +0200, Stefan Roese wrote: > Hi Nuno Sá, > > On 4/26/23 16:16, Nuno Sá wrote: > > flash_get_size() will get the flash size from the device itself and go > > through all erase regions to read protection status. However, the device > > mappable region (eg:

[PATCH v2] enable CONFIG_USE_BOOTCOMMAND

2023-04-28 Thread Srinuvasan Arjunan
From: Srinuvasan A There is no default boot command set for de0-nano-soc. This results in simply dropping to the u-boot shell. With this, the target now automatically invokes distro_bootcmd to boot the kernel. Signed-off-by: Srinuvasan A --- configs/socfpga_de0_nano_soc_defconfig | 1 - 1

Re: [PATCH 02/18] configs: ten64: enable DM_SERIAL

2023-04-28 Thread Ioana Ciornei
On Wed, Apr 12, 2023 at 07:38:14AM +, Mathew McBride wrote: > The recent series "Convert LS1088A and LX2160 to DM_SERIAL" > from Ioana Ciornei provided the necessary support to enable > DM_SERIAL on the Ten64 board (LS1088A). > > Signed-off-by: Mathew McBride Reviewed-by: Ioana Ciornei

Re: [PATCH v2 00/17] rockchip: eMMC fixes for RK3568 and support for RK3588

2023-04-28 Thread Eugen Hristev
On 4/27/23 21:27, Jonas Karlman wrote: On 2023-04-27 17:33, Eugen Hristev wrote: On 4/27/23 18:25, Jonas Karlman wrote: Hi Eugen, On 2023-04-27 16:45, Eugen Hristev wrote: On 4/18/23 19:46, Jonas Karlman wrote: This series fixes eMMC HS400 modes on RK3568 and add support for RK3588. It has

Re: [PATCH v3 1/2] mtd: cfi: respect reg address length

2023-04-28 Thread Stefan Roese
Hi Nuno Sá, On 4/26/23 16:16, Nuno Sá wrote: flash_get_size() will get the flash size from the device itself and go through all erase regions to read protection status. However, the device mappable region (eg: devicetree reg property) might be lower than the device full size which means that

Re: [PATCH 2/3] board: ti: am62x: am62x: Update args_all env variable

2023-04-28 Thread Raghavendra, Vignesh
On 4/28/2023 1:23 PM, Nikhil M Jain wrote: > Remove the earlycon settings from args_all. > Could you explain why is it okay to drop earlycon? Note, earlycon helps us to debug kernel crashes "before" kernel initializes UART driver ... Its very useful to have it on by default Regards Vignesh

Re: A38x BootROM MMC_CMD_SEND_STATUS timeouts

2023-04-28 Thread Pali Rohár
On Friday 28 April 2023 15:39:20 Peng Fan wrote: > On 4/2/2023 12:43 AM, Pali Rohár wrote: > > Can anybody help with this? > > I expected Jaehoon would say some words. > > > > > On Saturday 25 March 2023 13:25:06 Pali Rohár wrote: > > > CCing MMC maintainers (Peng Fan & Jaehoon Chung). Could

[PATCH 3/3] include: configs: am62x_evm: Use CONFIG_IS_ENABLED

2023-04-28 Thread Nikhil M Jain
Update to using CONFIG_IS_ENABLED and change DISTRO_BOOT_DEV_MMC to first attempt SD card boot and next emmc boot. Signed-off-by: Nikhil M Jain --- include/configs/am62x_evm.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/configs/am62x_evm.h

[PATCH 2/3] board: ti: am62x: am62x: Update args_all env variable

2023-04-28 Thread Nikhil M Jain
Remove the earlycon settings from args_all. Signed-off-by: Nikhil M Jain --- board/ti/am62x/am62x.env | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env index e4e64fa637..cdd30b08ed 100644 --- a/board/ti/am62x/am62x.env +++

[PATCH 1/3] board: ti: am62x: Kconfig: Add ENV_SOIRCE_FILE for am62x

2023-04-28 Thread Nikhil M Jain
Set the base name for am62x to use am62x.env file, for setting environment variable. Signed-off-by: Nikhil M Jain --- board/ti/am62x/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/ti/am62x/Kconfig b/board/ti/am62x/Kconfig index 5e8dfa3cc4..b681d8e589 100644 ---

[PATCH 0/3] Update env support for Am62x

2023-04-28 Thread Nikhil M Jain
This patch series aims at updating the env support on Am62x by adding necessary config, updating env variables, update to using CONFIG_IS_ENABLED. Nikhil M Jain (3): board: ti: am62x: Kconfig: Add ENV_SOIRCE_FILE for am62x board: ti: am62x: am62x: Update args_all env variable include:

[PATCH 1/1] doc: man-page for cp

2023-04-28 Thread Heinrich Schuchardt
Add a man-page for the cp command. Signed-off-by: Heinrich Schuchardt --- doc/usage/cmd/cp.rst | 83 doc/usage/index.rst | 1 + 2 files changed, 84 insertions(+) create mode 100644 doc/usage/cmd/cp.rst diff --git a/doc/usage/cmd/cp.rst

Re: [PATCH v5 1/3] regulator: implement basic reference counter

2023-04-28 Thread Eugen Hristev
On 4/28/23 02:39, Tim Harvey wrote: On Wed, Apr 19, 2023 at 6:45 AM Eugen Hristev wrote: Some devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be timeouts and

Re: A38x BootROM MMC_CMD_SEND_STATUS timeouts

2023-04-28 Thread Peng Fan
On 4/2/2023 12:43 AM, Pali Rohár wrote: Can anybody help with this? I expected Jaehoon would say some words. On Saturday 25 March 2023 13:25:06 Pali Rohár wrote: CCing MMC maintainers (Peng Fan & Jaehoon Chung). Could you help us with this issue? Expected usage is following: BootROM

Re: [PATCH 27/31] Makefile: Disable LTO when building with MSYS2

2023-04-28 Thread Marek Behún
On Thu, 27 Apr 2023 13:34:53 -0400 Tom Rini wrote: > On Thu, Apr 27, 2023 at 10:25:13AM -0600, Simon Glass wrote: > > Hi Pali, > > > > On Wed, 26 Apr 2023 at 01:07, Pali Rohár wrote: > > > > > > On Tuesday 25 April 2023 19:04:10 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Tue,

Re: atmel_sdhci: SDMMC_CD pin still needed for card detection despite EMMC set to non-removable

2023-04-28 Thread Eugen Hristev
Hi Zixun Li, On 4/27/23 22:51, Zixun Li wrote: Hardware: SAMA5D27 customized board, EMMC connected to SDMMC0. SDMMC0_CD pin pulled-down for BootROM card detection, once booted it used as LED output. Software: u-boot-at91 76f7f55 Issue: U-Boot can't detect EMMC despite it set to non-removable

Re: [PATCH 1/1] cmd/sbi: display new extensions

2023-04-28 Thread Leo Liang
On Wed, Apr 12, 2023 at 10:38:16AM +0200, Heinrich Schuchardt wrote: > OpenSBI already implements some extensions that are not ratified yet: > > * Debug Console Extension (DBCN) > * System Suspend Extension (SUSP) > * Collaborative Processor Performance Control Extension (CPPC) > > Allow the sbi

Re: [PATCH] board: starfive: Fixed errors reported when executing get_maintainer.pl

2023-04-28 Thread Leo Liang
On Fri, Apr 28, 2023 at 09:28:20AM +0800, Yanhong Wang wrote: > Fixed errors reported when executing 'scripts/get_maintainer.pl -f > configs/starfive_visionfive2_defconfig'. > > Invalid MAINTAINERS address: 'startfive' > > Signed-off-by: Yanhong Wang > --- >