Anylsite / anyl-wallet

🏦 Anyl Embedded Wallet for Internet of Things
Apache License 2.0
30 stars 16 forks source link

unix:/tmp/slip.sock: could not connect serial device, ninja run wallet #180

Closed lorepieri8 closed 5 years ago

lorepieri8 commented 5 years ago

Describe the bug unix:/tmp/slip.sock: could not connect serial device when doing ninja run to start the wallet.

To Reproduce https://github.com/AnyLedger/anyledger-wallet/blob/master/BUILD-qemu.md

Expected behavior Wallet starting and displaying uart:~$

Desktop (please complete the following information):

Additional context

root@lorenzoPractice:~/zephyr/samples/anyledger/anyledger-wallet/build# ninja run
[0/1] To exit from QEMU enter: 'CTRL+a, x'[QEMU] CPU: qemu32,+nx,+pae
qemu-system-i386: -serial unix:/tmp/slip.sock: Failed to connect socket /tmp/slip.sock: No such file or directory
qemu-system-i386: -serial unix:/tmp/slip.sock: could not connect serial device to character backend 'unix:/tmp/slip.sock'
FAILED: zephyr/CMakeFiles/run 
cd /root/zephyr/samples/anyledger/anyledger-wallet/build && /opt/old9dot5-zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-i386 -m 8 -cpu qemu32,+nx,+pae -device isa-debug-exit,iobase=0xf4,iosize=0x04 -no-reboot -nographic -vga none -display none -net none -no-acpi -machine type=pc-0.14 -pidfile qemu.pid -serial mon:stdio -serial unix:/tmp/slip.sock -kernel /root/zephyr/samples/anyledger/anyledger-wallet/build/zephyr/zephyr.elf
ninja: build stopped: subcommand failed.
lorepieri8 commented 5 years ago

Following https://docs.zephyrproject.org/1.13.0/subsystems/networking/qemu_setup.html#networking-with-qemu, make sure that ./loop-socat.sh is running. Quit the process with ctl+c and restart it if needed.