mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
These tests use SPI flash (and the sandbox emulation) to operate. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
10 lines
279 B
Bash
Executable File
10 lines
279 B
Bash
Executable File
#!/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}
|
|
dd if=/dev/zero of=spi.bin bs=1M count=2
|
|
./sandbox/u-boot -d test/dm/test.dtb -c "dm test"
|
|
rm spi.bin
|