Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor) |
| 4 | dtc -I dts -O dtb test/dm/test.dts -o test/dm/test.dtb |
| 5 | make O=sandbox sandbox_config |
| 6 | make O=sandbox -s -j${NUM_CPUS} |
Simon Glass | ebcab48 | 2014-10-13 23:42:10 -0600 | [diff] [blame^] | 7 | dd if=/dev/zero of=spi.bin bs=1M count=2 |
Simon Glass | 2e7d35d | 2014-02-26 15:59:21 -0700 | [diff] [blame] | 8 | ./sandbox/u-boot -d test/dm/test.dtb -c "dm test" |
Simon Glass | ebcab48 | 2014-10-13 23:42:10 -0600 | [diff] [blame^] | 9 | rm spi.bin |