[PATCH 3/3] boards: tqma6: enable DM_THERMAL

2023-03-20 Thread Markus Niebel
Enabling this gives some informal output at boot time. Signed-off-by: Markus Niebel --- configs/tqma6dl_mba6_mmc_defconfig | 2 ++ configs/tqma6dl_mba6_spi_defconfig | 2 ++ configs/tqma6q_mba6_mmc_defconfig | 2 ++ configs/tqma6q_mba6_spi_defconfig | 2 ++ configs/tqma6s_mba6_mmc_defconfig

[PATCH 2/3] boards: tqma6: enable DM for MDIO / PHY

2023-03-20 Thread Markus Niebel
Since this works with current device trees, enabled these. Signed-off-by: Markus Niebel --- configs/tqma6dl_mba6_mmc_defconfig | 3 +++ configs/tqma6dl_mba6_spi_defconfig | 3 +++ configs/tqma6q_mba6_mmc_defconfig | 3 +++ configs/tqma6q_mba6_spi_defconfig | 3 +++

[PATCH 1/3] boards: tqma6: switch to DM_SERIAL

2023-03-20 Thread Markus Niebel
Usage without DM_SERIAL is deprecated. Fix this. Signed-off-by: Markus Niebel --- configs/tqma6dl_mba6_mmc_defconfig | 2 +- configs/tqma6dl_mba6_spi_defconfig | 2 +- configs/tqma6q_mba6_mmc_defconfig | 2 +- configs/tqma6q_mba6_spi_defconfig | 2 +- configs/tqma6s_mba6_mmc_defconfig | 2 +-

[PATCH 0/3] boards: tqma6: defconfig updates

2023-03-20 Thread Markus Niebel
Update defconfigs for TQMa6x family of boards. Primary goal is to do the overdue switch to DM_SERIAL. While at it, use also DM for MDIO / PHY and enable DM_THERMAL. Markus Niebel (3): boards: tqma6: switch to DM_SERIAL boards: tqma6: enable DM for MDIO / PHY boards: tqma6: enable DM_THERMAL

Re: [PATCH 2/2] configs: rockchip: rock5b-rk3588: add pinctrl to SPL

2023-03-20 Thread Kever Yang
On 2023/3/13 20:53, Eugen Hristev wrote: Add pinctrl driver in SPL. Do not remove pinctrl properties for SPL dtb. Signed-off-by: Eugen Hristev Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock5b-rk3588_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH 1/2] ARM: dts: rk3588-rock-5b-u-boot: add u-boot, dm-spl to pinctrl for sdmmc

2023-03-20 Thread Kever Yang
On 2023/3/13 20:53, Eugen Hristev wrote: To be able to initialize the pinctrl correctly at SPL level and read u-boot proper from SD-Card, the pinctrl must be initialized. Signed-off-by: Eugen Hristev Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3588-rock-5b-u-boot.dtsi |

Re: [PATCH v4] pinctrl: rockchip: support rk3588 pinctrl

2023-03-20 Thread Kever Yang
On 2023/3/15 23:32, Eugen Hristev wrote: From: Jianqun Xu Add support for Rockchip rk3588 variant of pinctrl. The driver is adapted from the Linux driver. Signed-off-by: Jianqun Xu [eugen.hris...@collabora.com: port to latest U-boot, bring more changes from Linux use translated pull

Re: [PATCH v2 7/7] arm: dts: rockchip: rk3288: partial sync pwm nodes

2023-03-20 Thread Kever Yang
On 2023/3/16 02:34, Johan Jonker wrote: In order to better compare the Linux rk3288.dtsi version 6.3 -rc2 with the U-Boot version partial sync the pwm nodes. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3288.dtsi | 18 +- 1

Re: [PATCH v2 6/7] clk: rockchip: clk_rk3288: add PCLK_RKPWM

2023-03-20 Thread Kever Yang
On 2023/3/16 02:34, Johan Jonker wrote: The rk3288 pwm nodes synced from Linux make use of PCLK_RKPWM instead of PCLK_PWM. They have the same pclk_cpu parent, so add PCLK_RKPWM to rk3288_clk_get_rate(). Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Tested-by: Simon Glass #

Re: [PATCH v2 5/7] arm: dts: rockchip: rk3288: partial sync vop/lvds/mipi/hdmi nodes

2023-03-20 Thread Kever Yang
On 2023/3/16 02:34, Johan Jonker wrote: In order to better compare the Linux rk3288.dtsi version 6.3 -rc2 with the U-Boot version partial sync the vop/lvds/mipi/hdmi nodes. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry Reviewed-by: Kever

Re: [PATCH v2 4/7] arm: dts: rockchip: rk3288: partial sync edp node

2023-03-20 Thread Kever Yang
On 2023/3/16 02:33, Johan Jonker wrote: The rk3288 edp node has a phy node in Linux with a clock property while current U-Boot driver expects this clock on position index 1. Move U-Boot-specific DT clock properties to rk3288-u-boot.dtsi and partially sync the edp node. Signed-off-by: Johan

Re: [PATCH v2 3/7] video: rockchip: rk_vop: add rk3288-dp compare string

2023-03-20 Thread Kever Yang
On 2023/3/16 02:33, Johan Jonker wrote: In the current rk3288.dtsi file the compatible string for the DisplayPort(DP) node ends with "edp". The string in the binding ends with "dp" which conflicts with "cdn-dp" as a search term. Add "rk3288-dp" as compare string to select vop_id.

Re: [PATCH v2 2/7] arm: dts: rockchip: rk3288: partial sync grf and pmu nodes

2023-03-20 Thread Kever Yang
On 2023/3/16 02:33, Johan Jonker wrote: In order to better compare the Linux rk3288.dtsi version 6.3 -rc2 with the U-Boot version partial sync the grf and pmu nodes. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry Reviewed-by: Kever Yang

Re: [PATCH v2 1/7] arm: dts: rockchip: rk3288: move io-domains nodes

2023-03-20 Thread Kever Yang
On 2023/3/16 02:31, Johan Jonker wrote: In order to better compare the Linux rk3288.dtsi version with the U-Boot version move the io-domains nodes. Signed-off-by: Johan Jonker Reviewed-by: John Keeping Reviewed-by: Simon Glass Tested-by: Simon Glass # chromebook-jerry Reviewed-by: Kever

Re: [PATCH 3/3] rockchip: rk3588: Sync sdmmc node from linux-next

2023-03-20 Thread Kever Yang
On 2023/3/18 03:16, Jonas Karlman wrote: Sync the sdmmc node from linux-next, include required nodes in SPL and imply Kconfig options required for functional sdmmc clk in SPL and U-Boot proper. This make it possible for both SPL and U-Boot proper to configure sdmmc clocks. In SPL, before TF-A

Re: [PATCH 2/3] rockchip: rk3588: Add support for sdmmc clocks in SPL

2023-03-20 Thread Kever Yang
On 2023/3/18 03:16, Jonas Karlman wrote: Booting from sdmmc on RK3588 currently works because of a workaround in the device tree, clocks are reordered so that the driver use ciu-sample instead of ciu, and the BootRom initializes sdmmc clocks before SPL is loaded into DRAM. The sdmmc clocks

Re: [PATCH 1/3] clk: scmi: Add Kconfig option for SPL

2023-03-20 Thread Kever Yang
On 2023/3/18 03:16, Jonas Karlman wrote: Building U-Boot SPL with CLK_SCMI and SCMI_FIRMWARE Kconfig options enabled and SPL_FIRMWARE disabled result in the following error. drivers/clk/clk_scmi.o: in function `scmi_clk_gate': drivers/clk/clk_scmi.c:84: undefined reference to

Re: [PATCH v2] gpio: rockchip: Add support for RK3568 and RK3588 banks

2023-03-20 Thread Kever Yang
On 2023/3/20 02:39, Jonas Karlman wrote: The GPIO V2 controller on RK3568 and RK3588 works very similar to prior generation, main difference is the use of a write mask in the upper 16 bits and register address offset have changed. GPIO_VER_ID is a new register at 0x0078 that is used to

Re: [PATCH v2 6/6] rockchip: configs: mk808: enable usb support

2023-03-20 Thread Kever Yang
On 2023/3/19 23:06, Johan Jonker wrote: Enable usb support in the mk808_defconfig. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang Thanks, - Kever --- configs/mk808_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH v2 5/6] rockchip: configs: mk808: change CONFIG_TPL_TEXT_BASE

2023-03-20 Thread Kever Yang
On 2023/3/19 23:06, Johan Jonker wrote: Currently the Rockchip rk3066a u-boot-tpl.bin file needs to add the characters "RK30", while the other SoCs replace the first 4 bytes. Bring this in line with the rest by lowering CONFIG_TPL_TEXT_BASE and update rockchip.rst instructions. Signed-off-by:

Re: [PATCH v2 4/6] arm: dts: rockchip: sync rk3066/rk3188 DT files from linux-next v6.2-rc4

2023-03-20 Thread Kever Yang
On 2023/3/19 23:05, Johan Jonker wrote: Sync rk3066/rk3188 DT files from Linux. This is the state as of linux-next v6.2-rc4. New nfc node for MK808 rk3066a. CRU nodes now have a clock property. To prefend dtoc errors a fixed clock must also be included for tpl/spl in the rk3xxx-u-boot.dtsi

Re: [PATCH v2 2/6] arm: dts: rockchip: rk3066a-u-boot: add gpio-ranges

2023-03-20 Thread Kever Yang
On 2023/3/19 23:05, Johan Jonker wrote: The gpio node names are made generic, but without gpio bank ID. Add gpio-ranges to rk3066a-u-boot.dtsi for now till a better method is found. Disable gpio6 as the driver gives an error code on return as status. Signed-off-by: Johan Jonker Reviewed-by:

Re: [PATCH v2 3/6] arm: dts: rockchip: rk3188-u-boot: add gpio-ranges

2023-03-20 Thread Kever Yang
On 2023/3/19 23:05, Johan Jonker wrote: The gpio node names are made generic, but without gpio bank ID. Add gpio-ranges to rk3188-u-boot.dtsi for now till a better method is found. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang Thanks, - Kever ---

Re: [PATCH v2 1/6] rockchip: gpio: rk_gpio: use ROCKCHIP_GPIOS_PER_BANK as divider

2023-03-20 Thread Kever Yang
On 2023/3/19 23:02, Johan Jonker wrote: The current divider to calculate the bank ID can change. Given the Rockchip TRM not all gpio-banks have 32 pins per bank. The "gpio-ranges" syntax allows multiple items with variable number of pins. Use a constant ROCKCHIP_GPIOS_PER_BANK as fixed

Re: [PATCH 0/3] rockchip: gpio: Add support for RK3568 and RK3588

2023-03-20 Thread Kever Yang
Hi Jonas, On 2023/3/19 07:56, Jonas Karlman wrote: This series adds support for RK3568 and RK3588 in the rk gpio driver. It also reverts the use of gpio-ranges to set gpio bank id and instead add gpio aliases and instead use the alias sequence as the bank id. There is another patch set from

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-20 Thread yanhong wang
On 2023/3/20 22:28, Andreas Schwab wrote: > On Mär 16 2023, Yanhong Wang wrote: > >> This is the initial basic config for StarFive VisionFive v2 board. It >> includes consol, Norflash, sdio, ddr etc. > > Are you also planning to add a config for the 1.2a version? > Except for

Re: [PATCH 03/13] input: Only reset the keyboard when running bare metal

2023-03-20 Thread Bin Meng
Hi Simon, On Tue, Mar 21, 2023 at 2:40 AM Simon Glass wrote: > > Hi Bin, > > On Mon, 20 Mar 2023 at 19:32, Bin Meng wrote: > > > > Hi Simon, > > > > On Tue, Feb 21, 2023 at 3:49 AM Simon Glass wrote: > > > > > > If U-Boot is not the first-stage bootloader we should not init the > > > keyboard,

[PULL] u-boot-sh/master

2023-03-20 Thread Marek Vasut
A single reset controller driver (part of the clock driver) fix for v2023.04 release. The following changes since commit 318af47668aa2347ca9bbf2114cb9af1d8739aca: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-coldfire (2023-03-15 12:03:17 -0400) are available in

Re: [PATCH v3 1/5] cmd: read: use part_get_info_by_dev_and_name_or_num() instead of open-coded dev_part parsing

2023-03-20 Thread Tom Rini
On Thu, Mar 02, 2023 at 09:12:21AM +0100, Rasmus Villemoes wrote: > Use the helper part_get_info_by_dev_and_name_or_num() for parsing a > dev[:part] string and obtaining the partition info in one go, instead > of open-coding all that. > > As a bonus, this will automatically allow using the

Re: [PATCH] configs: am62ax: enable secure device configs by default

2023-03-20 Thread Tom Rini
On Fri, Mar 17, 2023 at 06:37:11PM -0500, Bryan Brattlof wrote: > TI's security enforcing SoCs will authenticate each binary it loads by > comparing it's signature with keys etched into the SoC during the boot > up process. The am62ax family of SoCs by default will have some level of > security

Re: [PATCH] travis-ci: Add m68k M5208EVBE machine

2023-03-20 Thread Tom Rini
On Mon, Mar 20, 2023 at 08:46:47PM +0100, Marek Vasut wrote: > Add m68k M5208EVBE machine configured to test U-Boot m68k support. > > Signed-off-by: Marek Vasut Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH] board: ti: am62x: am62x: Include K3 common .env files

2023-03-20 Thread Tom Rini
rn Mon, Mar 20, 2023 at 10:53:56PM +0530, Nikhil M Jain wrote: > Include ti_armv7_common.env and ti/mmc.env, which includes' K3 common > environment variables used across different K3 boards. > > This patch depends on > https://lore.kernel.org/all/20230315052745.110502-1-n-fran...@ti.com/ > >

Re: [PATCH] include: configs: am62ax: Change to using .env

2023-03-20 Thread Tom Rini
On Mon, Mar 20, 2023 at 10:32:08PM +0530, Nikhil M Jain wrote: > Move to using .env file for setting up environment variables for am62ax. > > This patch depends on > https://lore.kernel.org/all/20230315052745.110502-1-n-fran...@ti.com/ > > Signed-off-by: Nikhil M Jain Reviewed-by: Tom Rini

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-20 Thread Pali Rohár
On Monday 20 March 2023 18:45:01 Pali Rohár wrote: > On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > > On Sun, 19 Mar 2023 at 18:20, Pali Rohár wrote: > > > > > On Sunday 19 March 2023 17:47:57 Pali Rohár wrote: > > > > On Sunday 19 March 2023 03:30:33 Martin Rowe wrote: > > > > > On Sun,

Re: [PATCH v4 16/17] riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device tree

2023-03-20 Thread Conor Dooley
On Thu, Mar 16, 2023 at 10:53:31AM +0800, Yanhong Wang wrote: > Add initial device tree for StarFive VisionFive v2 board. > > Signed-off-by: Yanhong Wang > Tested-by: Conor Dooley btw, are you running some sort of cc suppression argument to send-email? There's not much reason to do so for

Re: kwboot: Marvell Dove UART booting

2023-03-20 Thread Pali Rohár
On Monday 20 March 2023 13:48:35 Tony Dinh wrote: > Hi Pali, > > On Mon, Mar 20, 2023 at 1:33 PM Pali Rohár wrote: > > > > Hello! After longer time I have something new in this area. > > > > On Wednesday 16 February 2022 20:18:31 Tony Dinh wrote: > > > Hi Pali, > > > > > > Please see below. > >

Re: kwboot: Marvell Dove UART booting

2023-03-20 Thread Tony Dinh
Hi Pali, On Mon, Mar 20, 2023 at 1:33 PM Pali Rohár wrote: > > Hello! After longer time I have something new in this area. > > On Wednesday 16 February 2022 20:18:31 Tony Dinh wrote: > > Hi Pali, > > > > Please see below. > > > > On Tue, Feb 15, 2022 at 3:02 PM Pali Rohár wrote: > > > > > >

Re: kwboot: Marvell Dove UART booting

2023-03-20 Thread Pali Rohár
Hello! After longer time I have something new in this area. On Wednesday 16 February 2022 20:18:31 Tony Dinh wrote: > Hi Pali, > > Please see below. > > On Tue, Feb 15, 2022 at 3:02 PM Pali Rohár wrote: > > > > Hello! > > > > On Wednesday 22 December 2021 20:08:56 Tony Dinh wrote: > > > ***

[PATCH] ARM: renesas: Enable rswitch, serdes and PHY driver on R8A779F0 S4 Spider

2023-03-20 Thread Marek Vasut
Enable Renesas RSwitch driver, matching SERDES PHY driver and Marvell 10G ethernet PHY driver in R8A779F0 S4 Spider board configuration to make ethernet available via the RSwitch ports. Signed-off-by: Marek Vasut --- Cc: Hai Pham Cc: Joe Hershberger Cc: Marek Vasut Cc: Peng Fan Cc: Ramon

Re: [PATCH] netconsole: various improvements

2023-03-20 Thread Tony Dinh
Hi Pali, On Mon, Mar 20, 2023 at 1:00 AM Pali Rohár wrote: > > On Sunday 19 March 2023 16:25:25 Tony Dinh wrote: > > Hi Pali, > > > > On Sun, Mar 19, 2023 at 12:36 PM Pali Rohár wrote: > > > > > > On Saturday 18 March 2023 14:46:25 Tony Dinh wrote: > > > > - When Netconsole is running,

[PATCH] net: rswitch: Add Renesas Ethernet Switch

2023-03-20 Thread Marek Vasut
From: Phong Hoang This patch adds Ethernet Switch support that found on R-Car S4 (r8a779f0) SoC. This is extracted from multiple patches from downstream BSP, with additional rework of the network device registration. Signed-off-by: Hai Pham Signed-off-by: Marek Vasut Signed-off-by: Phong

[PATCH] travis-ci: Add m68k M5208EVBE machine

2023-03-20 Thread Marek Vasut
Add m68k M5208EVBE machine configured to test U-Boot m68k support. Signed-off-by: Marek Vasut --- Cc: Angelo Dureghello Cc: Stephen Warren Cc: Tom Rini --- bin/travis-ci/conf.M5208EVBE_qemu | 27 +++ .../u_boot_boardenv_M5208EVBE_qemu.py | 6 + 2

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-20 Thread Pali Rohár
On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > Dedicated UART still works, patching an MMC for UART with kwboot still > hangs after finishing transfer; no change. One more question. Did you set boot mode HW switches to UART position? Or are they in MMC position and magic boot pattern from

[PATCH v2 1/1] input: button_kbd: make driver complementary to gpio buttons

2023-03-20 Thread Svyatoslav Ryhel
Remove need of dts binding for button keyboard since it reuses gpio-keys binding. Select gpio-keys driver if button keyboard is selected since button keyboard can not operate on its own. Tested-by: Svyatoslav Ryhel # HTC One X T30 Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass ---

[PATCH v2 0/1] GPIO buttons keyboard driver update

2023-03-20 Thread Svyatoslav Ryhel
Remove need of dts binding for button keyboard since it reuses gpio-keys binding. Select gpio-keys driver if button keyboard is selected since button keyboard can not operate on its own. Changes from v1: - add reviewed-by - re-send after month Svyatoslav Ryhel (1): input: button_kbd: make

[PATCH v4 1/1] cmd: ums: abort mounting by pressing any key

2023-03-20 Thread Svyatoslav Ryhel
This patch introduses config which allows interrupt run of usb mass storage with any key. This is especially useful on devices with limited input capabilities like tablets and smatphones which have only gpio keys in direct access. Signed-off-by: Svyatoslav Ryhel --- cmd/Kconfig| 6

[PATCH v4 0/1] CMD commands improvements

2023-03-20 Thread Svyatoslav Ryhel
- add ability for 'ums' command to interrupt run of usb mass storage with any key. This is especially useful on devices with limited input capabilities like tablets and smatphones which have only gpio keys in direct access. Current implementation uses Kconfig entry. Changelog from v3 - re-send

Re: [PATCH] image-fit: aligned output of hash calculation

2023-03-20 Thread Simon Glass
Hi Christopher, On Mon, 20 Mar 2023 at 20:49, Christoph Fritz wrote: > > When calculating the hash of a FIT image, the result is being stored in > an unaligned memory location. This causes problems (wrong hash) with the > fsl_hash CAAM engine on i.mx7ulp. > > To fix the issue, this patch

Re: [PATCH v2 2/4] unit-test: cover run_commandf() by test-cases

2023-03-20 Thread Simon Glass
On Mon, 20 Mar 2023 at 21:23, Evgeny Bachinin wrote: > > As run_commandf() is variadic version of run_command() and just a wrapper, > hence apply similar run_command's test-cases. > > Let's avoid warning about empty string passing: > warning: zero-length gnu_printf format string

Re: [PATCH v2 4/4] test: exit: fix run_commandf() warnings

2023-03-20 Thread Simon Glass
On Mon, 20 Mar 2023 at 21:23, Evgeny Bachinin wrote: > > Fix warnings after adding printf-like attribute format for > run_commandf(): > warning: too many arguments for format [-Wformat-extra-args] > > Signed-off-by: Evgeny Bachinin > Reviewed-by: Simon Glass > --- > test/cmd/exit.c | 18

Re: [PATCH 29/33] doc: boards: amlogic: update documentation for WeTek Core2

2023-03-20 Thread Simon Glass
Hi Christian, On Tue, 21 Mar 2023 at 06:05, Christian Hewitt wrote: > > Improve documentation. > > Signed-off-by: Christian Hewitt > --- > doc/board/amlogic/wetek-core2.rst | 83 +-- > 1 file changed, 47 insertions(+), 36 deletions(-) This should really move to

Re: [PATCH v2 3/4] test: fdt: fix run_commandf() warnings

2023-03-20 Thread Simon Glass
On Mon, 20 Mar 2023 at 21:23, Evgeny Bachinin wrote: > > Fix warnings both for 32bit and 64bit architecture after adding > printf-like attribute format for run_commandf(): > warning: format ‘%x’ expects argument of type ‘unsigned int’, but > argument 2 has type ‘ulong {aka long unsigned int}’

Re: [PATCH 03/13] input: Only reset the keyboard when running bare metal

2023-03-20 Thread Simon Glass
Hi Bin, On Mon, 20 Mar 2023 at 19:32, Bin Meng wrote: > > Hi Simon, > > On Tue, Feb 21, 2023 at 3:49 AM Simon Glass wrote: > > > > If U-Boot is not the first-stage bootloader we should not init the > > keyboard, since it has already been done. Check for this. > > But re-init does no harm,

Re: [PATCH v2 1/4] cli: run_commandf(): small fixups

2023-03-20 Thread Simon Glass
On Mon, 20 Mar 2023 at 21:23, Evgeny Bachinin wrote: > > * vsnprintf() can truncate cmd, hence it makes no sense to launch such > command (it's broken). Moreover, it's better to signalize to the caller > about such case (for facilitating debugging or bug hunting). > > * Fix kernel-doc warnings: >

Re: [PATCH v2 2/2] rockchip: otp: fix misc_read() return values

2023-03-20 Thread Simon Glass
On Tue, 21 Mar 2023 at 06:18, John Keeping wrote: > > The documentation for misc_read() says: > > Return: number of bytes read if OK (may be 0 if EOF), -ve on error > > The Rockchip efuse driver implements this so it should return the number > of bytes read rather than zero on success. Fix

Re: [PATCH v2 1/2] rockchip: efuse: fix misc_read() return values

2023-03-20 Thread Simon Glass
On Tue, 21 Mar 2023 at 06:18, John Keeping wrote: > > The documentation for misc_read() says: > > Return: number of bytes read if OK (may be 0 if EOF), -ve on error > > The Rockchip efuse driver implements this so it should return the number > of bytes read rather than zero on success. Fix

Re: [PATCH 2/2] efi_loader: fix device-path for USB devices

2023-03-20 Thread Simon Glass
Hi Heinrich, On Mon, 20 Mar 2023 at 09:58, Heinrich Schuchardt wrote: > > > > On 3/19/23 20:29, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 20 Mar 2023 at 04:25, Heinrich Schuchardt > > wrote: > >> > >> EFI device paths for block devices must be unique. If a non-unique device > >> path

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-20 Thread Pali Rohár
On Monday 20 March 2023 12:01:03 Martin Rowe wrote: > On Sun, 19 Mar 2023 at 18:20, Pali Rohár wrote: > > > On Sunday 19 March 2023 17:47:57 Pali Rohár wrote: > > > On Sunday 19 March 2023 03:30:33 Martin Rowe wrote: > > > > On Sun, 5 Mar 2023 at 11:55, Pali Rohár wrote: > > > > > > > > > On

Re: [PATCH RFC u-boot-mvebu 0/2] arm: mvebu: Fix eMMC boot

2023-03-20 Thread Pali Rohár
On Monday 20 March 2023 11:48:59 Martin Rowe wrote: > On Sun, 19 Mar 2023 at 16:22, Pali Rohár wrote: > > > On Sunday 19 March 2023 00:32:01 Martin Rowe wrote: > > > On Mon, 6 Mar 2023 at 11:53, Pali Rohár wrote: > > > > > > > Could you try to print mmc->part_config (ideally as early as

[PATCH] board: ti: am62x: am62x: Include K3 common .env files

2023-03-20 Thread Nikhil M Jain
Include ti_armv7_common.env and ti/mmc.env, which includes' K3 common environment variables used across different K3 boards. This patch depends on https://lore.kernel.org/all/20230315052745.110502-1-n-fran...@ti.com/ Signed-off-by: Nikhil M Jain --- board/ti/am62x/am62x.env | 74

[PATCH v2 1/2] rockchip: efuse: fix misc_read() return values

2023-03-20 Thread John Keeping
The documentation for misc_read() says: Return: number of bytes read if OK (may be 0 if EOF), -ve on error The Rockchip efuse driver implements this so it should return the number of bytes read rather than zero on success. Fix this so that the driver follows the usual contract for read

[PATCH v2 0/2] rockchip: fix efuse/otp misc_read return values

2023-03-20 Thread John Keeping
Fix the return value for misc_read() in the two Rockchip nvmem drivers so that they return the number of bytes read. In v2 the rockchip-efuse patch is change to correctly handle block_size > 1 and the rockchip-otp patch is new. John Keeping (2): rockchip: efuse: fix misc_read() return values

[PATCH v2 2/2] rockchip: otp: fix misc_read() return values

2023-03-20 Thread John Keeping
The documentation for misc_read() says: Return: number of bytes read if OK (may be 0 if EOF), -ve on error The Rockchip efuse driver implements this so it should return the number of bytes read rather than zero on success. Fix this so that the driver follows the usual contract for read

[PATCH] efi_loader: define allow_unaligned as 'asm volatile'

2023-03-20 Thread Ilias Apalodimas
Tom reports that compiling with LTO & EFI breaks armv7 and arm11* builds. The reason is that LTO (maybe a binutils bug?) replaces the asm version of allow_unaligned() with the __weak definition of the function. As a result EFI code ends up running with unaligned accesses disabled and eventually

[PATCH] include: configs: am62ax: Change to using .env

2023-03-20 Thread Nikhil M Jain
Move to using .env file for setting up environment variables for am62ax. This patch depends on https://lore.kernel.org/all/20230315052745.110502-1-n-fran...@ti.com/ Signed-off-by: Nikhil M Jain --- board/ti/am62ax/am62ax.env | 33 +

Re: [PATCH] fs: ext4: fix files seen as symlink during deletion

2023-03-20 Thread Tom Rini
On Fri, Mar 17, 2023 at 01:15:12PM +0100, Corentin GUILLEVIC wrote: > The deletion process handles special case for symlinks whose target are > small enough that it fits in struct ext2_inode.b.symlink. So no block had > been allocated. But the check of file type wrongly considered regular > files

Re: [PATCH] fs: fat: do not mangle short filenames

2023-03-20 Thread Tom Rini
On Fri, Mar 17, 2023 at 01:04:13PM +0100, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier > > Do not mangle lower or mixed case filenames which fit into the upper > case 8.3 short filename. This ensures FAT standard compatible short > filenames (SFN) to support systems without long

Re: [PATCH] rockchip: efuse: fix misc_read() return values

2023-03-20 Thread Jonas Karlman
Hi John, On 2023-03-20 17:38, John Keeping wrote: > The documentation for misc_read() says: > > Return: number of bytes read if OK (may be 0 if EOF), -ve on error > > The Rockchip efuse driver implements this so it should return the number > of bytes read rather than zero on success. Fix

[PATCH] rockchip: efuse: fix misc_read() return values

2023-03-20 Thread John Keeping
The documentation for misc_read() says: Return: number of bytes read if OK (may be 0 if EOF), -ve on error The Rockchip efuse driver implements this so it should return the number of bytes read rather than zero on success. Fix this so that the driver follows the usual contract for read

[PATCH] net: phy: gmii2rgmii: Support external rgmii-id phy

2023-03-20 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Read the phy mode of the external phy from the device tree if available. Signed-off-by: Stefan Herbrechtsmeier --- drivers/net/phy/xilinx_gmii2rgmii.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-20 Thread Andreas Schwab
On Mär 16 2023, Yanhong Wang wrote: > This is the initial basic config for StarFive VisionFive v2 board. It > includes consol, Norflash, sdio, ddr etc. Are you also planning to add a config for the 1.2a version? -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9

Re: [PATCH 30/33] doc: boards: amlogic: add documentation for BananaPi CM4IO

2023-03-20 Thread Christian Hewitt
> On 20 Mar 2023, at 4:13 pm, Neil Armstrong wrote: > > On 20/03/2023 12:46, Christian Hewitt wrote: >> Add build instructions for the BananaPi BPI-CM4IO carrier board with >> BPI-CM4 module. >> Signed-off-by: Christian Hewitt >> --- >> board/amlogic/u200/MAINTAINERS | 1 - >>

[PATCH 32/33] doc: boards: amlogic: add documentation for GS-King-X

2023-03-20 Thread Christian Hewitt
GS-King-X is also supported with the beelink-s922x FIP sources and can use the GT-King defconfig. Add a board document with instructions. Signed-off-by: Christian Hewitt --- board/amlogic/beelink-s922x/MAINTAINERS | 3 +- doc/board/amlogic/beelink-gskingx.rst | 121

[PATCH 33/33] doc: boards: amlogic: add documentation for ODROID-HC4

2023-03-20 Thread Christian Hewitt
Add separate documentation for the ODROID-HC4 board to ensure users build U-Boot using the HC4 defconfig that enables PCIe SATA boot. This avoids user frustration trying to boot after using the C4 recipe which only works from SD card. Signed-off-by: Christian Hewitt ---

[PATCH 31/33] doc: boards: amlogic: add documentation for BananaPi M5

2023-03-20 Thread Christian Hewitt
Add missing build documentation for the BPI-M5 board. Signed-off-by: Christian Hewitt --- doc/board/amlogic/bananapi-m5.rst | 141 ++ doc/board/amlogic/index.rst | 1 + 2 files changed, 142 insertions(+) create mode 100644 doc/board/amlogic/bananapi-m5.rst

[PATCH 28/33] doc: boards: amlogic: update documentation for W400

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/w400.rst | 115 - 1 file changed, 61 insertions(+), 54 deletions(-) diff --git a/doc/board/amlogic/w400.rst b/doc/board/amlogic/w400.rst index 38dbf52fb9..634fe1298d 100644 ---

[PATCH 29/33] doc: boards: amlogic: update documentation for WeTek Core2

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/wetek-core2.rst | 83 +-- 1 file changed, 47 insertions(+), 36 deletions(-) diff --git a/doc/board/amlogic/wetek-core2.rst b/doc/board/amlogic/wetek-core2.rst index 0147d5fbe2..5eba566af4

[PATCH 30/33] doc: boards: amlogic: add documentation for BananaPi CM4IO

2023-03-20 Thread Christian Hewitt
Add build instructions for the BananaPi BPI-CM4IO carrier board with BPI-CM4 module. Signed-off-by: Christian Hewitt --- board/amlogic/u200/MAINTAINERS | 1 - board/amlogic/w400/MAINTAINERS | 2 + doc/board/amlogic/bananapi-cm4io.rst | 152 +++

[PATCH 27/33] doc: boards: amlogic: update documentation for U200

2023-03-20 Thread Christian Hewitt
Signed-off-by: Christian Hewitt --- doc/board/amlogic/u200.rst | 113 +++-- 1 file changed, 59 insertions(+), 54 deletions(-) diff --git a/doc/board/amlogic/u200.rst b/doc/board/amlogic/u200.rst index 53213fdb68..6d1d66b4ea 100644 --- a/doc/board/amlogic/u200.rst

[PATCH 25/33] doc: boards: amlogic: update documentation for SEI510

2023-03-20 Thread Christian Hewitt
Signed-off-by: Christian Hewitt --- doc/board/amlogic/sei510.rst | 113 ++- 1 file changed, 59 insertions(+), 54 deletions(-) diff --git a/doc/board/amlogic/sei510.rst b/doc/board/amlogic/sei510.rst index c55e778494..09b0f53e16 100644 ---

[PATCH 22/33] doc: boards: amlogic: update documentation for Q200

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/q200.rst | 76 +- 1 file changed, 42 insertions(+), 34 deletions(-) diff --git a/doc/board/amlogic/q200.rst b/doc/board/amlogic/q200.rst index 3ac4116be4..c304980579 100644 ---

[PATCH 26/33] doc: boards: amlogic: update documentation for SEI610

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/sei610.rst | 118 ++- 1 file changed, 61 insertions(+), 57 deletions(-) diff --git a/doc/board/amlogic/sei610.rst b/doc/board/amlogic/sei610.rst index 2d754497cc..84aaeff4ed 100644 ---

[PATCH 24/33] doc: boards: amlogic: update documentation for S400

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/s400.rst | 89 -- 1 file changed, 47 insertions(+), 42 deletions(-) diff --git a/doc/board/amlogic/s400.rst b/doc/board/amlogic/s400.rst index c92817b421..b00fe64e1b 100644 ---

[PATCH 21/33] doc: boards: amlogic: update documentation for P201

2023-03-20 Thread Christian Hewitt
Improve documentation. Notably we can now support U-Boot install to the internal eMMC storage in addition to SD cards. Signed-off-by: Christian Hewitt --- doc/board/amlogic/p201.rst | 87 +++--- 1 file changed, 53 insertions(+), 34 deletions(-) diff --git

[PATCH 18/33] doc: boards: amlogic: update documentation for ODROID-N2/N2+

2023-03-20 Thread Christian Hewitt
Improve documentation. Notably mention the ODROID-N2+ and the option to use FDTDIR not FDT for automatic device-tree selection. Signed-off-by: Christian Hewitt --- doc/board/amlogic/odroid-n2.rst | 122 +--- 1 file changed, 65 insertions(+), 57 deletions(-) diff

[PATCH 16/33] doc: boards: amlogic: update documentation for ODROID-C4

2023-03-20 Thread Christian Hewitt
Improve documentation. Notably drop references to the ODROID-HC4 board as its support has evolved and we will add an HC4 specific document in a later patch. Signed-off-by: Christian Hewitt --- doc/board/amlogic/odroid-c4.rst | 117 1 file changed, 60

[PATCH 17/33] doc: boards: amlogic: update documentation for ODROID GO ULTRA

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/odroid-go-ultra.rst | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/doc/board/amlogic/odroid-go-ultra.rst b/doc/board/amlogic/odroid-go-ultra.rst index

[PATCH 15/33] doc: boards: amlogic: update documentation for ODROID-C2

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/odroid-c2.rst | 54 ++--- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/doc/board/amlogic/odroid-c2.rst b/doc/board/amlogic/odroid-c2.rst index 8a1be4bf55..82eea3820e

[PATCH 14/33] doc: boards: amlogic: update documentation for NanoPi-K2

2023-03-20 Thread Christian Hewitt
Improve documentation. Notably we can now support U-Boot install to the removable eMMC storage module in addition to SD cards. Signed-off-by: Christian Hewitt --- doc/board/amlogic/nanopi-k2.rst | 93 +++-- 1 file changed, 54 insertions(+), 39 deletions(-) diff

[PATCH 07/33] doc: boards: amlogic: update documentation for JetHub J80

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/jethub-j80.rst | 46 ++-- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/doc/board/amlogic/jethub-j80.rst b/doc/board/amlogic/jethub-j80.rst index f669a0118d..d20fbad4c5

[PATCH 04/33] doc: boards: amlogic: update documentation for Beelink GT-King

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/beelink-gtking.rst | 120 +-- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/doc/board/amlogic/beelink-gtking.rst b/doc/board/amlogic/beelink-gtking.rst index

[PATCH 05/33] doc: boards: amlogic: update documentation for Beelink GT-King Pro

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/beelink-gtkingpro.rst | 120 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/doc/board/amlogic/beelink-gtkingpro.rst b/doc/board/amlogic/beelink-gtkingpro.rst index

[PATCH 20/33] doc: boards: amlogic: update documentation for P200

2023-03-20 Thread Christian Hewitt
Improve documentation. Notably we can now support U-Boot install to the internal eMMC storage in addition to SD cards. Signed-off-by: Christian Hewitt --- doc/board/amlogic/p200.rst | 87 +++--- 1 file changed, 53 insertions(+), 34 deletions(-) diff --git

[PATCH 23/33] doc: boards: amlogic: update documentation for Radxa Zero

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/radxa-zero.rst | 45 +--- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/doc/board/amlogic/radxa-zero.rst b/doc/board/amlogic/radxa-zero.rst index f5611f52ec..e8a8d87320

[PATCH 19/33] doc: boards: amlogic: update documentation for ODROID-N2L

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/odroid-n2l.rst | 33 ++-- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/doc/board/amlogic/odroid-n2l.rst b/doc/board/amlogic/odroid-n2l.rst index afd4409d1b..b264ace7f5

[PATCH 13/33] doc: boards: amlogic: update documentation for LePotato

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/libretech-cc.rst | 109 +++-- 1 file changed, 40 insertions(+), 69 deletions(-) diff --git a/doc/board/amlogic/libretech-cc.rst b/doc/board/amlogic/libretech-cc.rst index

[PATCH 11/33] doc: boards: amlogic: update documentation for Khadas VIM3L

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/khadas-vim3l.rst | 137 ++--- 1 file changed, 68 insertions(+), 69 deletions(-) diff --git a/doc/board/amlogic/khadas-vim3l.rst b/doc/board/amlogic/khadas-vim3l.rst index

[PATCH 12/33] doc: boards: amlogic: update documentation for LaFrite

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/libretech-ac.rst | 77 -- 1 file changed, 42 insertions(+), 35 deletions(-) diff --git a/doc/board/amlogic/libretech-ac.rst b/doc/board/amlogic/libretech-ac.rst index

[PATCH 08/33] doc: boards: amlogic: update documentation for Khadas VIM

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/khadas-vim.rst | 76 +--- 1 file changed, 41 insertions(+), 35 deletions(-) diff --git a/doc/board/amlogic/khadas-vim.rst b/doc/board/amlogic/khadas-vim.rst index 04025d737c..f1fbe1a8a6

[PATCH 10/33] doc: boards: amlogic: update documentation for Khadas VIM3

2023-03-20 Thread Christian Hewitt
Improve documentation. Signed-off-by: Christian Hewitt --- doc/board/amlogic/khadas-vim3.rst | 137 +++--- 1 file changed, 68 insertions(+), 69 deletions(-) diff --git a/doc/board/amlogic/khadas-vim3.rst b/doc/board/amlogic/khadas-vim3.rst index 73dc32b79b..88f2e0ebbe

  1   2   >