uboot-rockchip: increase rng-seed size
authorTianling Shen <cnsztl@immortalwrt.org>
Mon, 23 Dec 2024 13:56:31 +0000 (21:56 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 23 Dec 2024 20:21:49 +0000 (21:21 +0100)
commit967a6a2cf501d4dd60e790ab69c871a000d85391
treecf64f64de27a0c9308a08014a67b4127fffdace8
parent0de59fb952b7784c8085e340367523276c97687c
uboot-rockchip: increase rng-seed size

Increase rng-seed size to make Linux happy and initialize rng pool instantly.
Linux 5.19+ requires 32 bytes of entropy to initialize random pool, but u-boot
currently provides only 8 bytes.

Boot with 8 byte rng-seed (Linux 6.11):
    # dmesg | grep crng
    [   12.089286] random: crng init done
Boot with 32 byte rng-seed (Linux 6.11):
    # dmesg | grep crng
    [    0.000000] random: crng init done

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/17352
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-rockchip/patches/001-rockchip-board-Increase-rng-seed-size-to-make-it-sufficie.patch [new file with mode: 0644]