Gaurav Minocha, a GSOC’14 student intern at Linaro, completed the project Linux Flattened Device Tree Selfchecking, under the guidance of Grant Likely, CTO office.
He was invited to give a talk on his work at LCU14
Linux Flattened Device Tree Selfchecking is a test suite to test the OF device tree interface used in device driver development. Traditionally, following input data was configured for the successful execution of Selfchecking tests.
– Append the testcase data to the current device tree (i.e. add a #include testcases.dtsi to the board .dts file to add in the
– Enable the testcase driver (i.e. enable OF_SELFTEST symbol in kernel config)
What was the problem above? – All the platforms had their custom device tree file so to execute the Selfchecking tests, and before enabling the DT self test the testcase data had to be manually appended to the device tree file (as mentioned above)
As a GSOC’2014 student intern, Gaurav Minocha removed the manual process of appending the testcase data to the board_specific .dts files, that is the input for the selftests. So, he has designed and improved the current code to automate the addition of the test data to the current device tree, if OF_SELFTEST symbol is enabled. In simple words, now user just needs to enable the appropriate config symbol to run the self tests.