diff options
Diffstat (limited to 'src/arch/tc1796-triboard')
-rw-r--r-- | src/arch/tc1796-triboard/Makefile.inc | 5 | ||||
-rwxr-xr-x | src/arch/tc1796-triboard/ssh-askpass | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/tc1796-triboard/Makefile.inc b/src/arch/tc1796-triboard/Makefile.inc index b9634c3..93cf1e6 100644 --- a/src/arch/tc1796-triboard/Makefile.inc +++ b/src/arch/tc1796-triboard/Makefile.inc @@ -67,9 +67,10 @@ build/system.bin: build/system.elf # > qemu-system-i386 -boot c -m 2048 -hda debian3-1.qcow2 -machine type=pc,accel=kvm:tcg --enable-kvm -net nic,model=ne2k_pci -net user,hostfwd=tcp::2022-:22 -smp cores=1,threads=2 -usb -monitor telnet::${QEMU_PORT},server,nowait # Must already be running in the background before 'make program' can be used. program: build/system.bin + ${QUIET}SSH_ASKPASS=/home/derf/var/projects/multipass/src/arch/tc1796-triboard/ssh-askpass SSH_ASKPASS_REQUIRE=force ssh -oKexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa -p 2022 root@localhost true ${QUIET}echo 'device_add usb-host,vendorid=0x058b,productid=0x0028,id=tricore' | nc -q 1 localhost ${QEMU_PORT} > /dev/null - ${QUIET}scp -oKexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa -P 2022 build/system.bin root@localhost:/tmp/system.bin - ${QUIET}ssh -oKexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa -p 2022 root@localhost "/opt/trigcc345/bin/tricore-jtag-usb-flash /opt/trigcc345/tricore/flash_driver/intern/tc1796/flashprg.elf /tmp/system.bin" + ${QUIET}SSH_ASKPASS=/home/derf/var/projects/multipass/src/arch/tc1796-triboard/ssh-askpass SSH_ASKPASS_REQUIRE=force scp -oKexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa -P 2022 build/system.bin root@localhost:/tmp/system.bin + ${QUIET}SSH_ASKPASS=/home/derf/var/projects/multipass/src/arch/tc1796-triboard/ssh-askpass SSH_ASKPASS_REQUIRE=force ssh -oKexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa -p 2022 root@localhost "/opt/trigcc345/bin/tricore-jtag-usb-flash /opt/trigcc345/tricore/flash_driver/intern/tc1796/flashprg.elf /tmp/system.bin" ${QUIET}echo 'device_del tricore' | nc -q 1 localhost ${QEMU_PORT} > /dev/null monitor: diff --git a/src/arch/tc1796-triboard/ssh-askpass b/src/arch/tc1796-triboard/ssh-askpass new file mode 100755 index 0000000..53af580 --- /dev/null +++ b/src/arch/tc1796-triboard/ssh-askpass @@ -0,0 +1,3 @@ +#!/bin/sh + +echo root |