[OS] Debian Jessie

Re: [OS] Debian Jessie

Unread postby Gburas » Tue Sep 27, 2016 9:24 pm

Sorry for my inprecision, it's tool from mad_Ady from latest odroid magazine, I'm using your image and it's up to date, I asked you first but I will ask mad_ady

Wysłane z mojego D6603 przy użyciu Tapatalka
Gburas
 
Posts: 34
Joined: Sat Sep 19, 2015 7:13 am
Location: Poland, Sopot
languages_spoken: English, Polish
ODROIDs: Xu4

Re: [OS] Debian Jessie

Unread postby meveric » Tue Sep 27, 2016 9:28 pm

I see, have you installed all the requirements as well as written in the guide? There are quite a lot dependencies to get this to work.

Also; there's a thread about this tool where you might ask questions as well: viewtopic.php?f=52&t=22930
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

[PROBLEM] mariadb-server

Unread postby willipink » Thu Sep 29, 2016 11:53 pm

I would like to install mariadb-server package but I get the following error:

Code: Select all
apt-get install mariadb-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mariadb-server : Depends: mariadb-server-10.0 (>= 10.0.27-0+deb8u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


any ideas?
willipink
 
Posts: 11
Joined: Tue Jan 26, 2016 3:10 pm
languages_spoken: english
ODROIDs: XU3-Lite

Re: [OS] Debian Jessie

Unread postby meveric » Fri Sep 30, 2016 12:15 am

I could easily install mariadb-server.
Please do a apt-get update first and try again.
If it still not works please do something like this:
Code: Select all
apt-get install mariadb-server

result:
Code: Select all
The following packages have unmet dependencies:
 mariadb-server : Depends: mariadb-server-10.0 (>= 10.0.27-0+deb8u1) but it is not going to be installed

Next try to add the missing dependency:
Code: Select all
apt-get install mariadb-server mariadb-server-10.0


repeat this until you get an info that a certain dependency can not be installed cause it can't be find or something else and report back on what that is.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby willipink » Sat Oct 01, 2016 6:48 pm

Thanks meveric!
Code: Select all
apt-get install mariadb-server mariadb-server-10.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  akonadi-backend-sqlite libdbi-perl libreadline5 libterm-readkey-perl mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server-core-10.0
Suggested packages:
  libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mailx mariadb-test tinyca
Recommended packages:
  libdbd-mysql-perl libhtml-template-perl
The following packages will be REMOVED:
  akonadi-backend-mysql mysql-server-core-5.5
The following NEW packages will be installed:
  akonadi-backend-sqlite libdbi-perl libreadline5 libterm-readkey-perl mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server mariadb-server-10.0 mariadb-server-core-10.0
0 upgraded, 10 newly installed, 2 to remove and 0 not upgraded.
Need to get 10.1 MB of archives.
After this operation, 93.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]

So I think it would work. However apt wants to remove "akonadi-backend-mysql" and "mysql-server-core-5.5" which are part of my KDE desktop, I suppose. Now I also get why just installing mariadb-server did not work. Does anybody know whether KDE runs flawless without the two packages mentioned above? I remember that akonadi uses a mysql database for storing stuff, so deleting this would probably mess up KDE... on the other side it should be possible to move the mysql database to the "new" mariadb-server, shoudn't it?

I also noticed that apt wants to install akonadi-backend-lite which seems like a replacement for akonadi-backend-mysql and mariadb-server-core-10.0 seems like a replacement for "mysql-server-core-5.5"... Any ideas? :-)
willipink
 
Posts: 11
Joined: Tue Jan 26, 2016 3:10 pm
languages_spoken: english
ODROIDs: XU3-Lite

Re: [OS] Debian Jessie

Unread postby meveric » Sat Oct 01, 2016 7:24 pm

mariadb is based on mysql you can not run both on the same machine since they are essentially the same thing.

Since akonadi-backend-sqlite seems to be an alternative for akonadi-backend-mysql you shouldn't have an issue with KDE. In fact it just moves the mysql stuff in a sqlite db it seems. Besides that nothing should change.
Seems KDE has not yet adapted to mariadb as a backend under Debian Jessie (which is no surprise)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby willipink » Sun Oct 02, 2016 6:19 am

yep you're right. works fine, thank you again!
willipink
 
Posts: 11
Joined: Tue Jan 26, 2016 3:10 pm
languages_spoken: english
ODROIDs: XU3-Lite

Re: [OS] Debian Jessie

Unread postby dertester » Sun Oct 02, 2016 8:04 am

Hey,

i try to mount a cifs/samba share after restart using fstab. But its not working, i think the network isnt ready when fstab is done.
The fstab entry should be okay because mount -a after i login works.

I already tried to add _netdev to options and add mount -a to rc.local

Any tipps?
dertester
 
Posts: 114
Joined: Fri Feb 20, 2015 8:51 pm
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby meveric » Sun Oct 02, 2016 5:05 pm

I use cifs/samba mounts on my ODROID GameStation Turbo image as well, to mount the ROMS I play. I also do it over fstab and never had an issue with it.
In fact, even if it doesn't have network for whatever reason at boot, a few seconds after the network is working it automatically mounts the share.
Could be it's cause I'm using a Desktop and the Network Manager is handling that, but generally it should work fine.

But if it's really just a delay, you could write a script that you start from rc.local and in the script you do a "/bin/sleep 30 && /bin/mount -a" or something like that and start the script with "<script> &" from rc.local so it does not block anything else.

That way it will wait for 30 seconds before it tries to mount the share. Guess that should be enough time for the network to come up correctly.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby gallok » Thu Oct 27, 2016 12:38 am

I have 3.10 Kernel. Is it the last one for odroid? Does anyone know how to update it?
gallok
 
Posts: 5
Joined: Fri Jan 22, 2016 2:32 am
languages_spoken: english, spanish
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Oct 27, 2016 12:59 am

Kernel 3.10 still gets updated. In future we may get a 4.x Kernel, but currently 3.10 is still the official Kernel.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby igorpec » Thu Oct 27, 2016 1:21 am

gallok wrote:I have 3.10 Kernel. Is it the last one for odroid? Does anyone know how to update it?


We provide experimental images for Odroid XU4 with mainline u-boot and kernel, starting from 4.8.4
http://image.armbian.com/betaimages/

Kernel 4.x is still far away to meet functionality of stock 3.10 but it's usable in certain scenarios. Currently is in experimental phase; use at your own risk - we don't provide any support for it yet.
ARMBIAN
linux for ARM development boards with user friendly development tools
User avatar
igorpec
 
Posts: 46
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, C2, C1+

Re: [OS] Debian Jessie

Unread postby memeka » Thu Oct 27, 2016 5:03 am

@igorpec - do u use stock 4.8.4, or do u have any patches?
User avatar
memeka
 
Posts: 3484
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [OS] Debian Jessie

Unread postby odroid » Thu Oct 27, 2016 2:00 pm

Please open a new thread to talk about other OS image.
User avatar
odroid
Site Admin
 
Posts: 22716
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby lele » Mon Dec 12, 2016 12:37 am

Sorry Odroid/Mdrjr I didn't see this thread and I started another one here http://forum.odroid.com/viewtopic.php?f=96&t=25005&p=171221#p171221. Can you move the post here?

It's about an issue I'm seeing with the r8152 watchdog

thanks
lele
 
Posts: 14
Joined: Wed Dec 23, 2015 2:46 am
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby spyvsspy » Sun Dec 25, 2016 6:26 am

i'm always getting

Unable to find an X11 visual which matches EGL config 10
Could not initialize OpenGL

when using cool-retro-term and trying to open context menu or just menu.. using this image updated.. anyone was able to fix that ?
spyvsspy
 
Posts: 55
Joined: Fri May 06, 2016 5:15 am
languages_spoken: english
ODROIDs: C2 XU4

Re: [OS] Debian Jessie

Unread postby meveric » Mon Dec 26, 2016 6:40 am

Code: Select all
apt-get install qt5-xu3-fix

should fix it.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby spyvsspy » Mon Dec 26, 2016 7:29 am

it did!
it should be mentioned somewhere :)

thanks @meveric
spyvsspy
 
Posts: 55
Joined: Fri May 06, 2016 5:15 am
languages_spoken: english
ODROIDs: C2 XU4

Re: [OS] Debian Jessie

Unread postby alex_dom » Sat Jan 07, 2017 10:50 am

On my new Odroid-XU4 with current meveric's-minimal-Jessie-image I ran some Ethernet connection benchmark tests. But looks like it has some issues.
Note: all tests were done when connected to a Netgear WNDR4000 router. My laptop and XU4 connected to it w/o any switches.

Here is my kernel version - the most recent at the moment:
Code: Select all
root@XU4:~# uname -a
Linux XU4 3.10.104+ #1 SMP PREEMPT Wed Oct 26 16:17:46 CEST 2016 armv7l GNU/Linux

Checked ethernet speed is set to 1Gbps:
Code: Select all
root@XU4:~# ethtool -s eth0 speed 1000 duplex full
root@XU4:~# ethtool eth0 | grep -i speed
        Speed: 1000Mb/s


I tested transferring a 4GB video-file from my Lenovo laptop(1Gbps) via sftp. And found it is only 11Mbps = ~1.2 MBps! Really!?
Anyway, Is there anything that can be done to improve this performance? As this is f..g insanity.

The full testing is below - XU4 as server:
Code: Select all
root@XU4:~# iperf -fM -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 0.08 MByte (default)
------------------------------------------------------------
[  4] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34484
[  5] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34485
[  6] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34486
[  7] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34487
[  8] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34488
[  9] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34479
[ 10] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34480
[ 11] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34481
[ 12] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34482
[ 13] local 192.168.1.20 port 5001 connected with 192.168.1.50 port 34483
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-13.0 sec  10.7 MBytes  0.82 MBytes/sec
[  6]  0.0-13.0 sec  11.7 MBytes  0.90 MBytes/sec
[ 11]  0.0-13.1 sec  11.8 MBytes  0.91 MBytes/sec
[ 13]  0.0-13.0 sec  11.9 MBytes  0.91 MBytes/sec
[  5]  0.0-13.1 sec  11.2 MBytes  0.86 MBytes/sec
[ 12]  0.0-13.1 sec  11.4 MBytes  0.87 MBytes/sec
[  7]  0.0-13.4 sec  11.0 MBytes  0.82 MBytes/sec
[  8]  0.0-13.4 sec  11.8 MBytes  0.88 MBytes/sec
[  9]  0.0-13.4 sec  11.3 MBytes  0.84 MBytes/sec
[ 10]  0.0-13.4 sec  10.4 MBytes  0.77 MBytes/sec
[SUM]  0.0-13.4 sec   113 MBytes  8.44 MBytes/sec


Now XU4 as client. Another insane output:
Code: Select all
root@XU4:~#  iperf -c 192.168.1.270 -P 10 -w 32k
------------------------------------------------------------
Client connecting to DOMIA, TCP port 5001
TCP window size: 64.0 KByte (WARNING: requested 32.0 KByte)
------------------------------------------------------------
[ 11] local 192.168.1.20 port 38823 connected with 192.168.1.50 port 5001
[  5] local 192.168.1.20 port 38814 connected with 192.168.1.50 port 5001
[  4] local 192.168.1.20 port 38815 connected with 192.168.1.50 port 5001
[  3] local 192.168.1.20 port 38817 connected with 192.168.1.50 port 5001
[  6] local 192.168.1.20 port 38816 connected with 192.168.1.50 port 5001
[  7] local 192.168.1.20 port 38818 connected with 192.168.1.50 port 5001
[  9] local 192.168.1.20 port 38819 connected with 192.168.1.50 port 5001
[  8] local 192.168.1.20 port 38820 connected with 192.168.1.50 port 5001
[ 10] local 192.168.1.20 port 38821 connected with 192.168.1.50 port 5001
[ 12] local 192.168.1.20 port 38822 connected with 192.168.1.50 port 5001
[ ID] Interval       Transfer     Bandwidth
[ 10]  0.0-10.0 sec  0.00 (null)s  235399910236740 Bytes/sec
Last edited by alex_dom on Sun Jan 08, 2017 1:18 am, edited 5 times in total.
alex_dom
 
Posts: 6
Joined: Sat Jan 07, 2017 10:12 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby odroid » Sat Jan 07, 2017 11:51 am

Let us know which LED is blinking on the RJ45 jack.
Green flashes when there is 100Mbps connectivity
Amber flashes when there is 1000Mbps connectivity
Do you use CAT-5E or CAT-6 cable?
User avatar
odroid
Site Admin
 
Posts: 22716
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby alex_dom » Sat Jan 07, 2017 1:53 pm

Wow! Thanks for fast response! The LED is amber of course.
I use Cat5e cable, which is enough for up to 1Gbps. However I tried two other cables. Cat6a and even Cat7. Result is the same.
I wonder if I am the only one having this trouble?
Just tried a bib zip-file transfer via sftp in FileZilla. It showed 25Mbps, while via ipref it is still the same insane output as in my post above.
alex_dom
 
Posts: 6
Joined: Sat Jan 07, 2017 10:12 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby odroid » Sat Jan 07, 2017 5:45 pm

What is "lsusb -t" output?
Is the USB Gbit Ethernet controller detected on 5000Mbps node?
User avatar
odroid
Site Admin
 
Posts: 22716
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby alex_dom » Sun Jan 08, 2017 12:53 am

Yes, it is:
Code: Select all
root@XU4:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M

Also, after numerous tries and tests, I tried to copy a 4GB zip-file from XU4 to Laptop via Filezilla. The speed was ~20Mbps - Read and Write on a single file transfer. But when I choose to copy 5 files simultaneously, the summary speed was 40MBps(17+8+5+6+4). Very interesting. Still not good AS it is not a speed for single transfer.
I would like it to be at least 70MBps for any file size and quantity. As it advertised here: http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143452239825&tab_idx=1
alex_dom
 
Posts: 6
Joined: Sat Jan 07, 2017 10:12 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby odroid » Sun Jan 08, 2017 1:12 pm

Refer this thread to improve the USB 3.0 network/storage performance.
viewtopic.php?f=98&t=14907
User avatar
odroid
Site Admin
 
Posts: 22716
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby alex_dom » Mon Jan 09, 2017 2:36 am

That could be incorporated in the image file.. Am I the only person having issues with Ethernet and USB performance on this image?
alex_dom
 
Posts: 6
Joined: Sat Jan 07, 2017 10:12 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby meveric » Mon Jan 09, 2017 4:30 am

that thread is a discussion thread, but not a solution, different people tried different approaches with different results.
While some of the settings improve a certain aspect, like reading from a LAN source, they may reduce another aspect, like writing on the same source.

Until there's a fully proven solution, there's no point of implementing anything.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby alex_dom » Tue Jan 10, 2017 4:33 am

Thanks for that info anyway! I tried it yesterday. It didn't help, as system didn't boot after I did this, based on this post link http://forum.odroid.com/viewtopic.php?f=98&t=14907&start=50#p171977 from obihoernchen blog:
Code: Select all
systemctl disable irqbalance

So I reverted it all back..sadly
Looks like with the kernel upgrade to 4.2 it should be resolved. I will try to rebuild my current kernel 3.9.104 to 4.x.
alex_dom
 
Posts: 6
Joined: Sat Jan 07, 2017 10:12 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby meveric » Tue Jan 10, 2017 5:00 am

I don't think that is tied to Kernel 4.2. Users in that thread normally use Kernel 4.8 or higher if they use a different Kernel.
Also the tests in that thread where mostly done with Kernel 3.10.104 I myself tried different settings with Kernel 3.10 as well and could find it caused different results.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby alex_dom » Tue Jan 10, 2017 8:02 am

Would you please share your experience on how to improve USB and Ethernet speed? Thanks in advance!
alex_dom
 
Posts: 6
Joined: Sat Jan 07, 2017 10:12 am
languages_spoken: english

Re: [OS] Debian Jessie

Unread postby meveric » Tue Jan 10, 2017 8:15 am

I tried different settings in rps_cpus as explained in the last post on the site and while some of the options increased reading performance, writing went down.
I tried to alter some buffers, which resulted in even worse results. I couldn't find an optimal setting for improving performance.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby spyvsspy » Sun Jan 15, 2017 6:04 am

is it possible to get qt5-xu3-fix working with qt5-5.3.2+dfsg-4+deb8u2 ?
upgraded everything on a new machine and now i cant install the fix ;/
spyvsspy
 
Posts: 55
Joined: Fri May 06, 2016 5:15 am
languages_spoken: english
ODROIDs: C2 XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sun Jan 15, 2017 8:51 am

yep, I was actually working on this already. Should be up and available by now.
Please let me know if you encounter any issues.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby spyvsspy » Sun Jan 15, 2017 3:21 pm

meveric wrote:yep, I was actually working on this already. Should be up and available by now.
Please let me know if you encounter any issues.


works like a charm!
spyvsspy
 
Posts: 55
Joined: Fri May 06, 2016 5:15 am
languages_spoken: english
ODROIDs: C2 XU4

Re: [OS] Debian Jessie

Unread postby jaudo » Wed Jan 25, 2017 12:37 am

Guys I just tried this image for the first time and I can't connect to the network!!

Network is unreachable

whats going on?

PD: all of a sudden is working now
jaudo
 
Posts: 5
Joined: Sat Nov 29, 2014 9:58 pm
languages_spoken: english, spanish
ODROIDs: Odroid U3 (coming soon)

Re: [OS] Debian Jessie

Unread postby jaudo » Wed Jan 25, 2017 8:10 am

Hi guys, it's me again.

Now i'm experiencing problems with SSH. I've enabled root user in SSH 'cause i'm struggling configuring the rsa keys (i don't really understand how to do it 'cause i generated a key in the odroid, but i don't know how to transfer it to my pcs, or i don't know if i have to generate it in my pc).

Well, the main problem now is that SSH is working if I connect the odroid in my wifi amplifier, but if i connect it in the router, it won't show anything when trying to access via SSH. Could this be a problem of the router? My internet company gave me a new one so what do you think it's the issue?

My idea was to use the odroid as a server running debian, but if I can't I'll explore using ubuntu...
jaudo
 
Posts: 5
Joined: Sat Nov 29, 2014 9:58 pm
languages_spoken: english, spanish
ODROIDs: Odroid U3 (coming soon)

Re: [OS] Debian Jessie

Unread postby meveric » Wed Jan 25, 2017 3:50 pm

Ubuntu or Debian doesn't matter.. Ubuntu is based on Debian and uses the same tools so it won't make much difference what OS you use.
You should rather try to find out why it's not connecting correctly. Check the default log files /var/log/syslog or "dmesg" to see what happens when you try to connect.
Also check the router what it says when you try to connect.
I personally prefer using wired connections, it's faster and you just plug it in and everything works. That's much better, especially for a "server" since you normally don't want to wait 1-2 minutes until the WLAN is finally connected after a reboot.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby jaudo » Thu Jan 26, 2017 10:14 am

Hi meveric, the problem i'm facing is when I connect via ethernet to a wifi amplifier it works, but when i connect odroid with the ethernet wire to the router is not working
jaudo
 
Posts: 5
Joined: Sat Nov 29, 2014 9:58 pm
languages_spoken: english, spanish
ODROIDs: Odroid U3 (coming soon)

Re: [OS] Debian Jessie

Unread postby meveric » Thu Jan 26, 2017 4:47 pm

Then maybe it's a issue with the router? Maybe it's not configured correctly for LAN ports, or it needs a firmware update to work correctly.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby Swankster » Sat Feb 11, 2017 4:06 pm

Would it be possible to use other desktop environments like the Q4OS environment Trinity or Antix? I have been distro hoping since ubuntu 10.10. and a computer user since Windows 98SE. I don't know how to code or compile. I am also new to Odroid my C2 hasn't arrived yet. I know about ESD I am more concerned about damaging the hardware by booting a bad o/s.
Swankster
 
Posts: 16
Joined: Sat Feb 11, 2017 3:15 pm
languages_spoken: english
ODROIDs: c2

Re: [OS] Debian Jessie

Unread postby meveric » Sat Feb 11, 2017 7:08 pm

I'd suggest to make sure you post in the right section of the forum. If your question is about the C2 you should post in the C2 part of the Forum not XU4, these are different boards and answers to the XU4 might not apply to the C2.
As long as a desktop environment is part of the OS (Debian Jessie in the case of this image) you can install them and hopp between them. Not all will work perfectly, gnome3 for example uses by default OpenGL which is not supported by ODROIDs.
Also make sure you understand what you are talking about. A Desktop Environment is just a "flavor" of how the desktop should look like. Most known are for example XFCE, LXDE, GNOME, MATE, KDE.
Q4OS is (as the "OS" indicates) a different Operating System it has NOTHING to do with a desktop environment. Different OS are for example Ubuntu, Debian, Windows (and as it seems your 4QOS).
Running a different OS on an ODROID can be very tricky. If the OS is not opensource and does not provide packages in armhf, and/or for the C2 in arm64 (aarch64) architecture, it won't work at all.

From what I've seen the OS you aiming Q4OS is a Linux based OS, they are mainly only providing x86 and amd64 based images and repositories.
But they also provide an armhf based image for the Raspberry Pi.
The later "might" work on ODROIDs, but most likely you will run into issues with the ODROID C2 since the C2 is a arm64 board and not armhf board, although it can run armhf software, it might miss certain features like OpenGL ES support an others.
Trinity is a Desktop Environment based on KDE, there are no packages available for either armhf or arm64, but they provide sources for everything. With a lot of time it could be possible to recompile it for ODROIDs, but generally I don't see the point why. Using KDE will probably give you similar results.
Antrix is the same as Q4OS in their description they say:
antiX is a fast, lightweight and easy to install systemd-free linux live CD distribution based on Debian Stable for Intel-AMD x86 compatible systems

it's a OS, based in Debian, for x86 based systems only.
I checked their repositories, they only provide packages for x86 and amd64 so you can't use it for anything else.

Generally installing a new desktop environment (even if it doesn't work) won't harm the hardware trying to run a OS that was not created for ODROIDs is very hard to begin with, the board probably wouldn't even turn on if you try, so it's very unlikely you can harm the hardware that way.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby bullghost » Thu Feb 16, 2017 9:35 pm

sorry iam new here, i just own odroid-xu4 and use this image and installation tutorial,
then i try install emulationstation_odroid from apt-get
then when i run it

Code: Select all
odroid@odroid-jessie:~$ emulationstation
lvl0:   Error initializing SDL!
        No available video device
lvl0:   Renderer failed to initialize!
lvl0:   Window failed to initialize!


installed libSDL
Code: Select all
libsdl-image1.2/stable,now 1.2.12-5+b5 armhf [installed,automatic]
libsdl-image1.2-dev/stable,now 1.2.12-5+b5 armhf [installed]
libsdl-mixer1.2/stable,now 1.2.12-11+b1 armhf [installed,automatic]
libsdl-ttf2.0-0/stable,now 2.0.11-3 armhf [installed,automatic]
libsdl1.2-dev/unknown,now 1.2.15-10+odroid1 armhf [installed]
libsdl1.2debian/unknown,now 1.2.15-10+odroid1 armhf [installed,automatic]
libsdl2-2.0-0/unknown,now 2.0.4-1 armhf [installed,automatic]
libsdl2-dev/unknown,now 2.0.4-1 armhf [installed]


did i missing something ?
bullghost
 
Posts: 8
Joined: Thu Feb 16, 2017 8:48 pm
languages_spoken: english
ODROIDs: ODROID-XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Feb 16, 2017 9:37 pm

It's an X11 application so running it from terminal won't work you need an Desktop installed or at least X11 environment and start it with xinit or something like that.
Besides that you probably need Mali GPU drivers and xf86-video-amsoc-odroid installed as well.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby bullghost » Thu Feb 16, 2017 10:02 pm

@meveric
fast reply, thank you !

i found out i have already install the xf86-video-armsoc-odroid

Code: Select all
odroid@odroid-jessie:~$ apt list --installed |grep xf86-video

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

xf86-video-armsoc-odroid/unknown,now 20150512-1.1.0+deb8-3 armhf [installed]
odroid@odroid-jessie:~$


i try to find installed video driver
Code: Select all
/dev/video7
/dev/video6
/dev/mali0
/dev/fb0
/dev/dri/card0
/dev/dri/controlD64
console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes video=HDMI-A-1:1280x900@60 smsc95xx.macaddr=00:1e:06:61:7a:94 governor=performance hdmi_tx_amp_lvl=31 hdmi_tx_lvl_ch0=3 hdmi_tx_lvl_ch1=3 hdmi_tx_lvl_ch2=3 hdmi_tx_emp_lvl=6 hdmi_clk_amp_lvl=31 hdmi_tx_res=0 HPD=true vout=hdmi
/etc/modprobe.d/
/etc/modprobe.d/modesetting.conf
/etc/modprobe.d/fbdev-blacklist.conf
cat: /etc/modprobe.d/*kms*: No such file or directory
/etc/X11/xorg.conf
Error: unable to open display
[    18.814] (II) LoadModule: "glx"
[    18.895] (II) LoadModule: "armsoc"
[    19.125] (II) LoadModule: "dri2"
[    19.125] (II) LoadModule: "exa"
[    19.305] (II) LoadModule: "fb"
[    25.389] (II) LoadModule: "evdev"


did iam doing right ?
bullghost
 
Posts: 8
Joined: Thu Feb 16, 2017 8:48 pm
languages_spoken: english
ODROIDs: ODROID-XU4

Re: [OS] Debian Jessie

Unread postby Swankster » Fri Feb 17, 2017 4:42 am

First my apologizes for posting in the wrong forum. In my previous post I was asking about using different desktop environments. My post was unclear. Apparently TDE which is a fork of KDE can also be used. Q4os cannot but the environment can. I will try it and post the results in the correct forum.
Swankster
 
Posts: 16
Joined: Sat Feb 11, 2017 3:15 pm
languages_spoken: english
ODROIDs: c2

Re: [OS] Debian Jessie

Unread postby meveric » Fri Feb 17, 2017 6:37 am

bullghost wrote:@meveric
fast reply, thank you !

i found out i have already install the xf86-video-armsoc-odroid

Code: Select all
odroid@odroid-jessie:~$ apt list --installed |grep xf86-video

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

xf86-video-armsoc-odroid/unknown,now 20150512-1.1.0+deb8-3 armhf [installed]
odroid@odroid-jessie:~$


did iam doing right ?

Having xf86-video-armsoc-odroid installed is a good start. Have you checked if malit628-odroid is installed as well?
Have you tried starting emulationstation from a desktop or from command line?
Also make sure the /etc/X11/xorg.conf for armsoc is in place. If you don't have it you can use this one: http://oph.mdrjr.net/meveric/other/xorg.conf
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby bullghost » Sat Feb 18, 2017 3:36 am

@meveric
thanks alot,
its working now yey :D
i enable again the LXDE desktop and open terminal and execute the emulationstation, tada its start and without saying you must exiting from x11 environment because if not the keyboard will not work properly.
FBA, SNES, NES, MEGADRIVE, SEGA32bit run on top speed
next thing to do is testing mame , psx and i need sound, found out hdmi audio out can be use :)
ok thanks again for your guide!.
bullghost
 
Posts: 8
Joined: Thu Feb 16, 2017 8:48 pm
languages_spoken: english
ODROIDs: ODROID-XU4

php7

Unread postby willipink » Sun Feb 19, 2017 1:45 am

i am trying to compile php 7, so far i have ...

... downloaded php7
Code: Select all
http://de1.php.net/get/php-7.1.2.tar.bz2/from/this/mirror


... intalled additional packages
Code: Select all
apt install -y build-essential nano autoconf pkg-config
apt install -y apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-turbo-dbg libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev libxml2-dev libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev libfreetype6-dev libkrb5-dev libpq-dev libxml2-dev libxslt1-dev


... created a symlink for imap support.
ln -s /usr/lib/libc-client.a /usr/lib/arm-linux-gnueabihf/libc-client.a

When i run configure ...
Code: Select all
./configure --prefix=/opt/php-7.1 --with-pdo-pgsql --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr --enable-soap --enable-calendar --with-curl --with-mcrypt --with-zlib --with-gd --with-pgsql --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --enable-exif --enable-bcmath --with-mhash --enable-zip --with-pcre-regex --with-pdo-mysql --with-mysqli --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-jpeg-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-openssl=/usr/include/openssl --with-fpm-user=www-data --with-fpm-group=www-data --with-libdir=/usr/lib/arm-linux-gnueabihf --enable-ftp --with-imap --with-imap-ssl --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-opcache --enable-fpm


... i get the error:
Code: Select all
...
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking whether to use system default cipher list instead of hardcoded value... no
checking for krb5-config... /usr/bin/krb5-config
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>


However evp.h is there:
Code: Select all
find /usr -name "evp.h"
---
/usr/include/openssl/evp.h


I am not sure if the configure option
Code: Select all
--with-openssl=/usr/include/openssl
is set properly. i have tried
Code: Select all
--with-openssl=/usr/include
with the same result, however when i tried
Code: Select all
--with-openssl=/usr
i got the slightly different error:

Code: Select all
...
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking whether to use system default cipher list instead of hardcoded value... no
checking for krb5-config... /usr/bin/krb5-config
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's libraries


libssl-dev is installed, so what can i do about it?
willipink
 
Posts: 11
Joined: Tue Jan 26, 2016 3:10 pm
languages_spoken: english
ODROIDs: XU3-Lite

Re: [OS] Debian Jessie

Unread postby meveric » Sun Feb 19, 2017 3:14 am

I've tried compiling php7 in the past as well, but failed somewhere during compiling.
Never had issues with dependencies though.

I just got the sources of php7 from Debian Stretch, Debian Jessie can fulfill all dependencies, but as I said failed somewhere during compiling.
I think there's even a good chance you can simply install the Debian Stretch files of php7 directly on Debian Jessie.

You can also try to add -I /usr/include/openssl to your CFLAGS and CXXFLAGS that way evp.h should be found as well.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby RomaT » Wed Feb 22, 2017 6:46 pm

image http://oph.mdrjr.net/meveric/images/Jes ... XU3.img.xz
without a GUI
I want to connect CloudShell for XU4
What do I need to do to make the screen on CloudShell?
RomaT
 
Posts: 67
Joined: Thu Oct 23, 2014 4:48 pm
Location: Perm, Russia
languages_spoken: Russian
ODROIDs: -XU3, -XU4, -C1, -C2, -W, -VU

Re: [OS] Debian Jessie

Unread postby meveric » Wed Feb 22, 2017 9:36 pm

I think just following the guide on the wiki is enough: http://odroid.com/dokuwiki/doku.php?id= ... lcd_config
Code: Select all
echo "options fbtft_device name=hktft9340 busnum=1 rotate=270" > /etc/modprobe.d/odroid-cloudshell.conf
echo "spi_s3c64xx
fbtft_device" >> /etc/modules

should be enough to have the display up and running, there are probably a couple more things you can do, but that depends on what you try to display on it.

You can probably use the DiePi scripts and tools to setup a nice output on the TFT of the CloudShell or you can use the files from mdrjr: https://github.com/mdrjr/cloudshell_lcd
for example directly with:
Code: Select all
wget https://github.com/mdrjr/cloudshell_lcd/raw/master/cloudshell-lcd_20160913-3_armhf.deb
dpkg -i cloudshell-lcd_20160913-3_armhf.deb
apt-get install -f
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 7011
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

PreviousNext

Return to Other OS

Who is online

Users browsing this forum: No registered users and 2 guests