1f08c3bdfSopenharmony_ciThe aim of the test is to check device firmware loading. Since kernel 3.7 2f08c3bdfSopenharmony_cifirmware loading changed to direct loading (by-pass udev). The test consists 3f08c3bdfSopenharmony_ciof the two parts: 4f08c3bdfSopenharmony_ci - userspace part 5f08c3bdfSopenharmony_ci - kernelspace part 6f08c3bdfSopenharmony_ci 7f08c3bdfSopenharmony_ciThis is a kernel module, which is a part of the device firmware loading test. 8f08c3bdfSopenharmony_ciIt allows to call request_firmware kernel function with specified parameters. 9f08c3bdfSopenharmony_ciTemplate firmware file name and expected firmware file's data size are passed 10f08c3bdfSopenharmony_cias the insmod command line parameters. Then, the number of firmware test files 11f08c3bdfSopenharmony_cishould be written to sysfs file 'fwnum' (the maximum number is 32). This write 12f08c3bdfSopenharmony_ciwill initiate request firmware procedure. In the end, results can be read from 13f08c3bdfSopenharmony_ci'result' device sysfs file. Also, some information regarding module loading, 14f08c3bdfSopenharmony_cican be obtained by looking at kernel log file. 15f08c3bdfSopenharmony_ci 16f08c3bdfSopenharmony_ciIt is automatically used by userspace part of the test. 17