]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - test/dm/test-dm.sh
sandbox: Use os functions to read host device tree
[karo-tx-uboot.git] / test / dm / test-dm.sh
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}
7 ./sandbox/u-boot -d test/dm/test.dtb -c "dm test"