mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig
@ 2025-03-19 17:32 Uwe Kleine-König
  2025-03-19 17:32 ` [PATCH 1/2] arm64: rockchip: Enable rockchip otp driver in defconfig Uwe Kleine-König
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2025-03-19 17:32 UTC (permalink / raw)
  To: barebox

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
-- 
2.47.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] arm64: rockchip: Enable rockchip otp driver in defconfig
  2025-03-19 17:32 [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig Uwe Kleine-König
@ 2025-03-19 17:32 ` Uwe Kleine-König
  2025-03-24 10:29   ` (subset) " Sascha Hauer
  2025-03-19 17:32 ` [PATCH 2/2] arm64: rockchip: Enable generic fit image Uwe Kleine-König
  2025-03-24 10:37 ` [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig Sascha Hauer
  2 siblings, 1 reply; 5+ messages in thread
From: Uwe Kleine-König @ 2025-03-19 17:32 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
---
 arch/arm/configs/rockchip_v8_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/rockchip_v8_defconfig b/arch/arm/configs/rockchip_v8_defconfig
index cbd33d1b042d..95900368cc02 100644
--- a/arch/arm/configs/rockchip_v8_defconfig
+++ b/arch/arm/configs/rockchip_v8_defconfig
@@ -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
-- 
2.47.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] arm64: rockchip: Enable generic fit image
  2025-03-19 17:32 [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig Uwe Kleine-König
  2025-03-19 17:32 ` [PATCH 1/2] arm64: rockchip: Enable rockchip otp driver in defconfig Uwe Kleine-König
@ 2025-03-19 17:32 ` Uwe Kleine-König
  2025-03-24 10:37 ` [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2025-03-19 17:32 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
---
 arch/arm/configs/rockchip_v8_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/rockchip_v8_defconfig b/arch/arm/configs/rockchip_v8_defconfig
index 95900368cc02..89e2bbcd6784 100644
--- a/arch/arm/configs/rockchip_v8_defconfig
+++ b/arch/arm/configs/rockchip_v8_defconfig
@@ -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
-- 
2.47.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (subset) [PATCH 1/2] arm64: rockchip: Enable rockchip otp driver in defconfig
  2025-03-19 17:32 ` [PATCH 1/2] arm64: rockchip: Enable rockchip otp driver in defconfig Uwe Kleine-König
@ 2025-03-24 10:29   ` Sascha Hauer
  0 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2025-03-24 10:29 UTC (permalink / raw)
  To: barebox, Uwe Kleine-König


On Wed, 19 Mar 2025 18:32:38 +0100, Uwe Kleine-König wrote:
> This driver is useful on rk3308, rk3568 and rk3588. Enable it in
> rockchip_v8_defconfig.
> 
> 

Applied, thanks!

[1/2] arm64: rockchip: Enable rockchip otp driver in defconfig
      https://git.pengutronix.de/cgit/barebox/commit/?id=6c87417f5d53 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig
  2025-03-19 17:32 [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig Uwe Kleine-König
  2025-03-19 17:32 ` [PATCH 1/2] arm64: rockchip: Enable rockchip otp driver in defconfig Uwe Kleine-König
  2025-03-19 17:32 ` [PATCH 2/2] arm64: rockchip: Enable generic fit image Uwe Kleine-König
@ 2025-03-24 10:37 ` Sascha Hauer
  2 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2025-03-24 10:37 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

On Wed, Mar 19, 2025 at 06:32:37PM +0100, Uwe Kleine-König wrote:
> 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

-- 
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 |



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-24 10:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-19 17:32 [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig Uwe Kleine-König
2025-03-19 17:32 ` [PATCH 1/2] arm64: rockchip: Enable rockchip otp driver in defconfig Uwe Kleine-König
2025-03-24 10:29   ` (subset) " Sascha Hauer
2025-03-19 17:32 ` [PATCH 2/2] arm64: rockchip: Enable generic fit image Uwe Kleine-König
2025-03-24 10:37 ` [PATCH 0/2] arm64: rockchip: Two more additions to rockchip_v8_defconfig Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox