Home | History | Annotate | only in /external/ltp/testcases/kernel/firmware/fw_load_kernel
Up to higher level directory
NameDateSize
ltp_fw_load.c21-Aug-20184.2K
Makefile21-Aug-20181.1K
README21-Aug-2018860

README

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