Re: [PATCH v3 2/2] imx8mn/8mp: Allow booting via USB

2022-04-25 Thread Michael Nazzareno Trimarchi
Hi Fabio On Tue, Apr 26, 2022 at 3:57 AM Fabio Estevam wrote: > > Hi Tim, > > On Mon, Apr 25, 2022 at 8:15 PM Tim Harvey wrote: > > > Tested-By: Tim Harvey > > Thanks. > > > agreed it would be a separate issue... just curious if you knew where > > that was coming from. It certainly isn't a

[PATCH 2/2] doc: boards: amlogic: update jethub d1 specifications

2022-04-25 Thread Vyacheslav Bocharov
Signed-off-by: Vyacheslav Bocharov --- doc/board/amlogic/jethub-j100.rst | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/doc/board/amlogic/jethub-j100.rst b/doc/board/amlogic/jethub-j100.rst index d54519aaef..8081569bba 100644 ---

[PATCH 1/2] doc: boards: amlogic: update documentation for ADC support for AXG

2022-04-25 Thread Vyacheslav Bocharov
Signed-off-by: Vyacheslav Bocharov --- doc/board/amlogic/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/board/amlogic/index.rst b/doc/board/amlogic/index.rst index 9ef1440433..9c7fadf2c0 100644 --- a/doc/board/amlogic/index.rst +++ b/doc/board/amlogic/index.rst

Re: [PATCH v5 00/34] Initial implementation of standard boot

2022-04-25 Thread Peter Robinson
> > The bootflow feature provide a built-in way for U-Boot to automatically > > boot an Operating System without custom scripting and other customisation. > > This is called 'standard boot' since it provides a standard way for > > U-Boot to boot a distro, without scripting. > > > > It introduces

Re: [PATCH v1] drivers: spi: spi-sunxi: Add Kconfig option for sun4i_spi_parse_pins

2022-04-25 Thread Samuel Holland
On 4/25/22 1:21 AM, qianfangui...@163.com wrote: > From: qianfan Zhao > > spi-sunxi driver will init pins based on "pinctrl-0", but the > implementation is very limited. > > Adding an Kconfig option if you really need this feature, or disable it > and config pinmux at board's board_init. This

Re: [PATCH v3 2/2] imx8mn/8mp: Allow booting via USB

2022-04-25 Thread Fabio Estevam
Hi Tim, On Mon, Apr 25, 2022 at 8:15 PM Tim Harvey wrote: > Tested-By: Tim Harvey Thanks. > agreed it would be a separate issue... just curious if you knew where > that was coming from. It certainly isn't a common behavior to boot via > USB then expect 'saveenv' to save to a specific eMMC

[PATCH v1] splash: splash_storage_read_raw: Add mmc support

2022-04-25 Thread qianfanguijin
From: qianfan Zhao Add splash_mmc_read_raw for loading splash from mmc's raw partition. Signed-off-by: qianfan Zhao --- common/splash_source.c | 90 ++ 1 file changed, 90 insertions(+) diff --git a/common/splash_source.c b/common/splash_source.c index

Re: [PATCH v5 00/12] efi_loader: more tightly integrate UEFI disks to driver model

2022-04-25 Thread AKASHI Takahiro
On Mon, Apr 25, 2022 at 10:43:44PM +0200, Heinrich Schuchardt wrote: > On 4/19/22 03:05, AKASHI Takahiro wrote: > > With this patch set[1] applied, UEFI subsystem maintains a list of its > > disk objects dynamically at runtime based on block device's probing. > > (See "issues" and "prerequisite"

[scan-ad...@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

2022-04-25 Thread Tom Rini
- Forwarded message from scan-ad...@coverity.com - Date: Mon, 25 Apr 2022 23:38:10 + (UTC) From: scan-ad...@coverity.com To: tom.r...@gmail.com Subject: New Defects reported by Coverity Scan for Das U-Boot Hi, Please find the latest report on new defect(s) introduced to Das U-Boot

[ANN] U-Boot v2022.07-rc1 released

2022-04-25 Thread Tom Rini
Hey all, It's release day and so here's v2022.07-rc1. There's a lot in here, and there's a few more things yet to come, hopefully this week, in terms of pull requests. In terms of a changelog, git log --merges v2022.04..v2022.07-rc1 contains what I've pulled but as always, better PR messages

Re: [PATCH v3 2/2] imx8mn/8mp: Allow booting via USB

2022-04-25 Thread Tim Harvey
On Mon, Apr 25, 2022 at 3:47 PM Fabio Estevam wrote: > > Hi Tim, > > On 25/04/2022 16:41, Tim Harvey wrote: > > > Fabio, > > > > Thanks - this at least allows me to boot on imx8mp-venice-gw74xx > > without needing to enable CONFIG_ENV_IS_NOWHERE. > > Care to reply with your Tested-by? Sure,

Re: [PATCH v5 00/34] Initial implementation of standard boot

2022-04-25 Thread Tom Rini
On Sun, Apr 24, 2022 at 11:30:53PM -0600, Simon Glass wrote: > The bootflow feature provide a built-in way for U-Boot to automatically > boot an Operating System without custom scripting and other customisation. > This is called 'standard boot' since it provides a standard way for > U-Boot to

Re: [PATCH] nds32: Remove the architecture

2022-04-25 Thread Tom Rini
On Wed, Apr 06, 2022 at 09:21:25AM -0400, Tom Rini wrote: > As removal of nds32 has been ack'd for the Linux kernel, remove support > here as well. > > Cc: Rick Chen > Signed-off-by: Tom Rini > Reviewed-by: Rick Chen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH] cmd: part: add explicit dependency on PARTITIONS

2022-04-25 Thread Tom Rini
On Fri, Apr 22, 2022 at 10:44:30AM +0900, AKASHI Takahiro wrote: > This is a follow-up patch for my "disk: don't compile in partition > support for spl/tpl if not really necessary". > > "part" command is useful only if, at least, one of partition table types > is selected. So it should have a

Re: Pull request for efi-2022-07-rc1-3

2022-04-25 Thread Tom Rini
On Sat, Apr 23, 2022 at 11:14:37PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit faeb5641131ba0bfafa5ed61dd03b98b1f2a5edb: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-pmic (2022-04-22 > 11:06:38 -0400) > > are available in the Git

Re: [PATCH v3 2/2] imx8mn/8mp: Allow booting via USB

2022-04-25 Thread Fabio Estevam
Hi Tim, On 25/04/2022 16:41, Tim Harvey wrote: Fabio, Thanks - this at least allows me to boot on imx8mp-venice-gw74xx without needing to enable CONFIG_ENV_IS_NOWHERE. Care to reply with your Tested-by? I do however notice when I do so env is attempted to load from MMC dev 0

Re: [PATCH] ARM: dts: imx: Use 100 kHz I2C2 on Data Modul i.MX8M Mini eDM SBC

2022-04-25 Thread Fabio Estevam
On 25/04/2022 19:16, Marek Vasut wrote: The I2C2 has SMBus device SMSC USB2514Bi connected to it, the device is capable of up to 100 kHz operation. Reduce the bus frequency to 100 kHz to guarantee this I2C device can work correctly. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan

[PATCH] ARM: dts: imx: Use 100 kHz I2C2 on Data Modul i.MX8M Mini eDM SBC

2022-04-25 Thread Marek Vasut
The I2C2 has SMBus device SMSC USB2514Bi connected to it, the device is capable of up to 100 kHz operation. Reduce the bus frequency to 100 kHz to guarantee this I2C device can work correctly. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic ---

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-25 Thread Tony Dinh
Hi Stefan, On Mon, Apr 25, 2022 at 4:18 AM Stefan Roese wrote: > > Hi Tony, > > On 4/25/22 11:33, Tony Dinh wrote: > > Hi Stefan, > > > > On Sun, Apr 24, 2022 at 11:00 PM Stefan Roese wrote: > >> > >> Hi Tony, > >> > >> On 4/23/22 04:15, Tony Dinh wrote: > >>> Hi Stefan, > >>> > >>> Please see

[PATCH 1/1] efi_loader: simplify efi_add_conventional_memory_map()

2022-04-25 Thread Heinrich Schuchardt
Remove redundant constraint. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index 1c51a3fc45..e048a545e4 100644 --- a/lib/efi_loader/efi_memory.c +++

[PATCH 1/1] efi_loader: simplify try_load_entry()

2022-04-25 Thread Heinrich Schuchardt
Use function efi_create_indexed_name() to create the Boot variable name. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_bootmgr.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c index

[PATCH 1/1] efi: fix devpath_is_partition()

2022-04-25 Thread Heinrich Schuchardt
If the path consists only of an end node, it does not refer to a partition. Avoid returning a random value from the stack in this case. Signed-off-by: Heinrich Schuchardt --- lib/efi/efi_app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi/efi_app.c

[PATCH 1/1] cmd: mmc: don't assign unused values

2022-04-25 Thread Heinrich Schuchardt
Don't assign a value to variable speedmode which is never used. Signed-off-by: Heinrich Schuchardt --- cmd/mmc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/mmc.c b/cmd/mmc.c index 7464f8d00c..63bf69b0bd 100644 --- a/cmd/mmc.c +++ b/cmd/mmc.c @@ -501,11 +501,12

[PATCH 1/1] cmd: onenand: fix printf codes

2022-04-25 Thread Heinrich Schuchardt
For printing size_t use %zu or %zx. Signed-off-by: Heinrich Schuchardt --- cmd/onenand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/onenand.c b/cmd/onenand.c index 592985a7ee..d633f19d3b 100644 --- a/cmd/onenand.c +++ b/cmd/onenand.c @@ -53,7 +53,7 @@ static

Re: [PATCH v5 00/12] efi_loader: more tightly integrate UEFI disks to driver model

2022-04-25 Thread Heinrich Schuchardt
On 4/19/22 03:05, AKASHI Takahiro wrote: With this patch set[1] applied, UEFI subsystem maintains a list of its disk objects dynamically at runtime based on block device's probing. (See "issues" and "prerequisite" below.) [1] https://github.com/t-akashi/u-boot/tree/efi/dm_disk For instance, =>

Re: [PATCH 1/1] cmd: simplify do_adc_single()

2022-04-25 Thread Marek Vasut
On 4/25/22 22:26, Heinrich Schuchardt wrote: If argc is not < 3, it must be >= 3. If argc >= 3, argv[2] cannot be NULL. Fixes: 9de612ae4ded ("cmd: adc: Add support for storing ADC result in env variable") Signed-off-by: Heinrich Schuchardt --- cmd/adc.c | 7 +-- 1 file changed, 1

[PATCH 1/1] cmd: simplify do_adc_single()

2022-04-25 Thread Heinrich Schuchardt
If argc is not < 3, it must be >= 3. If argc >= 3, argv[2] cannot be NULL. Fixes: 9de612ae4ded ("cmd: adc: Add support for storing ADC result in env variable") Signed-off-by: Heinrich Schuchardt --- cmd/adc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/adc.c

Re: [PATCH V2 20/26] imx: dynamic setting mmcdev and mmcroot

2022-04-25 Thread Tim Harvey
On Tue, Apr 5, 2022 at 10:56 PM Peng Fan (OSS) wrote: > > From: Peng Fan > > Dynamic setting mmcdev and mmcroot. > Then when boot linux, we can have correct "root=/dev/mmcblk[x]p2" > > Signed-off-by: Peng Fan > --- > arch/arm/include/asm/mach-imx/sys_proto.h | 2 + >

Re: [PATCH] rockchip: rk3399: Add Nanopi M4V2 board support

2022-04-25 Thread Christopher Obbard
Hi Shuying Li & Libunko, Would you be able to resend this patch to uboot mailing list ? If you are no longer interested, I can resend it if you would like. Thank you Chris On Sun, 18 Oct 2020 at 13:10, Shuying Li wrote: > > From: Libunko > > Add initial support for Nanopi M4V2 board. > >

Re: [PATCH v3 2/2] imx8mn/8mp: Allow booting via USB

2022-04-25 Thread Tim Harvey
On Thu, Apr 21, 2022 at 11:06 AM Fabio Estevam wrote: > > From: Fabio Estevam > > When trying to boot via USB on i.MX8MN it is necessary to specify > the U-Boot environment location, otherwise the boot process simply > hangs. > > Specify the environment location when booting from USB. > > Tested

[PATCH] net: dm9000: Correctly handle empty FIFO

2022-04-25 Thread Marek Vasut
Assign packet pointer only in case the MAC reports anything in the FIFO. In case the MAC indicates empty FIFO, return 0 to pass that information to the network stack. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Ramon Fried --- drivers/net/dm9000x.c | 4 ++-- 1 file changed, 2

Jumping to U-boot / Image entry point: 0x1780_0000

2022-04-25 Thread Damien KIRK
Hello everyone ! I've started working on porting uboot from a custom version on 2017.03 to 2022.04, for a board based on NXP i.MX6D/Q. My build system is Yocto kirkstone. I've managed to get SPL running, and configured the RAM following the .cfg file that was present before: ... /* DDR IO TYPE

[PATCH v4] board: purism: add the Purism Librem5 phone

2022-04-25 Thread Angus Ainslie
Initial commit of Librem5 u-boot and SPL Signed-off-by: Angus Ainslie Co-developed-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Krzyszkowiak --- All of the pre-requisite patches for this board are now upstream or in review. Changes since v3: Dropped unused MMCROOT Rebased on

Re: [PATCH v3] mips: dts: add initial support for ls1c300 SoC

2022-04-25 Thread Daniel Schwierzeck
sorry for the late response but I was on vacation ;) Am Donnerstag, dem 21.04.2022 um 20:31 -0400 schrieb Sean Anderson: > On 4/18/22 4:45 PM, Du Huanpeng wrote: > > Loongson 1C is a cost-effective SOC chip for industrial control and > > the Internet of Things. The Loongson 1C includes a

Re: [PATCH 2/3] led: Mark device instance with DM_FLAG_PROBE_AFTER_BIND

2022-04-25 Thread Marek Vasut
On 4/25/22 16:31, Tom Rini wrote: On Fri, Apr 22, 2022 at 03:15:54PM +0200, Marek Vasut wrote: Calling device_probe() from uclass .post_bind() callback has all kinds of odd side-effects, e.g. device instances not being available just yet. Make use of the DM_FLAG_PROBE_AFTER_BIND instead, mark

[PATCH 1/1] cmd: fix long text for fdt command

2022-04-25 Thread Heinrich Schuchardt
We don't have an option -cq but two distinct options -c and -q. Fixes: e9496ec37440 ("fdt: Add -q option to fdt addr for distro_bootcmd") Signed-off-by: Heinrich Schuchardt --- cmd/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fdt.c b/cmd/fdt.c index

[PATCH 2/2] test: dm: pinmux: Get LED2 udevice in the pinmux test

2022-04-25 Thread Marek Vasut
The UT reinitializes the pin controller state, get LED2 udevice to trigger its probe and configure the pin controller pin state as it is expected by the test. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Sean Anderson Cc: Simon Glass Cc: Steven Lawrance ---

[PATCH 1/2] test: dm: led: Fix LED enumeration

2022-04-25 Thread Marek Vasut
The GPIO LED driver no longer considers the top level node an LED, because it is not an LED. With this bug fixed, the LED enumeration has changed. Update the test accordingly. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Sean Anderson Cc: Simon Glass Cc: Steven

Re: [PATCH v3 08/13] misc: Add support for nvmem cells

2022-04-25 Thread Sean Anderson
On 4/25/22 1:48 AM, Simon Glass wrote: > Hi Sean, > > On Mon, 18 Apr 2022 at 13:37, Sean Anderson wrote: >> >> This adds support for "nvmem cells" as seen in Linux. The nvmem device >> class in Linux is used for various assorted ROMs and EEPROMs. In this >> sense, it is similar to

[PATCH v2] board: freescale: p1_p2_rdb_pc: Add env commands norlowerboot, norupperboot, sd2boot and defboot

2022-04-25 Thread Pali Rohár
All *boot env commands overrides default boot source location via i2c. After board reset without power off, BootROM then starts booting U-Boot from this specified location instead of the default one. Add new env command defboot which reverts boot location to the default value, which in most cases

[PATCH v2] board: freescale: p1_p2_rdb_pc: Move boot reset macros to p1_p2_bootsrc.h

2022-04-25 Thread Pali Rohár
Code for changing boot source is platform generic and can be used by any P1* and P2* compatible RDB board. Not only by boards which use config header file p1_p2_rdb_pc.h. So move this code from p1_p2_rdb_pc.h to p1_p2_bootsrc.h and cleanup macros for generating boot source env variables in

Re: [PATCH 2/3] led: Mark device instance with DM_FLAG_PROBE_AFTER_BIND

2022-04-25 Thread Tom Rini
On Fri, Apr 22, 2022 at 03:15:54PM +0200, Marek Vasut wrote: > Calling device_probe() from uclass .post_bind() callback has all kinds > of odd side-effects, e.g. device instances not being available just yet. > Make use of the DM_FLAG_PROBE_AFTER_BIND instead, mark device instances > which need

[PATCH] imx8m: fix reading of DDR4 MR registers

2022-04-25 Thread Rasmus Villemoes
I was trying to employ lpddr4_mr_read() to something similar to what the imx8mm-cl-iot-gate board is doing for auto-detecting the RAM type. However, the version in drivers/ddr/imx/imx8m/ddrphy_utils.c differs from the private one used by that board in how it extracts the byte value, and I was only

[PATCH v2] board: freescale: p1_p2_rdb_pc: Fix parsing inverted bits from boot input data

2022-04-25 Thread Pali Rohár
On some boards upper 4 bits of i2c boot input data (register 0) are inverted. Information which bits are inverted is stored in register 2. So invert read input data back according to register 2 prior processing them. This fixes printing "rom_loc: value" line during booting. Signed-off-by: Pali

[PATCH 2/2] cmd: mmc: allow to write protect single boot partition

2022-04-25 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" add arguments for mmc wp to assign which boot partition to protect. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Peng Fan Cc: Jaehoon Chung --- cmd/mmc.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/cmd/mmc.c

[PATCH 1/2] drivers: mmc: write protect single boot area

2022-04-25 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add features to write protect single boot area rather than all boot areas. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Peng Fan Cc: Jaehoon Chung --- drivers/mmc/mmc.c | 27 +++ include/mmc.h | 16 2 files changed,

[PATCH 0/2] allow to write protect single boot partition

2022-04-25 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Modify mmc wp command and mmc driver to allow write protect only a single boot partition. Ying-Chun Liu (PaulLiu) (2): drivers: mmc: write protect single boot area cmd: mmc: allow to write protect single boot partition cmd/mmc.c | 18

Re: possible off-by-one error on month counting in rtc rv8803 driver

2022-04-25 Thread Michael Walle
Hi, Am 2022-04-25 14:55, schrieb Oliver Graute: I stumbled across the following possible off-by-one error in counting the month in RTC driver rv8803. .. (drivers/rtc/rv8803.c) rv8803_rtc_set() ... buf[RTC_MON_REG_ADDR] = bin2bcd(tm->tm_mon) ... rv8803_rtc_get() ... tm->tm_mon =

Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n)

2022-04-25 Thread Tom Rini
On Mon, Apr 25, 2022 at 03:13:53PM +0200, Marek Vasut wrote: > On 4/25/22 15:05, Tom Rini wrote: > > On Mon, Apr 25, 2022 at 03:02:29PM +0200, Marek Vasut wrote: > > > On 4/25/22 14:46, Fabio Estevam wrote: > > > > Hi Marek, > > > > > > > > On 24/04/2022 18:44, Marek Vasut wrote: > > > > >

Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n)

2022-04-25 Thread Fabio Estevam
On 25/04/2022 10:05, Tom Rini wrote: DM is mandatory in SPL too ? I doubt it. It is strongly encouraged, but not mandatory. It is not used on I guess imx27/31/5, but is for all of the imx8 families. So CONFIG_MXC_UART_BASE still needs to be moved out of board.h files (and perhaps out of

Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n)

2022-04-25 Thread Marek Vasut
On 4/25/22 15:05, Tom Rini wrote: On Mon, Apr 25, 2022 at 03:02:29PM +0200, Marek Vasut wrote: On 4/25/22 14:46, Fabio Estevam wrote: Hi Marek, On 24/04/2022 18:44, Marek Vasut wrote: Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board

Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n)

2022-04-25 Thread Tom Rini
On Mon, Apr 25, 2022 at 03:02:29PM +0200, Marek Vasut wrote: > On 4/25/22 14:46, Fabio Estevam wrote: > > Hi Marek, > > > > On 24/04/2022 18:44, Marek Vasut wrote: > > > Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base > > > address. Convert all board configurations to this

Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n)

2022-04-25 Thread Marek Vasut
On 4/25/22 14:46, Fabio Estevam wrote: Hi Marek, On 24/04/2022 18:44, Marek Vasut wrote: Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board configurations to this new macro. This is the first step toward switching CONFIG_MXC_UART_BASE to Kconfig.

possible off-by-one error on month counting in rtc rv8803 driver

2022-04-25 Thread Oliver Graute
Hello, I stumbled across the following possible off-by-one error in counting the month in RTC driver rv8803. I'am using struct rtc_time to define a EOL date for my U-Boots. So after this date U-Boot stops booting by reading the RTC before with rtc_get(). I'am using the same EOL code for two

Re: [PATCH] ARM: imx: imx8q: Use LPUART_BASE macro in config files

2022-04-25 Thread Tom Rini
On Sun, Apr 24, 2022 at 11:43:10PM +0200, Marek Vasut wrote: > Replace ad-hoc value with LPUART_BASE macro, no functional change. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > Cc: Tom Rini > --- > include/configs/cgtqmx8.h | 2 +- >

Re: [PATCH 1/4] ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n)

2022-04-25 Thread Fabio Estevam
Hi Marek, On 24/04/2022 18:44, Marek Vasut wrote: Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board configurations to this new macro. This is the first step toward switching CONFIG_MXC_UART_BASE to Kconfig. This is a clean up, no functional

Re: [PATCH 1/2] powerpc: mpc85xx: Add support for generating QorIQ pre-PBL eSDHC boot sector

2022-04-25 Thread Pali Rohár
On Monday 25 April 2022 05:25:34 Priyanka Jain (OSS) wrote: > >-Original Message- > >From: U-Boot On Behalf Of Pali Rohár > >Sent: Tuesday, April 5, 2022 7:11 PM > >To: Priyanka Jain ; Qiang Zhao ; > >Shengzhou Liu ; Alexander Graf ; > >Bin Meng ; Wolfgang Denk ; Sinan > >Akman > >Cc:

Re: [PATCH v3 0/6] meson: add clk and adc support for JetHub D1 (j100)

2022-04-25 Thread Neil Armstrong
Hi, On 25/04/2022 12:01, Vyacheslav wrote: 25.04.2022 10:25, Neil Armstrong wrote: Hi, On Sun, 24 Apr 2022 11:21:53 +0300, Vyacheslav Bocharov wrote: Prepare to use ADC channel 1 in JetHub D1 (j100) to check the hardware revision of the board. - add support for AXG in saradc driver - add

Re: [PATCH 7/8] powerpc: mpc85xx: Set TEXT_BASE addresses to real base values

2022-04-25 Thread Pali Rohár
On Monday 25 April 2022 04:27:51 Priyanka Jain (OSS) wrote: > >-Original Message- > >From: U-Boot On Behalf Of Pali Rohár > >Sent: Tuesday, April 5, 2022 6:43 PM > >To: Priyanka Jain ; Qiang Zhao ; > >Shengzhou Liu ; Alexander Graf ; > >Bin Meng ; Wolfgang Denk ; Sinan > >Akman > >Cc:

[PATCH v2] powerpc: mpc85xx: Set TEXT_BASE addresses to real base values

2022-04-25 Thread Pali Rohár
Currently CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE addresses are manually increased by 0x1000 due to .bootpg section. This section has size of 0x1000 bytes and is manually put by linker script before .text section (and therefore before base address) when CONFIG_SYS_MPC85XX_NO_RESETVEC is set.

Re: [PATCH 2/2] mtd: nand: mxs_nand_spl: Fix bad block skipping

2022-04-25 Thread Michael Nazzareno Trimarchi
Hi +cc Stefano Babic We have right now a while (1) if we find a badblock On Sat, Apr 23, 2022 at 10:12 AM Michael Trimarchi wrote: > > The file was fill of problems and bugs. The bad block are marked > beginning of erase block. The first erase block was never checked > and the specific

Re: [PATCH] usb: dwc3: Fix non-usb3 configurations

2022-04-25 Thread Michal Simek
On 4/25/22 13:26, Jan Kiszka wrote: From: Jan Kiszka Missing nodes may also be signaled via -ENODATA. We need to check for that to prevent failing in non-usb3 setups. Furthermore, dev.phy must be NULL'ed in case usb3-phy was not found. Fixes: 142d50fbce7c ("usb: dwc3: Add support for

[PATCH] usb: dwc3: Fix non-usb3 configurations

2022-04-25 Thread Jan Kiszka
From: Jan Kiszka Missing nodes may also be signaled via -ENODATA. We need to check for that to prevent failing in non-usb3 setups. Furthermore, dev.phy must be NULL'ed in case usb3-phy was not found. Fixes: 142d50fbce7c ("usb: dwc3: Add support for usb3-phy PHY configuration") Signed-off-by:

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-25 Thread Stefan Roese
Hi Tony, On 4/25/22 11:33, Tony Dinh wrote: Hi Stefan, On Sun, Apr 24, 2022 at 11:00 PM Stefan Roese wrote: Hi Tony, On 4/23/22 04:15, Tony Dinh wrote: Hi Stefan, Please see my various comments below. And my thoughts at the end. On Thu, Apr 21, 2022 at 11:15 PM Stefan Roese wrote: Hi

[PATCH] crypto/fsl: fsl_rsa: Fix dcache issue in the driver

2022-04-25 Thread Gaurav Jain
From: Ye Li issue: CAAM fails with key error when perform Modular Exponentiation using PKHA Block in CAAM Fix: add flush and invalidate dcache for keys, signature and output decrypted data processed by CAAM. Fixes: 34276478f7 (DM: crypto/fsl - Add Freescale rsa DM driver) Signed-off-by: Ye Li

Re: [PATCH v3 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-04-25 Thread Jan Kiszka
On 25.04.22 12:09, Jan Kiszka wrote: > On 25.04.22 12:06, Michal Simek wrote: >> >> >> On 4/25/22 12:05, Jan Kiszka wrote: >>> On 25.04.22 11:56, Michal Simek wrote: Hi Jan, On 4/25/22 11:47, Jan Kiszka wrote: > On 09.03.22 10:05, Michal Simek wrote: >> When usb3-phy label

Re: [PATCH v3 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-04-25 Thread Jan Kiszka
On 25.04.22 12:06, Michal Simek wrote: > > > On 4/25/22 12:05, Jan Kiszka wrote: >> On 25.04.22 11:56, Michal Simek wrote: >>> Hi Jan, >>> >>> On 4/25/22 11:47, Jan Kiszka wrote: On 09.03.22 10:05, Michal Simek wrote: > When usb3-phy label is found, PHY driver is called and serdes line

Re: [PATCH v3 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-04-25 Thread Michal Simek
On 4/25/22 12:05, Jan Kiszka wrote: On 25.04.22 11:56, Michal Simek wrote: Hi Jan, On 4/25/22 11:47, Jan Kiszka wrote: On 09.03.22 10:05, Michal Simek wrote: When usb3-phy label is found, PHY driver is called and serdes line is initialized. This is preparation for serdes/psgtr driver to

Re: [PATCH v3 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-04-25 Thread Jan Kiszka
On 25.04.22 11:56, Michal Simek wrote: > Hi Jan, > > On 4/25/22 11:47, Jan Kiszka wrote: >> On 09.03.22 10:05, Michal Simek wrote: >>> When usb3-phy label is found, PHY driver is called and serdes line is >>> initialized. This is preparation for serdes/psgtr driver to configure GT >>> lines based

Re: [PATCH v3 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-04-25 Thread Michal Simek
Hi Jan, On 4/25/22 11:47, Jan Kiszka wrote: On 09.03.22 10:05, Michal Simek wrote: When usb3-phy label is found, PHY driver is called and serdes line is initialized. This is preparation for serdes/psgtr driver to configure GT lines based on description in DT. Signed-off-by: Michal Simek ---

Re: [PATCH v3 2/2] usb: dwc3: Add support for usb3-phy PHY configuration

2022-04-25 Thread Jan Kiszka
On 09.03.22 10:05, Michal Simek wrote: > When usb3-phy label is found, PHY driver is called and serdes line is > initialized. This is preparation for serdes/psgtr driver to configure GT > lines based on description in DT. > > Signed-off-by: Michal Simek > --- > > Changes in v3: > - Add cover

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-25 Thread Tony Dinh
Hi Stefan, On Sun, Apr 24, 2022 at 11:00 PM Stefan Roese wrote: > > Hi Tony, > > On 4/23/22 04:15, Tony Dinh wrote: > > Hi Stefan, > > > > Please see my various comments below. And my thoughts at the end. > > > > On Thu, Apr 21, 2022 at 11:15 PM Stefan Roese wrote: > >> > >> Hi Tony, > >> > >>

[PATCH] env: Couple networking-related variable flags to CONFIG_NET

2022-04-25 Thread Jan Kiszka
From: Jan Kiszka Boards may set networking variables programmatically, thus may have CONFIG_NET on but CONFIG_CMD_NET off. The IOT2050 is an example. Signed-off-by: Jan Kiszka --- env/flags.c | 10 +- include/env_flags.h | 4 ++-- 2 files changed, 7 insertions(+), 7

[PATCH] efi_loader: Improve console screen clearing and reset

2022-04-25 Thread Jan Kiszka
From: Jan Kiszka Ensure that the default colors are set when clearing the screen so that the background is properly filled and succeeding colored outputs will have no differently colored trail. Before clearing, ensure that no previous output of firmware or UEFI programs will overwritten on

Re: Regression? [PATCH 1/2] mtd: call of_platform_populate() for MTD partitions

2022-04-25 Thread Miquel Raynal
Hi Daniel, dan...@makrotopia.org wrote on Mon, 25 Apr 2022 02:20:34 +0100: > Hi Rafal, > Hi Miguel, > > > On Mon, Apr 11, 2022 at 11:00:32AM +0200, Miquel Raynal wrote: > > On Wed, 2022-04-06 at 14:32:24 UTC, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= wrote: > > > > > From: Rafał Miłecki > > > > >

Re: [PATCH v3 0/6] meson: add clk and adc support for JetHub D1 (j100)

2022-04-25 Thread Neil Armstrong
Hi, On Sun, 24 Apr 2022 11:21:53 +0300, Vyacheslav Bocharov wrote: > Prepare to use ADC channel 1 in JetHub D1 (j100) to check the hardware > revision of the board. > > - add support for AXG in saradc driver > - add simple clk-ao driver for AXG (base is taken from g12a) > - enable saradc in dts

Re: [PATCH v3 6/6] board: amlogic: jethub j100: enable saradc in config

2022-04-25 Thread Neil Armstrong
On 24/04/2022 10:21, Vyacheslav Bocharov wrote: Enable ADC in board config file Signed-off-by: Vyacheslav Bocharov Reviewed-by: Neil Armstrong --- configs/jethub_j100_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/jethub_j100_defconfig

Re: [PATCH v3 5/6] board: amlogic: jethub j100: enable saradc in dts

2022-04-25 Thread Neil Armstrong
On 24/04/2022 10:21, Vyacheslav Bocharov wrote: Prepare to use ADC channel 1 to check the hardware revision of the board: - add u-boot dts include with saradc node Signed-off-by: Vyacheslav Bocharov --- arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi | 10 ++ 1 file changed,

Re: [PATCH v3 3/6] clk: meson: update driver for g12a-ao clocks

2022-04-25 Thread Neil Armstrong
On 24/04/2022 10:21, Vyacheslav Bocharov wrote: Update g12a-ao clk driver: - move clk->id check to .request function - remove unnecessary check (gate->reg == 0) Signed-off-by: Vyacheslav Bocharov --- drivers/clk/meson/g12a-ao.c | 15 +-- 1 file changed, 9 insertions(+), 6

[PATCH v1] drivers: spi: spi-sunxi: Add Kconfig option for sun4i_spi_parse_pins

2022-04-25 Thread qianfanguijin
From: qianfan Zhao spi-sunxi driver will init pins based on "pinctrl-0", but the implementation is very limited. Adding an Kconfig option if you really need this feature, or disable it and config pinmux at board's board_init. Signed-off-by: qianfan Zhao --- drivers/spi/Kconfig | 10

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-25 Thread Stefan Roese
Hi Tony, On 4/23/22 04:15, Tony Dinh wrote: Hi Stefan, Please see my various comments below. And my thoughts at the end. On Thu, Apr 21, 2022 at 11:15 PM Stefan Roese wrote: Hi Tony, On 4/21/22 23:21, Tony Dinh wrote: What really puzzles me is, why the page address is set to a