Hi,
I would like to port tinyPilot for another platform expect raspberry pi , for that I have some query related to tinyPilot.
Can anyone help me to resolve the query if possible. It will be heplfull.
-
Is it possible to port tinypilot for another arch_linux _86x64 platform? I am planning to port for imx8 board with yocto.
-
What are the hardware dependencies are there if it is portable?
-
Is there any meta layer is available for yocto build system ? If yes please share here.
Mod edit: Linked Github discussion: https://github.com/tiny-pilot/tinypilot/discussions/913
- Michael Lynch @michael2022-02-11 14:15:05.811Z
Is it possible to port tinypilot for another arch_linux _86x64 platform? I am planning to port for imx8 board with yocto.
It should be possible. You'll have to change the Ansible role to support your platform.
What are the hardware dependencies are there if it is portable?
The biggest hardware dependency is that the device has to support either USB host mode or USB OTG so that it can emulate a USB device using the Linux USB Gadget API.
Is there any meta layer is available for yocto build system ? If yes please share here.
No, this is not available, as we don't use Yocto to build TinyPilot.
- AIn reply toAvni22⬆:@Avni22
Hi
Thank you for updating.
I have been through out the tinypilot architecture it is informative and I got some idea from that.
but, i am not able to get clear idea of code work flow, as it is top level architechure.if there is any work flow for tinypilot source is available , can you please share. it will be helpful for me to port.
if it has been ported earlier by someone can you please provide their links?
- Michael Lynch @michael2022-02-22 18:57:17.508Z
The best documentation is in these documents, which it sounds like you've already seen:
If you need to understand the system at a more granular level than those documents, then the only option is to study the source code.
- AIn reply toAvni22⬆:@Avni22
Hi
Thanks for replying.
I will look into surce code to understand of tinyPilot work flow in deeper level.
I got few query, if you could help me to resolve it?
- Work flow of virtual USB Mass stroage emulation to target pc.
is below work flow is right?
create .img file at local pc --> scp to tinyPilot --> mount image to partition of tinyPilot --> gadget driver to mount virtual USB --> target pcTaget pc can add new file or modify the existing file in Virtual USB MSD?
After unmounting MSD all the changes done by target pc are available in the .img, right?
- as I know currently tinyPilot has no functionality for audio streaming.
is it possible to add audio streaming in tinyPilot?
In porting i would like to add audo streaming as well. it would be helpfull if i get any input on this.
Thanks
- Michael Lynch @michael2022-02-24 13:27:18.607Z
Work flow of virtual USB Mass stroage emulation to target pc.
The open-source version of TinyPilot unfortunately does not support USB mass storage.
as I know currently tinyPilot has no functionality for audio streaming. is it possible to add audio streaming in tinyPilot?
Yes, this is correct. Audio is not currently supported. You would need to add it in uStreamer and then use the experimental H264 branch, as MJPEG doesn't support audio.
- AIn reply toAvni22⬆:@Avni22
Hi
Thank you for your feedback. it would be helpfull.
Yes, i know that open source tinyPilot dose not have USB storage functionality. but i am asking for work flow consern if you can provide any help on that.
As it seams that ustreamer is specifically designed for raspberry pi board and i am porting kvm for imx8 board.
So , its good to use uStreamer with iMX8 instead of gstreamer.
is the tinyPilot use Janus-gateway plugin for streaming sever?
if you can provide any other alternative for ustreamer.
Thanks