{"id":391,"date":"2016-01-19T20:12:18","date_gmt":"2016-01-19T20:12:18","guid":{"rendered":"https:\/\/einhugur.com\/blog\/?p=391"},"modified":"2016-01-24T14:47:44","modified_gmt":"2016-01-24T14:47:44","slug":"switch-to-clang-on-linux-and-update-to-orange-pi-and-banana-pi-reviews","status":"publish","type":"post","link":"https:\/\/einhugur.net\/blog\/index.php\/2016\/01\/19\/switch-to-clang-on-linux-and-update-to-orange-pi-and-banana-pi-reviews\/","title":{"rendered":"Switch to clang on Linux and update to Orange PI and Banana PI reviews"},"content":{"rendered":"<p>I just wanted to touch a bit on it why were are updating our plugins to use CLang on Linux systems.<\/p>\n<p>Over the years its always been a issue of which runtime libraries users have had on their Linux installation, getting it to match what Xojo uses and then what a plugin might use.<\/p>\n<ul>\n<li>Xojo uses CLang on Linux systems, so using same will reduce the issue of matching runtime libraries. Thus making it easier for you to deploy your applications successfully.<\/li>\n<li>Mysterious crashes on deep nested C++ exceptions and other runtime abnormalities all seem to go away. We had for example the new Barcode plugin for some months just waiting because of issues that could not be explained on some Linux systems, but going Clang to match Xojo the host of the plugin fixed that.<\/li>\n<\/ul>\n<p><strong>Now I want to update my review of the Orange PI and Banana PI since I have had them for some months now. And yes this is a warning to all potential buyers of such.<\/strong><\/p>\n<p><strong>Orange PI:<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><strong>DO NOT BUY !!! (Thats the short version of it)<\/strong><\/p>\n<p style=\"padding-left: 30px;\">Basically nothing works ! the images they provide crash a lot, it will not load USB stick, WIFI\u00a0works sometimes, huge display detection issues, the maker does nothing to fix driver issues, but pushes out more and more hardware even if previous sets cannot be used due to broken or non existent drivers.<\/p>\n<p style=\"padding-left: 30px;\">(Sadly Armbian\u00a0does not seem to be ready for this CPU yet but I hope it will come soon, then the Orange PI will be salvageable &#8211; see bellow how it salvaged Banana PI M2)<\/p>\n<p><strong>Banana\u00a0PI:<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><strong>M2: \u00a0<\/strong><\/p>\n<p style=\"padding-left: 60px;\">I sort of loved the M2 for a while, but then the circuit under the power connector got loose. Then I read I could use the mini USB port to power it also which works&#8230;..but then 2 USB ports mysteriously die. I also found out at late stage that the Ethernet does not work on their system images.<\/p>\n<p style=\"padding-left: 60px;\">Pretty much same situation here as with Orange PI software and drives seriously lacking.<\/p>\n<p style=\"padding-left: 60px;\"><strong><span style=\"color: #999999;\">Some updates on this one:<\/span><\/strong><\/p>\n<p style=\"padding-left: 90px;\">I found that side by the power connector there were two holes in the board marked CN2, using multimeter I was able to measure that those pins are same pins as in the broken power connector I had. With a little soldering I made a patch from the power connector to the CN2 pins and the power issue was solved making ALL USB ports work again by not having to use the USB OTG port to power it.<\/p>\n<p style=\"padding-left: 90px;\">Then I got my self Armbian, from the <a href=\"http:\/\/www.armbian.com\">www.armbian.com<\/a> page, and after fiddling a bit with it then all the issues I had with the Banana PI M2 have vanished. This is far better than what the Banana PI team is supplying.<\/p>\n<p style=\"padding-left: 90px;\">Network works decently both WIFI and Wired. USB sticks work. And I get display for first time at full resolution.<\/p>\n<p style=\"padding-left: 90px;\"><strong>To get things up the way I wanted I had to:<\/strong><\/p>\n<p style=\"padding-left: 90px;\"><strong>First get up user interface:<\/strong><\/p>\n<p style=\"padding-left: 90px;\">apt-get -y install xorg lightdm xfce4 tango-icon-theme gnome-icon-theme<\/p>\n<p style=\"padding-left: 90px;\">reboot<\/p>\n<p style=\"padding-left: 90px;\"><strong>Add GUI to the network setup:<\/strong><\/p>\n<p style=\"padding-left: 90px;\">sudo apt-get install wicd<\/p>\n<p style=\"padding-left: 90px;\"><strong>Make USB sticks mount and fix the trash can not showing on desktop:<\/strong><\/p>\n<p style=\"padding-left: 90px;\">sudo apt-get install thunar-volman<br \/>\nsudo apt-get install gvfs<br \/>\nsudo apt-get install policykit-1<\/p>\n<p style=\"padding-left: 90px;\"><strong>Add a web browser:<\/strong><\/p>\n<p style=\"padding-left: 90px;\">sudo apt-get install epiphany-browser<\/p>\n<p style=\"padding-left: 30px;\"><strong>M3: \u00a0<\/strong><\/p>\n<p style=\"padding-left: 60px;\">I waited on this one for months with great hopes as if I was waiting for the holy grail. There are only two normal USB ports, so if you have keyboard and a mouse then there is no place for USB stick. SATA port is more or less fake since it uses way slow USB bridge. It will only scan for Wifi if I have wired net connected also.<\/p>\n<p style=\"padding-left: 60px;\">I have not given up on this one, I still hope they will post better system image where some things are fixed. But my hopes are low given their ability and track record to support their devices.<\/p>\n<p style=\"padding-left: 60px;\">Why on earth they make loads of system Images with Various of Linux types is beyond me when they all are bad instead of focusing making one good at least.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just wanted to touch a bit on it why were are updating our plugins to use CLang on Linux systems. Over the years its always been a issue of which runtime libraries users have had on their Linux installation, getting it to match what Xojo uses and then what a plugin might use. Xojo &hellip; <a href=\"https:\/\/einhugur.net\/blog\/index.php\/2016\/01\/19\/switch-to-clang-on-linux-and-update-to-orange-pi-and-banana-pi-reviews\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Switch to clang on Linux and update to Orange PI and Banana PI reviews<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pd75nk-6j","jetpack-related-posts":[{"id":827,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/01\/07\/we-need-our-users-help-else-important-plugin-showstopper-bugs-in-xojo-are-not-looked-at\/","url_meta":{"origin":391,"position":0},"title":"We need our users help else important plugin showstopper plugin related bugs in Xojo are not looked at","date":"January 7, 2017","format":false,"excerpt":"We really need users to sign onto plugin showstoppers in the Xojo bug base because of their awful system to weight the bugs then if only the plugin author signs them then the issue will not get any attention. This one here causes Plugin control experience on Linux to be\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":257,"url":"https:\/\/einhugur.net\/blog\/index.php\/2015\/10\/20\/the-day-has-come-xojo-has-released-xojo-2015r3-with-64bit-compile-on-macos-x-linux-and-windows-as-well-as-adding-raspberry-pi-arm-target\/","url_meta":{"origin":391,"position":1},"title":"The day has come ! Xojo has released Xojo 2015r3 with 64bit compile on MacOS X, Linux and Windows, as well as adding Raspberry PI ARM target","date":"October 20, 2015","format":false,"excerpt":"This is great day in history of Xojo and for most Xojo developers. Of course its not perfect and some would say its no good because of lack of debugging, to big compile sizes and because there might be bugs. Having been playing with it throughout the alpha and beta\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/08\/64red.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":31,"url":"https:\/\/einhugur.net\/blog\/index.php\/2015\/09\/10\/next-set-to-boards-to-test-and-develop-xojo-arm-plugins-arrive\/","url_meta":{"origin":391,"position":2},"title":"Next set to boards to test and develop Xojo ARM plugins arrive","date":"September 10, 2015","format":false,"excerpt":"Next set of boards to develop and test arrived, this time it was Banana PI M2 and Orange PI 2. I had seen reviews on the web on the hardware, that soldering on the Orange PI was crude, but I found both boards to be flawless in every way as\u2026","rel":"","context":"In \"ARM\"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0112-300x225.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":897,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/08\/25\/long-time-no-post\/","url_meta":{"origin":391,"position":3},"title":"Long time no post","date":"August 25, 2017","format":false,"excerpt":"I have not posted anything here for a while but thought it would be good to talk about Gtk3 in Xojo 2017r2. Xojo 2017r2 is out and it now uses Gtk3 on Linux instead of Gtk2. This means that any plugin that uses Gtk2 in any way will not work\u2026","rel":"","context":"With 6 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":407,"url":"https:\/\/einhugur.net\/blog\/index.php\/2016\/04\/05\/another-marathon-coding-weekend\/","url_meta":{"origin":391,"position":4},"title":"Another marathon coding weekend","date":"April 5, 2016","format":false,"excerpt":"Shortly after Xojo Inc will release their 2016r1 version then we will be pushing out DateControl 6.1 which has a number of fixes and tweaks some of which help users using the new drop down calendar mode on broader range of OS X versions.\u00a0We have had this version in open\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":705,"url":"https:\/\/einhugur.net\/blog\/index.php\/2016\/06\/09\/whats-been-happening-may-june-2016\/","url_meta":{"origin":391,"position":5},"title":"Whats been happening (May - June 2016) ?","date":"June 9, 2016","format":false,"excerpt":"There has been a bit of silence lately from us on the Plugin front, apart from one small update of TypeLib. For those that have been wondering about it then things have been moving nicely\u00a0internally. \u00a0So around or before mid June we will be updating our PDF Plugin for Xojo\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/www.einhugur.com\/Pics\/562x399xPDFLineExampler.png.pagespeed.ic.tAwp6K1_Rf.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/391"}],"collection":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":6,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/391\/revisions\/397"}],"wp:attachment":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}