You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for ODroid / Raspberry Pi OS 64-bit #79
confirmed working, required manual work to adapt the install script for Ubuntu
ODroid C1+/C2/C4
ubuntu-18.04.3-3.16-minimal-odroid
Probably won't work because the latest official ODroid builds are on v3.16 of the Linux Filesystem, and TinyPilot depends on configfs-usb-gadget-hid, which was added in 3.19.
ODroid C1+/C2/C4
ubuntu-20.04-3.16-minimal-odroid
Same as above.
ODroid C1+/C2/C4
DietPi 6.31.2
Still on the 3.16.85 kernel, so similar reason to above.
This article claims to demonstrate it, but I tried those exact steps, and it failed. It's worth noting that they used a different kernel version than currently ships with ArchLinuxARM.
It's possible. I don't have one on hand to check, but I'd welcome reports from anyone who does.
I had a good go at it today.. Got debian stretch on an sd card and all updated. I had to make a couple of changes to the quick_install script.. Mainly either side of the ansible install.. Something like +u and -U above and below so that it would install..
But after that, it failed while building wheels.. something like "bdist wheel" as an invalid command...
I;ve not got it powered up at the moment so can't get exact errors.
The bdist_wheel is an innocuous error as far as I can tell. It's a bug in Ansible's pip installation, but it seems to continue the install using another method. If it failed, there should be an error further down in the Ansible log.
The bdist_wheel is an innocuous error as far as I can tell. It's a bug in Ansible's pip installation, but it seems to continue the install using another method. If it failed, there should be an error further down in the Ansible log.
Ah, then maybe i shouldn't of quit the install :) I'll try it again tomorrow and get back to you.. hopefully i've ordered the correct hdmi to usb adapter..
That's a slightly different one, but all these products are just different packaging on top of the same MacroSilicon MS2109 chip, so it should work exactly the same.
That's a slightly different one, but all these products are just different packaging on top of the same MacroSilicon MS2109 chip, so it should work exactly the same.
So i went back to a fresh debian install and ran through it again..
Would you be able to link to a gist of your full log? I can't tell from the snippet where the failure happened in the process.
I would, but i seem to of corrupted the SD card again.. The power supply i'm using is a bit loose and it seems to have moved and shafted it.. if i get it going again i'll let you know... I may just buy a pi4 though to be honest.
Thanks! It looks like it's failing while trying to install ansible. I just merged in #88 to let Ansible build with wheel like it's trying to do. It installs fine either way on Raspberry Pi OS 32-bit, but it might make a difference on aarch64.
Can you try running the quick install command again now that I've updated it?
I'm using Ubuntu 18.04 (x86_64) bits it seems that the dwc driver loaded is dwc3 though, I'm not sure it makes a difference. I tried to load dwc2 but it doesn't seem to do anything.
Ok, i'm an idiot, it works perfectly fine, I was just running tiny pilot as my user and didn't have permission to /dev/hidg0 running tinypilot as root fixes the issue.
Did you have to do anything special to get /dev/hidg0 to appear under Ubuntu 18.04 or did it just work right out of the box with the same TinyPilot scripts?
I spent some time experimenting with other boards this week, but wasn't able to get TinyPilot working. I updated a comment near the top of the thread for reference.
For the up squared board. The install script probably works but I didn’t use it because I already had some conflicting services installed so I went the manual way.
I've had to do some tweaking due to poor detection of CPU type in the installation scripting (Ansible), but I've manged to get all variants of the LibreComputer Tritium H3 working with armbian.
Activity
mtlynch commentedon Jul 24, 2020
It's possible. I don't have one on hand to check, but I'd welcome reports from anyone who does.
Summary
The big blocker is support for the usb-gadget-hid in the kernel, which Raspberry Pi OS has natively, but it's hard to enable on other boards.
/dev/hidg0filepython3 -m venv venvdanmed commentedon Jul 24, 2020
I had a good go at it today.. Got debian stretch on an sd card and all updated. I had to make a couple of changes to the quick_install script.. Mainly either side of the ansible install.. Something like +u and -U above and below so that it would install..
But after that, it failed while building wheels.. something like "bdist wheel" as an invalid command...
I;ve not got it powered up at the moment so can't get exact errors.
mtlynch commentedon Jul 24, 2020
The bdist_wheel is an innocuous error as far as I can tell. It's a bug in Ansible's pip installation, but it seems to continue the install using another method. If it failed, there should be an error further down in the Ansible log.
danmed commentedon Jul 24, 2020
Ah, then maybe i shouldn't of quit the install :) I'll try it again tomorrow and get back to you.. hopefully i've ordered the correct hdmi to usb adapter..
https://www.amazon.co.uk/gp/product/B08C7B4DKM/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
I got this one because the one linked from your blog had a months wait time!
mtlynch commentedon Jul 25, 2020
That's a slightly different one, but all these products are just different packaging on top of the same MacroSilicon MS2109 chip, so it should work exactly the same.
danmed commentedon Jul 25, 2020
So i went back to a fresh debian install and ran through it again..
i had to change a small part of the script :
And this is how it finished :
mtlynch commentedon Jul 25, 2020
Oh, I forgot that ODroid is 64-bit. I haven't tested with aarch64 yet.
@KuroSaru got TinyPilot working on an aarch64 beta of Raspberry Pi OS. They had to manually run
sudo apt-get install libffi-devbut that doesn't look like it's your issue.Would you be able to link to a gist of your full log? I can't tell from the snippet where the failure happened in the process.
danmed commentedon Jul 25, 2020
I would, but i seem to of corrupted the SD card again.. The power supply i'm using is a bit loose and it seems to have moved and shafted it.. if i get it going again i'll let you know... I may just buy a pi4 though to be honest.
danmed commentedon Jul 25, 2020
OK, so it's back up.. Here's the gist :
https://gist.github.com/danmed/aeef59f4485c8c6c06a5d67e1ecf9817
mtlynch commentedon Jul 25, 2020
Thanks! It looks like it's failing while trying to install ansible. I just merged in #88 to let Ansible build with wheel like it's trying to do. It installs fine either way on Raspberry Pi OS 32-bit, but it might make a difference on aarch64.
Can you try running the quick install command again now that I've updated it?
curl -sSL https://raw.githubusercontent.com/mtlynch/tinypilot/master/quick-install | bash -Edit: Actually, to avoid potentially pulling a cached version of the install script, it's better if you run the specific branch's script:
curl -sSL https://raw.githubusercontent.com/mtlynch/tinypilot/install-wheel/quick-install | bash -danmed commentedon Jul 25, 2020
I've just done
And it seems to be potentially working.. bear with me.
Edit : I'm still using the old quick_install that i modifed...
Edit again: I think the only error i got is
hitting the IP i get an nginx welcome page though..
mtlynch commentedon Jul 25, 2020
It looks like you're still pulling the old Ansible role. Can you give the new script a try?
curl -sSL https://raw.githubusercontent.com/mtlynch/tinypilot/install-wheel/quick-install | bash -It's idempotent, so running it multiple times should be fine.
danmed commentedon Jul 25, 2020
Giving it a go now.. added my changes in so it runs for me.
danmed commentedon Jul 25, 2020
So, it was all going great.. no bdist errors.. then this happened :
https://gist.github.com/mtlynch/4e58cb6a4b5826f75b07b2b04ef12745
im still just getting an nginx welcome page.
I've noticed there's no /opt/tinypilot folder.. which tinypilot.conf seems to be pointing to..
Just a ustreamer folder.
[maintainer edit: moved long output to separate gist]
10 remaining items
lamarios commentedon Aug 18, 2020
I'm using Ubuntu 18.04 (x86_64) bits it seems that the dwc driver loaded is dwc3 though, I'm not sure it makes a difference. I tried to load dwc2 but it doesn't seem to do anything.
lamarios commentedon Aug 18, 2020
Ok, i'm an idiot, it works perfectly fine, I was just running tiny pilot as my user and didn't have permission to /dev/hidg0 running tinypilot as root fixes the issue.
Thanks ! Sent you a beer.
mtlynch commentedon Aug 18, 2020
Thanks for the donation, @lamarios!
Did you have to do anything special to get
/dev/hidg0to appear under Ubuntu 18.04 or did it just work right out of the box with the same TinyPilot scripts?lamarios commentedon Aug 19, 2020
It worked straight away with what's in the repo.
mtlynch commentedon Aug 21, 2020
I spent some time experimenting with other boards this week, but wasn't able to get TinyPilot working. I updated a comment near the top of the thread for reference.
lamarios commentedon Aug 21, 2020
For the up squared board. The install script probably works but I didn’t use it because I already had some conflicting services installed so I went the manual way.
WarheadsSE commentedon Feb 15, 2021
I've had to do some tweaking due to poor detection of CPU type in the installation scripting (Ansible), but I've manged to get all variants of the LibreComputer Tritium H3 working with armbian.
mtlynch commentedon Feb 15, 2021
@WarheadsSE awesome! Could you share the configuration you used?
WarheadsSE commentedon Feb 15, 2021
@mtlynch That's the plan. I have to dig it all out of the nodes 😅
WarheadsSE commentedon Feb 15, 2021
This gist covers the items needed to enable OTG, but I haven't yet found time to document a walk-through of how to enabled device tree overlay.
WarheadsSE commentedon Feb 15, 2021
Said gist updated (plus another) for LibreComputer Tritium
WarheadsSE commentedon Feb 17, 2021
Here's a new entry for above @mtlynch 👍
mtlynch commentedon Feb 17, 2021
@WarheadsSE - added, thanks!