Hi Leo, On Tue, 10 Jul 2018 14:28:09 -0400 Leo Famulari wrote: > On Tue, Jul 10, 2018 at 06:22:11PM +0200, Danny Milosavljevic wrote: > > Hi, > > > > u-boot tools/sunxi-spl-image-builder.c reads from /dev/urandom . > > > > For reproducibility I'd like this to be a static file. Do we already have one > > for this purpose? > > You could use /dev/zero. What does the program do with the random data? It writes an image file. Since that image is later written to flash storage (by the user), the program randomizes the data in order to increase longevity. Then it stores the random data used as well. See http://soc.yonsei.ac.kr/Abstract/International_journal/pdf/106_Data%20Randomization%20Scheme%20for%20Endurance%20Enhancement%20and%20Interference%20Mitigation%20of%20Multilevel%20Flash%20Memory%20Devices.pdf