On Tue, Sep 10, 2013 at 05:06:39PM -0500, Rob Herring wrote: > > If I recall correctly, somebody said that things like ethernet MAC > > addresses etc sometimes come from DT. Is my memory going, or is that > > true but very rare? > > It is true and fairly common. You can also have serial numbers in the > DT, but that is more rare. The bootloader will also add the kernel > command line, initrd start and end addresses.
Stuff which is common across a large number of devices is rather less useful to merge in. Is there some fixed way that things like serial numbers and MAC addresses are tagged as such in the device tree? Those are really the interesting bits to pass to add_device_randomness(). What we want is stuff which is unique to the device --- SP 800-90 (the NIST SPEC on Secure Random Number Generators) refers to this as "personalization strings". - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/