-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Armbian support for OctoPi #232
Comments
Seriously interested for the Orange PI PC. Could you give some more information how to build with Armbian? |
or if you using the vagrant method:
Like any other variant. To confirm the build is indeed using the correct variant you can see in the config setting its picking the Armbian image, here is an example output:
You can see its extracting Armbian_5.10_Cubox-i_Debian_jessie_3.14.67.raw. |
@universam1 Any luck? I was considering building it for you on condition you test it and report back here. |
@guysoft Sorry for late reply - I was struggling with Wifi driver on Armbian. I am very willing to test, thanks for help! |
Having following issues when running the build under Ubuntu 14.04 VM:
... and so on, fails at the end. Looks like the mounted image cant reach out to internet, although the URLs that fail all are resolvable if tried manually from within the VM. Any ideas? EDIT: |
@guysoft Awesome, works fantastic! :-D jessie 5.14 still has wifi issues, but if anyone interested I created a working repo: https://github.com/universam1/rtl8188eu I tried with Xenial, but vagrant failed because of the box image which can be fixed with using bento/ubuntu14.4. But your image work perfect, thanks for the good work! |
Can you send pull requests for those changes?
|
Any news on this? |
As far as I know it works. Just pick a device and build for it. There are.
40+ devices supported so I cannot build for them all.
|
Yes it runs stable since weeks! No issues, thanks! |
Thanks. Universam1 what device did you use i have a orange pi lite |
Also how did you go about installing? |
I use a orange pi pc with 1gb ram. That's never needed, 512 will be way Am Montag, 12. September 2016 schrieb tedo2007 :
|
Branch has been merged In case anyone missed that |
Sorry for the dumb question but what does that mean? |
Can you be more specific - what do you mean by "that"?
|
Sorry, what does merged mean when it comes to the branch. I know what branching means. |
Disregard. Figured it out. Thanks |
I hate to be "that guy" but I have been struggling to get OctoPrint running on Armbian 5.25 when installed manually. Won't autostart on boot, and doesn't recognize USB port. I am very new to linux, and have no idea how to build one from here. I have the Armbian 5.25 Desktop version with Ubuntu Xenial image, how do I go about making this for the Orange Pi Lite using Armbian 5.25 and Octoprint? I don't have a computer that runs linux, I guess I could try and get a VM going. Could it be built on the Orange Pi? Thank you in advance for any help. |
There is a good guide here http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=594 That goes through the steps. I've done it but couldn't get autostart as well so just use Terminal to start it and run int he background then close the shell and leave it be. I'm a noon to Linux as well so learning as I go as well. |
@anthonywob OctoPi can be built for Armbian. I think knowing how to build is much better, it lets you switch the base image when a new image is out. Long winding guides is why I built OctoPi. @poorredneck Can you please link the exact base image you want? |
Armbian 5.25 Desktop My issue is more of ignorance than anything lol. This Orange Pi is the first time I've touched linux in 10 years. I dabbled with it in high school but most of that knowledge is gone. I am running that version of Armbian right now, with Octoprint installed manually but as stated above can not get it to auto boot, or recognize USB/Serial port. I was using a very old image before hand but CPU scaling was broken and was stuck at min frequency no matter what I tried to fix it. Because it is so old, no-body would support it or assist with debugging it. Everybody says to start fresh. I did just that but now I have no working Octoprint for the reasons listed above. Thank you for the fast response! |
@anthonywob that is exactly the same article that I used. My issue is when I close the terminal shell the instance of Octoprint stops as well. |
So just to make sure I understand this correctly. The tutorial is assuming I have more knowledge than I really do. I can usually figure stuff out, but I'm just having difficulty with this. The Armbian 7z that is downloaded will contain a .img file. I am to unzip the .img file, then ZIP that .img file with the proper naming structure outlined above. Armbian.zip would work. I then copy that file to /img/src/ The next step you say : git checkout armbian Is this assuming I have cloned it to the OrangePi first? |
Ok, so I have burned and setup the image you posted using Armbian 5.14 listed above... but how the hell do I connect to WiFi? Would it be possible for somebody to build a version using the image here: |
I don't know enough to help you out with the process I used. |
@anthonywob You need to set up your network connection, if you are having issues setting up wireless I suggest you try first an ethernet connection. |
@guysoft I'm not using wifi. Currently have Ethernet connected. I attached an image of the output as I can't connect via SSH yet as it's not on the network. |
Perhaps your network is on ipv6? What is the output of |
Im not sure. |
I checked my router and I have not enable ipV6 so I should still be on ipV4. |
Also, looks like the orange pi is showing up in my LAN connected devices |
So it seems for some reason my router isn't assigning this device an ipV4 address only an ipV6 even though it assign ipV4 for all my other devices. |
This seems to be worth to ask on Arabian fourm why that happens. Its going a little beyond the knowledge I have of their system. It might be something they came across. |
Hi, Thanks for providing this wonderful resource! I'm trying to build a version of octopi from Armbian_5.27_Orangepilite_Debian_jessie_default_3.4.113 and I'm getting the following error message:
Build.log attached. Any ideas? |
@gyrex I think its faling on the line #black magic of qemu-arm-static
cp `which qemu-arm-static` usr/bin which means you don't have |
@guysoft Thanks for your prompt response! I'm trying to build this in a vm using an i386 version of ubuntu and can't find qemu-arm* in apt-get. Will this work or do I need to build this on an ARM system? |
Hey, |
Thanks for your help @guysoft OK, the package on ubuntu is "qemu-user-static" and I got a little further but now I'm getting another build error. Build log attached. Any ideas mate? |
@gyrex For some reason, that image does not have i2c installed, and therefore no i2c user group. |
@guysoft Do you mean my ubuntu system doesn't have an i2c user group or the armbian image? I'll remove i2c from the line in any case and let you know how it goes. |
No, that user is in the armbian image.
Please use the vagrant build method to remove all build environment
difference.
|
I can't run vagrant because I require a licence for a vmware provider apparently. I removed i2c from pre_chroot_script and I'm still getting error messages. Build log attached. I think I'll install a fresh version of ubuntu armbian on my OrangePi and try building it on that. |
@guysoft I tried building this on the OrangePi using the Ubuntu xenial build and it failed. build log attached. |
1. Use virtualbox provider, its free software
2. Use the Jessie image
|
I don't know why it's not building :( |
@guysoft have you got any other suggestions mate? Sorry to bug you but I'm not well versed on build environments. I really appreciate your help :) |
Are you building this on the orangepi or on a different machine? It should be built on a different machine. |
Hi everyone, |
It says it can't start the vm, did you install vagrant and virtualbox? I
can't give a complete guide how to troubleshoot vagrant.
|
I did install vagrant and all as described in the guide and virtualbox 4.3 (newer version are not supported). This is the full error message i get Bringing machine 'default' up with 'virtualbox' provider... Couldn't open file /home/vm/Downloads/OctoPi-armbian/src/base |
@hogtave "Building directly on the Opi0 gives me an error ("losetup: /dev/loop0: detach failed: Device or resource busy")" I got the same error when trying to build on my OPi Lite. I haven't tried building using vagrant but I'll give it a try. Let me know how you get on because it's frustrating me as well :( |
Closing, it works, talks about documentation go here: |
Hey all,
I have opened a new branch called
armbian
, which has a variant under that name that lets you build OctoPi on Armbian. There is a a big list of devices that run armbian. And it would be interesting to hear if anyone there is a call for a popular device.For now I am testing using a HummingBoard kindly provided by SolidRun, and it seems like OctoPrint, wifi system and webcams work smoothly.
The beta image of the HummingBoard is available here:
https://storage.googleapis.com/octoprint/Armbian_5.10_Cubox-i_Debian_jessie_3.14.67-0.14.0_beta.zip
md5:
https://storage.googleapis.com/octoprint/Armbian_5.10_Cubox-i_Debian_jessie_3.14.67-0.14.0_beta.zip.md5
The text was updated successfully, but these errors were encountered: