I need to run the linux kernel with fips mode enabled on the Jetson AGX Xavier, so I have set the fips=1 in the boot cmdline and I have also compiled the kernel with the following flags:
But when I boot the kernel it hangs after printing random: crng init done. After throwing some additional prints in the kernel, it seems to be stuck in the add interrupt randomness function that calles the credit entropy function in drivers/char/random.c. From googling online this is probably correlated to a low entropy situation. Has anyone setup fips on a Jetson AGX? If so what is the correct KConfig? If not, does anyone here have any ideas as to how to make this work?