blob: bb99677ece9462604e4362fc514030291e30862d [file] [log] [blame]
Simon Glass2e7d35d2014-02-26 15:59:21 -07001#!/bin/sh
2
3NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor)
4dtc -I dts -O dtb test/dm/test.dts -o test/dm/test.dtb
5make O=sandbox sandbox_config
6make O=sandbox -s -j${NUM_CPUS}
Simon Glassebcab482014-10-13 23:42:10 -06007dd if=/dev/zero of=spi.bin bs=1M count=2
Simon Glass2e7d35d2014-02-26 15:59:21 -07008./sandbox/u-boot -d test/dm/test.dtb -c "dm test"
Simon Glassebcab482014-10-13 23:42:10 -06009rm spi.bin