<?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: How to Enable Hardware Random Number Generator(HRNG) in Uboot? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1751108#M215132</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224982"&gt;@ChesterZ&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It is the RNG driver for NXP BSP. Please find the same in the&amp;nbsp;U-boot source code&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/drivers/crypto/fsl/rng.c" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/drivers/crypto/fsl/rng.c&amp;amp;source=gmail&amp;amp;ust=1699006497746000&amp;amp;usg=AOvVaw1Njc-fdP3eUjqHFWKZhn9t"&gt;drivers/crypto/fsl/rng.c&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 11:47:40 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2023-11-02T11:47:40Z</dc:date>
    <item>
      <title>How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1748336#M214884</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am try to use hardware random number generator in Uboot?&lt;/P&gt;&lt;P&gt;I enable DCP_RNG and FSL RNG which are all&amp;nbsp;UCLASS_RNG.&lt;/P&gt;&lt;P&gt;But it seems that DM tree did not generate any RNG driver.&lt;/P&gt;&lt;P&gt;Does anyone know go how to enable RNG driver in Uboot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 06:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1748336#M214884</guid>
      <dc:creator>ChesterZ</dc:creator>
      <dc:date>2023-10-30T06:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1749993#M215028</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224982"&gt;@ChesterZ&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;can you please share the SoC part number that you are using?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 05:44:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1749993#M215028</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-11-01T05:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1750000#M215030</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The SOC number is&amp;nbsp;NXP i.MX8M.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chester&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 05:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1750000#M215030</guid>
      <dc:creator>ChesterZ</dc:creator>
      <dc:date>2023-11-01T05:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1751108#M215132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224982"&gt;@ChesterZ&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It is the RNG driver for NXP BSP. Please find the same in the&amp;nbsp;U-boot source code&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/drivers/crypto/fsl/rng.c" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/drivers/crypto/fsl/rng.c&amp;amp;source=gmail&amp;amp;ust=1699006497746000&amp;amp;usg=AOvVaw1Njc-fdP3eUjqHFWKZhn9t"&gt;drivers/crypto/fsl/rng.c&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 11:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1751108#M215132</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-11-02T11:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1755964#M215592</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to enable caam-rng, but it fail to get device.&lt;/P&gt;&lt;P&gt;Not sure if it also need to add caam-rng to device tree.&lt;/P&gt;&lt;P&gt;Driver uid uclass Devices&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;caam_jr 058 misc crypto@30900000&lt;BR /&gt;caam-rng 086 rng &amp;lt;none&amp;gt;&lt;BR /&gt;dcp_rng 086 rng &amp;lt;none&amp;gt;&lt;BR /&gt;fecmxc 036 ethernet ethernet@30be0000&lt;BR /&gt;fsl_esdhc 059 mmc mmc@30b40000&lt;BR /&gt;mmc@30b50000&lt;BR /&gt;gpio_hog 063 nop &amp;lt;none&amp;gt;&lt;BR /&gt;gpio_mxc 040 gpio gpio@30200000&lt;BR /&gt;gpio@30210000&lt;BR /&gt;gpio@30220000&lt;BR /&gt;gpio@30230000&lt;BR /&gt;gpio@30240000&lt;BR /&gt;gpio regulator 083 regulator &amp;lt;none&amp;gt;&lt;BR /&gt;i2c_generic_chip_drv 045 i2c_generic generic_54&lt;BR /&gt;i2c_mxc 043 i2c i2c@30a20000&lt;BR /&gt;i2c@30a30000&lt;BR /&gt;i2c@30a40000&lt;BR /&gt;i2c@30a50000&lt;BR /&gt;imx7_reset 085 reset reset-controller@30390000&lt;BR /&gt;imx8m_power_domain 077 power_domain gpc@303a0000&lt;BR /&gt;pgc&lt;BR /&gt;power-domain@0&lt;BR /&gt;power-domain@1&lt;BR /&gt;power-domain@2&lt;BR /&gt;power-domain@3&lt;BR /&gt;power-domain@4&lt;BR /&gt;power-domain@5&lt;BR /&gt;power-domain@6&lt;BR /&gt;power-domain@7&lt;BR /&gt;power-domain@8&lt;BR /&gt;power-domain@9&lt;BR /&gt;power-domain@a&lt;BR /&gt;imx8mq-pinctrl 075 pinctrl pinctrl@30330000&lt;BR /&gt;imx_tmu 103 thermal tmu@30260000&lt;BR /&gt;cpu-thermal&lt;BR /&gt;mmc_blk 022 blk mmc@30b40000.blk&lt;BR /&gt;mmc@30b50000.blk&lt;BR /&gt;nxp_imx8mq_usb_phy 073 phy usb-phy@381f0040&lt;BR /&gt;usb-phy@382f0040&lt;BR /&gt;pinconfig 074 pinconfig fec1grp&lt;BR /&gt;i2c1grp&lt;BR /&gt;i2c1grp-gpio&lt;BR /&gt;usdhc1grp&lt;BR /&gt;usdhc1-100grp&lt;BR /&gt;usdhc1-200grp&lt;BR /&gt;wdog1grp&lt;BR /&gt;hdmigrp&lt;BR /&gt;i2c2grp&lt;BR /&gt;i2c3grp&lt;BR /&gt;i2c4grp&lt;BR /&gt;i2c2grp-gpio&lt;BR /&gt;i2c3grp-gpio&lt;BR /&gt;i2c4grp-gpio&lt;BR /&gt;regusdhc2gpiogrp&lt;BR /&gt;uart1grp&lt;BR /&gt;usdhc2grp&lt;BR /&gt;usdhc2-100grp&lt;BR /&gt;usdhc2-200grp&lt;BR /&gt;psci 038 firmware psci&lt;BR /&gt;psci-sysreset 101 sysreset psci-sysreset&lt;BR /&gt;regulator_fixed 083 regulator eth_phy&lt;BR /&gt;regulator-vsd-3v3&lt;BR /&gt;root_driver 000 root root_driver&lt;BR /&gt;rtc_emul 087 rtc rtc_emul&lt;BR /&gt;simple_bus 091 simple_bus soc@0&lt;BR /&gt;bus@30000000&lt;BR /&gt;syscon@30340000&lt;BR /&gt;snvs@30370000&lt;BR /&gt;bus@30400000&lt;BR /&gt;bus@30800000&lt;BR /&gt;bus@32c00000&lt;BR /&gt;simple_panel 067 panel &amp;lt;none&amp;gt;&lt;BR /&gt;spi_generic_drv 097 spi_generic &amp;lt;none&amp;gt;&lt;BR /&gt;usb_dev_generic_drv 108 usb_dev_generic &amp;lt;none&amp;gt;&lt;BR /&gt;usb_hub 109 usb_hub &amp;lt;none&amp;gt;&lt;BR /&gt;usb_mass_storage 055 usb_mass_storage &amp;lt;none&amp;gt;&lt;BR /&gt;usb_storage_blk 022 blk &amp;lt;none&amp;gt;&lt;BR /&gt;vidconsole0 113 vidconsole0 &amp;lt;none&amp;gt;&lt;BR /&gt;xhci-dwc3 107 usb &amp;lt;none&amp;gt;&lt;BR /&gt;xhci_imx8m 107 usb usb@38100000&lt;BR /&gt;usb@38200000&lt;BR /&gt;xhci_imx8mp_misc 058 misc &amp;lt;none&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 02:40:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1755964#M215592</guid>
      <dc:creator>ChesterZ</dc:creator>
      <dc:date>2023-11-13T02:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1758094#M215808</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224982"&gt;@ChesterZ&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;It doesn't show the device because it doesn't have of match implementation for the device tree node.&lt;/P&gt;
&lt;P&gt;rng driver will call a function from caam_jr for reading. (uboot-imx/drivers/crypto/fsl/rng.c)&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 06:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1758094#M215808</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-11-16T06:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1760546#M216074</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to use uboot command to get the RNG.&lt;/P&gt;&lt;P&gt;It seems that caam_rng are defined in UCLASS_RNG.&lt;/P&gt;&lt;P&gt;Not sure it could get correct RNG if it did not get udvice from UCLASS_RNG?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 08:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1760546#M216074</guid>
      <dc:creator>ChesterZ</dc:creator>
      <dc:date>2023-11-21T08:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Hardware Random Number Generator(HRNG) in Uboot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1763276#M216337</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224982"&gt;@ChesterZ&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;It is not necessary to have a device binded to the driver in U-boot UCLASS_RNG.&lt;/DIV&gt;
&lt;DIV&gt;caam-rng driver will be probed when the 'rng' command or 'dm_rng_read' is executed.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;RNG is included in the CAAM module so it is not&amp;nbsp;necessary to have a separate device for RNG.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;One can try putting print in the probe function of the "drivers/crypto/fsl/rng.c"&amp;nbsp; and executing the '&lt;STRONG&gt;rng'&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command in the U-boot console.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 09:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Enable-Hardware-Random-Number-Generator-HRNG-in-Uboot/m-p/1763276#M216337</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-11-24T09:57:49Z</dc:date>
    </item>
  </channel>
</rss>

