Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-29 Thread Marek Vasut
On 4/29/24 10:52 PM, Tim Harvey wrote: On Mon, Apr 29, 2024 at 1:51 PM Marek Vasut wrote: On 4/29/24 9:10 PM, Tim Harvey wrote: On Tue, Apr 23, 2024 at 4:18 PM Marek Vasut wrote: On 4/19/24 5:24 PM, Tim Harvey wrote: On Thu, Apr 18, 2024 at 11:42 AM Marek Vasut wrote: On 4/18/24 8:02

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-29 Thread Tim Harvey
On Mon, Apr 29, 2024 at 1:51 PM Marek Vasut wrote: > > On 4/29/24 9:10 PM, Tim Harvey wrote: > > On Tue, Apr 23, 2024 at 4:18 PM Marek Vasut wrote: > >> > >> On 4/19/24 5:24 PM, Tim Harvey wrote: > >>> On Thu, Apr 18, 2024 at 11:42 AM Marek Vasut wrote: > > On 4/18/24 8:02 PM, Fabio

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-29 Thread Marek Vasut
On 4/29/24 9:10 PM, Tim Harvey wrote: On Tue, Apr 23, 2024 at 4:18 PM Marek Vasut wrote: On 4/19/24 5:24 PM, Tim Harvey wrote: On Thu, Apr 18, 2024 at 11:42 AM Marek Vasut wrote: On 4/18/24 8:02 PM, Fabio Estevam wrote: Hi Tim, On Thu, Apr 18, 2024 at 2:54 PM Tim Harvey wrote: Fabio,

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-29 Thread Tim Harvey
On Tue, Apr 23, 2024 at 4:18 PM Marek Vasut wrote: > > On 4/19/24 5:24 PM, Tim Harvey wrote: > > On Thu, Apr 18, 2024 at 11:42 AM Marek Vasut wrote: > >> > >> On 4/18/24 8:02 PM, Fabio Estevam wrote: > >>> Hi Tim, > >>> > >>> On Thu, Apr 18, 2024 at 2:54 PM Tim Harvey wrote: > >>> > Fabio,

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-23 Thread Marek Vasut
On 4/19/24 5:24 PM, Tim Harvey wrote: On Thu, Apr 18, 2024 at 11:42 AM Marek Vasut wrote: On 4/18/24 8:02 PM, Fabio Estevam wrote: Hi Tim, On Thu, Apr 18, 2024 at 2:54 PM Tim Harvey wrote: Fabio, if you enable CONFIG_DM_RNG on an imx8m{m,p}_evk do you get the following in the SPL?

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-19 Thread Tim Harvey
On Thu, Apr 18, 2024 at 11:42 AM Marek Vasut wrote: > > On 4/18/24 8:02 PM, Fabio Estevam wrote: > > Hi Tim, > > > > On Thu, Apr 18, 2024 at 2:54 PM Tim Harvey wrote: > > > >> Fabio, if you enable CONFIG_DM_RNG on an imx8m{m,p}_evk do you get the > >> following in the SPL? > >> Couldn't bind rng

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Fabio Estevam
On Thu, Apr 18, 2024 at 9:47 PM Fabio Estevam wrote: > I don't get the error if I pass CONFIG_FSL_CAAM_JR_NTZ_ACCESS=y: Ops, sorry. This is not correct. CONFIG_DM_RNG was unselected. Please discard.

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Fabio Estevam
On Thu, Apr 18, 2024 at 4:05 PM Fabio Estevam wrote: > I tested with mainline TFA 2.10 and also with NXP 2.8. The error > happens in both cases. I don't get the error if I pass CONFIG_FSL_CAAM_JR_NTZ_ACCESS=y: U-Boot SPL 2024.04-00793-g3434b88d2c2f-dirty (Apr 18 2024 - 21:46:06 -0300) No pmic

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Fabio Estevam
Hi Marek, On Thu, Apr 18, 2024 at 3:42 PM Marek Vasut wrote: > Interesting. Which TFA blob version do you use ? I used the mainline > 2.10 for my tests. I tested with mainline TFA 2.10 and also with NXP 2.8. The error happens in both cases. > btw. 'no pmic' ? Is that expected ? Yes, this is

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Marek Vasut
On 4/18/24 8:02 PM, Fabio Estevam wrote: Hi Tim, On Thu, Apr 18, 2024 at 2:54 PM Tim Harvey wrote: Fabio, if you enable CONFIG_DM_RNG on an imx8m{m,p}_evk do you get the following in the SPL? Couldn't bind rng driver (-96) SEC0: RNG instantiated sec_init failed! Yes, if I add

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Fabio Estevam
Hi Tim, On Thu, Apr 18, 2024 at 2:54 PM Tim Harvey wrote: > Fabio, if you enable CONFIG_DM_RNG on an imx8m{m,p}_evk do you get the > following in the SPL? > Couldn't bind rng driver (-96) > SEC0: RNG instantiated > > sec_init failed! Yes, if I add CONFIG_DM_RNG=y to imx8mm_evk_defconfig I

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Tim Harvey
On Thu, Apr 18, 2024 at 10:33 AM Marek Vasut wrote: > > On 4/18/24 6:21 PM, Tim Harvey wrote: > > On Fri, Jan 19, 2024 at 4:36 PM Marek Vasut wrote: > >> > >> Linux 6.6.y with KASLR enabled would print the following message on boot: > >> " > >> KASLR disabled due to lack of seed > >> " > >>

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Marek Vasut
On 4/18/24 6:21 PM, Tim Harvey wrote: On Fri, Jan 19, 2024 at 4:36 PM Marek Vasut wrote: Linux 6.6.y with KASLR enabled would print the following message on boot: " KASLR disabled due to lack of seed " Enable the 'kaslrseed' command so a random number seed can be pulled from CAAM and inserted

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-04-18 Thread Tim Harvey
On Fri, Jan 19, 2024 at 4:36 PM Marek Vasut wrote: > > Linux 6.6.y with KASLR enabled would print the following message on boot: > " > KASLR disabled due to lack of seed > " > Enable the 'kaslrseed' command so a random number seed can be pulled > from CAAM and inserted into the /chosen node

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-01-22 Thread Fabio Estevam
On Fri, Jan 19, 2024 at 9:36 PM Marek Vasut wrote: > > Linux 6.6.y with KASLR enabled would print the following message on boot: > " > KASLR disabled due to lack of seed > " > Enable the 'kaslrseed' command so a random number seed can be pulled > from CAAM and inserted into the /chosen node

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-01-22 Thread Fabio Estevam
On Fri, Jan 19, 2024 at 9:36 PM Marek Vasut wrote: > > Linux 6.6.y with KASLR enabled would print the following message on boot: > " > KASLR disabled due to lack of seed > " > Enable the 'kaslrseed' command so a random number seed can be pulled > from CAAM and inserted into the /chosen node

Re: [PATCH] ARM: imx: Enable kaslrseed command on DH i.MX8M Plus DHCOM

2024-01-20 Thread Fabio Estevam
On Fri, Jan 19, 2024 at 9:36 PM Marek Vasut wrote: > > Linux 6.6.y with KASLR enabled would print the following message on boot: > " > KASLR disabled due to lack of seed > " > Enable the 'kaslrseed' command so a random number seed can be pulled > from CAAM and inserted into the /chosen node