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