Now the question would be how to pass usb serial ports to qemu (where antix is started)
lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 2: Dev 2, If 4, Class=Vendor Specific Class, Driver=, 480M
|__ Port 2: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 2: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 2: Dev 2, If 5, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 2: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 4: Dev 7, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 7, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 7: Dev 3, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
|__ Port 8: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 8: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 9: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 9: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 14: Dev 6, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 14: Dev 6, If 1, Class=Wireless, Driver=btusb, 12M
UPDATE: DONE. WORKS.
This helped a lot.
https://sysadminde.com/questions/872...n-the-guest-os
Quote:
qemu-system-i386 -boot d -m 2047 -hda hpdisk.img -usb -chardev tty,path=/dev/ttyUSB0,id=hostusbserial -device usb-serial,dev=hostusbserial
|
Now, since antix 32 bits is working in qemu on a 64bits Debian PC (with serial ports activ), lets come back to the previous vision: making antix working on raspberry pi4 via qemu.
I am still hesitating in using the antix base as the 32 bit OS in qemu in a raspberry pi4.
The pi4 boots with raspbian and a 32GB SD.
1. I must have a look if any simulated RAM or qemu window can be simulated into a separated USB storage (I would not like to kill too quick my SD card).
2. I should perhaps give a try again to antix core:
- minimum desktop environment
- automatic login
- serial usb only
- ftp (use of midnight-commander)
- Qt5 application installed via anaconda3
- file manager
- nano editor
- no cpu monitoring etc. because qemu would be nbested in a pi4 rasbian system lxde
Any advice where to find a cli-interface command list for installing (from antix core)
: /dev/sda1 ext4 / 2GB (antix minimum system installed from "core")
: /dev/sbb1 linux-swap 1GB (separated USB drive connected at the pi4)
: /dev/sda2 ext4 /home 5GB (home for storing the anaconda3 Qt application and few files created by it)
are welcome.