[OS] Debian Stretch
-
- Posts: 25
- Joined: Fri Apr 28, 2017 4:45 pm
- languages_spoken: english
- ODROIDs: Odroid C2
- Has thanked: 1 time
- Been thanked: 0
- Contact:
OpenVPN 2.4.7
Hi Meveric,
Any chance you could update OpenVPN to 2.4.7 in your repository?
It still is at 2.4.0.
Thank you!
Any chance you could update OpenVPN to 2.4.7 in your repository?
It still is at 2.4.0.
Thank you!
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
first of all openvpn does not come from "my" repository but from official Debian Stretch repository, it's not touched by me.
secondly, aside from the 2.4.0 which is the standard for Debian Stretch 2.4.7 is available from stretch-backports:
so there is no need for me to port anything, as it's already available in official Debian Stretch repositories.
secondly, aside from the 2.4.0 which is the standard for Debian Stretch 2.4.7 is available from stretch-backports:
Code: Select all
apt-cache policy openvpn
openvpn:
Installed: (none)
Candidate: 2.4.0-6+deb9u3
Version table:
2.4.7-1~bpo9+1 100
100 http://ftp.debian.org/debian stretch-backports/main armhf Packages
2.4.0-6+deb9u3 500
500 http://ftp.debian.org/debian stretch/main armhf Packages
2.4.0-6+deb9u1 500
500 http://security.debian.org/debian-security stretch/updates/main armhf 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.
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.
-
- Posts: 15
- Joined: Thu Aug 02, 2018 3:07 am
- languages_spoken: english
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
I'm having to reinstall to a new uSD card. There doesn't seem to be anything obviously wrong with the old uSD card. I can mount and view all the files and logfiles on another linux computer, and don't see any crash imfo. There is plenty of free space on the disk. When I start up with this crashed uSD card, I never get a beeping blue light, it just stays steady on (or not all, the last time I tried, I think!) . Oh well ;- )
Now that I'm reinstalling, I'm going with the XFCE desktop, and have watched the installer run for 1/2 hour or so.
How long should I expect this install to take?
Also, Is there a preferred TERM value I should be using on my local ssh client (not putty). The current TERM value (vt100) is displaying the graphic chars for the menu/installer as a triple-wide char, for example, `öΓöé` are the chars that form the border at the left margin of the status window. That is from a copy/paste. On the screen, they look like `hPhr` but the r is not a standard US char.
Ah, now I noticed that because of my buggy border, the status messages like `Preparing libperl5.24 (armhf)` are hidden in the funky border. AND I notice that the green status bar is changing to grey and moving to the right some more. I am **making progress** ;- ) .
I guess this is more of a feedback message, rather than anything requiring help.
Cheers!
Update : ~ 4 hrs later, Stuck on Preparing python3-pil (armhf) and progress show 51%.
among others, shows up at the top of htop output.
Just going to let it keep running
Update : - 5 mins later. Now we're at 89%. I guess it knew I was writing about it ;- )
Now that I'm reinstalling, I'm going with the XFCE desktop, and have watched the installer run for 1/2 hour or so.
How long should I expect this install to take?
Also, Is there a preferred TERM value I should be using on my local ssh client (not putty). The current TERM value (vt100) is displaying the graphic chars for the menu/installer as a triple-wide char, for example, `öΓöé` are the chars that form the border at the left margin of the status window. That is from a copy/paste. On the screen, they look like `hPhr` but the r is not a standard US char.
Ah, now I noticed that because of my buggy border, the status messages like `Preparing libperl5.24 (armhf)` are hidden in the funky border. AND I notice that the green status bar is changing to grey and moving to the right some more. I am **making progress** ;- ) .
I guess this is more of a feedback message, rather than anything requiring help.
Cheers!
Update : ~ 4 hrs later, Stuck on Preparing python3-pil (armhf) and progress show 51%.
Code: Select all
/usr/bin/perl -w /usr/share/debconf/frontend /usr/bin/debconf-apt-progress ....
Just going to let it keep running
Update : - 5 mins later. Now we're at 89%. I guess it knew I was writing about it ;- )
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
solid blue led normally means that it did not load the kernel correctly.nn_m wrote: ↑Tue Mar 19, 2019 2:43 amI'm having to reinstall to a new uSD card. There doesn't seem to be anything obviously wrong with the old uSD card. I can mount and view all the files and logfiles on another linux computer, and don't see any crash imfo. There is plenty of free space on the disk. When I start up with this crashed uSD card, I never get a beeping blue light, it just stays steady on (or not all, the last time I tried, I think!) . Oh well ;- )
using a UART is the best way to debug this.
Not sure how good XFCE will perform, but let me know how it turns out.
this highly depends on the quality of the media, eMMC can be quite fast and an installation could be done within 15~25min.
SD card can be a lot slower, depending on the write speed it can take several hours

I often move the OS to an HDD before I start doing serious stuff with it.
hmm not sure never had an issue with that. on putty I had to change the defaults to get correct boarders, but I haven't much experience with other SSH clients, cygwin maybe but that should work out of the box.nn_m wrote: ↑Tue Mar 19, 2019 2:43 amAlso, Is there a preferred TERM value I should be using on my local ssh client (not putty). The current TERM value (vt100) is displaying the graphic chars for the menu/installer as a triple-wide char, for example, `öΓöé` are the chars that form the border at the left margin of the status window. That is from a copy/paste. On the screen, they look like `hPhr` but the r is not a standard US char.
I normally use my Linux Laptop for everything, so SSH is Linux to Linux, never had to change anything on the settings.
Hope it finished by nownn_m wrote: ↑Tue Mar 19, 2019 2:43 amAh, now I noticed that because of my buggy border, the status messages like `Preparing libperl5.24 (armhf)` are hidden in the funky border. AND I notice that the green status bar is changing to grey and moving to the right some more. I am **making progress** ;- ) .
I guess this is more of a feedback message, rather than anything requiring help.
Cheers!
Update : ~ 4 hrs later, Stuck on Preparing python3-pil (armhf) and progress show 51%.
among others, shows up at the top of htop output.Code: Select all
/usr/bin/perl -w /usr/share/debconf/frontend /usr/bin/debconf-apt-progress ....
Just going to let it keep running
Update : - 5 mins later. Now we're at 89%. I guess it knew I was writing about it ;- )

Yes SD card can be painfully slow.
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.
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.
-
- Posts: 4
- Joined: Sun Mar 24, 2019 9:53 pm
- languages_spoken: english
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
I am getting this error when I try to update/upgrade. Any help greatly appreciated. Also getting an error of the desktop about no room left. I have a 32 g emmc.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.130) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130) ...
ln: failed to create hard link '/boot/initrd.img-4.14.107+.dpkg-bak' => '/boot/initrd.img-4.14.107+': Operation not permitted
cp: error writing '/boot/initrd.img-4.14.107+.dpkg-bak': No space left on device
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
That is the important part.
You boot partition ran full. Check /boot for old files that have not 107+ in their name and delete them.
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.
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.
-
- Posts: 4
- Joined: Sun Mar 24, 2019 9:53 pm
- languages_spoken: english
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Edit: Ok, I think I figured it out. I cd to /boot and removed files with 102+
After an apt-get update/upgrade, I got this error:
ln: failed to create hard link '/boot/initrd.img-4.14.107+.dpkg-bak' => '/boot/initrd.img-4.14.107+': Operation not permit
It looks like it did in fact complete though?
Thanks
After an apt-get update/upgrade, I got this error:
ln: failed to create hard link '/boot/initrd.img-4.14.107+.dpkg-bak' => '/boot/initrd.img-4.14.107+': Operation not permit
It looks like it did in fact complete though?
Thanks
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
This error can be ignored, it tries to create a backup, but that's not possible since the boot partition is a fat32 partition so it can be accessed from Windows to allow changes to boot.ini and other things.
And since fat32 does not support linux hard links this operation fails.
It's no big deal and can be ignored.
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.
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.
-
- Posts: 25
- Joined: Fri Apr 28, 2017 4:45 pm
- languages_spoken: english
- ODROIDs: Odroid C2
- Has thanked: 1 time
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Meveric, thank you for the tip!meveric wrote: ↑Mon Mar 18, 2019 1:57 amfirst of all openvpn does not come from "my" repository but from official Debian Stretch repository, it's not touched by me.
secondly, aside from the 2.4.0 which is the standard for Debian Stretch 2.4.7 is available from stretch-backports:so there is no need for me to port anything, as it's already available in official Debian Stretch repositories.Code: Select all
...
-
- Posts: 14
- Joined: Sun Nov 26, 2017 3:56 am
- languages_spoken: english, french, italian
- ODROIDs: Odroid XU4
- Has thanked: 9 times
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
I thought there was a technical reason for /boot being FAT32. So I could e.g. turn it into an EXT4 partition without any issues (besides the need to update UUIDs and whatnot)?meveric wrote: ↑Mon Mar 25, 2019 5:28 amThis error can be ignored, it tries to create a backup, but that's not possible since the boot partition is a fat32 partition so it can be accessed from Windows to allow changes to boot.ini and other things.
And since fat32 does not support linux hard links this operation fails.
It's no big deal and can be ignored.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
I'm not sure about this, as the uboot must support booting from ext4 as well, and since i'm using the uboot from hardkernel I can not tell if ext4 boot is supported from uboot or not.
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.
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.
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Hi @Meveric,
After the latest update (the one where 'setup-odroid' package was updated), I noticed there were some errors. It seemed to relate to my /boot directory being full, so I used 'sudo apt autoremove --purge' to declutter, and then the update executed successfully. At the time I didn't reboot.
A week or so later, I needed to reboot and now my system is broken.
I am presented with Control-D message to enter maintenance mode, and I'm getting errors relating to:
"Direct firmware load for s5p-mfc-v8.fw failed with error -2"
...and:
"Firmware is not present in the /lib/firmware directory nor compiled in the kernel"
I am typing this out manually, as I am unable to copy and paste the exact error log at this moment in time.
Can you advise?
The odroid on which Debian is installed needs to be on 24/7, and it's currently down.
This site seems to suggest I need to put s5p-mfc*.fw files into /lib/firmware/s5p-mfc/ folder:
https://github.com/voidlinux/void-packages/issues/810
Thank you, as ever.
After the latest update (the one where 'setup-odroid' package was updated), I noticed there were some errors. It seemed to relate to my /boot directory being full, so I used 'sudo apt autoremove --purge' to declutter, and then the update executed successfully. At the time I didn't reboot.
A week or so later, I needed to reboot and now my system is broken.
I am presented with Control-D message to enter maintenance mode, and I'm getting errors relating to:
"Direct firmware load for s5p-mfc-v8.fw failed with error -2"
...and:
"Firmware is not present in the /lib/firmware directory nor compiled in the kernel"
I am typing this out manually, as I am unable to copy and paste the exact error log at this moment in time.
Can you advise?
The odroid on which Debian is installed needs to be on 24/7, and it's currently down.
This site seems to suggest I need to put s5p-mfc*.fw files into /lib/firmware/s5p-mfc/ folder:
https://github.com/voidlinux/void-packages/issues/810
Thank you, as ever.
Last edited by tedrogers on Fri Apr 05, 2019 4:23 am, edited 1 time in total.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
First of all, ignore all errors about "sp5-mfc" do not try to fix any of this as you are more likely to break anything.
It's only required for hardware decoding videos anyway, so if you don't use Kodi you can ignore it all together.
The real issue probably is/was the message about the full /boot partition... autoremove --purge doesn't help that often, and it's likely that you might not actually have succeeded with the update afterall.
It's normally easier to delete the file in /boot manually that are not for the current version of the kernel, as they are not needed. that way you free space and the update procedure can continue.
It's hard to tell what's the current state or issue.
Can you show me the content of the /boot partition? Maybe from a different system?
I'd need to see the file names and sizes (in byte) to give an estimation on what could be the issue.
It's only required for hardware decoding videos anyway, so if you don't use Kodi you can ignore it all together.
The real issue probably is/was the message about the full /boot partition... autoremove --purge doesn't help that often, and it's likely that you might not actually have succeeded with the update afterall.
It's normally easier to delete the file in /boot manually that are not for the current version of the kernel, as they are not needed. that way you free space and the update procedure can continue.
It's hard to tell what's the current state or issue.
Can you show me the content of the /boot partition? Maybe from a different system?
I'd need to see the file names and sizes (in byte) to give an estimation on what could be the issue.
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.
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.
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
I can get in from root, so I'm typing this out:
/boot# ls
boot.ini
config-4.14.102+
config-4.14.107+
exynos5422-odroidhc1.dtb
exynos5422-odroidxu3.dtb
exynos5422-odroidxu3-lite.dtb
exynos5422-odroidxu4.dtb
exynos5422-odroidxu4-kvm.dtb
initrd.img-4.14.102+
initrd.img-4.14.107+
System.map-4.14.102+
System.map-4.14.107+
uInitrd
uInitrd-4.14.102+
uInitrd-4.14.107+
uInitrd-4.14.94+
vmlinuz-4.14.102+
vmlinuz-4.14.107+
zImage
/boot# ls
boot.ini
config-4.14.102+
config-4.14.107+
exynos5422-odroidhc1.dtb
exynos5422-odroidxu3.dtb
exynos5422-odroidxu3-lite.dtb
exynos5422-odroidxu4.dtb
exynos5422-odroidxu4-kvm.dtb
initrd.img-4.14.102+
initrd.img-4.14.107+
System.map-4.14.102+
System.map-4.14.107+
uInitrd
uInitrd-4.14.102+
uInitrd-4.14.107+
uInitrd-4.14.94+
vmlinuz-4.14.102+
vmlinuz-4.14.107+
zImage
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
/boot# ls
9959 boot.ini
150961 config-4.14.102+
150961 config-4.14.107+
56387 exynos5422-odroidhc1.dtb
63513 exynos5422-odroidxu3.dtb
62458 exynos5422-odroidxu3-lite.dtb
63484 exynos5422-odroidxu4.dtb
63628 exynos5422-odroidxu4-kvm.dtb
5983698 initrd.img-4.14.102+
5983825 initrd.img-4.14.107+
2698865 System.map-4.14.102+
2699227 System.map-4.14.107+
5983762 uInitrd
5983762 uInitrd-4.14.102+
5983806 uInitrd-4.14.107+
5983811 uInitrd-4.14.94+
5683040 vmlinuz-4.14.102+
5684968 vmlinuz-4.14.107+
5684968 zImage
<bytes> <filename>
Does that help?
9959 boot.ini
150961 config-4.14.102+
150961 config-4.14.107+
56387 exynos5422-odroidhc1.dtb
63513 exynos5422-odroidxu3.dtb
62458 exynos5422-odroidxu3-lite.dtb
63484 exynos5422-odroidxu4.dtb
63628 exynos5422-odroidxu4-kvm.dtb
5983698 initrd.img-4.14.102+
5983825 initrd.img-4.14.107+
2698865 System.map-4.14.102+
2699227 System.map-4.14.107+
5983762 uInitrd
5983762 uInitrd-4.14.102+
5983806 uInitrd-4.14.107+
5983811 uInitrd-4.14.94+
5683040 vmlinuz-4.14.102+
5684968 vmlinuz-4.14.107+
5684968 zImage
<bytes> <filename>
Does that help?
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
ok, from the sizes you can see the update was not completed:
5983762 uInitrd
5983762 uInitrd-4.14.102+
5983806 uInitrd-4.14.107+
So uInitrd is still 4.14.102+
5683040 vmlinuz-4.14.102+
5684968 vmlinuz-4.14.107+
5684968 zImage
while zImage has the size of 4.14.107, so the Kernel and the initramdisk do not match.
As it's more likely that the 107 is not working correctly, I'd suggest copy the vmlinuz-4.14.102+ over zImage (it's the same file just renamed)
and the system should be able to boot again. After that try to install the Kernel again.
In worst case do a
5983762 uInitrd
5983762 uInitrd-4.14.102+
5983806 uInitrd-4.14.107+
So uInitrd is still 4.14.102+
5683040 vmlinuz-4.14.102+
5684968 vmlinuz-4.14.107+
5684968 zImage
while zImage has the size of 4.14.107, so the Kernel and the initramdisk do not match.
As it's more likely that the 107 is not working correctly, I'd suggest copy the vmlinuz-4.14.102+ over zImage (it's the same file just renamed)
and the system should be able to boot again. After that try to install the Kernel again.
In worst case do a
apt install --reinstall linux-image-4.14.107+
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.
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.
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Thank you for the prompt assitance!
I did:
cp vmlinuz-4.14.102+ zImage
...and can now verify file sizes for these two files are identical. About to reboot!
I did:
cp vmlinuz-4.14.102+ zImage
...and can now verify file sizes for these two files are identical. About to reboot!
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Unfortunately, that didn't work, even after hard-reboot.
So:
apt install --reinstall linux-image-4.14.107+
...and reboot.
Sadly, that did not work either.
So:
apt install --reinstall linux-image-4.14.107+
...and reboot.
Sadly, that did not work either.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
The reinstall only works if the system is able to boot again.
I'm confused why this shouldn't work.
All files are in place and the system should be able to work, unless the rootfs is somehow damaged.
The bootfs seems fine though, only boot.ini uInitrd and zImage are used for booting, as well as the dtb file of your system (most likely xu4).
So since all of this is in place I wonder if the rootfs is somehow damaged.
Are you able to access the rootfs as well?
If so can you check under /lib/modules if there's a folder for 4.14.102+ and/or 4.14.107+ ?
I'm confused why this shouldn't work.
All files are in place and the system should be able to work, unless the rootfs is somehow damaged.
The bootfs seems fine though, only boot.ini uInitrd and zImage are used for booting, as well as the dtb file of your system (most likely xu4).
So since all of this is in place I wonder if the rootfs is somehow damaged.
Are you able to access the rootfs as well?
If so can you check under /lib/modules if there's a folder for 4.14.102+ and/or 4.14.107+ ?
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.
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.
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Actuallly, my bad! It works fine now.
I had some external USB drives in my fstab, which were no longer connected to the odroid, so once I'd commented them out and rebooted again the odroid kicked back into life.
Thanks Meveric. You are a great help as always.
So, now I want rid of everything not '4.14.107+' from /boot, can I just delete all the '4.14.102+' items?
Naturally I'd like to be able to avoid a full /boot in future, so I can do some preventative maintenance.
I had some external USB drives in my fstab, which were no longer connected to the odroid, so once I'd commented them out and rebooted again the odroid kicked back into life.
Thanks Meveric. You are a great help as always.
So, now I want rid of everything not '4.14.107+' from /boot, can I just delete all the '4.14.102+' items?
Naturally I'd like to be able to avoid a full /boot in future, so I can do some preventative maintenance.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
yes you can delete everything that has 4.14.102+ in the name if you're now running on 107+ 

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.
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.
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Awesome sauce! Thanks.
Yes, uname -r reports I'm running 107+, so I'll get deleting.
For anyone else who might read this:
cd /boot
ls *102+ <--Good safety test
sudo rm *102+ <--Deletes everything ending in 102+
Thanks again.
Yes, uname -r reports I'm running 107+, so I'll get deleting.
For anyone else who might read this:
cd /boot
ls *102+ <--Good safety test
sudo rm *102+ <--Deletes everything ending in 102+
Thanks again.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
glad everything is working again for you 

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.
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.
-
- Posts: 63
- Joined: Fri Nov 23, 2018 6:18 pm
- languages_spoken: English
- ODROIDs: Odroid XU4Q
- Location: The Divided Kingdom of Great Britain
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
You've cheered me right up! Spreading your joy, as you have done. Can't thank you enough.
All the best.
All the best.
- MichaIng
- Posts: 25
- Joined: Wed Apr 10, 2019 4:44 am
- languages_spoken: english german
- Has thanked: 7 times
- Been thanked: 7 times
- Contact:
Re: [OS] Debian Stretch
@meveric
We recognized your server + repo is currently down. I guess you are already on that, however just wanted to mention.
Since we switch to our European mirror on DietPi images, we only recognized since one APT sources drop-in was not added as https:// but http://:
- On this Odroid XU4 Stretch image /etc/apt/sources.list.d/meveric-all.list contains "deb http://oph.mdrjr.net/meveric all main testing" where I think it was intended to be https:// like the others? No harm at all, just a tiny one to perhaps adjust on next image update
.
Many thanks for the great work and happy sunny days.
We recognized your server + repo is currently down. I guess you are already on that, however just wanted to mention.
Since we switch to our European mirror on DietPi images, we only recognized since one APT sources drop-in was not added as https:// but http://:
- On this Odroid XU4 Stretch image /etc/apt/sources.list.d/meveric-all.list contains "deb http://oph.mdrjr.net/meveric all main testing" where I think it was intended to be https:// like the others? No harm at all, just a tiny one to perhaps adjust on next image update

Many thanks for the great work and happy sunny days.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
Actually it's not my server but the server of @mdrjr and I hope he will have it fixed soon.
Thanks for the note about http vs https, although it doesn't makes much of a difference as there is a permanent redirect from http to https, but I guess when changing the sources with a sed command, it's easy to miss that one that is still having http in it's list.MichaIng wrote: ↑Wed Apr 10, 2019 5:00 amSince we switch to our European mirror on DietPi images, we only recognized since one APT sources drop-in was not added as https:// but http://:
- On this Odroid XU4 Stretch image /etc/apt/sources.list.d/meveric-all.list contains "deb http://oph.mdrjr.net/meveric all main testing" where I think it was intended to be https:// like the others? No harm at all, just a tiny one to perhaps adjust on next image update.
Many thanks for the great work and happy sunny days.
I'll probably add it on the next update of setup-odroid to make sure http://oph.mdrjr.net is replaced with https://oph.mdrjr.net in case I missed it somewhere else.
Thanks for the info!

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.
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.
- odroid
- Site Admin
- Posts: 36477
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1459 times
- Been thanked: 991 times
- Contact:
-
- Posts: 41
- Joined: Sat Dec 17, 2016 6:53 pm
- languages_spoken: english
- ODROIDs: Odroid C2
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Hi,
I've been seeing this during last two days:
et:35 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-04-09-2011.39.pdiff [33 B]
Err:36 http://oph.mdrjr.net/meveric all InRelease
Could not connect to oph.mdrjr.net:80 (216.155.157.42), connection timed out
Err:37 http://oph.mdrjr.net/meveric stretch InRelease
Unable to connect to oph.mdrjr.net:http:
Does anyone know whether oph.mdrjr.net has moved?
I've been seeing this during last two days:
et:35 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-04-09-2011.39.pdiff [33 B]
Err:36 http://oph.mdrjr.net/meveric all InRelease
Could not connect to oph.mdrjr.net:80 (216.155.157.42), connection timed out
Err:37 http://oph.mdrjr.net/meveric stretch InRelease
Unable to connect to oph.mdrjr.net:http:
Does anyone know whether oph.mdrjr.net has moved?
- odroid
- Site Admin
- Posts: 36477
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1459 times
- Been thanked: 991 times
- Contact:
Re: [OS] Debian Stretch
The server has some issues.
We need another 40~50 hours to fix our server problem.
We need another 40~50 hours to fix our server problem.

-
- Posts: 46
- Joined: Sat May 12, 2018 3:50 am
- languages_spoken: english
- ODROIDs: XU4,HC2
- Has thanked: 1 time
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
HI,aberrio wrote: ↑Fri Jan 04, 2019 2:11 amHi,
The old image on the system works fine no problem booting from HDD but as long I upgrade the image cause the problem, looks that the upgraded image did not wait until HDD is ready but adding the rootdelay fix the problem.
One more question , editing boot.ini in another system should work fine? or I need to update the UUI and boot from sd and do the process again without formatting HDD to preserve data on it?
Thx for you reply
I back to this issue, the rootdelay works fine on XU4 but does not work on HC2 boards. I just tried the Ubuntu image and work fine after update/upgrade/distupgrade.
What log file do you need information from to solve Debian problem?
Regards,
Al
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
Good question... the best log would be the output of UART when you boot the image. That's the only log that includes all information about the boot process.
I'm afraid every other log only works after the image was booted from HDD. So there's no log that will hold the issue of the HDD not booting correctly, as that log would be placed on the HDD.
I'm afraid every other log only works after the image was booted from HDD. So there's no log that will hold the issue of the HDD not booting correctly, as that log would be placed on the HDD.
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.
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.
-
- Posts: 1
- Joined: Fri Apr 12, 2019 9:33 am
- languages_spoken: english
- ODROIDs: HC1
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
Mev, your site down or move? Can't pull updates at this time. Been really appreciative of this image and hope things are still running.. Thx.
Code: Select all
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch https://oph.mdrjr.net/meveric/dists/all/InRelease Connection timed out after 120000 milliseconds
W: Failed to fetch https://oph.mdrjr.net/meveric/dists/stretch/InRelease Connection timed out after 120001 milliseconds
-
- Posts: 46
- Joined: Sat May 12, 2018 3:50 am
- languages_spoken: english
- ODROIDs: XU4,HC2
- Has thanked: 1 time
- Been thanked: 0
- Contact:
Re: [OS] Debian Stretch
This mean that we are not able to have the UART's output unless is created on the SD card?meveric wrote: ↑Thu Apr 11, 2019 3:17 amGood question... the best log would be the output of UART when you boot the image. That's the only log that includes all information about the boot process.
I'm afraid every other log only works after the image was booted from HDD. So there's no log that will hold the issue of the HDD not booting correctly, as that log would be placed on the HDD.
Regards,
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
If you check i few posts higher you'll see that the server is currently under maintenance, there's nothing I can do about it:stevedev wrote: ↑Fri Apr 12, 2019 9:37 amMev, your site down or move? Can't pull updates at this time. Been really appreciative of this image and hope things are still running.. Thx.
Code: Select all
8 packages can be upgraded. Run 'apt list --upgradable' to see them. W: Failed to fetch https://oph.mdrjr.net/meveric/dists/all/InRelease Connection timed out after 120000 milliseconds W: Failed to fetch https://oph.mdrjr.net/meveric/dists/stretch/InRelease Connection timed out after 120001 milliseconds
viewtopic.php?p=251816#p251816
UART is a external debugging cable, it has nothing to do with SD card:
https://www.hardkernel.com/shop/usb-uart-module-kit/
You connect it to the debugging port (UART) on the ODROID and another PC, and it will show detailed logs of the boot process... it is not "written" anywhere, you have to save the output yourself.
But it's not called a debugging port for nothing

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.
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.
-
- Posts: 77
- Joined: Fri Apr 12, 2019 4:35 pm
- languages_spoken: english
- ODROIDs: Odroid XU4
- Has thanked: 10 times
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
Hi!
I'm new to Odroid, bought my first one some days ago. From the berry universe I have a UART-USB bridge, comparable to this here:
https://shop.pimoroni.com/products/usb- ... sole-cable
Can I use this one with my Odroid XU4?
Many thanks in advance
volti
I'm new to Odroid, bought my first one some days ago. From the berry universe I have a UART-USB bridge, comparable to this here:
https://shop.pimoroni.com/products/usb- ... sole-cable
Can I use this one with my Odroid XU4?
Many thanks in advance
volti
kind regards
volti
volti
-
- Posts: 48
- Joined: Fri Apr 12, 2019 5:49 pm
- languages_spoken: english
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
Hi Meveric,
I'm a brand new XU4 odroid user. I was used to work with Raspberry
Anyway, I wanted to install kodi. I used setup-odroid to do so (by the way, why can't I just use Kodi package from Stretch?). But Kodi doesn't work.
Here is the crash log I have.
[pastebin] https://pastebin.com/1SQ74DiF [/pastebin]
thanks a lot for your help!
meaz
I'm a brand new XU4 odroid user. I was used to work with Raspberry

Anyway, I wanted to install kodi. I used setup-odroid to do so (by the way, why can't I just use Kodi package from Stretch?). But Kodi doesn't work.
Here is the crash log I have.
[pastebin] https://pastebin.com/1SQ74DiF [/pastebin]
thanks a lot for your help!
meaz
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
probably not and you shouldn't try as you can damage the board.odro-volti wrote: ↑Fri Apr 12, 2019 4:40 pmHi!
I'm new to Odroid, bought my first one some days ago. From the berry universe I have a UART-USB bridge, comparable to this here:
https://shop.pimoroni.com/products/usb- ... sole-cable
Can I use this one with my Odroid XU4?
Many thanks in advance
volti
The XU4 (and other ODROIDs) use 1.8V UART port, most other have 3.3V and therefore you can easily damage the board.
The UART from hardkernel has a converter from 3.3V to 1.8V to make sure everything works 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.
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.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
The reason why you can't use the version from Stretch is simple. The VPU of the XU4 is (like with most ARM boards) a very specific version that is most of the time not included in "standard" Debian packages.
Therefore a Kodi need to be compiled in a specific way to make the Hardware acceleration working.
You "could" use standard Kodi, but in that case you would have no hardware acceleration for video decoding.
Yes there's another issue with this. Kodi is compiled against X11 libraries, so you need a running X11 session to make it work. Either you install X11 libraries and start it with "startx kodi" or something like that, or the easier way is to simply install a Desktop such as MATE.meaz wrote: ↑Fri Apr 12, 2019 6:01 pmHere is the crash log I have.
[pastebin] https://pastebin.com/1SQ74DiF [/pastebin]
thanks a lot for your help!
meaz
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.
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.
-
- Posts: 77
- Joined: Fri Apr 12, 2019 4:35 pm
- languages_spoken: english
- ODROIDs: Odroid XU4
- Has thanked: 10 times
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
That sounds reasonable, thanks! First project is a NAS (tired of the USB2/100 Mbit networking on the berries), but for some tinkering later with additional Odroids I will keep in mind.meveric wrote: ↑Fri Apr 12, 2019 7:48 pm
probably not and you shouldn't try as you can damage the board.
The XU4 (and other ODROIDs) use 1.8V UART port, most other have 3.3V and therefore you can easily damage the board.
The UART from hardkernel has a converter from 3.3V to 1.8V to make sure everything works correctly.
Should not be a problem to have a software RAID 1 (MD) on Stretch for the XU4, or?
kind regards
volti
volti
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
nope software raid should be fine 

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.
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.
-
- Posts: 48
- Joined: Fri Apr 12, 2019 5:49 pm
- languages_spoken: english
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
I use my XU4 as a print server, as a prosody server also. So I would prefer not to install a Desktop. Do you know what exact X11 libraries I need for Stretch? When i search info about X11 on the web, there are just too many things!meveric wrote: ↑Fri Apr 12, 2019 8:07 pmYes there's another issue with this. Kodi is compiled against X11 libraries, so you need a running X11 session to make it work. Either you install X11 libraries and start it with "startx kodi" or something like that, or the easier way is to simply install a Desktop such as MATE.
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
hmm I'm not 100% sure, but I know it's normall started through "startx" which itself is a program provided by the package "xinit" so installing "xinit" should be enough to have a working X11 environment.
But I think you will have to do some manual steps to get hardware acceleration working.
Try the follinging (no guarantee it will work, never tried it):
If you're lucky that's already enough and you can run kodi with:
But I think you will have to do some manual steps to get hardware acceleration working.
Try the follinging (no guarantee it will work, never tried it):
Code: Select all
apt install xinit malit628-odroid xf86-video-armsoc-odroid
cp /usr/local/share/setup-odroid/xorg/exynos/xorg.conf /etc/X11/
Code: Select all
startx kodi --
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.
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.
-
- Posts: 48
- Joined: Fri Apr 12, 2019 5:49 pm
- languages_spoken: english
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
Thanks a lot, I will try!
Also, how could I enable CEC? I've just tried apt install cec-utils but CEC still doesn"t work
Also, how could I enable CEC? I've just tried apt install cec-utils but CEC still doesn"t work
- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
you all and your damn CEC 
cec-utils has nothing to do with cec.
You need to make sure /boot/boot.ini has CEC enabled (it's disabled by default)
make sure you have write permission to /dev/CEC
Also make sure your ODROID is connected to HDMI-1 as in the past no other port worked.
And make sure you have installed libcec4.
You might actually have to rebuild libcec4, not sure if I compiled a new version for Debian Stretch, as per Default Exynos support is disabled in libcec and has to be enabled to work.
I remember I did this in the past for Debian Jessie, but I don't remember if I did the same for Debian Stretch.. check the version of libcec4 see if it comes from my repo or from Debian.. Debian won't work, if it's my repo it might work

cec-utils has nothing to do with cec.
You need to make sure /boot/boot.ini has CEC enabled (it's disabled by default)
make sure you have write permission to /dev/CEC
Also make sure your ODROID is connected to HDMI-1 as in the past no other port worked.
And make sure you have installed libcec4.
You might actually have to rebuild libcec4, not sure if I compiled a new version for Debian Stretch, as per Default Exynos support is disabled in libcec and has to be enabled to work.
I remember I did this in the past for Debian Jessie, but I don't remember if I did the same for Debian Stretch.. check the version of libcec4 see if it comes from my repo or from Debian.. Debian won't work, if it's my repo it might work

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.
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.
-
- Posts: 48
- Joined: Fri Apr 12, 2019 5:49 pm
- languages_spoken: english
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
I bought the XU4 also for a smooth experience with Kodi, and for the all family. So the CEC feature is really important to me as I have young kids. It works just fine on raspberry, I thought that would be the same XU4 (I'm not blaming anyone, just a bit sad about that)
/boot/boot.ini has CEC enabled: setenv cecenable "true"
make sure you have write permission to /dev/CEC: I don't have /dev/CEC but /dev/cec0, I don't know if it is the same. It belongs to root and is 602.
make sure your ODROID is connected to HDMI-1: done
make sure you have installed libcec4: done
check the version of libcec4 see if it comes from my repo or from Debian: it comes from Debian. So I tried to rebuild it. I followed that: https://wiki.odroid.com/odroid-xu4/soft ... rom_source But when I get to "make -j 8" from the part called " Clone libCEC from the Github repository then build/install that." I get an error: libcec/src/libcec/adapter/Linux/LinuxCECAdapterCommunication.cpp:46:23: fatal error: linux/cec.h: No file or folder
#include <linux/cec.h>
^
compilation terminated.
You're my only hope
/boot/boot.ini has CEC enabled: setenv cecenable "true"
make sure you have write permission to /dev/CEC: I don't have /dev/CEC but /dev/cec0, I don't know if it is the same. It belongs to root and is 602.
make sure your ODROID is connected to HDMI-1: done
make sure you have installed libcec4: done
check the version of libcec4 see if it comes from my repo or from Debian: it comes from Debian. So I tried to rebuild it. I followed that: https://wiki.odroid.com/odroid-xu4/soft ... rom_source But when I get to "make -j 8" from the part called " Clone libCEC from the Github repository then build/install that." I get an error: libcec/src/libcec/adapter/Linux/LinuxCECAdapterCommunication.cpp:46:23: fatal error: linux/cec.h: No file or folder
#include <linux/cec.h>
^
compilation terminated.
You're my only hope

- meveric
- Posts: 11386
- 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, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 60 times
- Been thanked: 444 times
- Contact:
Re: [OS] Debian Stretch
I got my parents a special remote for that purpose.. a remote that can be used as a "remote" like for a tv, but also as an Air-Mouse and has a keyboard on the back... much more convenient than CEC and normal remote.meaz wrote: ↑Sat Apr 13, 2019 5:05 amI bought the XU4 also for a smooth experience with Kodi, and for the all family. So the CEC feature is really important to me as I have young kids. It works just fine on raspberry, I thought that would be the same XU4 (I'm not blaming anyone, just a bit sad about that)
Something like this: https://www.amazon.com/dp/B07GWVKLFL/
Please note, there are MANY different devices like this and you have tons of options to choose from, that particular one is just an example after a 10sec search on amazon

Should be fine.. I think it depends on the Kernel version or board... but as long as you have a CEC device you should be fine.
Could be an issue if you run Kodi as non-root user, then you will have to add for example a udev rule to set it to 666 or something like that.
Don't use that guide!meaz wrote: ↑Sat Apr 13, 2019 5:05 amcheck the version of libcec4 see if it comes from my repo or from Debian: it comes from Debian. So I tried to rebuild it. I followed that: https://wiki.odroid.com/odroid-xu4/soft ... rom_source But when I get to "make -j 8" from the part called " Clone libCEC from the Github repository then build/install that." I get an error: libcec/src/libcec/adapter/Linux/LinuxCECAdapterCommunication.cpp:46:23: fatal error: linux/cec.h: No file or folder
#include <linux/cec.h>
If it's available on Debian, rebuild the Debian package, not an "foreign" source.
Make sure you have deb-src entries in /etc/apt/sources.list
after that just do something like:
Code: Select all
apt update
mkdir sources
cd sources
apt source libcec4
cd libcec-4.0.1+dfsg1
apt build-dep libcec4
Code: Select all
dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DHAVE_EXYNOS_API=1 -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
Code: Select all
dpkg-buildpackage -b
And as this is fun and easy to do.. I just created my own package of libcec4 for Debian Stretch and will upload it in a few minutes

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.
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.
-
- Posts: 48
- Joined: Fri Apr 12, 2019 5:49 pm
- languages_spoken: english
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
Thanks a lot for the guidelines. THat is much easier!
I did succeed in building it this way. I've installed the built .deb.
I've rebooted, just in case it was needed.
I've lauched kodi as root, to avoid permission issue, just to see.
However, I still don't have any CEC peripherals that appears in kodi settings/syste/input ...
I did succeed in building it this way. I've installed the built .deb.
I've rebooted, just in case it was needed.
I've lauched kodi as root, to avoid permission issue, just to see.
However, I still don't have any CEC peripherals that appears in kodi settings/syste/input ...
-
- Posts: 77
- Joined: Fri Apr 12, 2019 4:35 pm
- languages_spoken: english
- ODROIDs: Odroid XU4
- Has thanked: 10 times
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
Sorry for the noob question, but I read the forum thread on eMMC recovery
viewtopic.php?f=53&t=6173
and the manual on burning eMMC with SD-card/USB adapter.
I bought an eMMC (16 GB) with the XU4, what is the official way to get stretch on this eMMC?
Many thanks!
viewtopic.php?f=53&t=6173
and the manual on burning eMMC with SD-card/USB adapter.
I bought an eMMC (16 GB) with the XU4, what is the official way to get stretch on this eMMC?
Many thanks!
kind regards
volti
volti
-
- Posts: 48
- Joined: Fri Apr 12, 2019 5:49 pm
- languages_spoken: english
- ODROIDs: XU4
- Has thanked: 0
- Been thanked: 2 times
- Contact:
Re: [OS] Debian Stretch
Alright I quit. I'm kind of disappointed. I've tried some video with kodi, it was so slow, and the image quality not that great. I'm just getting back on my rpi2, it worked just fine. Thanks a lot meveric for the time you took to help out !
Who is online
Users browsing this forum: No registered users and 2 guests