SmartAudio/lichee/brandy/u-boot-2014.07/test/dm/test-dm.sh

8 lines
227 B
Bash
Raw Normal View History

2018-07-13 01:31:50 +00:00
#!/bin/sh
NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor)
dtc -I dts -O dtb test/dm/test.dts -o test/dm/test.dtb
make O=sandbox sandbox_config
make O=sandbox -s -j${NUM_CPUS}
./sandbox/u-boot -d test/dm/test.dtb -c "dm test"