Re: Problem with random.c and PPC

Ruth Ivimey-Cook
2002-08-16T21:19:48Z

On Fri, 16 Aug 2002, henrique wrote:

>What would you do in my situation. I am dealing with the Motorola MPC860T and
>my system has no disk (I use a flash), no mouse, no keyboard, no PCI bus. It
>has just a fast-ethernet, a console port and some serial ports.
>
>After reading the discussion on the lkml I realize that the only places I can
>get randomness in my system is in the serial.c (that controls the serial
>ports) and arch/ppc/8xx_io/fec.c (fast eth driver) interrupts.

Is there another way -- add a 'noise' device by connecting a PIO pin or
similar to suitable hardware? It shouldn't bee too hard to do as a one-off.
For example:

[noise-diode]--[amplifier]--[schmidt-trigger-inverter]---[PIO INT pin]

Ruth

--
Ruth Ivimey-Cook
Software engineer and technical writer.