๐ Communicating with QEMU for Space Mission Development - UNIX Sockets
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
Hello,
I am a CS student at CMU trying to do integration work for a moon rover my school is launching in 2023 that will look for water ice on the moon's south pole.
One of the main components of our design is a rad hardened flight computer called the OBC. I am trying to emulate our OBC to make development faster for me and my team using this repo: https://git.ksat-stuttgart.de/source/obc-qemu/ and cannot understand how to properly read any of the UNIX sockets QEMU is producing. For example, from QEMU I would like to read UART0 and UART1 on the device which corresponds to /tmp/qemu_at91_usart0 and /tmp/qemu_at91_usart1 but I cannot figure out how to do it or how the communication is really different between UNIX and IP sockets. I was under the impression I would be able to just read one byte at a time off of it the same way I would for a device, but this is not the case.
Could someone help me understand how to read these sockets produced by QEMU? I am currently sending UDP packets encapsulated in SLIP to the ports mentioned above and have confirmed that data is reaching them at least on the physical machine.
โ
Picture of rover after recent thermal blanket dressing :)
[link] [comments] ...