Re: Problem with random.c and PPC

Ruth Ivimey-Cook (Ruth.Ivimey-Cook@ivimey.org)
Fri, 16 Aug 2002 22:21:28 +0100 (BST)


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.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/