Boot devices are being probed when SPL boot order is determined, this
may unnecessarily delay boot slightly.
Instead defer probe of the boot device until SPL try to load image from
the boot device by using uclass_find_device_by_of_offset() instead of
the get variant.
Signed-off-by: Jonas Karlman
fail cpu cpu@700
Signed-off-by: Jonas Karlman
---
v2: Mention RK3582 in generic board device tree and documentation
---
arch/arm/dts/rk3588-generic.dts | 4 ++--
configs/generic-rk3588_defconfig | 1 +
doc/board/rockchip/rockchip.rst | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff
policy as vendor U-Boot for RK3582, i.e. two big cpu
cores and the gpu is always failed/disabled.
Enable Kconfig option OF_SYSTEM_SETUP in board defconfig to make use of
the required DT fixups for RK3582 board variants.
Signed-off-by: Jonas Karlman
---
Changes in v2:
- Refactor code to first
fail rkvdec0
fail rkvdec1
fail rkvenc1
fail cpu cpu@600
fail cpu cpu@700
Signed-off-by: Jonas Karlman
---
v2: New patch
---
arch/arm/mach-rockchip/rk3588/Kconfig | 9 +
configs/rock-5c-rk3588s_defconfig | 1 +
doc/board/rockchip/rockchip.rst | 2 +-
3 files changed, 7
policy to ip-state and then fail cores
based on the updated ip-state
- Add support for failing rkvdec and rkvenc cores
- Append soc compatible to board model
- Add patch to add support for ROCK 5C Lite variant
Jonas Karlman (3):
rockchip: Add initial RK3582 support
rockchip: rk3588-generic: Enable
Hi Marius,
On 8/4/2025 11:43 AM, Marius Dinu wrote:
> drivers/usb/gadget/dwc2_udc_otg_phy.c uses s5p_cpu_id,
> which is only defined for Exynos CPUs.
>
> Signed-off-by: Marius Dinu
> ---
> drivers/usb/gadget/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/dri
loader image can be used with tools such as
rkdeveloptool or rockusb tools when a device is in maskrom mode, e.g.:
$ rkdeveloptool db u-boot-rockchip-rk3588-loader.bin
or
$ rockusb download-boot u-boot-rockchip-rk3588-loader.bin
Signed-off-by: Jonas Karlman
---
v3: New patch NOT intended to
RK3588 boards with 16+
GiB DRAM into Linux.
Signed-off-by: Jonas Karlman
---
v3: No change
v2: New patch to fix booting into OS on RK3588 boards with 16+ GiB DRAM
---
arch/arm/mach-rockchip/rk3588/rk3588.c | 27 ++
arch/arm/mach-rockchip/sdram.c | 7 ++-
2 files
bin
$ rkflashtool L < u-boot-rockchip-usb472.bin
or
$ rkusbboot u-boot-rockchip-usb471.bin u-boot-rockchip-usb472.bin
Signed-off-by: Jonas Karlman
Tested-by: Arnaud Patard
---
Changes in v3:
- Use read_brom_bootsource_id() to support RAM boot on RK3576
- Add a rockchip-ramboot.config fragment to
DRAM.
Signed-off-by: Jonas Karlman
Tested-by: Arnaud Patard
Reviewed-by: Kever Yang
---
v3: Collect r-b tag
v2: Collect t-b tag
---
arch/arm/mach-rockchip/Kconfig| 6 +++---
arch/arm/mach-rockchip/rk3308/Kconfig | 3 ---
arch/arm/mach-rockchip/rk3568/Kconfig | 3 ---
arch/arm/mach-rockchip
board: rockchip: Add Radxa ROCK 4D" [2] series for a clean apply.
See [3] for a branch including both depends.
[1] https://patchwork.ozlabs.org/cover/2118033/
[2] https://patchwork.ozlabs.org/cover/2118088/
[3]
https://source.denx.de/u-boot/contributors/kwiboo/u-boot/-/commits/ramboot-v3
: Jonas Karlman
---
v2: No change
---
arch/arm/dts/rk3576-u-boot.dtsi| 36 ++
arch/arm/mach-rockchip/rk3576/rk3576.c | 23
2 files changed, 59 insertions(+)
diff --git a/arch/arm/dts/rk3576-u-boot.dtsi b/arch/arm/dts/rk3576-u-boot.dtsi
index fb5a107f47d9
board using this config).
- Booting from USB report a new bootsource id 0x81.
Add a helper function to read the bootsource id. This helper function
will be used to translate the new values to the common BROM_BOOTSOURCE
enum values on RK3576.
Signed-off-by: Jonas Karlman
---
v2: No change
these boards.
Signed-off-by: Jonas Karlman
---
v2: Add comment about the reset-gpios prop rename
---
arch/arm/dts/rk3576-rock-4d-u-boot.dtsi | 19 +++
arch/arm/mach-rockchip/rk3576/MAINTAINERS | 6 ++
configs/rock-4d-rk3576_defconfig | 68 +++
doc/board/ro
port sclk_x2 version
Jonas Karlman (3):
rockchip: spl: Add a read_brom_bootsource_id() helper
rockchip: rk3576: Add SPI Flash boot support
board: rockchip: Add Radxa ROCK 4D
arch/arm/dts/rk3576-rock-4d-u-boot.dtsi | 19 ++
arch/arm/dts/rk3576-u-boot.dtsi | 36 +++
From: Jon Lin
SFC after version 8 supports dtr mode, so the IO is the binary output of
the controller clock.
Signed-off-by: Jon Lin
Signed-off-by: Jonas Karlman
---
v2: No change
---
drivers/spi/rockchip_sfc.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a
From: Jon Lin
Add support for the PCIe/USB3/SATA combo PHYs used in the RK3576 SoC.
Config values are taken from vendor U-Boot linux-6.1-stan-rkr5 tag.
Signed-off-by: Jon Lin
Signed-off-by: Jonas Karlman
---
v3: Ensure USB3OTG U3 port is enabled when USB3 PHY is used
v2: New patch
I have
and various video outputs.
Features tested on a ArmSoM Sige5 v1.1:
- SD-card boot
- eMMC boot
- Ethernet
- PCIe NVMe
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
Changes in v3:
- No change
Changes in v2:
- Enable PCIe, NVMe and USB Kconfig options
- Collect r-b tag
---
arch/arm
Add dummy support for the CLK_REF_PCIEx_PHY clocks to allow probe of the
phy-rockchip-naneng-combphy driver on RK3576.
Signed-off-by: Jonas Karlman
---
v3: No change
v2: New patch
---
drivers/clk/rockchip/clk_rk3576.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/rockchip
patchwork.ozlabs.org/cover/2118071/
Jon Lin (1):
phy: rockchip: naneng-combphy: Add support for RK3576
Jonas Karlman (2):
rockchip: clk: clk_rk3576: Add dummy CLK_REF_PCIEx_PHY support
board: rockchip: Add ArmSoM Sige5
arch/arm/dts/rk3576-armsom-sige5-u-boot.dtsi | 18 +++
arch/arm/
From: Frank Wang
Add support for the USB2.0 PHYs used in the RK3576 SoC.
Config values are taken from vendor U-Boot linux-6.1-stan-rkr5 tag.
Signed-off-by: Frank Wang
Signed-off-by: Jonas Karlman
---
v3: New patch
---
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 26 +++
1
Use 0x350e as the default USB Product ID for Rockchip RK3576, same PID
being used by the BootROM when the device is in MASKROM mode.
Signed-off-by: Jonas Karlman
Reviewed-by: Mattijs Korpershoek
---
v3: Collect r-b tag
v2: New patch
---
drivers/usb/gadget/Kconfig | 1 +
1 file changed, 1
Like Rockchip RK3328, RK3568 and RK3588, the RK3576 also have a single
node to represent the glue and ctrl for USB 3.0.
Use rk_ops as driver data to select correct ctrl node for RK3576 DWC3.
Signed-off-by: Jonas Karlman
---
v3: New patch
---
drivers/usb/dwc3/dwc3-generic.c | 1 +
1 file
From: Frank Wang
Add support for the USB3.0+DP PHY used in the RK3576 SoC.
Config values are taken from vendor U-Boot linux-6.1-stan-rkr5 tag.
Signed-off-by: Frank Wang
Signed-off-by: Jonas Karlman
---
v3: New patch
---
drivers/phy/rockchip/phy-rockchip-usbdp.c | 26
Signed-off-by: Jonas Karlman
---
v3: No change
---
arch/arm/dts/rk3576-u-boot.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/rk3576-u-boot.dtsi b/arch/arm/dts/rk3576-u-boot.dtsi
index be99a48a630f..fb5a107f47d9 100644
--- a/arch/arm/dts/rk3576-u-boot.dtsi
+++ b/arch/arm
Implement checkboard() to print current SoC model used by a board when
U-Boot proper is running.
U-Boot 2025.04 (Apr 22 2025 - 20:43:17 +)
Model: Generic RK3576
SoC: RK3576
DRAM: 8 GiB
Information about the SoC model and variant is read from OTP.
Signed-off-by: Jonas Karlman
Omni3576
- Toybrick TB-RK3576D
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v3: Drop use of USBDP PHY
v2: Add nodes and Kconfig options for USB OTG
---
arch/arm/dts/rk3576-generic-u-boot.dtsi | 3 ++
arch/arm/dts/rk3576-generic.dts | 63 +++
arch/arm/mach
.6...=..
0010: f5 84 de 75 6b 27 48 9e 13 62 12 6c 50 ca 47 1a ...uk'H..b.lP.G.
0020: b3 4d fc 43 c5 b5 2d be 07 27 03 26 bb 69 61 2a .M.C..-..'.&.ia*
0030: 6f 70 01 83 4e ce 91 7a 5a 6c 7c 00 43 87 3e c5 op..N..zZl|.C.>.
Signed-off-by: Jonas Karlman
---
v3:
kchip-inno-usb2: Add support for RK3576
phy: rockchip: usbdp: Add support for RK3576
Jonas Karlman (6):
rng: rockchip_rng: Add compatible for RK3576
rockchip: Add default USB_GADGET_PRODUCT_NUM for RK3576
board: rockchip: Add minimal generic RK3576 board
rockchip: rk3576: Implement check
ROCK 5B+ v1.2:
- SD-card boot
- eMMC boot
- SPI flash boot
- PCIe/NVMe
- Ethernet
- USB/TCPM
Signed-off-by: Jonas Karlman
---
Changes in v2:
- Add DRAM type check in addition to SARADC check
---
arch/arm/dts/rk3588-rock-5b-plus-u-boot.dtsi | 3 +
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 5
Add a helper function based on rockchip_sdram_size() that return what
DRAM type is used on current running board.
Signed-off-by: Jonas Karlman
---
v2: New patch
---
arch/arm/include/asm/arch-rockchip/sdram.h | 3 +++
arch/arm/mach-rockchip/sdram.c | 15 +++
2 files
-card boot
- eMMC boot
- SPI flash boot
- PCIe/NVMe
- Ethernet
- USB/TCPM
Changes in v2:
- Add a DRAM type check to detected ROCK 5B+ variant
- Drop device tree patches merged with the v6.16-dts sync
Jonas Karlman (2):
rockchip: sdram: Add rockchip_sdram_type() helper
rockchip: rock5b-rk3588
er re-spinning some
of my other series.
Regards,
Jonas
>
> Best regards,
>
> --
> FUKAUMI Naoki
> Radxa Computer (Shenzhen) Co., Ltd.
>
> On 12/11/24 07:23, Jonas Karlman wrote:
>> The RK3582 SoC is a variant of the RK3588S with some IP blocks disabled.
>>
Hi,
On 8/1/2025 8:28 AM, FUKAUMI Naoki wrote:
> Hi Jonas,
>
> On 7/16/25 03:26, Jonas Karlman wrote:
>> Hi Sebastian,
>>
>> On 7/15/2025 6:48 PM, Sebastian Reichel wrote:
>>> Hello Jonas,
>>>
>>> On Mon, Jul 14, 2025 at 10:34:01PM +, J
the USB3OTG U3 port early and leave it to the
COMBPHY driver to re-enable the U3 port when a usb3-phy is described in
the board device tree.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/rk3528/rk3528.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-rockchip
Radxa E20C has two main pwm-regulators, vdd_arm and vdd_logic.
Add init-microvolt props to ensure the regulators are initialized at
the recommended power-on sequence voltage instead of at max voltage.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3528-radxa-e20c-u-boot.dtsi | 8
1
From: Jianwei Zheng
Add support for the PCIe/USB3 combo PHY used in the RK3528 SoC.
Config values are taken from vendor U-Boot linux-6.1-stan-rkr5 tag.
Signed-off-by: Jianwei Zheng
Signed-off-by: Jonas Karlman
---
.../rockchip/phy-rockchip-naneng-combphy.c| 102 ++
1
Like Rockchip RK3328, RK3568 and RK3588, the RK3528 also have a single
node to represent the glue and ctrl for USB 3.0.
Use rk_ops as driver data to select correct ctrl node for RK3528 DWC3.
Signed-off-by: Jonas Karlman
---
drivers/usb/dwc3/dwc3-generic.c | 1 +
1 file changed, 1 insertion
Add dummy support for the CLK_REF_PCIE_INNER_PHY clock to allow probe of
the phy-rockchip-naneng-combphy driver on RK3528.
Signed-off-by: Jonas Karlman
---
drivers/clk/rockchip/clk_rk3528.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/rockchip/clk_rk3528.c
b/drivers/clk
Radxa E20C has a USB OTG Type-C port for Debug and Data.
Add required Kconfig options to use USB gadget features once pending
USB nodes finally lands in dts/upstream by a future sync.
Signed-off-by: Jonas Karlman
---
USB nodes for RK3528 has not yet landed in linux-rockchip maintainer
tree
r an alias for
serial0 defined for the U-Boot only rk3528-generic device tree.
Add a board specific aliases node that include the missing serial0 alias
to resolve the boot issue and ensure that stdout-path = "serial0:..."
can be resolved by U-Boot.
Signed-off-by: Jonas Karlman
---
Drop the sdmmc node from soc u-boot.dtsi and instead use the sdmmc node
from rk3528.dtsi with v6.16-dts now merged to dts/upstream.
This cleanup has no intended functional change.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3528-generic-u-boot.dtsi| 9 -
arch/arm/dts/rk3528
Jonas Karlman (7):
rockchip: rk3528-generic: Fix boot after dts/upstream v6.16-dts merge
arm: dts: rockchip: Use sdmmc node from dts/upstream on RK3528
arm: dts: rockchip: Set init-microvolt for pwm-regulators on Radxa
E20C
rockchip: rk3528: Disable USB3OTG U3 port early
rockchip: clk
t; clkout_ctl_phy").
>> Fixes: ac30d90f3367 ("clk: Ensure the parent clocks are enabled while
>> reparenting")
>> Co-authored-by: Jonas Karlman
>> Signed-off-by: Alex Shumsky
>> ---
>>
>> Changes in v2:
>> - rework patch (add NULL chec
hile at it, also drop use of the usb3-phy as we only want to enable the
usb2-phy to be compatible with as many boards as possible.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3588-generic-u-boot.dtsi | 18 --
arch/arm/dts/rk3588-generic.dts | 16
confi
disable the USB3OTG0 U3 port early and leave it to the
USBDP PHY driver to re-enable the U3 port when a usb3-phy is described
in the board device tree.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/rk3576/rk3576.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach
disable the USB3OTG U3 ports early and leave it to the
USBDP PHY driver to re-enable the U3 port when a usb3-phy is described
in the board device tree.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/rk3588/rk3588.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/mach
.
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-typec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-typec.c
b/drivers/phy/rockchip/phy-rockchip-typec.c
index c48a5cd52676..66d1d32d25cb 100644
--- a/drivers/phy
this.
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
index 88b33de1b2a0..d6ce12b5e83d 100644
--- a
Change to use syscon_regmap_lookup_by_phandle() helper instead of
finding the syscon udevice and making a call to syscon_get_regmap().
No runtime change is expected with this simplication.
Signed-off-by: Jonas Karlman
---
.../phy/rockchip/phy-rockchip-naneng-combphy.c | 17
reset_deassert_bulk() is propertly propagated to the caller. No other
runtime change is expected with this simplication.
Signed-off-by: Jonas Karlman
---
.../rockchip/phy-rockchip-naneng-combphy.c| 101 --
1 file changed, 19 insertions(+), 82 deletions(-)
diff --git a/drivers/phy
use of unshared reference counting among different
struct phy instances.
Initialize the PHY-id in of_xlate ops to ensure use of shared reference
counting among all struct phy instances.
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 1 +
1 file changed, 1
simplication.
No runtime change is expected with this simplication.
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-usbdp.c | 71 +++
1 file changed, 8 insertions(+), 63 deletions(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-usbdp.c
b/drivers/phy
, this series also moves usb otg related device tree nodes for
the Generic RK3588 board from the board u-boot.dtsi to the main board
dts.
Jonas Karlman (10):
phy: rockchip: usbdp: Fix Generic PHY reference counting
phy: rockchip: usbdp: Simplify init ops
phy: rockchip: naneng-combphy: Fix G
evice(s) found
scanning usb for storage devices... 1 Storage Device(s) found
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-usbdp.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/phy/rockchip/phy-rockchip-usbdp.c
b/drivers/phy/rockchip/phy-rockchip
Hi Sebastian,
On 7/15/2025 6:48 PM, Sebastian Reichel wrote:
> Hello Jonas,
>
> On Mon, Jul 14, 2025 at 10:34:01PM +0000, Jonas Karlman wrote:
>> Include FDTs for both ROCK 5B and 5B+ in the FIT and add board
>> selection code to load the 5B+ FDT when the ADC channel 5 valu
Hi Quentin,
On 7/15/2025 3:11 PM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/15/25 11:36 AM, Jonas Karlman wrote:
>> Hi Quentin,
>>
>> On 7/15/2025 11:07 AM, Quentin Schulz wrote:
>>> Hi Jonas,
>>>
>>> On 7/12/25 11:12 PM, Jonas Karlman w
Hi Quentin,
On 7/15/2025 12:42 PM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/14/25 6:46 PM, Jonas Karlman wrote:
>> Hi Quentin,
>>
>> On 7/14/2025 6:35 PM, Quentin Schulz wrote:
>>> Hi Jonas,
>>>
>>> On 7/12/25 1:06 AM, Jonas Karlman w
Hi Quentin,
On 7/15/2025 11:46 AM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/14/25 1:34 AM, Jonas Karlman wrote:
>> Change to dynamically select what storage media to use for the U-Boot
>> environment depending on from what storage media the FIT images was
>> loaded
ssue is
causing this discrepancy.
To my knowlede Linux is using interrups during sdhci card inizialization
compared to U-Boot, so Linux may not be affected of this issue.
Regards,
Jonas
>
> Thanks,
> Peng.
>
>>
>> Signed-off-by: Jonas Karlman
>> ---
>> Cha
Hi Quentin,
On 7/15/2025 11:34 AM, Quentin Schulz wrote:
> Hi Jonas
>
> On 7/14/25 1:33 AM, Jonas Karlman wrote:
>> DTs from dts/upstream already contain aliases for i2c, mmc and serial.
>>
>> Remove the aliases and status=okay that are already defined in
Hi Quentin,
On 7/15/2025 11:11 AM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/12/25 11:27 PM, Jonas Karlman wrote:
>> Ensure that the spi/sfc node for SPI flash is aviliable during pre-reloc
>> phase so that env can successfully be loaded from SPI Flash.
>>
>
&
Hi Quentin,
On 7/15/2025 11:19 AM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/14/25 1:33 AM, Jonas Karlman wrote:
>> Remove the cru assigned-clocks override now that SCLK_GPU is supported
>> by the clock driver.
>>
>> Signed-off-by: Jonas Karlman
>
> Rev
Hi Quentin,
On 7/15/2025 11:07 AM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/12/25 11:12 PM, Jonas Karlman wrote:
>> Boot devices are being probed when SPL boot order is determined. This
>> may delay boot slightly and can prevent booting from SPI Flash on boards
>>
boot
- eMMC boot
- SPI flash boot
- PCIe/NVMe
- Ethernet
- USB/TCPM
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3588-rock-5b-plus-u-boot.dtsi | 3 ++
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 5 ++
board/radxa/rock5b-rk3588/Kconfig| 5 ++
board/radxa/rock5b-rk3588
ed-off-by: Sebastian Reichel
Link:
https://lore.kernel.org/r/20250508-rock5bp-for-upstream-v2-4-677033cc1...@kernel.org
Signed-off-by: Heiko Stuebner
[ upstream commit: 376cb9696298df2028afb620a9dc6c4b10a18605 ]
(cherry picked from commit 73262063f45da4fc1cab7cac91f568edc9d0eb7d)
Signed-off-by:
) on 5B+ variants.
Features tested on a ROCK 5B+ v1.2:
- SD-card boot
- eMMC boot
- SPI flash boot
- PCIe/NVMe
- Ethernet
- USB/TCPM
Diederik de Haas (1):
arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3588-rock-5b
Jonas Karlman (1):
rockchip: rock5b-rk3588: Add support for ROCK 5B
squash of both of them
to facilitate bisectability and was also intended by the original author]
Signed-off-by: Heiko Stuebner
[ upstream commit: aadfbdcf7e1e7f3892e0e4bdcc3c9c7c9adfb723 ]
(cherry picked from commit 4238190b0f4922314c15a8fe575cb90ee263825d)
Signed-off-by: Jonas Karlman
rom commit b31830e88153e20bf3454e210760264b7f24b206)
Signed-off-by: Jonas Karlman
---
dts/upstream/src/arm64/rockchip/rk3588-rock-5b.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/dts/upstream/src/arm64/rockchip/rk3588-rock-5b.dts
b/dts/upstream/src/arm64/rockchip/rk3588-rock-5b.dts
index d2
RK3528, remaining SoCs still use the automatic
tap value, (DLL_LOCK_VALUE * 2) % 256, same value we configure manually
for RK3528.
Signed-off-by: Jonas Karlman
---
Changes in v2:
- Rename flag and field value to function name, TAPVALUE_FROM_SW
- Simplify and make code more understandable with use of
Hi Quentin,
On 7/14/2025 6:35 PM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/12/25 1:06 AM, Jonas Karlman wrote:
>> The Radxa ROCK 4D is a compact single-board computer (SBC) featuring
>> numerous top-tier functions, features, and expansion options.
>>
>> Equ
Hi Quentin,
On 7/14/2025 5:38 PM, Quentin Schulz wrote:
> Hi Jonas,
>
> On 7/10/25 6:21 PM, Jonas Karlman wrote:
>> eMMC erase and write support on RK3528 is somewhat unreliable, sometime
>> e.g. mmc erase and write commands will fail with an error.
>>
>> Use t
Enable the default commands and some more useful commands that can be
useful to determin the state of the board from U-Boot CLI.
Signed-off-by: Jonas Karlman
---
configs/odroid-go2_defconfig | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/configs/odroid
Use default-state prop to ensure that the blue heartbeat LED turns on
at boot to inticate that U-Boot proper has been reached.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/rk3326-odroid-go2-u
(total 1022 MiB)
Signed-off-by: Jonas Karlman
---
This patch only makes sense together with "rockchip: px30/rk3326:
Implement checkboard() to print SoC variant" [1]
[1] https://patchwork.ozlabs.org/patch/2095941/
---
arch/arm/dts/rk3326-u-boot.dtsi | 4
1 file changed, 4 insertion
I have the ORDOID-GO Super variant of this board. Add myself as a
reviewer to help review future patches targeting this device.
Signed-off-by: Jonas Karlman
---
board/hardkernel/odroid_go2/MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/hardkernel/odroid_go2/MAINTAINERS
Enable Kconfig options to support RockUSB, buttons, LEDs and RNG
featured on the board or SoC.
Signed-off-by: Jonas Karlman
---
configs/odroid-go2_defconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/configs/odroid-go2_defconfig b/configs/odroid-go2_defconfig
index
MMC... Reading from MMC(0)...
or
U-Boot SPL 2025.07 (Jul 13 2025 - 10:07:16 +)
Trying to boot from SPI
...
Loading Environment from SPIFlash...
Signed-off-by: Jonas Karlman
---
board/hardkernel/odroid_go2/Kconfig | 1 +
board/hardkernel/odroid_go2/go2.c | 34
)
PMIC: RK817 (on=0x80, off=0x08)
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi| 3 +-
.../arm/dts/rk3326-odroid-go2-v11-u-boot.dtsi | 3 ++
arch/arm/dts/rk3326-odroid-go3-u-boot.dtsi| 3 ++
board/hardkernel/odroid_go2/Kconfig | 6 +++
board
The ODROID GO2 devices come with onboard SPI flash, add support for
using the SPI flash.
The BootROM seem to expect the IDBlock at 64 KiB offset compared to the
typical 32 KiB offset from start of SPI flash used by other SoCs.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3326-u-boot.dtsi
Include the RK817 PMIC in SPL and enable Kconfig options to power off
the handheld gaming device when it was powered on due to a power cable
plug-in event:
DDR3, 333MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
out
Power Off due to plug-in event
Signed-off-by: Jonas Karlman
display/video
related Kconfig options.
There is no real functional change expected with these options removed.
Signed-off-by: Jonas Karlman
---
configs/odroid-go2_defconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/configs/odroid-go2_defconfig b/configs/odroid-go2_defconfig
index
to ensure device aliases are applied in SPL.
Drop use of SPL_TINY_MEMSET, there is plenty room for the normal memset.
Signed-off-by: Jonas Karlman
---
configs/odroid-go2_defconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs/odroid-go2_defconfig b/configs
Include pinctrl nodes and props for sdmmc, sfc and uart in SPL to ensure
pins are configured according to the device tree.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 10
arch/arm/dts/rk3326-u-boot.dtsi| 58 ++
configs
Add a new common rk3326-u-boot.dtsi and move the SoC common overrides
into it.
This should not contain any changes other than a possible reorder of
nodes and props.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 78 ++
arch/arm/dts/rk3326-u
DTs from dts/upstream already contain aliases for i2c, mmc and serial.
Remove the aliases and status=okay that are already defined in upstream
board or SoC DT.
Signed-off-by: Jonas Karlman
---
This also remove a bad re-defined alias for spi0, SPI flash support will
be added/fixed in a later
GPIO devices are needed in U-Boot proper phase, sdmmc and sfc devices
are needed in SPL and pre-reloc phase.
Update bootph- props to match what boot phase devices are needed at.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 16 +++-
1 file changed, 7
Remove the cru assigned-clocks override now that SCLK_GPU is supported
by the clock driver.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 10 --
1 file changed, 10 deletions(-)
diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
b/arch/arm/dts
Add dummy implementation of set_rate for SCLK_GPU and SCLK_WIFI_PMU to
allow use of dts/upstream assigned-clocks in cru and pmucru nodes.
Signed-off-by: Jonas Karlman
---
drivers/clk/rockchip/clk_px30.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/rockchip/clk_px30.c b
@ff16
Err: serial@ff16
Net: No ethernet found.
Hit any key to stop autoboot: 0
=>
The final patch in this series enables use of the feature added in
"rockchip: px30/rk3326: Implement checkboard() to print SoC variant" [1]
[1] https://patchwork.ozlabs.org/patch/20
ff-by: Quentin Schulz
I have now tested this on my RK3326 ODROID-GO Super:
U-Boot 2025.07 (Jul 13 2025 - 10:07:16 +)
Model: ODROID-GO Super
SoC: RK3326
DRAM: 1 GiB (total 1022 MiB)
so this is,
Reviewed-by: Jonas Karlman
Regards,
Jonas
> ---
> Tested on a PX30 Ringneck
Ensure that the spi/sfc node for SPI flash is aviliable during pre-reloc
phase so that env can successfully be loaded from SPI Flash.
No boards with these SoCs seem to be affected as there is no default use
of ENV_IS_IN_SPI_FLASH=y.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3328-u
image from
the boot device by using uclass_find_device_by_of_offset() instead of
the get variant.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/spl-boot-order.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-rockchip/spl-boot-order.c
b/arch/arm/mach
these boards.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3576-rock-4d-u-boot.dtsi | 15 +
arch/arm/mach-rockchip/rk3576/MAINTAINERS | 6 ++
configs/rock-4d-rk3576_defconfig | 68 +++
doc/board/rockchip/rockchip.rst | 1 +
4 files changed, 90 inse
: Jonas Karlman
---
arch/arm/dts/rk3576-u-boot.dtsi| 36 ++
arch/arm/mach-rockchip/rk3576/rk3576.c | 23
2 files changed, 59 insertions(+)
diff --git a/arch/arm/dts/rk3576-u-boot.dtsi b/arch/arm/dts/rk3576-u-boot.dtsi
index fb5a107f47d9..c7ed09e03eec
board using this config).
- Booting from USB report a new bootsource id 0x81.
Add a helper function to read the bootsource id. This helper function
will be used to translate the new values to the common BROM_BOOTSOURCE
enum values on RK3576.
Signed-off-by: Jonas Karlman
---
arch/arm/include/asm
lean apply.
[1] https://patchwork.ozlabs.org/cover/2110236/
Jon Lin (1):
spi: rockchip_sfc: Support sclk_x2 version
Jonas Karlman (3):
rockchip: spl: Add a read_brom_bootsource_id() helper
rockchip: rk3576: Add SPI Flash boot support
board: rockchip: Add Radxa ROCK 4D
arch/arm/dts/rk35
From: Jon Lin
SFC after version 8 supports dtr mode, so the IO is the binary output of
the controller clock.
Signed-off-by: Jon Lin
Signed-off-by: Jonas Karlman
---
drivers/spi/rockchip_sfc.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/spi
and various video outputs.
Features tested on a ArmSoM Sige5 v1.1:
- SD-card boot
- eMMC boot
- Ethernet
- PCIe NVMe
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
Changes in v2:
- Enable PCIe, NVMe and USB Kconfig options
- Collect r-b tag
---
arch/arm/dts/rk3576-armsom-sige5-u-boot.
Add dummy support for the CLK_REF_PCIEx_PHY clocks to allow probe of the
phy-rockchip-naneng-combphy driver on RK3576.
Signed-off-by: Jonas Karlman
---
v2: New patch
---
drivers/clk/rockchip/clk_rk3576.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3576.c
b
1 - 100 of 1600 matches
Mail list logo