* [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random
@ 2025-02-25 17:43 Sergey Kuzminov
2025-02-26 5:26 ` Baruch Siach via buildroot
0 siblings, 1 reply; 6+ messages in thread
From: Sergey Kuzminov @ 2025-02-25 17:43 UTC (permalink / raw)
To: buildroot; +Cc: Sergey Kuzminov
This patch enables the hardware random number generator in the device tree.
Without it, the entropy level in the Linux kernel increases very slowly.
To check the entropy level: cat /proc/sys/kernel/random/entropy_avail
Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
---
...001-rk3566-nanopi-r3s.dts-enable-rng.patch | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
diff --git a/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch b/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
new file mode 100644
index 0000000000..b376004377
--- /dev/null
+++ b/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
@@ -0,0 +1,30 @@
+From 284e6683b4a0ee6b1fd22ccd34785e1f2d58c115 Mon Sep 17 00:00:00 2001
+From: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
+Date: Tue, 25 Feb 2025 19:49:00 +0300
+Subject: [PATCH] rk3566-nanopi-r3s.dts: enable rng
+
+This patch enables the hardware random number generator in the device tree.
+Without it, the entropy level in the Linux kernel increases very slowly.
+To check the entropy level: cat /proc/sys/kernel/random/entropy_avail
+
+Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
+Upstream: Not applicable, Buildroot specific.
+---
+ arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
+index fb1f65c86883..a89bdbf71e12 100644
+--- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
++++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
+@@ -552,3 +552,7 @@ &vop {
+ &vop_mmu {
+ status = "okay";
+ };
++
++&rng {
++ status = "okay";
++};
+--
+2.45.3
+
--
2.45.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random
2025-02-25 17:43 [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random Sergey Kuzminov
@ 2025-02-26 5:26 ` Baruch Siach via buildroot
2025-02-26 16:51 ` Sergey Kuzminov
0 siblings, 1 reply; 6+ messages in thread
From: Baruch Siach via buildroot @ 2025-02-26 5:26 UTC (permalink / raw)
To: Sergey Kuzminov; +Cc: buildroot
Hi Sergey,
On Tue, Feb 25 2025, Sergey Kuzminov wrote:
> This patch enables the hardware random number generator in the device tree.
> Without it, the entropy level in the Linux kernel increases very slowly.
> To check the entropy level: cat /proc/sys/kernel/random/entropy_avail
>
> Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
> ---
> ...001-rk3566-nanopi-r3s.dts-enable-rng.patch | 30 +++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
>
> diff --git
> a/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
> b/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
> new file mode 100644
> index 0000000000..b376004377
> --- /dev/null
> +++ b/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
> @@ -0,0 +1,30 @@
> +From 284e6683b4a0ee6b1fd22ccd34785e1f2d58c115 Mon Sep 17 00:00:00 2001
> +From: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
> +Date: Tue, 25 Feb 2025 19:49:00 +0300
> +Subject: [PATCH] rk3566-nanopi-r3s.dts: enable rng
> +
> +This patch enables the hardware random number generator in the device tree.
> +Without it, the entropy level in the Linux kernel increases very slowly.
> +To check the entropy level: cat /proc/sys/kernel/random/entropy_avail
> +
> +Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
> +Upstream: Not applicable, Buildroot specific.
What makes this patch Buildroot specific?
baruch
> +---
> + arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 4 ++++
> + 1 file changed, 4 insertions(+)
> +
> +diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> +index fb1f65c86883..a89bdbf71e12 100644
> +--- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> ++++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
> +@@ -552,3 +552,7 @@ &vop {
> + &vop_mmu {
> + status = "okay";
> + };
> ++
> ++&rng {
> ++ status = "okay";
> ++};
> +--
> +2.45.3
> +
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random
[not found] <CAGmsXdzOtEvjSvCe63_B4FScwUO5GK-V+N2hQ1VB0je4-Z+T9g@mail.gmail.com>
@ 2025-02-26 6:17 ` Kuzminov Sergey
2025-02-26 6:35 ` Kuzminov Sergey
2025-02-26 16:44 ` Sergey Kuzminov
2 siblings, 0 replies; 6+ messages in thread
From: Kuzminov Sergey @ 2025-02-26 6:17 UTC (permalink / raw)
To: Meri Jaan, buildroot
Hi, Baruch
For some reason, the email from you turned out to be empty, so I
inserted the text from patchwork in the response.
>Hi Sergey,
>> +Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
>> +Upstream: Not applicable, Buildroot specific.
>What makes this patch Buildroot specific?
>baruch
Without this comment, the verification script (utils/docker-run make
check-package) reports an error. I took this comment from some similar
buildroot patch.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random
[not found] <CAGmsXdzOtEvjSvCe63_B4FScwUO5GK-V+N2hQ1VB0je4-Z+T9g@mail.gmail.com>
2025-02-26 6:17 ` Kuzminov Sergey
@ 2025-02-26 6:35 ` Kuzminov Sergey
2025-02-26 16:44 ` Sergey Kuzminov
2 siblings, 0 replies; 6+ messages in thread
From: Kuzminov Sergey @ 2025-02-26 6:35 UTC (permalink / raw)
To: Meri Jaan, buildroot
Hi, Baruch
For some reason, the email from you turned out to be empty, so I
inserted the text from patchwork in the response.
>Hi Sergey,
>> +Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
>> +Upstream: Not applicable, Buildroot specific.
>What makes this patch Buildroot specific?
>baruch
Without this comment, the verification script (utils/docker-run make
check-package) reports an error. I took this comment from some similar
buildroot patch.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random
[not found] <CAGmsXdzOtEvjSvCe63_B4FScwUO5GK-V+N2hQ1VB0je4-Z+T9g@mail.gmail.com>
2025-02-26 6:17 ` Kuzminov Sergey
2025-02-26 6:35 ` Kuzminov Sergey
@ 2025-02-26 16:44 ` Sergey Kuzminov
2 siblings, 0 replies; 6+ messages in thread
From: Sergey Kuzminov @ 2025-02-26 16:44 UTC (permalink / raw)
To: buildroot
Hi, Baruch
For some reason, the email from you turned out to be empty, so I
inserted the text from patchwork in the response.
>Hi Sergey,
>> +Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
>> +Upstream: Not applicable, Buildroot specific.
>What makes this patch Buildroot specific?
>baruch
Without this comment, the verification script (utils/docker-run make
check-package) reports an error. I took this comment from some similar
buildroot patch.
For some reason, my emails are not getting through.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random
2025-02-26 5:26 ` Baruch Siach via buildroot
@ 2025-02-26 16:51 ` Sergey Kuzminov
0 siblings, 0 replies; 6+ messages in thread
From: Sergey Kuzminov @ 2025-02-26 16:51 UTC (permalink / raw)
To: Baruch Siach; +Cc: buildroot
Hi, Baruch
26.02.2025 08:26, Baruch Siach пишет:
> Hi Sergey,
>
> On Tue, Feb 25 2025, Sergey Kuzminov wrote:
>> This patch enables the hardware random number generator in the device tree.
>> Without it, the entropy level in the Linux kernel increases very slowly.
>> To check the entropy level: cat /proc/sys/kernel/random/entropy_avail
>>
>> Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
>> ---
>> ...001-rk3566-nanopi-r3s.dts-enable-rng.patch | 30 +++++++++++++++++++
>> 1 file changed, 30 insertions(+)
>> create mode 100644 board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
>>
>> diff --git
>> a/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
>> b/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
>> new file mode 100644
>> index 0000000000..b376004377
>> --- /dev/null
>> +++ b/board/friendlyarm/nanopi-r3s/patches/linux/0001-rk3566-nanopi-r3s.dts-enable-rng.patch
>> @@ -0,0 +1,30 @@
>> +From 284e6683b4a0ee6b1fd22ccd34785e1f2d58c115 Mon Sep 17 00:00:00 2001
>> +From: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
>> +Date: Tue, 25 Feb 2025 19:49:00 +0300
>> +Subject: [PATCH] rk3566-nanopi-r3s.dts: enable rng
>> +
>> +This patch enables the hardware random number generator in the device tree.
>> +Without it, the entropy level in the Linux kernel increases very slowly.
>> +To check the entropy level: cat /proc/sys/kernel/random/entropy_avail
>> +
>> +Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com>
>> +Upstream: Not applicable, Buildroot specific.
>
> What makes this patch Buildroot specific?
Without this comment, the verification script (utils/docker-run make
check-package) reports an error. I took this comment from some similar
buildroot patch.
>
> baruch
>
>> +---
>> + arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts | 4 ++++
>> + 1 file changed, 4 insertions(+)
>> +
>> +diff --git a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
>> +index fb1f65c86883..a89bdbf71e12 100644
>> +--- a/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
>> ++++ b/arch/arm64/boot/dts/rockchip/rk3566-nanopi-r3s.dts
>> +@@ -552,3 +552,7 @@ &vop {
>> + &vop_mmu {
>> + status = "okay";
>> + };
>> ++
>> ++&rng {
>> ++ status = "okay";
>> ++};
>> +--
>> +2.45.3
>> +
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-02-26 16:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 17:43 [Buildroot] [PATCH] board/friendlyarm/nanopi-r3s: rk3566-nanopi-r3s.dts: enable hw random Sergey Kuzminov
2025-02-26 5:26 ` Baruch Siach via buildroot
2025-02-26 16:51 ` Sergey Kuzminov
[not found] <CAGmsXdzOtEvjSvCe63_B4FScwUO5GK-V+N2hQ1VB0je4-Z+T9g@mail.gmail.com>
2025-02-26 6:17 ` Kuzminov Sergey
2025-02-26 6:35 ` Kuzminov Sergey
2025-02-26 16:44 ` Sergey Kuzminov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox