Skip to contentSkip to conversation

configs/microchip_sama7g5ek_mmc_dev_defconfig: add rng tools

PATCH Applied Eugen Hristev via buildroot 3 participants 4 messages Feb 11, 2022 – Feb 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/microchip_sama7g5ek_mmc_dev_defconfig: add rng tools

Add rng tools. Without this, when booting, prompt will not appear until 'random: crng init done' appears. Avoid this by using rng tools without the libjitterentropy. Libjitterentropy is a jitter source of entropy which does not help for AT91 cpus as the jitter does not have enough variance to generate fast enough entropy.

---
Hi,

This should go for 2022.02 in my opinion.

Thanks,

 configs/microchip_sama7g5ek_mmc_dev_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/microchip_sama7g5ek_mmc_dev_defconfig +2 -0
index 3253bce401..895e63edcd 100644
@@ -27,6 +27,8 @@ BR2_PACKAGE_MMC_UTILS=y
 BR2_PACKAGE_MTD=y
 BR2_PACKAGE_WILC1000_FIRMWARE=y
 BR2_PACKAGE_EVTEST=y
+BR2_PACKAGE_RNG_TOOLS=y
+# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set
 BR2_PACKAGE_SETSERIAL=y
 BR2_PACKAGE_SPI_TOOLS=y
 BR2_PACKAGE_USBUTILS=y
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/1
#1 lore raw

Hi Engin, All,

sorry for html but I’m on mobile,

Quoted 9 lines

Il giorno 11 feb 2022, alle ore 15:09, Eugen Hristev via buildroot <[email protected]> ha scritto:

Add rng tools. Without this, when booting, prompt will not appear until 'random: crng init done' appears. Avoid this by using rng tools without the libjitterentropy. Libjitterentropy is a jitter source of entropy which does not help for AT91 cpus as the jitter does not have enough variance to generate fast enough entropy.

Quoted 7 lines

---
Hi,

This should go for 2022.02 in my opinion.

Thanks,

Here you should add other 3 dashes more.

Thank you for providing such fix. Unfortunately I didn’t have the hardware to test and fix it.

Best regards
—-
Giulio Benetti
Benetti Engineering sas

Quoted 14 lines

configs/microchip_sama7g5ek_mmc_dev_defconfig | 2 ++

1 file changed, 2 insertions(+)
configs/microchip_sama7g5ek_mmc_dev_defconfig +0 -0
index 3253bce401..895e63edcd 100644
@@ -27,6 +27,8 @@ BR2_PACKAGE_MMC_UTILS=y

BR2_PACKAGE_MTD=y
BR2_PACKAGE_WILC1000_FIRMWARE=y
BR2_PACKAGE_EVTEST=y

configs/microchip_sama7g5ek_mmc_dev_defconfig +2 -0
+BR2_PACKAGE_RNG_TOOLS=y
+# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set
Quoted 10 lines

BR2_PACKAGE_SETSERIAL=y
BR2_PACKAGE_SPI_TOOLS=y
BR2_PACKAGE_USBUTILS=y

Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 17 lines · Giulio Benetti

Hi Engin, All,

sorry for html but I’m on mobile,

Quoted 13 lines

Il giorno 11 feb 2022, alle ore 15:09, Eugen Hristev via buildroot <[email protected]> ha scritto:

Add rng tools. Without this, when booting, prompt will not appear until 'random: crng init done' appears. Avoid this by using rng tools without the libjitterentropy. Libjitterentropy is a jitter source of entropy which does not help for AT91 cpus as the jitter does not have enough variance to generate fast enough entropy.

---
Hi,

Quoted 7 lines
Quoted 3 lines

This should go for 2022.02 in my opinion.

Thanks,

Here you should add other 3 dashes more.

Thank you for providing such fix. Unfortunately I didn’t have the hardware to test and fix it.

I tested it on the real board, on top of your pending fix for the kernel build which I also tested earlier this week.

Quoted 28 lines

Best regards
—-
Giulio Benetti
Benetti Engineering sas

Quoted 20 lines

configs/microchip_sama7g5ek_mmc_dev_defconfig | 2 ++

1 file changed, 2 insertions(+)
configs/microchip_sama7g5ek_mmc_dev_defconfig +0 -0
index 3253bce401..895e63edcd 100644
@@ -27,6 +27,8 @@ BR2_PACKAGE_MMC_UTILS=y

BR2_PACKAGE_MTD=y
BR2_PACKAGE_WILC1000_FIRMWARE=y
BR2_PACKAGE_EVTEST=y

configs/microchip_sama7g5ek_mmc_dev_defconfig +2 -0
+BR2_PACKAGE_RNG_TOOLS=y
+# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set

BR2_PACKAGE_SETSERIAL=y
BR2_PACKAGE_SPI_TOOLS=y
BR2_PACKAGE_USBUTILS=y
--
2.33.0

Quoted 5 lines
Quoted 4 lines

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Eugen Hristev via buildroot
Quoted 8 lines · Eugen Hristev via buildroot

Add rng tools. Without this, when booting, prompt will not appear until 'random: crng init done' appears. Avoid this by using rng tools without the libjitterentropy. Libjitterentropy is a jitter source of entropy which does not help for AT91 cpus as the jitter does not have enough variance to generate fast enough entropy.

Applied to master, thanks.

Regards,
Arnout

Quoted 15 lines

---
Hi,

This should go for 2022.02 in my opinion.

Thanks,

  configs/microchip_sama7g5ek_mmc_dev_defconfig | 2 ++
  1 file changed, 2 insertions(+)
configs/microchip_sama7g5ek_mmc_dev_defconfig +0 -0
index 3253bce401..895e63edcd 100644

configs/microchip_sama7g5ek_mmc_dev_defconfig BR2_PACKAGE_MMC_UTILS=y · line 34

Quoted 8 lines
configs/microchip_sama7g5ek_mmc_dev_defconfig +2 -0
@@ -27,6 +27,8 @@ BR2_PACKAGE_MMC_UTILS=y
  BR2_PACKAGE_MTD=y
  BR2_PACKAGE_WILC1000_FIRMWARE=y
  BR2_PACKAGE_EVTEST=y
+BR2_PACKAGE_RNG_TOOLS=y
+# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set
  BR2_PACKAGE_SETSERIAL=y
  BR2_PACKAGE_SPI_TOOLS=y
  BR2_PACKAGE_USBUTILS=y

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot