Re: [PATCH 05/11] riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()

2023-01-30 Thread Yu-Chien Peter Lin
Hi Leo, On Tue, Jan 31, 2023 at 07:07:02AM +, Leo Liang wrote: > Hi Peter, > On Thu, Jan 19, 2023 at 03:05:38PM +0800, Yu Chien Peter Lin wrote: > > This patch improves the cache enabling operation in harts_early_init(), > > also moves the CSR definition to include/asm/arch-andes/csr.h and

Re: U-Boot support for M68K removal

2023-01-30 Thread Angelo Dureghello
Hi Greg, On Mon, Jan 30, 2023 at 10:50 PM Greg Ungerer wrote: > > Hi Tom, > > On 31/1/23 05:31, Tom Rini wrote: > > On Mon, Jan 30, 2023 at 08:10:36PM +0100, Geert Uytterhoeven wrote: > >> Hi Eero, > >> > >> On Mon, Jan 30, 2023 at 8:02 PM Eero Tamminen wrote: > >>> On 30.1.2023 18.34, Tom Rini

Re: [PATCH] watchdog: ulp_wdog: only compile the code of DM driver when CONFIG_WDT=y

2023-01-30 Thread Stefan Roese
On 1/31/23 07:59, Ye Li wrote: From: Alice Guo DM watchdog timer driver and non-DM driver exist in ulp_wdog.c at the same time. Add a compilation restriction that only compile the DM driver part when CONFIG_WDT=y. Signed-off-by: Alice Guo Reviewed-by: Ye Li Reviewed-by: Stefan Roese

Re: [PATCH 11/11] driver: cache-v5l2: Fix type casting warning on RV32

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:44PM +0800, Yu Chien Peter Lin wrote: > This patch fixes following warning for riscv32 compilation. > > drivers/cache/cache-v5l2.c:122:16: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > 122 | regs = (struct l2cache

Re: [PATCH 10/11] configs: ae350: Display CPU and board info for AE350 platforms

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:43PM +0800, Yu Chien Peter Lin wrote: > Display information about CPU and board during start up. > > Signed-off-by: Yu Chien Peter Lin > --- > configs/ae350_rv32_defconfig | 2 ++ > configs/ae350_rv32_spl_defconfig | 2 ++ >

Re: [PATCH 09/11] configs: ae350: Increase maximum retry count for AE350 platforms

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:42PM +0800, Yu Chien Peter Lin wrote: > Loading image over TFTP is often interrupted since it does more than > 10 times retries, increase the number of retries so it will not easily > stop the transmission. > > Signed-off-by: Yu Chien Peter Lin > --- >

Re: [PATCH 08/11] configs: ae350: Enable v5l2 cache for AE350 platforms

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:41PM +0800, Yu Chien Peter Lin wrote: > Enable cache-v5l2 driver for each AE350 defconfig. > > Signed-off-by: Yu Chien Peter Lin > --- > configs/ae350_rv32_defconfig | 1 + > configs/ae350_rv32_spl_defconfig | 3 +++ >

Re: [PATCH 1/9] clk: imx8mp: Add EQoS MAC clock

2023-01-30 Thread Stefano Babic
Hi Marek, not related to this patch, but to the whole series. I have applied it to my test (master-next) branch and I ran CI, this series breaks 3 boards. https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/565207 Can you fix it into a V2 ? Best regards, Stefano On 19.01.23

Re: [PATCH 07/11] riscv: ax25: cache.c: Cleanups to L1/L2 cache function used in SPL

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:40PM +0800, Yu Chien Peter Lin wrote: > This patch refines L1 cache enable/disable and v5l2-cache enable > functions. > > Signed-off-by: Yu Chien Peter Lin > --- > arch/riscv/cpu/ax25/cache.c | 100 > 1 file changed, 68

Re: [PATCH 06/11] riscv: ae350: dts: Update L2 cache compatible string

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:39PM +0800, Yu Chien Peter Lin wrote: > Update the compatible string of L2 cache. > > Signed-off-by: Yu Chien Peter Lin > --- > arch/riscv/dts/ae350_32.dts | 2 +- > arch/riscv/dts/ae350_64.dts | 2 +- > drivers/cache/cache-v5l2.c | 2 +- > 3 files changed, 3

Re: [PATCH 05/11] riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()

2023-01-30 Thread Leo Liang
Hi Peter, On Thu, Jan 19, 2023 at 03:05:38PM +0800, Yu Chien Peter Lin wrote: > This patch improves the cache enabling operation in harts_early_init(), > also moves the CSR definition to include/asm/arch-andes/csr.h and drops > unnecessary i/d-cache disable functions from cleanup_before_linux(). >

Re: [PATCH 04/11] driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2 platform

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:37PM +0800, Yu Chien Peter Lin wrote: > The L2C configuration register has MAP field to indicate its version > is v0 (Gen1) or v1 (Gen2) L2-cache. This patch makes the driver > compatible with both memory-mapped scheme. > > Signed-off-by: Yu Chien Peter Lin > --- >

Re: [PATCH 03/11] board: AndesTech: ax25-ae350.c: Enable v5l2-cache in spl_board_init()

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:36PM +0800, Yu Chien Peter Lin wrote: > The L2-cache is not enabled currently, the enbale_caches() will call > the v5l2_enable() callback to enable it in SPL. > > Signed-off-by: Yu Chien Peter Lin > --- > board/AndesTech/ax25-ae350/ax25-ae350.c | 17

[PATCH] watchdog: ulp_wdog: only compile the code of DM driver when CONFIG_WDT=y

2023-01-30 Thread Ye Li
From: Alice Guo DM watchdog timer driver and non-DM driver exist in ulp_wdog.c at the same time. Add a compilation restriction that only compile the DM driver part when CONFIG_WDT=y. Signed-off-by: Alice Guo Reviewed-by: Ye Li --- drivers/watchdog/ulp_wdog.c | 2 ++ 1 file changed, 2

[PATCH] env: mmc: Fix offset issue for env save

2023-01-30 Thread Ye Li
Fix the issue in commit 46c9016 (env: mcc: Drop unnecessary #ifdefs) If CONFIG_SYS_REDUNDAND_ENVIRONMENT is not defined, the offset value becomes undetermined, so write env to unexpected offset. Signed-off-by: Ye Li --- env/mmc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

Re: [PATCH 02/11] riscv: Remove redundant Kconfig "RISCV_NDS_CACHE"

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:35PM +0800, Yu Chien Peter Lin wrote: > From: Leo Yu-Chi Liang > > There is no need for RISCV_NDS_CACHE config to control cache switches. > > Signed-off-by: Leo Yu-Chi Liang > Reviewed-by: Yu Chien Peter Lin > --- > arch/riscv/cpu/ax25/Kconfig | 10 - >

Re: [PATCH 01/11] riscv: global_data.h: Correct the comment for PLICSW

2023-01-30 Thread Leo Liang
On Thu, Jan 19, 2023 at 03:05:34PM +0800, Yu Chien Peter Lin wrote: > PLIC is used for external interrupt, while PLICSW is an Andes-specific > design for software interrupt. > > Signed-off-by: Yu Chien Peter Lin > --- > arch/riscv/include/asm/global_data.h | 2 +- > 1 file changed, 1

Re: [PATCH] Revert "rockchip: Only call binman when TPL available"

2023-01-30 Thread Tom Rini
On Tue, Jan 31, 2023 at 10:53:38AM +0800, Kever Yang wrote: > Hi > >     I think I do this modify for those soc not have TPL, or else it will > cause the CI build error. > > > TPL/ddr binary is mandatory in all rockchip SoCs now, but the mainline > U-Boot may not > > able to provide the the

Re: [PATCH 096/171] Correct SPL use of FS_EROFS

2023-01-30 Thread Huang Jianan
在 2023/1/30 22:42, Simon Glass 写道: This converts 1 usage of this option to the non-SPL form, since there is no SPL_FS_EROFS defined in Kconfig Signed-off-by: Simon Glass --- fs/erofs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/erofs/Makefile

Re: [ANN] U-Boot v2023.04-rc1 released

2023-01-30 Thread Kever Yang
Hi Tom, On 2023/1/31 05:05, Tom Rini wrote: Hey all, So, I've gotten back on regular schedule and here is -rc1, on time. I've picked up a Rockchip revert, which should fix some problems but I suspect will break some other platforms. I look forward to Kever having a chance to address the issue

Re: [PATCH] Revert "rockchip: Only call binman when TPL available"

2023-01-30 Thread Kever Yang
Hi     I think I do this modify for those soc not have TPL, or else it will cause the CI build error. TPL/ddr binary is mandatory in all rockchip SoCs now, but the mainline U-Boot may not able to provide the the available TPL, will need ddr init binary from rockchip rkbin repository

Re: [PATCH 1/1] common: remove "impossible condition #876" message

2023-01-30 Thread Heinrich Schuchardt
On 1/30/23 16:50, Simon Glass wrote: Hi Heinrich, On Sun, 29 Jan 2023 at 15:32, Heinrich Schuchardt wrote: Function cli_ch_esc() supports only a small subset of the escape sequences used by terminals. Don't nag the user with a message if an unsupported escape sequence is met. Fixes:

Re: [PATCH 103/171] Correct SPL use of IMX8MN_BEACON_2GB_LPDDR

2023-01-30 Thread Adam Ford
On Mon, Jan 30, 2023 at 9:17 AM Simon Glass wrote: > > This converts 1 usage of this option to the non-SPL form, since there is > no SPL_IMX8MN_BEACON_2GB_LPDDR defined in Kconfig > Reviewed-by: Adam Ford > Signed-off-by: Simon Glass > --- > > include/configs/imx8mn_beacon.h | 2 +- > 1 file

RE: [PATCH 100/171] Correct SPL uses of HW_WATCHDOG

2023-01-30 Thread ChiaWei Wang
Reviewed-by: Chia-Wei Wang Thanks. > From: Simon Glass > Sent: Monday, January 30, 2023 10:42 PM > > This converts 2 usages of this option to the non-SPL form, since there is no > SPL_HW_WATCHDOG defined in Kconfig > > Signed-off-by: Simon Glass > --- > >

Re: [PATCH 3/5] usb: dwc3-generic: Add dependency on SIMPLE_BUS

2023-01-30 Thread Kunihiko Hayashi
Hi Marek, On 2023/01/31 7:50, Marek Vasut wrote: On 1/30/23 06:52, Kunihiko Hayashi wrote: Hi Marek, Hello Hayashi-san, Sorry for late reply. I was stuck in some pitfalls. No worries, the MW closed today, but rc2 should be still OK to land these patches. Thank you for caring. [...]

Re: [PATCH 3/5] usb: dwc3-generic: Add dependency on SIMPLE_BUS

2023-01-30 Thread Marek Vasut
On 1/30/23 06:52, Kunihiko Hayashi wrote: Hi Marek, Hello Hayashi-san, Sorry for late reply. I was stuck in some pitfalls. No worries, the MW closed today, but rc2 should be still OK to land these patches. [...] I've successfully enabled the regular usb node using your suggested patch

[PATCH v2] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-30 Thread Dario Binacchi
The Linux kernel device tree already specifies the device to be used for boot console output with a stdout-path property under /chosen. Commit 36b661dc919da ("Merge branch 'next'") re-added the console setting that commit bede82f750752 ("configs: imx8mn_bsh_smm_s2: remove console from bootargs")

[PATCH v3 05/20] apalis-imx8: set bootdelay

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Set the boot delay to one second. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

Re: CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-30 Thread Troy Kisky
On Mon, Jan 30, 2023 at 11:44 AM Tom Rini wrote: > On Mon, Jan 30, 2023 at 10:51:03AM -0800, Troy Kisky wrote: > > Hi Tom > > > > > > On Mon, Jan 30, 2023 at 9:18 AM Tom Rini wrote: > > > > > On Sat, Jan 28, 2023 at 09:25:54AM -0800, Troy Kisky wrote: > > > > Thanks Tom, > > > > > > > > I

[PATCH v3 11/20] apalis-imx8: introduce setup setting setupargs

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Introduce setup setting setupargs and move earlycon there. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 12/20] apalis-imx8: drop obsolete environment variables

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Drop obsolete environment variables fdt_addr, finduuid, boot_file, > mmcargs, mmcdev, mmcpart and panel. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Andrejs Cainikovs > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master,

[PATCH v3 02/20] apalis-imx8: turn off lcd backlight before os handover

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > U-Boot typically tears down the display controller before handing > control over to Linux. On LCD displays disabling pixel clock leads to a > fading out effect with vertical/horizontal lines. Make sure to disable > back light GPIO Apalis BKL1 before booting Linux. >

[PATCH v3 20/20] apalis-imx8: add emmc/mmc card pinctrl's for different speeds

2023-01-30 Thread sbabic
> From: Andrejs Cainikovs > Add pinctrl's for high speed eMMC and MMC cards. > Signed-off-by: Andrejs Cainikovs > Signed-off-by: Philippe Schenker > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 18/20] apalis-imx8: set bootaux memory base and size

2023-01-30 Thread sbabic
> From: Andrejs Cainikovs > Set i.MX auxiliary core memory base and size. > Signed-off-by: Andrejs Cainikovs > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 01/20] apalis-imx8: implement pcb version and soc variant handling

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Implement PCB version and SoC variant handling which automatically loads > the correct device tree for the Linux kernel. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Andrejs Cainikovs > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to

[PATCH v3 03/20] apalis-imx8: display build info

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Display build info with information about the version of SCFW, SECO and > TF-A (ATF). > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 19/20] apalis-imx8: add M4 boot environment helpers

2023-01-30 Thread sbabic
> From: Andrejs Cainikovs > Add M4 boot environment functions for reference. > Signed-off-by: Andrejs Cainikovs > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 17/20] board: apalis-imx8: initialize snvs

2023-01-30 Thread sbabic
> From: Andrejs Cainikovs > Initialize Secure Non-Volatile Storage, aka SNVS. > Signed-off-by: Andrejs Cainikovs > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 15/20] board: apalis-imx8: get rid of sc_err_t type

2023-01-30 Thread sbabic
> From: Philippe Schenker > sc_pm_setup_uart() returns int, not sc_err_t. > Signed-off-by: Philippe Schenker > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[RESEND PATCH v2] arm: dts: imx8mn-u-boot: fix DDR3 only support

2023-01-30 Thread sbabic
> In case the CONFIG_IMX8M_LPDDR4 and CONFIG_IMX8M_DDR4 options are both > disabled (i. e. BSH boards), binmain fails because DDR4 bin files are > missing. > Fixes: 93c4c0e4dd1e75 ("arm: dts: imx8mn-u-boot: Create common > imx8mn-u-boot.dtsi") > Signed-off-by: Dario Binacchi > Reviewed-by:

[PATCH v3 16/20] board: apalis-imx8: remove board_phy_config duplicate

2023-01-30 Thread sbabic
> From: Andrejs Cainikovs > Remove a duplicate of weak board_phy_config() implementation > in drivers/net/phy/phy.c. > Signed-off-by: Andrejs Cainikovs > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 13/20] apalis-imx8: update update_uboot confirmation message

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Update update_uboot confirmation message. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 14/20] apalis-imx8: update env memory layout

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Update the distro config env memory layout for the Apalis iMX8 aka > QuadMax: > - kernel_comp_addr_r=0xf000 temporary area for uncompressing (ie FIT > images or Image.gz booted using booti) > - kernel_comp_size=0x0800 > - loadaddr=0x9540 avoiding any

[PATCH v3 06/20] apalis/colibri-imx8/8x: add overlay support for i.mx 8/8x-based soms

2023-01-30 Thread sbabic
> From: Oleksandr Suvorov > There is no "apply" command enabled for "fdt". > Enable "apply" command to allow overlays to be applied. > Signed-off-by: Oleksandr Suvorov > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx,

[PATCH v3 08/20] apalis-imx8: enable environment bootcount limit

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Enable optional environment bootcount limit functionality. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 10/20] apalis-imx8: remove obsolete net usb start

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Remove obsolete net USB start. > While at it also add a comment about enabling distro-boot. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 04/20] apalis-imx8: provide proper config_sys_prompt

2023-01-30 Thread sbabic
> From: Igor Opaniuk > This provides correct system prompt for U-Boot console. > Signed-off-by: Igor Opaniuk > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 09/20] apalis-imx8: remove obsolete sdhc related config defines

2023-01-30 Thread sbabic
> From: Marcel Ziswiler > Remove obsolete SDHC related config defines. Nowadays, all SDHC related > hardware configuration comes from the device tree. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Francesco Dolcini > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best

[PATCH v3 07/20] apalis/colibri-imx8/8x: remove global variable script

2023-01-30 Thread sbabic
> From: Oleksandr Suvorov > The distroboot script system scans boot_scripts variable and > try to find and use to boot each script name mentioned there. > Setting global variable "script" breaks this general mechanism > of searching and running a distro boot script. > Remove global variables

[PATCH] ddr: imx: Handle both 3733 and 3732 MTps rates

2023-01-30 Thread sbabic
> The DDR calibration tool for i.MX8M currently produces 3732 MTps rate in > lpddr4_timing.c , while the PHY code expects 3733 MTps rate. Support both > variants to avoid surprises where the system fails to boot. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards,

Re: U-Boot support for M68K removal

2023-01-30 Thread Tom Rini
On Tue, Jan 31, 2023 at 07:50:45AM +1000, Greg Ungerer wrote: > Hi Tom, > > On 31/1/23 05:31, Tom Rini wrote: > > On Mon, Jan 30, 2023 at 08:10:36PM +0100, Geert Uytterhoeven wrote: > > > Hi Eero, > > > > > > On Mon, Jan 30, 2023 at 8:02 PM Eero Tamminen wrote: > > > > On 30.1.2023 18.34, Tom

Re: U-Boot support for M68K removal

2023-01-30 Thread Greg Ungerer
Hi Tom, On 31/1/23 05:31, Tom Rini wrote: On Mon, Jan 30, 2023 at 08:10:36PM +0100, Geert Uytterhoeven wrote: Hi Eero, On Mon, Jan 30, 2023 at 8:02 PM Eero Tamminen wrote: On 30.1.2023 18.34, Tom Rini wrote: That's great to hear. While I started my life on m68k machines, I never did get

Re: [PATCH] arm: kirkwood: Add nas440 board, Marvell 88SE6121 AHCI

2023-01-30 Thread Tony Dinh
Hi Pali, On Mon, Jan 30, 2023 at 12:11 PM Pali Rohár wrote: > > On Monday 28 March 2022 09:57:41 Hajo Noerenberg wrote: > > Hi Tony, > > > > thank you very much for your help. I will integrate the changes and > > resubmit the patch when Tom's work on CONFIG_RESET_PHY_R is done. If you or > >

Re: [PATCH] phy: add of_set_phy_supported() helper, call from phy_config()

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 10:36:40PM +0100, Rasmus Villemoes wrote: > On 30/01/2023 18.16, Tom Rini wrote: > > On Thu, Jan 26, 2023 at 05:54:51PM -0700, Simon Glass wrote: > >> Hi Rasmus, > >> > >> On Tue, 9 Aug 2022 at 05:53, Rasmus Villemoes > >> wrote: > >>> > >>> Currently, U-Boot doesn't parse

Re: [PATCH] phy: add of_set_phy_supported() helper, call from phy_config()

2023-01-30 Thread Rasmus Villemoes
On 30/01/2023 18.16, Tom Rini wrote: > On Thu, Jan 26, 2023 at 05:54:51PM -0700, Simon Glass wrote: >> Hi Rasmus, >> >> On Tue, 9 Aug 2022 at 05:53, Rasmus Villemoes >> wrote: >>> >>> Currently, U-Boot doesn't parse a "max-speed" DT property in a phy's >>> DT node. That property is a standard

Re: [PATCH] Revert "rockchip: Only call binman when TPL available"

2023-01-30 Thread Tom Rini
On Tue, Jan 31, 2023 at 02:44:52AM +0530, Jagan Teki wrote: > On Mon, 30 Jan 2023 at 20:45, Tom Rini wrote: > > > > On Mon, Jan 30, 2023 at 08:29:35PM +0530, Jagan Teki wrote: > > > On Fri, 27 Jan 2023 at 12:51, Jagan Teki wrote: > > > > > > > > This reverts commit

Re: [PATCH] Revert "rockchip: Only call binman when TPL available"

2023-01-30 Thread Jagan Teki
On Mon, 30 Jan 2023 at 20:45, Tom Rini wrote: > > On Mon, Jan 30, 2023 at 08:29:35PM +0530, Jagan Teki wrote: > > On Fri, 27 Jan 2023 at 12:51, Jagan Teki wrote: > > > > > > This reverts commit f5315dd6290a588434e4f79bfd2886bb7df9210d. > > > > > > [why] > > > TPL is not mandatory for not all

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 10:12:19PM +0100, Rasmus Villemoes wrote: > On 30/01/2023 16.54, Tom Rini wrote: > > On Sun, Jan 29, 2023 at 10:57:28PM +0100, Rasmus Villemoes wrote: > >> On 29/01/2023 01.57, Simon Glass wrote: > >>> CONFIG options must not use lower-case letter. > >> > >> Why? > > > >

Re: [PATCH v2 09/87] Rename ARCH_NPCM7xx

2023-01-30 Thread Rasmus Villemoes
On 30/01/2023 16.54, Tom Rini wrote: > On Sun, Jan 29, 2023 at 10:57:28PM +0100, Rasmus Villemoes wrote: >> On 29/01/2023 01.57, Simon Glass wrote: >>> CONFIG options must not use lower-case letter. >> >> Why? > > So, kconfiglib complains about these. Which IMO would be a bug in kconfiglib. Can

[ANN] U-Boot v2023.04-rc1 released

2023-01-30 Thread Tom Rini
Hey all, So, I've gotten back on regular schedule and here is -rc1, on time. I've picked up a Rockchip revert, which should fix some problems but I suspect will break some other platforms. I look forward to Kever having a chance to address the issue and get everything working for the full

Re: [PATCH] Revert "rockchip: Only call binman when TPL available"

2023-01-30 Thread Tom Rini
On Fri, Jan 27, 2023 at 12:51:33PM +0530, Jagan Teki wrote: > This reverts commit f5315dd6290a588434e4f79bfd2886bb7df9210d. > > [why] > TPL is not mandatory for not all Rockchip SoCs, some SoCs like > RK356x, and RK3588 still use mainline u-boot without TPL as > their ddr init programs are

Re: [PATCH] arm: kirkwood: Add nas440 board, Marvell 88SE6121 AHCI

2023-01-30 Thread Pali Rohár
On Monday 28 March 2022 09:57:41 Hajo Noerenberg wrote: > Hi Tony, > > thank you very much for your help. I will integrate the changes and resubmit > the patch when Tom's work on CONFIG_RESET_PHY_R is done. If you or others > have further improvements in the meantime, please let me know.

[PATCH] MAINTAINERS: m68k: Change Angelo's email address

2023-01-30 Thread Angelo Dureghello
Set my new current personal email. Signed-off-by: Angelo Dureghello --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2dd2b46fcd..abf77a5f17 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -842,7 +842,7 @@ F: drivers/clk/imx/

[PATCH] MAINTAINERS: m68k: Change Angelo's email address

2023-01-30 Thread Angelo Dureghello
Set my new current personal email. Signed-off-by: Angelo Dureghello --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2dd2b46fcd..abf77a5f17 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -842,7 +842,7 @@ F: drivers/clk/imx/

Re: CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 10:51:03AM -0800, Troy Kisky wrote: > Hi Tom > > > On Mon, Jan 30, 2023 at 9:18 AM Tom Rini wrote: > > > On Sat, Jan 28, 2023 at 09:25:54AM -0800, Troy Kisky wrote: > > > Thanks Tom, > > > > > > I cleaned up the PR based on the CI results. Here's my current changes. > >

Re: U-Boot support for M68K removal

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 08:22:15PM +0100, Angelo Dureghello wrote: > Hi Tom, > > thanks a lot, and thanks Geert for forwarding this :) > > On Mon, Jan 30, 2023 at 5:14 PM Tom Rini wrote: > > > > On Mon, Jan 30, 2023 at 01:49:11PM +0100, Angelo Dureghello wrote: > > > > > Hi Tom and all, > > > >

Re: U-Boot support for M68K removal

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 08:10:36PM +0100, Geert Uytterhoeven wrote: > Hi Eero, > > On Mon, Jan 30, 2023 at 8:02 PM Eero Tamminen wrote: > > On 30.1.2023 18.34, Tom Rini wrote: > > > That's great to hear. While I started my life on m68k machines, I never > > > did get Linux up on one. Do the

Re: U-Boot support for M68K removal

2023-01-30 Thread Eero Tamminen
Hi, On 30.1.2023 18.34, Tom Rini wrote: That's great to hear. While I started my life on m68k machines, I never did get Linux up on one. Do the coldfire platforms you have run U-Boot today? If so, are they already supported upstream? One of my biggest concerns about the architecture, in U-Boot,

Re: U-Boot support for M68K removal

2023-01-30 Thread Angelo Dureghello
Hi Ereo, On Mon, Jan 30, 2023 at 8:02 PM Eero Tamminen wrote: > > Hi, > > On 30.1.2023 18.34, Tom Rini wrote: > > That's great to hear. While I started my life on m68k machines, I never > > did get Linux up on one. Do the coldfire platforms you have run U-Boot > > today? If so, are they already

Re: U-Boot support for M68K removal

2023-01-30 Thread Angelo Dureghello
Hi Tom, thanks a lot, and thanks Geert for forwarding this :) On Mon, Jan 30, 2023 at 5:14 PM Tom Rini wrote: > > On Mon, Jan 30, 2023 at 01:49:11PM +0100, Angelo Dureghello wrote: > > > Hi Tom and all, > > > > really have to apologize, had hard times these last 2 years > > and couldn't follow

Re: U-Boot support for M68K removal

2023-01-30 Thread Geert Uytterhoeven
Hi Eero, On Mon, Jan 30, 2023 at 8:02 PM Eero Tamminen wrote: > On 30.1.2023 18.34, Tom Rini wrote: > > That's great to hear. While I started my life on m68k machines, I never > > did get Linux up on one. Do the coldfire platforms you have run U-Boot > > today? If so, are they already supported

Re: [PATCH 016/171] iommu: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-01-30 Thread Pali Rohár
On Monday 30 January 2023 13:59:21 Tom Rini wrote: > On Mon, Jan 30, 2023 at 07:28:56PM +0100, Pali Rohár wrote: > > On Monday 30 January 2023 13:25:25 Tom Rini wrote: > > > On Mon, Jan 30, 2023 at 07:16:26PM +0100, Pali Rohár wrote: > > > > On Monday 30 January 2023 11:29:27 Tom Rini wrote: > > >

Re: [PATCH 016/171] iommu: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 07:28:56PM +0100, Pali Rohár wrote: > On Monday 30 January 2023 13:25:25 Tom Rini wrote: > > On Mon, Jan 30, 2023 at 07:16:26PM +0100, Pali Rohár wrote: > > > On Monday 30 January 2023 11:29:27 Tom Rini wrote: > > > > On Mon, Jan 30, 2023 at 05:19:01PM +0100, Mark Kettenis

Re: U-Boot support for M68K removal

2023-01-30 Thread John Paul Adrian Glaubitz
Hi! On Mon, 2023-01-30 at 11:14 -0500, Tom Rini wrote: > On Mon, Jan 30, 2023 at 01:49:11PM +0100, Angelo Dureghello wrote: > > > Hi Tom and all, > > > > really have to apologize, had hard times these last 2 years > > and couldn't follow at all the activity, i am totally culprit > > and

Re: CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-30 Thread Troy Kisky
Hi Tom On Mon, Jan 30, 2023 at 9:18 AM Tom Rini wrote: > On Sat, Jan 28, 2023 at 09:25:54AM -0800, Troy Kisky wrote: > > Thanks Tom, > > > > I cleaned up the PR based on the CI results. Here's my current changes. > > > > Author: Troy Kisky > > Date: Fri Jan 27 11:03:11 2023 -0800 > > > >

Re: [PATCH 1/1] efi_loader: stop watchdogs in ExitBootServices()

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 01:13:55PM -0500, Tom Rini wrote: > On Sat, Jan 28, 2023 at 09:57:45AM +0100, Heinrich Schuchardt wrote: > > > The UEFI specification requires for ExitBootServices() that "the boot > > services watchdog timer is disabled". We already disable the software > > watchdog. We

Re: [PATCH 016/171] iommu: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-01-30 Thread Pali Rohár
On Monday 30 January 2023 13:25:25 Tom Rini wrote: > On Mon, Jan 30, 2023 at 07:16:26PM +0100, Pali Rohár wrote: > > On Monday 30 January 2023 11:29:27 Tom Rini wrote: > > > On Mon, Jan 30, 2023 at 05:19:01PM +0100, Mark Kettenis wrote: > > > > > From: Simon Glass > > > > > Date: Mon, 30 Jan 2023

Re: [PATCH 016/171] iommu: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 07:16:26PM +0100, Pali Rohár wrote: > On Monday 30 January 2023 11:29:27 Tom Rini wrote: > > On Mon, Jan 30, 2023 at 05:19:01PM +0100, Mark Kettenis wrote: > > > > From: Simon Glass > > > > Date: Mon, 30 Jan 2023 07:40:49 -0700 > > > > > > > > This is implicitly used in

Re: [PATCH 016/171] iommu: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-01-30 Thread Pali Rohár
On Monday 30 January 2023 11:29:27 Tom Rini wrote: > On Mon, Jan 30, 2023 at 05:19:01PM +0100, Mark Kettenis wrote: > > > From: Simon Glass > > > Date: Mon, 30 Jan 2023 07:40:49 -0700 > > > > > > This is implicitly used in the source and seems useful, so add it. > > > > Not sure how this ended

Re: [PATCH 1/1] efi_loader: stop watchdogs in ExitBootServices()

2023-01-30 Thread Tom Rini
On Sat, Jan 28, 2023 at 09:57:45AM +0100, Heinrich Schuchardt wrote: > The UEFI specification requires for ExitBootServices() that "the boot > services watchdog timer is disabled". We already disable the software > watchdog. We should additionally disable the hardware watchdogs. > > Reported-by:

Re: [PATCH v2 00/87] Clean up of bad Kconfig options

2023-01-30 Thread Tom Rini
On Sat, Jan 28, 2023 at 05:57:36PM -0700, Simon Glass wrote: > This series adds source scanning to moveconfig.py so that it can look for > Kconfig options mentioned in the source which do not appear in Kconfig, > and vice versa. > > This tool is then used to clean up the unused or obsolete

Re: [PATCH u-boot 3/3] tools: imagetool: Skip autodetection of gpimage type

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 08:50:15AM -0700, Simon Glass wrote: > On Sun, 29 Jan 2023 at 09:46, Pali Rohár wrote: > > > > gpimage type requires only that two first 32-bit words of data file are > > non-zero. So basically every random data file can be guessed and verified > > as gpimage. So

Re: [PATCH 2/7] board: MCR3000: Modernise the settings to properly work on lastest u-boot version

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 03:34:01PM +0100, Christophe Leroy wrote: > Both U-boot and Linux kernel have grown over the last releases > and don't fit anymore in the 2M EPROM of the board. > > So, rework the setup to allow storing the Linux kernel image > on the UBIFS NAND Flash. > > Also add

Re: [PATCH 00/13] bootstd: Update ARM QEMU for standard boot and environment

2023-01-30 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:15PM -0700, Simon Glass wrote: > This series fixes a few reported problems with virtio block-device > handling. > > It also moves QEMU over to use standard boot on ARM, by adding a suitable > bootdev and bootmeth for qfw. > > Finally, it moves the boards to use a

Re: CONFIG_IS_ENABLED vs IS_ENABLED

2023-01-30 Thread Tom Rini
On Sat, Jan 28, 2023 at 09:25:54AM -0800, Troy Kisky wrote: > Thanks Tom, > > I cleaned up the PR based on the CI results. Here's my current changes. > > Author: Troy Kisky > Date: Fri Jan 27 11:03:11 2023 -0800 > > dm: device-internal: use EVENT instead of DM_EVENT, because >

Re: [PATCH] phy: add of_set_phy_supported() helper, call from phy_config()

2023-01-30 Thread Tom Rini
On Thu, Jan 26, 2023 at 05:54:51PM -0700, Simon Glass wrote: > Hi Rasmus, > > On Tue, 9 Aug 2022 at 05:53, Rasmus Villemoes > wrote: > > > > Currently, U-Boot doesn't parse a "max-speed" DT property in a phy's > > DT node. That property is a standard binding which should be honoured, > > and in

Re: [PATCH v2 2/2] bootstd: Replicate the dtb-filename quirks of distroboot

2023-01-30 Thread Tom Rini
On Sat, Jan 28, 2023 at 06:27:15PM -0700, Simon Glass wrote: > For EFI, the distro boot scripts search in three different directories > for the .dtb file. The SOC-based filename fallback is supported only for > 32-bit ARM. > > Adjust the code to mirror this behaviour. > > Also some boards can

[PATCH 108/171] Correct SPL use of MIPS_CM

2023-01-30 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_MIPS_CM defined in Kconfig Signed-off-by: Simon Glass --- arch/mips/include/asm/cm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/cm.h b/arch/mips/include/asm/cm.h index

[PATCH 125/171] Correct SPL use of PHY_CADENCE_SIERRA

2023-01-30 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PHY_CADENCE_SIERRA defined in Kconfig Signed-off-by: Simon Glass --- drivers/phy/cadence/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/cadence/Makefile

[PATCH 122/171] Correct SPL uses of PG_WCOM_UBOOT_BOOTPACKAGE

2023-01-30 Thread Simon Glass
This converts 2 usages of this option to the non-SPL form, since there is no SPL_PG_WCOM_UBOOT_BOOTPACKAGE defined in Kconfig Signed-off-by: Simon Glass --- board/keymile/common/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/keymile/common/common.c

[PATCH 159/171] Correct SPL use of USB_DWC3_MESON_G12A

2023-01-30 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_USB_DWC3_MESON_G12A defined in Kconfig Signed-off-by: Simon Glass --- arch/arm/mach-meson/board-g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-meson/board-g12a.c

[PATCH 124/171] Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTED

2023-01-30 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PG_WCOM_UBOOT_UPDATE_SUPPORTED defined in Kconfig Signed-off-by: Simon Glass --- board/keymile/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/common/common.c

[PATCH 157/171] Correct SPL use of TPM_RNG

2023-01-30 Thread Simon Glass
This converts 1 usage of this option to the non-SPL form, since there is no SPL_TPM_RNG defined in Kconfig Signed-off-by: Simon Glass --- drivers/tpm/tpm-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c index

Re: U-Boot support for M68K removal

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 05:22:17PM +0100, John Paul Adrian Glaubitz wrote: > Hi! > > On Mon, 2023-01-30 at 11:14 -0500, Tom Rini wrote: > > On Mon, Jan 30, 2023 at 01:49:11PM +0100, Angelo Dureghello wrote: > > > > > Hi Tom and all, > > > > > > really have to apologize, had hard times these

Re: [PATCH 016/171] iommu: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 05:19:01PM +0100, Mark Kettenis wrote: > > From: Simon Glass > > Date: Mon, 30 Jan 2023 07:40:49 -0700 > > > > This is implicitly used in the source and seems useful, so add it. > > Not sure how this ended up with an "iommu" tag, but that seems wrong. > > >

Re: [PATCH 00/14] QCS404: Add ethernet and I2C drivers

2023-01-30 Thread Sumit Garg
On Fri, 20 Jan 2023 at 12:47, Sumit Garg wrote: > > Patch#1 is a fix for QCS404 system memory map to not map reserved memory > regions as an occasional system hang is observed. > > Rest of the patches add support for Qualcomm ethernet Gentle ping for any comments/feedback regarding the ethernet

Re: [PATCH 015/171] iommu: Add a Kconfig for SPL_IOMMU

2023-01-30 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 30 Jan 2023 07:40:48 -0700 > > This is implicitly used in the source and seems useful, so add it. At this point the IOMMU support isn't used for SPL. While I can't rule out we'll see an SoC at some point the needs it, I don't think I've seen an SoC that has

Re: [PATCH 016/171] iommu: Add a Kconfig for SPL_PINCTRL_ARMADA_38X

2023-01-30 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 30 Jan 2023 07:40:49 -0700 > > This is implicitly used in the source and seems useful, so add it. Not sure how this ended up with an "iommu" tag, but that seems wrong. > Signed-off-by: Simon Glass > --- > > drivers/pinctrl/mvebu/Kconfig | 4 > 1 file

Re: U-Boot support for M68K removal

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 01:49:11PM +0100, Angelo Dureghello wrote: > Hi Tom and all, > > really have to apologize, had hard times these last 2 years > and couldn't follow at all the activity, i am totally culprit > and responsible. > > Now i can jump back on following, if there is any sense >

Re: [PATCH 000/171] Kconfig: More cleanup of CONFIG options

2023-01-30 Thread Tom Rini
On Mon, Jan 30, 2023 at 07:40:33AM -0700, Simon Glass wrote: > Quite a few CONFIG options without an SPL equivalent are used as if they > have one. For example, we see CONFIG_IS_ENABLED(IOMMU) when there is no > SPL_IOMMU Kconfig option. > > This series adds new features to moveconfig to detect

  1   2   3   4   >