[OS] Debian Jessie

Moderators: mdrjr, odroid

Re: [OS] Debian Jessie

Unread postby meveric » Sat Apr 08, 2017 5:08 am

tmihai20 wrote:I tried installing a newer 3.10 kernel on OMV based on Debian Jessie

What newer version?
HardKernel github is currently at Kernel 3.10.105 and so is the Kernel of this Debian Jessie image.
In fact I'm currently building a new 3.10 Kernel with the last two commits that happened since the last build of the Kernel.. there really isn't much going on.
Also question probably is where you got these "newer Kernels" from, cause that's probably the issue, installing Kernel that were not made for this image and simply conflict with the Kernels that are already installed.

tmihai20 wrote:and 4.9 kernel on the beta Ubuntu image.

As said before, the beta ubuntu image comes with its own repository for Kernels, just doing a regular system update will give you a newer Kernel, if available.

tmihai20 wrote:I mounted the boot partition on Debian Jessie, I remember that Ubuntu already had it mounted.

I think it's quite the opposite. On Debian bootfs is explicitly mounted to /boot/, while on Ubuntu it's not mounted and therefor autofs mounts it to /media/odroid/boot, or it's mounted to /media/boot, not quite sure, since I don't use Ubuntu.
Maybe you broke the update process with your "mounting" not quite sure.
But if you check /etc/fstab you'll find that boot (/dev/mmcblk0p1 should be mounted to /boot)
If you update to Kernel 4.9 you need to change /dev/mmcblk0p1 to UUID=<UUID-of-bootfs> since Kernel 4.9 does no longer always use /dev/mmcblk0p1 as the boot device.

tmihai20 wrote:I will use the latest available kernel for all of them for now, because I need it to be stable.

If you need stable, you shouldn't experiment with Kernels that were not made for the images you're using.. this will most likely cause issues and break the working update processes.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby chymian » Sat Apr 08, 2017 7:24 am

meveric wrote:please check http://oph.mdrjr.net/meveric/kernel/XU3/4.9.x/ there's already 4.9.20 available which should have a fix for eth interface.


same thing with the 4.9.20+
does not show usb bus 5 & 6 and therefore no eth0.
chymian
 
Posts: 2
Joined: Thu Jan 19, 2017 9:47 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby rooted » Sat Apr 08, 2017 8:36 am

chymian wrote:
meveric wrote:please check http://oph.mdrjr.net/meveric/kernel/XU3/4.9.x/ there's already 4.9.20 available which should have a fix for eth interface.


same thing with the 4.9.20+
does not show usb bus 5 & 6 and therefore no eth0.

Unplug the power cord and do a cold boot.

I'm running the latest from odroids git on Jessie and my Ethernet works fine, I posted a link to the debs i built in the Ubuntu beta thread if you want to give it a shot.

viewtopic.php?p=185544#p185544

If you try the kernel I link please don't ask for support in this thread.

Code: Select all
root@DietPi:~# uname -a
Linux DietPi 4.9.20 #2 SMP PREEMPT Wed Apr 5 00:21:42 CDT 2017 armv7l GNU/Linux
root@DietPi:~# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:1e:06:30:04:89
          inet addr:192.168.1.213  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17621697 errors:0 dropped:3 overruns:0 frame:0
          TX packets:4289689 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:303456814 (289.3 MiB)  TX bytes:343889625 (327.9 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:306 errors:0 dropped:0 overruns:0 frame:0
          TX packets:306 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:27760 (27.1 KiB)  TX bytes:27760 (27.1 KiB)

wlan0     Link encap:Ethernet  HWaddr 40:a5:ef:d5:28:68
          inet addr:192.168.42.1  Bcast:192.168.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4649251 errors:0 dropped:326 overruns:0 frame:0
          TX packets:17737013 errors:0 dropped:312 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:669973745 (638.9 MiB)  TX bytes:822181631 (784.0 MiB)

root@DietPi:~# dmesg | grep eth
[    1.602515] usbcore: registered new interface driver cdc_ether
[    3.561867] r8152 6-1:1.0 eth0: v2.08.0 (2016/12/09)
[    3.565370] r8152 6-1:1.0 eth0: This product is covered by one or more of the following patents:
[    6.627451] r8152 6-1:1.0 eth1: renamed from eth0
[    6.665816] systemd-udevd[314]: renamed network interface eth0 to eth1
[ 1060.640594] device eth1 entered promiscuous mode
[ 1060.641577] r8152 6-1:1.0 eth1: Promiscuous mode enabled
[ 1060.668007] device eth1 left promiscuous mode
[ 1079.305594] device eth1 entered promiscuous mode
[ 1079.305784] r8152 6-1:1.0 eth1: Promiscuous mode enabled
[ 1079.349057] device eth1 left promiscuous mode
root@DietPi:~#
User avatar
rooted
 
Posts: 3673
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sat Apr 08, 2017 1:00 pm

meveric wrote:
ChicoDeGoma wrote:My question was more if when mdrjr would decide to upgrade his Debian Version to 4.9

As far as I know mdrjr doesn't use Debian or provide Debian images, but I do.

Yes, sorry, I just mixed up things. I'm actually using your image (which is very nice)

meveric wrote:I don't plan to switch from 3.10 to 4.9 any time soon. 4.9 has still to many glitches it's nice as a server but not very good for entertainment and multimedia at the moment.

That awnsers my doubts. We are not in a rush so it is okay, but would be nice to see it in servers as "stable" soon.

meveric wrote:
ChicoDeGoma wrote: if we would have to do something special, as I understood as we won't need to, just with having 4.9 would be enough. Am I right?

I have a hard time understanding what you're trying to say.

Let's say you upgrade to 4.9 because is fixed. What we would have to do to use UAS beside upgrading the OS?
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sat Apr 08, 2017 2:16 pm

ChicoDeGoma wrote:Let's say you upgrade to 4.9 because is fixed. What we would have to do to use UAS beside upgrading the OS?

as far as i know you only need a device that supports it, that's all
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sun Apr 09, 2017 12:43 am

meveric wrote:
ChicoDeGoma wrote:Let's say you upgrade to 4.9 because is fixed. What we would have to do to use UAS beside upgrading the OS?

as far as i know you only need a device that supports it, that's all

Perfect, thank you again for taking your time for replying.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby usr238 » Mon Apr 10, 2017 11:26 am

Image

Am really happy with this os.

The only problem I have with it is gimp shows blue brush icons and the color picker is blue. Is this easy to fix? Someone mentioned that it might be a transparency thing.
usr238
 
Posts: 3
Joined: Wed Mar 15, 2017 12:02 am
languages_spoken: english
ODROIDs: xu4

Re: [OS] Debian Jessie

Unread postby meveric » Mon Apr 10, 2017 5:21 pm

question is probably how you installed the desktop. You probably don't use the right framebuffer driver and GPU drivers.
Have you installed and configured xf86-video-armsoc-odroid and malit628-odroid? What desktop environment are you using?
You might want to try installing setup-odroid and choose to install a desktop from there, since it will setup desktop accordingly.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby tmihai20 » Tue Apr 11, 2017 5:11 pm

@meveric: I used the latest kernel available from your repository, but it was on OMV based Debian Jessie, not your Debian Jessie image (linux-image-3.10.96+_3.10.96-20160801-XU3_armhf.deb). I had OMV 2.x, I upgraded to OMV 3.x, based on Debian Jessie. I did not expect to have issues when installing a newer kernel. I guess the package you are preparing is not compatible with the OMV 3.x image.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)
tmihai20
 
Posts: 63
Joined: Mon Nov 07, 2016 10:56 pm
Location: Romania
languages_spoken: english, french, italian, romanian
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Tue Apr 11, 2017 9:00 pm

linux-image-3.10.96+ as well as the current version linux-image-3.10.105+ are build the same way. So the way the package are prepared haven't changed.
What changed is the code inside the Kernel, which I don't have control over, since this is provided by HardKernel.
Also you might want to describe what's not working. Saying "I didn't expect to have issues" doesn't explain what's going on.
Error messages, explanation what's no longer working, or some log files might be helpful for HardKernel or others in order to be able to help you, but saying "something causes an issue" is not very helpful as a description.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby tmihai20 » Tue Apr 11, 2017 11:50 pm

I know very well that i have to provide logs and the error message. I did not save it at the time and now I do not want to run tests again. I just wanted to know if installing it with dpkg is enough (and mounting the boot partition if it is not mounted on boot - as it is on OMV). I did a lot of tests then and I rebooted a lot of times, trying several times to install a newer kernel. When I will have those logs I will post them here.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)
tmihai20
 
Posts: 63
Joined: Mon Nov 07, 2016 10:56 pm
Location: Romania
languages_spoken: english, french, italian, romanian
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Apr 12, 2017 12:31 am

tmihai20 wrote:I know very well that i have to provide logs and the error message. I did not save it at the time and now I do not want to run tests again. I just wanted to know if installing it with dpkg is enough (and mounting the boot partition if it is not mounted on boot - as it is on OMV). I did a lot of tests then and I rebooted a lot of times, trying several times to install a newer kernel. When I will have those logs I will post them here.

By default boot partition is mounted to /boot/ on this image. So there should be no mounting necessary. If you mounted it somewhere this might actually have caused an issue.
There is also no need to install any Kernel manually since you can simply use apt-get procedures to update the Kernel to it's latest version.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby rncwnd » Thu Apr 13, 2017 3:31 pm

Hi,

I have the same problem chymian has. I installed the kernel using the deb-package (4.9.20-29170409) but have no usb ports 5 and 6, therefore I'm also missing ethernet.
Tried everything that was mentioned here (cold boot - multiple times, udev-rule for max address, checked boot.ini, changed fstab to use block id for /boot in advance) but still no ethernet. That's the point where I get the feeling that I may have missed something very obvious :roll:
Do I have to load a specific module? Or may I have to blacklist one?

I read somewhere else in the forum about a specific dtb-file for the XU4, but the dtb-file contained in the package is named XU3. Should there be a different dtb-file?

Nevertheless, thank you meveric for all the time and effort you put into all the odroid development and optimization!
rncwnd
 
Posts: 33
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Apr 13, 2017 3:43 pm

rncwnd wrote:Hi,

I have the same problem chymian has. I installed the kernel using the deb-package (4.9.20-29170409) but have no usb ports 5 and 6, therefore I'm also missing ethernet.
Tried everything that was mentioned here (cold boot - multiple times, udev-rule for max address, checked boot.ini, changed fstab to use block id for /boot in advance) but still no ethernet. That's the point where I get the feeling that I may have missed something very obvious :roll:
Do I have to load a specific module? Or may I have to blacklist one?

Not that I know of the 4.9 Kernel is currently not stable yet, and it seems that is one of the more common issues.
Sadly I'm not sure what could be the issue, I've used both an XU3 and an XU4 for testing and both were working, so there shouldn't be anything to do.
I might be able to look into it, but currently Easter is around the corner and I'll be visiting my family for a few days and have limited access to my ODROIDs.

rncwnd wrote:I read somewhere else in the forum about a specific dtb-file for the XU4, but the dtb-file contained in the package is named XU3. Should there be a different dtb-file?

I don't think so. Other developers work on their own 4.9 branches and use there own dtb files to test things, therefore some developer have a XU4 and XU3 file, but HardKernel itself (which is the sources I use) only seem to use the XU3 file.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby rncwnd » Thu Apr 13, 2017 5:31 pm

Thank you meveric.

Maybe I set up the toolset for building the kernel myself directly from github sources. But time is limited.
For now I'll return to the old kernel.
rncwnd
 
Posts: 33
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby rooted » Thu Apr 13, 2017 11:28 pm

meveric wrote:I don't think so. Other developers work on their own 4.9 branches and use there own dtb files to test things, therefore some developer have a XU4 and XU3 file, but HardKernel itself (which is the sources I use) only seem to use the XU3 file.


The XU4 has a different DTB on 4.9.y

Here is mine if you want to see if the issue is the DTB.

https://db.tt/nGGDxiiNFq

md5sum: 879a31e062f25b12b68dd1c249eaf6b5
User avatar
rooted
 
Posts: 3673
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: [OS] Debian Jessie

Unread postby rncwnd » Sun Apr 16, 2017 7:21 pm

Thanks rooted, I already set up the tools to build a mainline kernel. Unfortunately after installing the kernel and making a cold boot my XU4 does absolutely nothing.
Maybe I also need to install the mainline uboot....
Being a bit greenish I'm trying to find my way. Building and installing a kernel on arm is a bit different and i didn't find a complete guide. Maybe I searched in the wrong places.

Nevertheless happy Easter to everybody.
rncwnd
 
Posts: 33
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby rooted » Mon Apr 17, 2017 4:48 am

Happy Easter :)
User avatar
rooted
 
Posts: 3673
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: [OS] Debian Jessie

Unread postby rncwnd » Wed Apr 19, 2017 12:18 am

To everybody interested in the solution to my problem:

After compiling and installing mainline kernel 4.9 I changed boot.ini to use the XU4-dtb. Somehow this modification was not persisted!
But after shutting down the XU4 and plugging power back in, nothing happened.

Today I checked boot.ini again on my notebook and my eyes fell out when I realized that it contained the XU3-dtb...
Now after changing boot.ini again (triple checked if it got saved this time), it's working.
rncwnd
 
Posts: 33
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Apr 19, 2017 12:40 am

next linux-image packages from me will have both xu3 and xu4 dtb files...

Just wished there was a way to determine on install if the board is a XU3 oder XU4 board :(
I'll have to check if I can find something.. maybe the audio jack or something.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby odroid » Wed Apr 19, 2017 10:50 am

We will check the feasibility of the automatic board detection in u-boot.
User avatar
odroid
Site Admin
 
Posts: 25306
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby meveric » Wed Apr 19, 2017 3:20 pm

odroid wrote:We will check the feasibility of the automatic board detection in u-boot.

If any /sys or /proc entry already can show if it's a XU3 or XU4 (probably due to missing or existing entries for one and not the other); a post-install script could easily replace the entry in the boot.ini for either XU3 or XU4 automatically.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby odroid » Wed Apr 19, 2017 4:10 pm

That idea should work.
But, if we can detect the board in u-boot command line, life will be easier. :)
User avatar
odroid
Site Admin
 
Posts: 25306
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Update to Stretch?

Unread postby genosensor » Tue May 09, 2017 11:03 am

Hi,

I've been very impressed with the OS thus far. Once swap space is provided and the keyboard is connected to the OTG port, rather than to the hub, it seems rock solid!

Has anyone succeeded in a updating it to Debian Stretch?
Is it as simple as:

# apt-get dist-upgrade

after changing all the apt sources appropriately?
If anyone managed this, please share details.

Thanks!
genosensor
 
Posts: 17
Joined: Tue May 09, 2017 10:44 am
Location: California
languages_spoken: english, german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 09, 2017 3:26 pm

Debian Stretch will break Desktop support.. you can still use it as a server OS, but currently it would miss drivers to display the Desktop correctly and to use GPU acceleration.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby genosensor » Tue May 09, 2017 4:16 pm

I just noticed another thread (titled "Debian Stretch for ODroid")

viewtopic.php?f=138&t=23786

in which you mention the desktop driver issue. As a matter of fact, I ended up compiling the latest fbturbo from the git repo.

I'd about given up on the C2 as a desktop machine until I tried fbturbo. It's a huge improvement. I'd planned to work on removing the remaining cursor flicker after seeing that the hardware did support a cursor overlay. But, to my surprise, the required cursor fix was already in the latest version. (Were you already aware of this?)

I'd stay with the 3.14 kernel, as it seems to be quite stable and has all the drivers I need.

If recompiling fbturbo driver is really the only hurdle, I'd consider myself very lucky!

Anything else that you can think of offhand?
Has no one tried this before?

Stretch has been frozen for some time now. Release can't be far off.
(Well in geological/Debian terms anyway ;-)
genosensor
 
Posts: 17
Joined: Tue May 09, 2017 10:44 am
Location: California
languages_spoken: english, german
ODROIDs: Odroid C2

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 09, 2017 5:29 pm

genosensor wrote:I just noticed another thread (titled "Debian Stretch for ODroid")

viewtopic.php?f=138&t=23786

in which you mention the desktop driver issue. As a matter of fact, I ended up compiling the latest fbturbo from the git repo.

I'd about given up on the C2 as a desktop machine until I tried fbturbo. It's a huge improvement. I'd planned to work on removing the remaining cursor flicker after seeing that the hardware did support a cursor overlay. But, to my surprise, the required cursor fix was already in the latest version. (Were you already aware of this?)

I'd stay with the 3.14 kernel, as it seems to be quite stable and has all the drivers I need.

If recompiling fbturbo driver is really the only hurdle, I'd consider myself very lucky!

Anything else that you can think of offhand?
Has no one tried this before?

Stretch has been frozen for some time now. Release can't be far off.
(Well in geological/Debian terms anyway ;-)

Once again, this is the thread for ODROID XU3/XU4 NOT ODROID C2.
There is a thread about ODROID C2 as well, which is the better place to discuss this.
We're using fbturbo for ODROID C2 for nearly a year already, that's nothing new.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sun May 21, 2017 9:51 pm

Hi! Long time, I've been able to learn and go forward without needing a lot of help, so sorry for being here again.

I was about to update the OS when it suddenly me asked for the apt-transport-https for apt-update and after that it is not fetching some directories.

So I messed around with sources.list and sources.list.d after install apt-transport but I still can't fetch some directories. I checked the ftp by hand and everything seems to be in the same places beside the S in https.

What I'm missing? Also, out of curiosity, why the change suddenly to https? Thanks in advance for your time, folks.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sun May 21, 2017 10:16 pm

You need to install apt-transport-https and ca-certificates with that everything should work again.

The repository files are hosted by @mdrjr and he decided to change everything to HTTPS, sadly without any warning so I haven't had the chance to change update the images up front to avoid issues.
Now a lot of people need to fix it manually.

I'll update all images one after another to make it work out of the box for new images.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sun May 21, 2017 10:55 pm

Oh, great. Thanks the quick reply.

Also, the only manual change I should need to do, is your usual URLs but with https, right? debian and others on source.list should remain http, right?
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Mon May 22, 2017 1:58 am

exactly, you don't even need to change them to https, since there's a perm redirect from http to https that's done automatically, but you can set them to https if you want.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby davincino » Mon May 22, 2017 11:40 pm

Hi meveric, thanks for your image.
The paths regarding temp and fan control doesn't exists. I found temps in

cat /sys/class/thermal/thermal_zone0/temp

But where is located the default fan control script?
I have tested to install the package lm-sensors but it doesnt detect any sensors. I got errors due to modprobe and cpuid issues. Is modprobe an installable package?

Thanks in advance
davincino
 
Posts: 32
Joined: Tue May 09, 2017 4:55 pm
languages_spoken: english
ODROIDs: C2: Libreelec
XU4: its new, maybe DebianJessie

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 23, 2017 12:02 am

davincino wrote:Hi meveric, thanks for your image.
The paths regarding temp and fan control doesn't exists. I found temps in

You already found the temp under /sys/class/thermal/thermal_zone0/temp
The fan is located under /sys/devices/odroid_fan.14/ where you will find fan_speed and temp_levels.
You can either manually edit the values in these files or create a udev rule to do it every time on boot, as it's described in this post: viewtopic.php?p=107195#p107195

davincino wrote:But where is located the default fan control script?

I'm not sure what you mean by "default fan conrol script" there is no such thing.
Also this is a minimal server image with only the basics installed so people can have a clean experience.
If you instead take my GameStation Turbo image you should find a fan control script on that image.
davincino wrote:I have tested to install the package lm-sensors but it doesnt detect any sensors. I got errors due to modprobe and cpuid issues.[/code]
This is cause lm-sensors tries to guess the CPU manufacture and the CPU capabilities. It was never made for ARM processors and will fail most of the time.
davincino wrote:Is modprobe an installable package?

modprobe is a default package that comes with your linux distro. It alows you to load and unload Kernel modules (drivers for different hardware).
The issue is the module "cpuid" that modprobe tries to load, which does not exist for our Kernel.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby davincino » Tue May 23, 2017 12:48 am

Ah ok.

With your hint regarding filenames i found the fan control files in
/sys/devices/platform/pwm-fan:/hwmon/hwmon0/fan_speed

Thanks for your fast replay, thumb up

The temp_levels are not in the same dir. I cannot find the file named temp_levels. :roll:
davincino
 
Posts: 32
Joined: Tue May 09, 2017 4:55 pm
languages_spoken: english
ODROIDs: C2: Libreelec
XU4: its new, maybe DebianJessie

Re: [OS] Debian Jessie

Unread postby meveric » Tue May 23, 2017 12:56 am

If you're using Kernel 4.9 then they are in a different location, that's true.
The link I gave you earlier has a section about these settings for Kernel 4.9 as well if you keep reading you should find the answers you're looking for.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Fri May 26, 2017 12:21 pm

Hi mev! I was reading this article and I was wondering if you acknowledge it.

We're using 2.5.X at the moment if I recall correctly, but still felt like I had to ask.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Fri May 26, 2017 2:36 pm

ChicoDeGoma wrote:Hi mev! I was reading this article and I was wondering if you acknowledge it.

We're using 2.5.X at the moment if I recall correctly, but still felt like I had to ask.

Debian Jessie comes with samba 4.2.14 and just got patched a few days ago:
samba (2:4.2.14+dfsg-0+deb8u6) jessie-security; urgency=high

* Non-maintainer upload by the Security Team.
* CVE-2017-7494: rpc_server3: Refuse to open pipe names with / inside

-- Salvatore Bonaccorso <carnil@debian.org> Thu, 18 May 2017 06:52:35 +0200
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sat May 27, 2017 3:20 am

Very sorry then, I actually updated it but I missread (2:4.2.14+dfsg-0+deb8u6) as "2.4" so that's why I asked. I guessed the +dsfg was the actual patch but I'm not used to check packages so I did it all wrong. Sorry again and thanks for the reply.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sat May 27, 2017 4:26 am

Don't worry... as long as it's not a package provided by myself (like Kernel, Kodi, etc.), the Debian Security Team will take care of all security issues and update the packages.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby meveric » Mon May 29, 2017 2:25 am

Update:
  • I've updated the base image and included drivers so apt via HTTPS works out of the box.
  • I also pre-installed setup-odroid which allows you to install Kodi or Desktop easily.
  • I was also asked to include Wifi tools to setup wifi from command line, these are pre-installed now was well.
  • SSH was changed to allow root login via password
  • fixed an issue with the ownership of /
  • fixed /etc/hosts entry
  • prepared /etc/fstab for Kernel 4.9 update
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby dieselnutjob » Thu Jun 01, 2017 7:36 am

Hi
I have installed https://oph.mdrjr.net/meveric/images/Jessie/Debian-Jessie-1.1-20170526-C1.img.xz onto what I think is an early C1 (it just says "C") on the PCB.
It boots up fine, so thank you for that.
Is there a way to get a newer kernel for it?
I am trying to use it with a MyGica T230 DVB USB stick and it says here that I need kernel >= 3.19

thanks
dieselnutjob
 
Posts: 9
Joined: Thu Sep 01, 2016 11:24 pm
languages_spoken: english
ODROIDs: C1

Re: [OS] Debian Jessie

Unread postby meveric » Thu Jun 01, 2017 2:31 pm

There is an C1 forum that image, it's better to ask such question in the C1 forum, not here for the XU4.
The short answer is no, there is no new Kernel for it, everything else, please ask in the C1 forum.
User avatar
meveric
 
Posts: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby Crazor » Tue Jun 06, 2017 4:19 pm

I'm using the Jessie image from the first post on my XU4, all freshly apt updated&upgraded. I installed the Xorg video and mali drivers as explained in the first post and got Xorg running with the provided config file. I'm starting a user X session with nodm, and from the user's .xsession file, I'm just starting a naked xterm. From there, I run a custom Python+OpenCV application that is running fine on the same hardware with the stock Ubuntu image from hardkernel. I.e. I'm getting 18-20FPS on Ubuntu, but barely 1-3 FPS on Debian Jessie. I suspect that either I'm missing graphics acceleration or maybe I did not compile OpenCV with the right dependencies/libraries. To remove my custom application code from the equation, I created a simple program that just opens the webcam, grabs and displays frames as fast as possible. This program runs at 30FPS on Ubuntu (limited just by the webcam's maximum frame rate), but also 1-3 FPS on Debian Jessie. Any ideas on what I might be missing?
Crazor
 
Posts: 1
Joined: Thu Mar 09, 2017 7:00 pm
languages_spoken: english, german
ODROIDs: ODROID-XU4

Re: [OS] Debian Jessie

Unread postby meveric » Tue Jun 06, 2017 5:35 pm

Can you check if the links for OpenCV are correct? Check if /usr/lib/arm-linux-gnueabihf/libOpenCV.so* is linked against /usr/lib/libMali.so
It should be similar to the links for libGLESv1_CM and libGLESv2 it can be that the links are missing or pointing to the MESA libraries instead of Mali.
Under X11 you could try using ffplay to display the webcam directly it should also show the framerate and if frames are dropped, so you don't need any special application for that.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Fri Jun 16, 2017 6:07 am

Hi meveric! I guess I know the awnser but do you have some plans on Debian 9? I know that doing something with it just after being launch is maybe to extreme, but maybe in the mid term? I'm just curious.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Fri Jun 16, 2017 2:21 pm

Yes, I plan to use Debian Stretch in some time, but there are still some issues I need to figure out, especially with GPU drivers.
But don't worry Debian Stretch will come.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sat Jun 17, 2017 5:41 am

That's very nice to hear. I'm sure it will be nice.

Edit: We won't go Debian 9 even if we do dist-upgrade, right?
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sat Jun 17, 2017 6:01 am

Nope, dist-upgrade has nothing to do with switching to a new OS version, so it's save to use and actually required if you want to update the Kernel and other packages.
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: 7954
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sat Jun 17, 2017 5:25 pm

Perfect. Thanks once again, I will rewrite a little script I had.
User avatar
ChicoDeGoma
 
Posts: 52
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby RomaT » Wed Jun 21, 2017 1:28 am

Not supported USB3.0 to Gigabit Ethernet ?
I need several network interfaces ...
What it is necessary to make need to do to make it work?
RomaT
 
Posts: 69
Joined: Thu Oct 23, 2014 4:48 pm
Location: Perm, Russia
languages_spoken: Russian
ODROIDs: -XU3, -XU4, -C1, -C2, -W, -VU

PreviousNext

Return to Other OS

Who is online

Users browsing this forum: No registered users and 2 guests