This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

66AK2G12: cring init done is too slow

Part Number: 66AK2G12


Hi,

My customer is using below environment.
SoC:66AK2G12
SDK:Processor SDK Linux 06_03_00_106

He tried to add scripts to launch their own application to below folders.
/etc/rc3.d
/etc/init.d

But scripts does not run until below message is displayed in console.
Application launch is delayed ~150 seconds.
[  147.089976] random: crng init done
[  147.093383] random: 7 urandom warning(s) missed due to ratelimiting

Customer found similar issue in old thread.
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/787444/linux-am3359-crng-init-done-is-slow/2911764
This is for AM335x case, but it is not clear how it should be solved in 66AK2G12.

In below kernel dts files, RNG is defined. 
arch/arm/boot/dts/keystone-k2e-netcp.dtsi
arch/arm/boot/dts/keystone-k2hk-netcp.dtsi
arch/arm/boot/dts/keystone-k2l-netcp.dtsi

sa_subsys: subsys@24080000 {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "simple-bus";
        ranges = <0 0x24080000 0x40000>;

        sa_config: subsys@0 {
                compatible = "syscon";
                reg = <0x0 0x100>;
        };

        rng@24000 {
                compatible = "ti,keystone-rng";
                reg = <0x24000 0x1000>;
                ti,syscon-sa-cfg = <&sa_config>;
                clocks = <&clksa>;
                clock-names = "fck";
        };
};


But it is not in 66AK2G12 dts file (keystone-k2g-netcp.dtsi).
Customer tried to copy above definition to keystone-k2g-netcp.dtsi, but it just generates build error.

Thanks and regards,
Koichiro Tashiro