Switch to debug2 instead of bench2
No need to run the SPEC benchmarks all the time. Stopping at the stage2 shell is enough to test most of the system.
This commit is contained in:
parent
4333f8074e
commit
ad5dd72928
@ -21,12 +21,12 @@ set -x
|
|||||||
./fpgactl -w bitstream.bit -b opensbi.bin -k kernel.bin -i initrd.bin -r rootfs.img
|
./fpgactl -w bitstream.bit -b opensbi.bin -k kernel.bin -i initrd.bin -r rootfs.img
|
||||||
|
|
||||||
# Normal timeouts
|
# Normal timeouts
|
||||||
#timeout=$((30 * 60)) # Always stop after 30 min
|
timeout=$((30 * 60)) # Always stop after 30 min
|
||||||
#timeout_silent=$((3 * 60)) # Stop if 3 min without output
|
timeout_silent=$((3 * 60)) # Stop if 3 min without output
|
||||||
|
|
||||||
# Timeouts for SPEC benchmarks
|
# Timeouts for SPEC benchmarks
|
||||||
timeout=$((12 * 60 * 60)) # Always stop after 12 h
|
#timeout=$((12 * 60 * 60)) # Always stop after 12 h
|
||||||
timeout_silent=$((4 * 60 * 60)) # Stop if 4 h without output (some benchmarks take 1.6h)
|
#timeout_silent=$((4 * 60 * 60)) # Stop if 4 h without output (some benchmarks take 1.6h)
|
||||||
|
|
||||||
# Set dead switch
|
# Set dead switch
|
||||||
sleep $timeout && killall picocom &
|
sleep $timeout && killall picocom &
|
||||||
|
@ -540,7 +540,7 @@
|
|||||||
in prev.runCommand "uboot.txt" {} ''
|
in prev.runCommand "uboot.txt" {} ''
|
||||||
cat > $out <<EOF
|
cat > $out <<EOF
|
||||||
xtrace=yes
|
xtrace=yes
|
||||||
bootargs=root=/dev/ram0 loglevel=7 rw earlycon=sbi console=hvc0 bench2 init=${init}
|
bootargs=root=/dev/ram0 loglevel=7 rw earlycon=sbi console=hvc0 debug2 init=${init}
|
||||||
ramdisk_size=$(stat --format %s $(readlink -f ${initrd}))
|
ramdisk_size=$(stat --format %s $(readlink -f ${initrd}))
|
||||||
bootcmd=fdt print; booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr}
|
bootcmd=fdt print; booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user