mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-22 20:38:03 +00:00
chore(tc): add dummy entropy to speed up the Linux boot
If the kernel is post 5.19 and is configured with CONFIG_RANDOM_TRUST_BOOTLOADER=y then entropy can be passed to Linux via the device tree. This avoids delaying the Linux boot waiting for entropy. This is particularly noticeable when booting android but also speeds up the generation of the ssl certificates. Signed-off-by: Ben Horgan <ben.horgan@arm.com> Change-Id: I4c6136c54f0e971802a2a9de9f88cd32b610dce9
This commit is contained in:
parent
8e94163ec0
commit
bafedcbe4f
1 changed files with 12 additions and 0 deletions
12
fdts/tc.dts
12
fdts/tc.dts
|
@ -26,6 +26,18 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
stdout-path = STDOUT_PATH;
|
stdout-path = STDOUT_PATH;
|
||||||
|
/*
|
||||||
|
* Add some dummy entropy for Linux so it
|
||||||
|
* doesn't delay the boot waiting for it.
|
||||||
|
*/
|
||||||
|
rng-seed = <0x01 0x02 0x04 0x05 0x06 0x07 0x08 \
|
||||||
|
0x01 0x02 0x04 0x05 0x06 0x07 0x08 \
|
||||||
|
0x01 0x02 0x04 0x05 0x06 0x07 0x08 \
|
||||||
|
0x01 0x02 0x04 0x05 0x06 0x07 0x08 \
|
||||||
|
0x01 0x02 0x04 0x05 0x06 0x07 0x08 \
|
||||||
|
0x01 0x02 0x04 0x05 0x06 0x07 0x08 \
|
||||||
|
0x01 0x02 0x04 0x05 0x06 0x07 0x08 \
|
||||||
|
0x01 0x02 0x04 0x05 0x06 0x07 0x08 >;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
|
|
Loading…
Add table
Reference in a new issue