Skip to contentSkip to conversation

arm64: rockchip: Two more additions to rockchip_v8_defconfig

PATCH Applied Uwe Kleine-König 2 participants 5 messages Mar 19, 2025 – Mar 24, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: rockchip: Two more additions to rockchip_v8_defconfig

Hello,

while working to support the Qnap TS-433 NAS I found the config items enabled here quite useful. I'm not entirely sure that enabling generic fit image is useful in general (also because it comes with a build dependency on python3-libfdt), still here comes a suggestion to enable it.

Best regards
Uwe

Uwe Kleine-König (2):
arm64: rockchip: Enable rockchip otp driver in defconfig
arm64: rockchip: Enable generic fit image

 arch/arm/configs/rockchip_v8_defconfig | 3 +++
 1 file changed, 3 insertions(+)

base-commit: 9ecf814ff511c6dd6dcbbb2642d1ae9b11a20f8c

Signature · 1 line
2.47.1
#1 lore raw

PATCH 1/2 arm64: rockchip: Enable rockchip otp driver in defconfig

This driver is useful on rk3308, rk3568 and rk3588. Enable it in rockchip_v8_defconfig.

---
 arch/arm/configs/rockchip_v8_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/rockchip_v8_defconfig +2 -0
index cbd33d1b042d..95900368cc02 100644
@@ -135,6 +135,8 @@ CONFIG_LED_GPIO_OF=y
 CONFIG_WATCHDOG=y
 CONFIG_WATCHDOG_POLLER=y
 CONFIG_WATCHDOG_DW=y
+CONFIG_NVMEM=y
+CONFIG_NVMEM_ROCKCHIP_OTP=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED=y
 CONFIG_REGULATOR_ARM_SCMI=y
Signature · 1 line
2.47.1
#3 lore raw

PATCH 2/2 arm64: rockchip: Enable generic fit image

In reply to Uwe Kleine-König

The generic device tree 2nd stage FIT image is a quite convenient image during development. Enable it in rockchip_v8_defconfig.

---
 arch/arm/configs/rockchip_v8_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/rockchip_v8_defconfig +1 -0
index 95900368cc02..89e2bbcd6784 100644
@@ -10,6 +10,7 @@ CONFIG_MACH_RADXA_CM3=y
 CONFIG_64BIT=y
 CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
 CONFIG_ARM_PSCI_CLIENT=y
+CONFIG_BOARD_GENERIC_FIT=y
 CONFIG_MMU=y
 CONFIG_MALLOC_SIZE=0x0
 CONFIG_MALLOC_TLSF=y
Signature · 1 line
2.47.1
#4 lore raw
In reply to Uwe Kleine-König
Quoted 7 lines · Uwe Kleine-König

Hello,

while working to support the Qnap TS-433 NAS I found the config items enabled here quite useful. I'm not entirely sure that enabling generic fit image is useful in general (also because it comes with a build dependency on python3-libfdt), still here comes a suggestion to enable it.

I agree that this can be quite convenient, but indeed adding more python build dependencies is not so nice.

If Kconfig could check if scripts/make_fit.py --help can be successfully executed then might even by default build FIT images.

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |