1. A system for validating a hardware platform, wherein the hardware platform comprises one or more hardware components, and one or more software components, the system comprising: a database that stores one or more test specifications; a device driver generator that receives a run time specification and a device programming specification that are specific to the hardware platform, wherein the device driver generator generates a device driver that is specific to the hardware platform; a compiler that generates a target image based on (i) the device driver, (ii) a platform independent target application code, (iii) a kernel source, and (iv) a run time environment, wherein the target image is executed on the hardware platform; a software driven validation generator that analyses the run time specification and the device programming specification and generates (i) one or more test cases based on (a) the one or more test specifications, and (b) the device programming specification, wherein the one or more test cases comprises one or more configurations that are specific to the hardware platform, and (ii) a control software based on the one or more test cases, wherein the hardware platform is validated based on (i) an execution of the target image and the control software on the hardware platform, and (ii) the one or more test cases.