<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: random nonblocking pool is initialized to late in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1229165#M169280</link>
    <description>&lt;P&gt;Thx Yuri.&lt;BR /&gt;I have tried implement this mode already ( to carry&lt;BR /&gt;entropy pool information across shut-downs and start-ups) , and it was working, but that's not what solved the problem.&lt;BR /&gt;Checking the entropy available after bootup ( cat /proc/sys/kernel/random/entropy_avail)&lt;BR /&gt;it gets araund 600 and more.. (quite good).&lt;BR /&gt;i do not have any idea why service that checks entropy pool does not see saved information..&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 07:00:49 GMT</pubDate>
    <dc:creator>o_scherbinin</dc:creator>
    <dc:date>2021-02-10T07:00:49Z</dc:date>
    <item>
      <title>random nonblocking pool is initialized to late</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1228048#M169160</link>
      <description>&lt;P&gt;hello.&lt;/P&gt;&lt;P&gt;I am on MCIMX6SX-SDB (Solo6X) using QSPI 25n256 as a boot device.&lt;BR /&gt;i would like to know why nonblocking pool is initialized to late. Kernel configuration has positive options for Hardware crypto devices part. I gess kernel should use RINGA for populating the pool very fast by default or should i make further efforts to populate the pool.&lt;BR /&gt;Thank You.&lt;/P&gt;&lt;P&gt;boot log:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;[ 0.000000] Booting Linux on physical CPU 0x0&lt;BR /&gt;[ 0.000000] Linux version 4.1.15+ (rdp_user3@vivado)&amp;nbsp; #1 PREEMPT Fri Feb 5 16:50:49 MSK 2021&lt;BR /&gt;[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d&lt;BR /&gt;[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache&lt;BR /&gt;[ 0.000000] Machine model: Freescale i.MX6 SoloX SDB RevB Board&lt;BR /&gt;[ 0.000000] Reserved memory: created CMA memory pool at 0xaa000000, size 320 MiB&lt;BR /&gt;[ 0.000000] Reserved memory: initialized node linux,cma, compatible id shared-dma-pool&lt;BR /&gt;[ 0.000000] Memory policy: Data cache writeback&lt;BR /&gt;[ 0.000000] CPU: All CPU(s) started in SVC mode.&lt;BR /&gt;[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096&lt;BR /&gt;[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)&lt;BR /&gt;[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)&lt;BR /&gt;[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)&lt;BR /&gt;[ 0.000000] Memory: 705164K/1048576K available (4199K kernel code, 189K rwdata, 896K rodata, 192K init, 356K bss, 15732K reserved, 327680K cma-reserved, 0K highmem)&lt;BR /&gt;[ 0.000000] Virtual kernel memory layout:&lt;BR /&gt;[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)&lt;BR /&gt;[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)&lt;BR /&gt;[ 0.000000] vmalloc : 0xc0800000 - 0xff000000 (1000 MB)&lt;BR /&gt;[ 0.000000] lowmem : 0x80000000 - 0xc0000000 (1024 MB)&lt;BR /&gt;[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)&lt;BR /&gt;[ 0.000000] .text : 0x80008000 - 0x80501ff8 (5096 kB)&lt;BR /&gt;[ 0.000000] .init : 0x80502000 - 0x80532000 ( 192 kB)&lt;BR /&gt;[ 0.000000] .data : 0x80532000 - 0x80561480 ( 190 kB)&lt;BR /&gt;[ 0.000000] .bss : 0x80564000 - 0x805bd1ec ( 357 kB)&lt;BR /&gt;[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1&lt;BR /&gt;[ 0.000000] Preemptible hierarchical RCU implementation.&lt;BR /&gt;[ 0.000000] Additional per-CPU info printed with stalls.&lt;BR /&gt;[ 0.000000] NR_IRQS:16 nr_irqs:16 16&lt;BR /&gt;[ 0.000000] L2C-310 erratum 769419 enabled&lt;BR /&gt;[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9&lt;BR /&gt;[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9&lt;BR /&gt;[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines&lt;BR /&gt;[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled&lt;BR /&gt;[ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB&lt;BR /&gt;[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76430001&lt;BR /&gt;[ 0.000000] mxc_clocksource_init 3000000&lt;BR /&gt;[ 0.000000] Switching to timer-based delay loop, resolution 333ns&lt;BR /&gt;[ 0.000006] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns&lt;BR /&gt;[ 0.000021] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns&lt;BR /&gt;[ 0.001112] Console: colour dummy device 80x30&lt;BR /&gt;[ 0.001129] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)&lt;BR /&gt;[ 0.001141] pid_max: default: 32768 minimum: 301&lt;BR /&gt;[ 0.001224] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;BR /&gt;[ 0.001235] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;BR /&gt;[ 0.001704] CPU: Testing write buffer coherency: ok&lt;BR /&gt;[ 0.001922] Setting up static identity map for 0x80008200 - 0x80008258&lt;BR /&gt;[ 0.003100] devtmpfs: initialized&lt;BR /&gt;[ 0.009749] device-tree: Duplicate name in lcdif@02220000, renamed to "display#1"&lt;BR /&gt;[ 0.009947] device-tree: Duplicate name in lcdif@02224000, renamed to "display#1"&lt;BR /&gt;[ 0.011941] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4&lt;BR /&gt;[ 0.012199] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns&lt;BR /&gt;[ 0.022904] pinctrl core: initialized pinctrl subsystem&lt;BR /&gt;[ 0.023430] NET: Registered protocol family 16&lt;BR /&gt;[ 0.029297] DMA: preallocated 256 KiB pool for atomic coherent allocations&lt;BR /&gt;[ 0.050209] cpuidle: using governor ladder&lt;BR /&gt;[ 0.080230] cpuidle: using governor menu&lt;BR /&gt;[ 0.099116] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.&lt;BR /&gt;[ 0.099127] hw-breakpoint: maximum watchpoint size is 4 bytes.&lt;BR /&gt;[ 0.099871] imx6sx-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver&lt;BR /&gt;[ 0.101576] MU is ready for cross core communication!&lt;BR /&gt;[ 0.132422] mxs-dma 1804000.dma-apbh: initialized&lt;BR /&gt;[ 0.133904] i2c i2c-0: IMX I2C adapter registered&lt;BR /&gt;[ 0.133921] i2c i2c-0: can't use DMA&lt;BR /&gt;[ 0.134289] i2c i2c-1: IMX I2C adapter registered&lt;BR /&gt;[ 0.134303] i2c i2c-1: can't use DMA&lt;BR /&gt;[ 0.134839] i2c i2c-2: IMX I2C adapter registered&lt;BR /&gt;[ 0.134853] i2c i2c-2: can't use DMA&lt;BR /&gt;[ 0.135251] i2c i2c-3: IMX I2C adapter registered&lt;BR /&gt;[ 0.135265] i2c i2c-3: can't use DMA&lt;BR /&gt;[ 0.135434] pps_core: LinuxPPS API ver. 1 registered&lt;BR /&gt;[ 0.135442] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti &amp;lt;giometti@linux.it&amp;gt;&lt;BR /&gt;[ 0.135474] PTP clock support registered&lt;BR /&gt;[ 0.136263] Switched to clocksource mxc_timer1&lt;BR /&gt;[ 0.144537] NET: Registered protocol family 2&lt;BR /&gt;[ 0.145184] TCP established hash table entries: 8192 (order: 3, 32768 bytes)&lt;BR /&gt;[ 0.145260] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)&lt;BR /&gt;[ 0.145353] TCP: Hash tables configured (established 8192 bind 8192)&lt;BR /&gt;[ 0.145426] UDP hash table entries: 512 (order: 1, 8192 bytes)&lt;BR /&gt;[ 0.145451] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)&lt;BR /&gt;[ 0.145589] NET: Registered protocol family 1&lt;BR /&gt;[ 0.145847] RPC: Registered named UNIX socket transport module.&lt;BR /&gt;[ 0.145857] RPC: Registered udp transport module.&lt;BR /&gt;[ 0.145862] RPC: Registered tcp transport module.&lt;BR /&gt;[ 0.145869] RPC: Registered tcp NFSv4.1 backchannel transport module.&lt;BR /&gt;[ 0.146241] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]&lt;BR /&gt;[ 0.146314] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available&lt;BR /&gt;[ 0.147437] imx rpmsg driver is registered.&lt;BR /&gt;[ 0.148391] Bus freq driver module loaded&lt;BR /&gt;[ 0.149041] futex hash table entries: 256 (order: -1, 3072 bytes)&lt;BR /&gt;[ 0.154338] VFS: Disk quotas dquot_6.6.0&lt;BR /&gt;[ 0.154491] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)&lt;BR /&gt;[ 0.155025] NFS: Registering the id_resolver key type&lt;BR /&gt;[ 0.155058] Key type id_resolver registered&lt;BR /&gt;[ 0.155066] Key type id_legacy registered&lt;BR /&gt;[ 0.155166] jffs2: version 2.2. (NAND) В© 2001-2006 Red Hat, Inc.&lt;BR /&gt;[ 0.158946] io scheduler noop registered&lt;BR /&gt;[ 0.158963] io scheduler deadline registered&lt;BR /&gt;[ 0.159008] io scheduler cfq registered (default)&lt;BR /&gt;[ 0.159535] imx-weim 21b8000.weim: Driver registered.&lt;BR /&gt;[ 0.163387] imx-sdma 20ec000.sdma: no iram assigned, using external mem&lt;BR /&gt;[ 0.163552] imx-sdma 20ec000.sdma: no event needs to be remapped&lt;BR /&gt;[ 0.163707] imx-sdma 20ec000.sdma: loaded firmware 3.3&lt;BR /&gt;[ 0.165943] imx-sdma 20ec000.sdma: initialized&lt;BR /&gt;[ 0.217540] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 1500000) is a IMX&lt;BR /&gt;[ 0.858341] console [ttymxc0] enabled&lt;BR /&gt;[ 0.862751] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 298, base_baud = 1500000) is a IMX&lt;BR /&gt;[ 0.872739] imx sema4 driver is registered.&lt;BR /&gt;[ 0.885265] brd: module loaded&lt;BR /&gt;[ 0.892659] loop: module loaded&lt;BR /&gt;[ 0.897192] fsl-quadspi 21e4000.qspi: n25q256a (32768 Kbytes)&lt;BR /&gt;[ 0.902967] 9 cmdlinepart partitions found on MTD device 21e4000.qspi&lt;BR /&gt;[ 0.909481] Creating 9 MTD partitions on "21e4000.qspi":&lt;BR /&gt;[ 0.914814] 0x000000000000-0x000000100000 : "uboot"&lt;BR /&gt;[ 0.937453] 0x000000170000-0x000000870000 : "host0&lt;BR /&gt;[ 0.943161] 0x000000870000-0x000000880000 : "dtb"&lt;BR /&gt;[ 0.959986] 0x000000f90000-0x000002000000 : "RootFS"&lt;BR /&gt;[ 0.969226] pps pps0: new PPS source ptp0&lt;BR /&gt;[ 0.974561] libphy: fec_enet_mii_bus: probed&lt;BR /&gt;[ 0.980706] fec 2188000.ethernet eth0: registered PHC device 0&lt;BR /&gt;[ 0.988028] pps pps1: new PPS source ptp1&lt;BR /&gt;[ 0.993820] fec 21b4000.ethernet eth1: registered PHC device 1&lt;BR /&gt;[ 1.001186] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0&lt;BR /&gt;[ 1.010109] i2c /dev entries driver&lt;BR /&gt;[ 1.014830] imx2-wdt 20bc000.wdog: use WDOG_B to reboot.&lt;BR /&gt;[ 1.020516] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)&lt;BR /&gt;[ 1.028389] caam 2100000.caam: Entropy delay = 3200&lt;BR /&gt;[ 1.154821] caam 2100000.caam: Entropy delay = 3600&lt;BR /&gt;[ 1.296409] caam 2100000.caam: Entropy delay = 4000&lt;BR /&gt;[ 1.453132] caam 2100000.caam: Entropy delay = 4400&lt;BR /&gt;[ 1.625020] caam 2100000.caam: Entropy delay = 4800&lt;BR /&gt;[ 1.812065] caam 2100000.caam: Instantiated RNG4 SH0&lt;BR /&gt;[ 1.903130] caam 2100000.caam: Instantiated RNG4 SH1&lt;BR /&gt;[ 1.908121] caam 2100000.caam: device ID = 0x0a16010000000200 (Era -524)&lt;BR /&gt;[ 1.914829] caam 2100000.caam: job rings = 2, qi = 0&lt;BR /&gt;[ 1.981098] caam algorithms registered in /proc/crypto&lt;BR /&gt;[ 1.990093] caam_jr 2101000.jr0: registering rng-caam&lt;BR /&gt;[ 1.995291] NET: Registered protocol family 26&lt;BR /&gt;[ 2.000397] NET: Registered protocol family 10&lt;BR /&gt;[ 2.005702] sit: IPv6 over IPv4 tunneling driver&lt;BR /&gt;[ 2.011242] NET: Registered protocol family 17&lt;BR /&gt;[ 2.015771] 8021q: 802.1Q VLAN Support v1.8&lt;BR /&gt;[ 2.020085] Key type dns_resolver registered&lt;BR /&gt;[ 2.037743] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2017-03-16 11:23:59 UTC (1489663439)&lt;BR /&gt;[ 2.612128] VFS: Mounted root (jffs2 filesystem) on device 31:8.&lt;BR /&gt;[ 2.618346] devtmpfs: mounted&lt;BR /&gt;[ 2.621498] Freeing unused kernel memory: 192K (80502000 - 80532000)&lt;BR /&gt;INIT: version 2.88 booting&lt;BR /&gt;[ 3.715377] random: dd urandom read with 8 bits of entropy available&lt;BR /&gt;Starting udev&lt;BR /&gt;[ 4.361496] udevd[159]: starting version 3.1.5&lt;BR /&gt;INIT: Entering runlevel: 5&lt;BR /&gt;Configuring network interfaces... [ 5.646912] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)&lt;BR /&gt;[ 5.658231] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready&lt;BR /&gt;udhcpc (v1.24.1) started&lt;BR /&gt;Sending discover...&lt;BR /&gt;Sending discover...&lt;BR /&gt;[ 9.646924] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx&lt;BR /&gt;[ 9.654605] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready&lt;BR /&gt;Sending discover...&lt;BR /&gt;Sending select for 132.0.15.25...&lt;BR /&gt;Lease of 132.0.15.25 obtained, lease time 129600&lt;BR /&gt;/etc/udhcpc.d/50default: Adding DNS 132.0.15.25&lt;BR /&gt;/etc/udhcpc.d/50default: Adding DNS 209.208.37.155&lt;BR /&gt;done.&lt;BR /&gt;Starting syslogd/klogd: done&lt;/P&gt;&lt;P&gt;Freescale i.MX Release Distro 4.1.15-2.0.0 imx6dqscm-1gb-qwks /dev/ttymxc0&lt;/P&gt;&lt;P&gt;imx6dqscm-1gb-qwks login: root&lt;BR /&gt;root@imx6dqscm-1gb-qwks:~# [ 99.046310] random: nonblocking pool is initialized&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 07:28:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1228048#M169160</guid>
      <dc:creator>o_scherbinin</dc:creator>
      <dc:date>2021-02-10T07:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: random nonblocking pool is initialized to late</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1228615#M169211</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101515"&gt;@o_scherbinin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I hope the following clarifies the issue:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums.xilinx.com/t5/Embedded-Linux/random-nonblocking-pool-is-initialized/td-p/739759" target="_blank"&gt;https://forums.xilinx.com/t5/Embedded-Linux/random-nonblocking-pool-is-initialized/td-p/739759&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1228615#M169211</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-02-09T08:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: random nonblocking pool is initialized to late</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1229165#M169280</link>
      <description>&lt;P&gt;Thx Yuri.&lt;BR /&gt;I have tried implement this mode already ( to carry&lt;BR /&gt;entropy pool information across shut-downs and start-ups) , and it was working, but that's not what solved the problem.&lt;BR /&gt;Checking the entropy available after bootup ( cat /proc/sys/kernel/random/entropy_avail)&lt;BR /&gt;it gets araund 600 and more.. (quite good).&lt;BR /&gt;i do not have any idea why service that checks entropy pool does not see saved information..&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 07:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1229165#M169280</guid>
      <dc:creator>o_scherbinin</dc:creator>
      <dc:date>2021-02-10T07:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: random nonblocking pool is initialized to late</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1229789#M169380</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101515"&gt;@o_scherbinin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You may use approach, described in section 5.6.3 (RNG trim fuses) of app note&lt;/P&gt;
&lt;P&gt;"i.MX Secure Boot on HABv4 Supported Devices, Rev. 4, June 2020"&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4581.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN4581.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 09:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1229789#M169380</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-02-11T09:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: random nonblocking pool is initialized to late</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1230350#M169444</link>
      <description>&lt;P&gt;thank you a lot&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 12:39:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/random-nonblocking-pool-is-initialized-to-late/m-p/1230350#M169444</guid>
      <dc:creator>o_scherbinin</dc:creator>
      <dc:date>2021-02-12T12:39:25Z</dc:date>
    </item>
  </channel>
</rss>

