Re: Converting to DM SERIAL for Kirkwood boards

2022-12-18 Thread Stefan Roese
Hi Tony, On 12/19/22 07:17, Stefan Roese wrote: git checkout 37bb396669b27aa62fe8bc5eeb6bfde92e09c2d3 Previous HEAD position was 3b44b3fdf2 arm: mvebu: Add support for programming LD0 and LD1 eFuse HEAD is now at 37bb396669 timer: orion-timer: Only init timer once This is where the Pogo V4 w

Re: [PATCH v4 3/5] rockchip: px30: insert u-boot, spl-boot-device into U-Boot device tree

2022-12-18 Thread Kever Yang
Hi Quentin,     I got below error for this patch: +arch/arm/mach-rockchip/px30/px30.c: In function 'spl_perform_fixups': 2782 +arch/arm/mach-rockchip/px30/px30.c:475:18: error: implicit declaration of function 'fdt_f

Re: [PATCH 2/2] efi_selftest: conformance test for GetNextVariableName

2022-12-18 Thread Ilias Apalodimas
Hi Heinrich On Sun, 18 Dec 2022 at 08:09, Heinrich Schuchardt wrote: > > Test that GetNextVariableName() checks the parameters. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_selftest/efi_selftest_variables.c | 35 +++ > 1 file changed, 35 insertions(+) > > diff --gi

[PATCH v4 1/2] arm: mediatek: add mt8195 SOC support

2022-12-18 Thread Macpaul Lin
From: Fabien Parent The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 and a quad-core Cortex-A53. It is including UART, SPI, USB3.0 device and hosts, SD and MMC cards, UFS, PWM, I2C, I2S, S/PDIF, and several LPDDR3 and LPDDR4 options. Signed-off-by: Fabien Parent Signed-off-b

[PATCH v4 2/2] board: mediatek: add mt8195 demo board

2022-12-18 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 + arch/a

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-18 Thread Stefan Roese
Hi Tony, On 12/19/22 01:17, Tony Dinh wrote: Hi Stefan, On Fri, Dec 16, 2022 at 1:49 PM Tony Dinh wrote: Hi Stefan, Yes, I also think we need Kconfig changes for Kirwood. I will try that and send in patches. Hi Pali, I hope debugging this will be a bit quicker now that I can tell that it go

Pull request: u-boot-rockchip-20221219

2022-12-18 Thread Kever Yang
Hi Tom, Please pull the rockchip updates: - Only call binman when TPL available; - rk3128 DTS fix; - Fix GPT table corruption for rk3399 puma ; - Fix i2c for rk3399 Pinebookpro; - Enable UEFI capsule update for RockPi4; Gitlab ci: https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip/pipelines

Re: [PATCH v3 2/2] board: mediatek: add mt8195 demo board

2022-12-18 Thread Macpaul Lin
On 12/13/22 03:02, Tom Rini wrote: On Mon, Dec 12, 2022 at 01:53:05PM -0500, Tom Rini wrote: On Mon, Dec 12, 2022 at 11:53:04AM -0500, Tom Rini wrote: On Thu, Nov 10, 2022 at 03:34:53PM +0800, Macpaul Lin wrote: From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses

Re: [PATCH u-boot] powerpc/mpc85xx: Pass correct cpu compiler flags

2022-12-18 Thread Vagrant Cascadian
On 2022-12-13, Pali Rohár wrote: > Vagrant and Aurelien, could you test if this change fully fixes your > Debian issue? Well, apparently the issue has been fixed some other way, as u-boot 2022.03-rc3 builds the qemu-ppce500 target fine in Debian with binutils 2.39.50.20221208-5 even without the ol

[PATCH v3] doc: add texinfodocs and infodocs targets

2022-12-18 Thread Maxim Cournoyer
Sphinx supports generating Texinfo sources and Info documentation, which can be navigated easily and is convenient to search (via the indexed nodes or anchors, for example). This is basically the same as 1f050e904dd6f2955eecbd22031d912ccb2e7683, which was recently applied to the Linux kernel. Sig

[PATCH v2 2/2] eficonfig: avoid SetVariable between GetNextVariableName calls

2022-12-18 Thread Masahisa Kojima
The current code calls efi_set_variable_int() to delete the invalid boot option between calls to efi_get_next_variable_name_int(), it may produce unpredictable results. This commit moves removal of the invalid boot option outside of the efi_get_next_variable_name_int() calls. EFI_NOT_FOUND returne

[PATCH v2 1/2] eficonfig: carve out efi_get_next_variable_name_int calls

2022-12-18 Thread Masahisa Kojima
To retrieve the EFI variable name by efi_get_next_variable_name_int(), the sequence of alloc -> efi_get_next_variable_name_int -> realloc -> efi_get_next_variable_name_int is required. In current code, this sequence repeatedly appears in the several functions. It should be curved out a common funct

[PATCH v2 0/2] fix eficonfig GetNextVariableName calls handling

2022-12-18 Thread Masahisa Kojima
This series includes refactoring and bugfix of GetNextVariableName calls in eficonfig. After "eficonfig: carve out efi_get_next_variable_name_int calls" patch is merged, I will send the follow-up patch to use common function in cmd/efidebug.c and cmd/nvedit_efi.c. These files also implement alloc

[PATCH 9/9] patman: document default 'send' command

2022-12-18 Thread Maxim Cournoyer
Document that this command is the default and what it's intended for. Signed-off-by: Maxim Cournoyer --- tools/patman/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/patman/__main__.py b/tools/patman/__main__.py index 82cef4fc0b..11f19281fb 100755 --- a/t

[PATCH 6/9] patman: add pytest configuration file

2022-12-18 Thread Maxim Cournoyer
With this change, a user can run the patman test suite using Pytest the same as when using 'patman test': $ cd tools/patman && pytest [...] 44 passed, 8 warnings in 8.87s $ ./patman test Ran 44 tests in 8.460s Signed-off-by: Maxim Cournoyer --- tools/patman/pytest.ini | 2

[PATCH 7/9] patman: hide the 'test' action unless test data is available

2022-12-18 Thread Maxim Cournoyer
Some tests would fail when the test data is not available, so it doesn't make much sense to expose the action when patman is running outside of the u-boot git checkout. Signed-off-by: Maxim Cournoyer --- tools/patman/__main__.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) di

[PATCH 5/9] patman: rename main script to __main__.py

2022-12-18 Thread Maxim Cournoyer
This allows running the package as a Python module, like e.g.: $ python -m patman It also prevents Pytest from attempting to parse main.py, which would cause errors. Signed-off-by: Maxim Cournoyer --- tools/patman/{main.py => __main__.py} | 0 tools/patman/patman | 2 +-

[PATCH 8/9] patman: document how to run test suite via pytest

2022-12-18 Thread Maxim Cournoyer
Pytest offers useful features such as selecting tests by means of a regular expression, or running the pdb debugger upon encountering a test failure. Signed-off-by: Maxim Cournoyer --- tools/patman/patman.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/patman/patman.rst b/to

[PATCH 4/9] patman: fix test_indent test

2022-12-18 Thread Maxim Cournoyer
The checkpatch.pl script indentation check now checks that lines start with tabs an complains otherwise, so to make the test fail, start a line with spaces. This is now also emitted as a warning rather than as a check. Signed-off-by: Maxim Cournoyer --- tools/patman/test_checkpatch.py | 11 +++

[PATCH 3/9] patman: invoke the checkpatch.pl script with '--u-boot'

2022-12-18 Thread Maxim Cournoyer
This resolves 10 out of 11 test failures seen when running 'tools/patman/patman test', which were caused by a change in the checkpatch.pl script. Signed-off-by: Maxim Cournoyer --- tools/patman/checkpatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/checkp

[PATCH 2/9] patman: locate test data files via __file__ and pathlib

2022-12-18 Thread Maxim Cournoyer
Previously it would rely on the executing script location, which could break for example when running the tests via 'pytest'. Signed-off-by: Maxim Cournoyer --- tools/patman/func_test.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/patman/func_test.py b/tool

[PATCH 1/9] patman: cosmetic: Fix PEP 8 warnings for the gitutil module.

2022-12-18 Thread Maxim Cournoyer
This patch fixes all the PEP 8 warnings reported by Pyflake for the gitutil module. Signed-off-by: Maxim Cournoyer --- tools/patman/gitutil.py | 106 1 file changed, 65 insertions(+), 41 deletions(-) diff --git a/tools/patman/gitutil.py b/tools/patman/g

Re: Pull request for efi-2023-01-rc4

2022-12-18 Thread Tom Rini
On Sat, Dec 17, 2022 at 03:30:56PM +, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 9bd3d354a1a0712ac27c717df9ad60566b0406ee: > > Merge https://source.denx.de/u-boot/custodians/u-boot-x86 (2022-12-15 > 13:06:00 -0500) > > are available in the Git repository

Re: Pull request: u-boot-sunxi/master for 2023.01

2022-12-18 Thread Tom Rini
On Sat, Dec 17, 2022 at 01:51:14AM +, Andre Przywara wrote: > Hi Tom, > > please pull some fixes for sunxi. > This cleans up each board's defconfig, and fixes the serial console on > some Olimex board. Also we lose another legacy config variable. > The rest are minor cleanups, that actually s

Re: [PATCH] doc: add texinfodocs and infodocs targets

2022-12-18 Thread Tom Rini
On Sat, Dec 17, 2022 at 01:27:52PM +, Heinrich Schuchardt wrote: > On 12/17/22 02:51, Maxim Cournoyer wrote: > > Sphinx supports generating Texinfo sources and Info documentation, > > which can be navigated easily and is convenient to search (via the > > indexed nodes or anchors, for example).

Re: [PATCH] Makefile: With BINMAN_ALLOW_MISSING=1 don't error on missing

2022-12-18 Thread Tom Rini
On Sat, Dec 17, 2022 at 02:40:36PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 13 Dec 2022 at 09:39, Tom Rini wrote: > > > > On Mon, Dec 12, 2022 at 10:59:01PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 12 Dec 2022 at 16:43, Tom Rini wrote: > > > > > > > > On Tue, Dec 06, 20

Re: [PATCH] Makefile: With BINMAN_ALLOW_MISSING=1 don't error on missing

2022-12-18 Thread Tom Rini
On Mon, 5 Dec 2022 21:03:36 -0500, Tom Rini wrote: > When the user builds with BINMAN_ALLOW_MISSING=1 they're explicitly > setting the flag to allow for additional binaries to be missing and so > have acknowledged the output might not work. In this case we want to > default to not passing a non-ze

[PATCH 2/2] mtd: spi-nor: Add support for Infineon s25fs256t

2022-12-18 Thread tkuw584924
From: Takahiro Kuwano Infineon S25FS256T is 256Mbit Quad SPI NOR flash. The key features and differences comparing to other Spansion/Cypress flash familes are: - 4-byte address mode by factory default - Quad mode is enabled by factory default - Supports mixture of 128KB and 64KB sectors by

[PATCH 1/2] mtd: spi-nor: Rename s25hx_t prefix

2022-12-18 Thread tkuw584924
From: Takahiro Kuwano Rename s25hx_t prefix to s25 so that the single set of fixup hooks can support all other S25 families. Signed-off-by: Takahiro Kuwano --- drivers/mtd/spi/spi-nor-core.c | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git

[PATCH 0/2] Add support for Infineon s25fs256t

2022-12-18 Thread tkuw584924
From: Takahiro Kuwano Infineon S25FS256T is 256Mb QSPI NOR Flash. https://www.infineon.com/dgdlac/Infineon-S25FS256T_256Mb_SEMPER_Nano_Flash_Quad_SPI_1.8V-DataSheet-v12_00-EN.pdf?fileId=8ac78c8c80027ecd0180740c5a46707a Tested on Xilinx Zynq-7000 FPGA board. Takahiro Kuwano (2): mtd: spi-nor:

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-18 Thread Tony Dinh
Hi Stefan, On Fri, Dec 16, 2022 at 1:49 PM Tony Dinh wrote: > > Hi Stefan, > Yes, I also think we need Kconfig changes for Kirwood. I will try that > and send in patches. > > Hi Pali, > I hope debugging this will be a bit quicker now that I can tell that > it got stuck (hung or infinite loop) in

[PATCH 2/2] test: cmd: exit: Add unit test for exit and partly run commands

2022-12-18 Thread Marek Vasut
Add a test which validates that exit from environment script works as expected, including return value propagation and clipping to positive integers. Signed-off-by: Marek Vasut --- Cc: Adrian Vovk Cc: Hector Palacios Cc: Pantelis Antoniou Cc: Simon Glass Cc: Tom Rini --- include/test/suites

[PATCH 1/2] cmd: exit: Fix return value propagation out of environment scripts

2022-12-18 Thread Marek Vasut
Make sure the 'exit' command as well as 'exit $val' command exits from environment scripts immediately and propagates return value out of those scripts fully. That means the following behavior is expected: " => setenv foo 'echo bar ; exit 1' ; run foo ; echo $? bar 1 => setenv foo 'echo bar ; exit

Re: RFC: Handling of multiple EFI System Partitions

2022-12-18 Thread Heinrich Schuchardt
Am 18. Dezember 2022 15:21:06 MEZ schrieb Mark Kettenis : >The Asahi installer, which is what most people use to get their Apple >Silicon Mac into a state where it is possible to install another OS on >the machine, offers the posibility to create multiple OS installs. >For each of these it crea

RFC: Handling of multiple EFI System Partitions

2022-12-18 Thread Mark Kettenis
The Asahi installer, which is what most people use to get their Apple Silicon Mac into a state where it is possible to install another OS on the machine, offers the posibility to create multiple OS installs. For each of these it creates a separate APFS partition (which holds among other things, som

Re: [PATCH] rockchip: rk3399: pass platform parameter to TF-A by default

2022-12-18 Thread Michal Suchánek
Hello, On Sun, Dec 18, 2022 at 06:00:13PM +0800, Kever Yang wrote: > Hi Quentin, > >     I would prefer you to remove SPL_ATF_NO_PLATFORM_PARAM in those boards > you have test, then we will have no end of this problem. > > there may have some boards using legacy ATF binary but still want to us

Re: [PATCH v2] doc: add texinfodocs and infodocs targets

2022-12-18 Thread Heinrich Schuchardt
On 12/18/22 01:31, Maxim Cournoyer wrote: Sphinx supports generating Texinfo sources and Info documentation, which can be navigated easily and is convenient to search (via the indexed nodes or anchors, for example). This is basically the same as 1f050e904dd6f2955eecbd22031d912ccb2e7683, which wa

[u-boot][master][PATCH 3/3] pico-imx7d: update defconfigs of pico-imx7d baseboards

2022-12-18 Thread egyszeregy
From: Benjamin Szőke Update defconfigs of pico-imx7d baseboards. In freescale community default CONFIG_SPL_FS_LOAD_PAYLOAD_NAME is "u-boot-dtb.img". Signed-off-by: Benjamin Szőke --- configs/pico-dwarf-imx7d_defconfig | 6 ++ configs/pico-hobbit-imx7d_defconfig | 6 ++ configs/pico-im

[u-boot][master][PATCH 2/3] pico-imx7d: add baseboard SD card boot detect

2022-12-18 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 82 + board/technexion/pico-imx7d/pico-imx7d_spl.c | 92 ++-- include/configs/pic

[u-boot][master][PATCH 1/3] pico-imx7d: add support for 2GB memory SoMs

2022-12-18 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support SoMs with 2GB DDR3. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/Makefile | 2 +- .../pico-imx7d/{spl.c => pico-imx7d_spl.c}| 30 +-- 2 files changed, 28 insertions(+), 4 deletions(-)

[PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2022-12-18 Thread Filip Žaludek
Hello, change seems to be unfriendly to RPi3B+, it allows to enter 'U-Boot>' shell but usb keyboard does not respond. Keyboard is detected by 'usb info' in v2023.01-rc3, not in v2022.10. When reverted, usb keyboard works as expected. Anybody sitting front of RPi3B+ care to confirm? Regard

[PATCH] rockchip: Only call binman when TPL available

2022-12-18 Thread Kever Yang
Rockchip platform use TPL to do the DRAM initialize for all the SoCs, if TPL is not available, means no available DRAM init program, and the u-boot-rockchip.bin is not functionable. Signed-off-by: Kever Yang --- arch/arm/dts/rockchip-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH v1 4/4] arm: s5p4418: dm_serial: remove old code / add DEBUG_UART

2022-12-18 Thread Stefan Bosch
Remove init of UART-clock and UART-reset in arch_cpu_init(). Add DEBUG_UART to s5p4418_nanopi2_defconfig. Signed-off-by: Stefan Bosch --- arch/arm/cpu/armv7/s5p4418/cpu.c | 29 - arch/arm/mach-nexell/clock.c | 2 +- configs/s5p4418_nanopi2_defconfig | 8 +

[PATCH v1 3/4] arm: s5p4418: dm_serial: switch to DM_SERIAL

2022-12-18 Thread Stefan Bosch
Switch the S5P4418-SOC and therefore the s5p4418_nanopi2 board to DM_SERIAL. Signed-off-by: Stefan Bosch --- arch/arm/mach-nexell/Kconfig | 4 ++-- drivers/serial/Kconfig | 9 + drivers/serial/Makefile | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arc

[PATCH v1 2/4] arm: s5p4418: dm_serial: add uarts to dts

2022-12-18 Thread Stefan Bosch
Add S5P4418 UARTs and appropriate pinctrl to dts. Add UART to s5p4418-nanopi2.dts. Signed-off-by: Stefan Bosch --- arch/arm/dts/s5p4418-nanopi2.dts | 6 +++ arch/arm/dts/s5p4418-pinctrl.dtsi | 71 +++ arch/arm/dts/s5p4418.dtsi | 40 + 3 file

[PATCH v1 1/4] arm: s5p4418: dm_serial: add driver source code

2022-12-18 Thread Stefan Bosch
Add dm_serial driver source code for S5P4418 SOC. Extend the "arm,pl011" driver by init of UART-clock and UART-reset. Signed-off-by: Stefan Bosch --- MAINTAINERS | 1 + drivers/serial/serial_s5p4418_pl011.c | 94 +++ 2 files changed, 95 inserti

[PATCH v1 0/4] arm: s5p4418: migrate to DM_SERIAL

2022-12-18 Thread Stefan Bosch
This patch-series migrates the S5P4418-SOC and therefore also the s5p4418_nanopi2 board from CONFIG_SERIAL to CONFIG_DM_SERIAL. Stefan Bosch (4): arm: s5p4418: dm_serial: add driver source code arm: s5p4418: dm_serial: add uarts to dts arm: s5p4418: dm_serial: switch to DM_SERIAL arm: s

Re: [PATCH] powerpc: dts: keymile: Deduplicate binman code

2022-12-18 Thread Christophe Leroy
Le 18/12/2022 à 11:59, Pali Rohár a écrit : > On Sunday 18 December 2022 09:29:23 Christophe Leroy wrote: - binman { - filename = "u-boot-with-dtb.bin"; - skip-at-start = ; - sort-by-offset; - pa

Re: [PATCH] powerpc: dts: keymile: Deduplicate binman code

2022-12-18 Thread Pali Rohár
On Sunday 18 December 2022 09:29:23 Christophe Leroy wrote: > Le 17/12/2022 à 23:15, Pali Rohár a écrit : > > + Christophe and Mario: Could you please take this u-boot ppc patch? > > > > On Friday 16 December 2022 19:16:38 Pali Rohár wrote: > >> PING? > >> > >> On Monday 21 November 2022 18:40:41

Re: [PATCH v4 25/25] board: rockchip: Add Edgeble Neu2 IO Board

2022-12-18 Thread Kever Yang
On 2022/12/15 01:51, Jagan Teki wrote: Neural Compute Module 2(Neu2) IO board is an industrial form factor IO board from Edgeble AI. General features: - microSD slot - MIPI DSI connector - 2x USB Host - 1x USB OTG - Ethernet - mini PCIe - Onboard PoE - RS485, RS232, CAN - Micro Phone array - S

Re: [PATCH v4 23/25] ARM: dts: rockchip: rv1126: Add Edgeble Neural Compute Module 2(Neu2) IO

2022-12-18 Thread Kever Yang
On 2022/12/15 01:51, Jagan Teki wrote: Neural Compute Module 2(Neu2) IO board is an industrial form factor evaluation board from Edgeble AI. General features: - microSD slot - MIPI DSI connector - 2x USB Host - 1x USB OTG - Ethernet - mini PCIe - Onboard PoE - RS485, RS232, CAN - Micro Phone a

Re: [PATCH v4 22/25] ARM: dts: rockchip: rv1126: Add Edgeble Neural Compute Module 2(Neu2)

2022-12-18 Thread Kever Yang
On 2022/12/15 01:51, Jagan Teki wrote: Neural Compute Module 2(Neu2) is a 96boards SoM-CB compute module based on Rockchip RV1126 from Edgeble AI. General features: - Rockchip RV1126 - 2/4GB LPDDR4 - 8/16/32GB eMMC - 2x MIPI CSI2 FPC connector - Fn-link 8223A-SR WiFi/BT Industrial grade (-40

Re: [PATCH v4 18/25] ARM: dts: rockchip: Add Rockchip RV1126 SoC

2022-12-18 Thread Kever Yang
On 2022/12/15 01:51, Jagan Teki wrote: RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. It is based on quad-core ARM Cortex-A7 32-bit core which integrates NEON and FPU. There is a 32KB I-cache and 32KB D-cache for each core and 512KB unifie

Re: [PATCH] phy: rockchip: handle clock without enable function

2022-12-18 Thread Kever Yang
On 2022/12/6 20:48, John Keeping wrote: If a clock doesn't supply the enable hook, clk_enable() will return -ENOSYS. In this case the clock is always enabled so there is no error and the phy initialisation should continue. Signed-off-by: John Keeping Reviewed-by: Kever Yang Thanks, - Keve

Re: [PATCH] rockchip: Pinebook Pro: Do not initialize i2c before relocation

2022-12-18 Thread Kever Yang
Hi Simon, On 2022/12/6 07:55, Simon Glass wrote: Hi, On Tue, 6 Dec 2022 at 11:25, Tom Rini wrote: On Mon, Dec 05, 2022 at 09:35:41PM +, Peter Robinson wrote: On Sat, Dec 3, 2022 at 12:31 PM Michal Suchanek wrote: The i2c locks up when initialized before relocation, and it stays broken

Re: [PATCH] rockchip: Pinebook Pro: Do not initialize i2c before relocation

2022-12-18 Thread Kever Yang
On 2022/12/3 20:31, Michal Suchanek wrote: The i2c locks up when initialized before relocation, and it stays broken in Linux as well breaking the ability to boot Linux. The i2c bus and pmic was not actually used in pre-reloc before commit ad607512f575 ("power: pmic: rk8xx: Support sysreset shu

Re: [PATCH v4 5/5] rockchip: add support for PX30 Ringneck SoM on Haikou Devkit

2022-12-18 Thread Kever Yang
On 2022/11/29 20:19, Quentin Schulz wrote: From: Quentin Schulz The PX30-µQ7 (Ringneck) is a system-on-module featuring the Rockchip PX30 in a micro Qseven-compatible form-factor. PX30-µQ7 features: * CPU: quad-core Cortex-A35 * DRAM: 2GB dual-channel * eMMC: onboa

Re: [PATCH v4 3/5] rockchip: px30: insert u-boot, spl-boot-device into U-Boot device tree

2022-12-18 Thread Kever Yang
On 2022/11/29 20:19, Quentin Schulz wrote: From: Quentin Schulz It is possible to boot U-Boot proper from a different storage medium than the one used by the BOOTROM to load the SPL. This information is stored in the u-boot,spl-boot-device Device Tree property and is accessible from U-Boot pr

Re: [PATCH v2] configs: roc-pc-rk3399: Enable rockchip efuse support

2022-12-18 Thread Kever Yang
On 2022/11/23 21:59, Christopher Obbard wrote: Enable efuse support which allows reading of the cpuid#, serial# and also generates a unique mac address from the board's serial. Signed-off-by: Christopher Obbard Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v2: - added missing con

Re: [PATCH 2/2] rockchip: mkimage: make RC4 key const

2022-12-18 Thread Kever Yang
On 2022/11/19 00:13, John Keeping wrote: This is read-only data, so mark it as such. Signed-off-by: John Keeping Reviewed-by: Kever Yang Thanks, - Kever --- tools/rkcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 0d

Re: [PATCH 1/2] rc4: mark key as const

2022-12-18 Thread Kever Yang
On 2022/11/19 00:13, John Keeping wrote: Key data is never written so the parameter can be const, which allows putting fixed keys in .rodata. Signed-off-by: John Keeping Reviewed-by: Kever Yang Thanks, - Kever --- include/rc4.h | 2 +- lib/rc4.c | 2 +- 2 files changed, 2 insertio

Re: [PATCH] rockchip: puma-rk3399: sync DTS with Linux kernel next-20221114

2022-12-18 Thread Kever Yang
On 2022/11/15 22:46, Quentin Schulz wrote: From: Quentin Schulz This synchronizes the Device Trees related to Puma RK3399 SoM with Linux kernel next-20221114 to include two important changes pertaining to eMMC and SD card instability. Cc: Quentin Schulz Signed-off-by: Quentin Schulz Revie

Re: [PATCH] board: rockchip: Add support for Rock Pi S

2022-12-18 Thread Kever Yang
Hi Angelo,     1. please add simple description about this board like other new board add;     2. please add mainline kernel commit number or tag for dts;     3. please split tht dts change and board support change into two patches. Thanks, - Kever On 2022/11/15 16:55, Angelo Compagnucc

Re: [PATCH] rockchip: rk3399: pass platform parameter to TF-A by default

2022-12-18 Thread Kever Yang
Hi Quentin,     I would prefer you to remove SPL_ATF_NO_PLATFORM_PARAM in those boards you have test, there may have some boards using legacy ATF binary but still want to use mainline U-Boot which may have problem with this update. Thanks, - Kever On 2022/11/15 01:37, Quentin Schulz wro

Re: [PATCH v2] rockchip: px30: make watchdog and tsadc trigger a first global reset

2022-12-18 Thread Kever Yang
On 2022/11/11 19:25, Quentin Schulz wrote: From: Quentin Schulz By default, the PX30 is configured for watchdog and tsadc to trigger a second global reset which is a more permissive reset than first global reset. >From TRM part 1 "2.3 System Reset Solution": glb_srstn_1 will reset the all lo

Re: [PATCH] rockchip: puma: fix GPT table corruption when saving U-Boot environment

2022-12-18 Thread Kever Yang
On 2022/10/25 18:58, Quentin Schulz wrote: From: Quentin Schulz The GPT table is taking the first 34 sectors, which amounts to 0x4400 bytes. Saving the environment below this address in storage will corrupt the GPT table. While technically the table ends at 0x4400, some tools (e.g. bmaptool)

Re: [PATCH 3/3] rockchip: Add initial support for the PINE64 Pinephone Pro

2022-12-18 Thread Kever Yang
On 2022/10/25 15:52, Peter Robinson wrote: The Pinephone Pro is another device by PINE64. It's closely related to the Pinebook Pro of which this initial support is derived from. Specification: - A variant of the Rockchip RK3399 - A 6 inch 720*1440 DSI display - Front and rear cameras - Type-C

Re: [PATCH 2/3] arm64: dts: rk3399: Add upstream Pinephone Pro dts

2022-12-18 Thread Kever Yang
On 2022/10/25 15:52, Peter Robinson wrote: Initial support for the PinePhone Pro has now landed upstream in Linux 6.1 RC1 so sync the dts from upstream for initial support. Signed-off-by: Peter Robinson Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/Makefile |

Re: [PATCH 1/3] arm64: dts: rk3399: sync rk3399.dtsi from 6.1-rc1

2022-12-18 Thread Kever Yang
On 2022/10/25 15:52, Peter Robinson wrote: Sync rk3399.dtsi and associated bindings includes. Fix up building of clk/rockchip/clk_rk3399.c for the changes as well as adjusting the rk3399-u-boot.dtsi for the new upstream pieces. Signed-off-by: Peter Robinson Reviewed-by: Kever Yang Thanks,

Re: [PATCH] arm: dts: rockchip: add support for ROCK 4C+

2022-12-18 Thread Kever Yang
Hi Naoki,     Please add simple descrption for this new board, and does the dts merged in mainline kernel? if yes, please reference the commit number or tag. Thanks, - Kever On 2022/10/19 15:37, FUKAUMI Naoki wrote: this patch add support for Radxa ROCK 4C Plus. Signed-off-by: FUKAUMI Na

Re: [PATCH] arm: dts: rockchip: enable ums/rockusb command for ROCK Pi 4

2022-12-18 Thread Kever Yang
On 2022/10/19 15:12, FUKAUMI Naoki wrote: this patch add USB mass storage function and Rockusb function for Radxa ROCK Pi 4 series. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock-pi-4-rk3399_defconfig | 3 +++ configs/rock-pi-4c-rk3399_defconfig

Re: [PATCH] powerpc: dts: keymile: Deduplicate binman code

2022-12-18 Thread Christophe Leroy
Le 17/12/2022 à 23:15, Pali Rohár a écrit : > + Christophe and Mario: Could you please take this u-boot ppc patch? > > On Friday 16 December 2022 19:16:38 Pali Rohár wrote: >> PING? >> >> On Monday 21 November 2022 18:40:41 Pali Rohár wrote: >>> + Tom >>> >>> On Tuesday 01 November 2022 23:57:08