ODROID GameStation Turbo with Kodi for XU3/XU4

Very powerful gaming console solution based on Debian

Moderators: odroid, mdrjr

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Sun Dec 02, 2018 6:43 am

emulajavi wrote:Since Kodi launches by default, and I remember you saying on some posts that you preferred using Rom Collection Browser to EmulationStation,..... I though it'd better to use it. But maybe those were old posts.

The image exists since 2013/2014 back then EmulationStation was crap and there weren't much alternatives.
It took EmulationStation until late 2017 to include video preview for example, this was working already in 2012 in RCB.
But with all projects, if there are no maintainer it will get worse over time :(
I preferred RCB due to the fact you have everything in one frontend. Watching videos in Kodi, listen to music, playing games..
Back then it was working perfectly fine, now not so much anymore..
It's sad cause it was a good project.
But it seems they are working on it again.. maybe with the next version it's working better again.

emulajavi wrote:So it is expected behaviour that the Rom Collection Browser included with your image doesn't find anything when 'scratching', correct?

Hard to say.. I haven't done that in quite a while. All my games are already scanned from "way back" using RCB back then. So I have texts, video previews, and coverarts and such.
I'm not 100% sure how a clean install acts at the moment.

emulajavi wrote:Currently I have put some ROMS inside the Atari 2600, Genesis and GameGear folders (and Rom Collection Browser found them all) but EmulationStation only shows two systems: Atari2600 and Genesis. I've been able to scratch this two systems with EmulationStation and it gets the metadata, pics, etc...

Yeah that's one of the downsides of EmulationStation it only knows so many systems, and systems it doesn't know it can't scan.
This is another thing that never happend with RCB back then.. you might find the false cover art from a different system, but it always found something, even if it didn't knew the system.
EmulationStation can't do this.
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Thu Dec 06, 2018 4:36 am

meveric wrote:
crooked wrote:Anyone get anywhere with CEC?


Just uploaded new version of libcec4 with that CEC should finally work.

WOW!

testing as soon as i get the ssd booting.

thank you sir!
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Thu Dec 06, 2018 10:51 pm

So i tried using your move to HDD script again, but this time without updating anything.
here is some output.

from my recollection we talked about /dev/dm-0 being a good thing,

can anyone please confirm this is running off my ssd now?

also boot.ini on SD card shows "root=/dev/mapper/hdd-root"

Code: Select all
odroid@gamestation-turbo:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0        13G  4.6G  7.5G  39% /
udev             10M     0   10M   0% /dev
tmpfs           399M  7.9M  391M   2% /run
tmpfs           996M  140K  996M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           996M     0  996M   0% /sys/fs/cgroup
/dev/mmcblk0p1   71M   19M   53M  27% /boot
tmpfs           200M   20K  200M   1% /run/user/1000
/dev/mmcblk0p2   29G  4.2G   25G  15% /media/odroid/GameStationTurbo
odroid@gamestation-turbo:~$ blkid
-bash: blkid: command not found
odroid@gamestation-turbo:~$ sudo blkid
[sudo] password for odroid:
/dev/mmcblk0: PTUUID="000f1766" PTTYPE="dos"
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="96C3-9298" TYPE="vfat" PARTUUID="000f1766-01"
/dev/mmcblk0p2: LABEL="GameStationTurbo" UUID="e139ce78-9841-40fe-8823-96a304a09859" TYPE="ext4" PARTUUID="000f1766-02"
/dev/sda1: UUID="anomSq-HA2b-LQ4V-qDgk-e2Rs-uV5I-4qJwP2" TYPE="LVM2_member" PARTUUID="971e4111-01"
/dev/mapper/hdd-root: UUID="c63711e1-b784-45b8-8d59-4b30a215edf5" TYPE="ext4"
odroid@gamestation-turbo:~$
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Thu Dec 06, 2018 11:26 pm

looks good :)
/dev/dm-0 13G 4.6G 7.5G 39% /
is a LVM volume on your SSD, so you can increase the size on the fly or even create new partitions if needed.

the SD/eMMC is no longer used and just "parked" under
/media/odroid:
/dev/mmcblk0p2 29G 4.2G 25G 15% /media/odroid/GameStationTurbo
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Thu Dec 06, 2018 11:29 pm

awesome!

so given that this is a LVM, i guess that is why I can not see it in GPARTED.

i wanted to increase this with gparted a tad.

*edit

this is what GPARTED sees

https://imgur.com/a/cUmVwTI

i dont understand LVM obivously. but the previous code show'ed 13gb, this shows a full ssd on the logical.
idealy i need 20gb for gamestation and the rest on a separate partition for files.
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Thu Dec 06, 2018 11:34 pm

Check available space:
Code: Select all
pvscan


increase disk space for "partition" root TO 50GB:
Code: Select all
lvresize -L 50G /dev/hdd/root
resize2fs /dev/hdd/root


Increase disk space for "partition" root BY 50GB:
Code: Select all
lvresize -L +50G /dev/hdd/root
resize2fs /dev/hdd/root


create new partition "ROMS" with 50GB:
Code: Select all
lvcreate -L 50G -n "ROMS" hdd
mkfs.ext4 /dev/hdd/ROMS
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Thu Dec 06, 2018 11:42 pm

wow, i can see the allure of Logical. very fun

thank you sir

also testing out the new lib cec soon
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Fri Dec 07, 2018 1:37 am

nevermind, i added an entry to fstab and said logical partition was persistent
woo!
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Sun Dec 09, 2018 11:11 pm

so is there a concept for reverting the image, without totally re-installing it?

it seems after much effort i put in to this ssd setup, after playing around with bluetooth a bunch the system has become unstable.
not sure where to start on "fixing" this.

ex kernel panic after pairing/trusting/connnecting bluetooth

cant play 1080p h264 from local ssd.

(everything was lightning fast and perfect a couple days ago...)
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Mon Dec 10, 2018 12:11 am

crooked wrote:so is there a concept for reverting the image, without totally re-installing it?

it seems after much effort i put in to this ssd setup, after playing around with bluetooth a bunch the system has become unstable.
not sure where to start on "fixing" this.

ex kernel panic after pairing/trusting/connnecting bluetooth

cant play 1080p h264 from local ssd.

(everything was lightning fast and perfect a couple days ago...)

Well how should the image know to what point it should revert? ;)

On the SD/eMMC there's still the point before you moved the OS to HDD, so if you change the UUID of the rootfs back to the SD/eMMC it will boot from the SD/eMMC as if you never put it on the SSD in the first place.
But that might not help you much.
You could try connecting both SD/eMMC and SSD to a different PC and copy the content of the SD/eMMC back to the SSD, but keep the fstab as is.
That way you have the OS back to what it was before you changed it, but still would have all the files and folders mounted that are on the SSD.
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Mon Dec 10, 2018 12:57 am

ok that makes sense.

i suspect maybe something is not right with how the image is handling the ssd.

is there trim and such on by default? or maybe i should be setting up this ssd better?
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Mon Dec 10, 2018 1:03 am

Yes trim should be used by default but only for "/". Check under /etc/cron.daily you can change it to include other paths, like /home/odroid/ROMS if you need more.
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Mon Dec 10, 2018 1:30 am

cron.daily is empty.
im updating, they will probably populate.

still empty.

any idea what i should do there?
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Mon Dec 10, 2018 2:24 am

Hmm thought I had this by standard now.
Well just add a script there called fstrim or something and put this inside:
Code: Select all
#!/bin/bash
fstrim /

You can get more paths in there as I said and make sure the script is executable chmod +x /etc/cron.daily/fstrim

But having /etc/cron.daily empty is very odd there should be quite some scripts in there:

Code: Select all
root@gamestation-turbo:~# ll /etc/cron.daily/
insgesamt 72
-rwxr-xr-x 1 root root   311 Mai 23  2012 0anacron
-rwxr-xr-x 1 root root 15000 Apr 13  2015 apt
-rwxr-xr-x 1 root root   179 Jun  9  2016 apt-check
-rwxr-xr-x 1 root root   314 Nov  7  2012 aptitude
-rwxr-xr-x 1 root root   355 Jun 11  2012 bsdmainutils
-rwxr-xr-x 1 root root   384 Okt  6  2014 cracklib-runtime
-rwxr-xr-x 1 root root  1597 Apr 10  2015 dpkg
-rwxr-xr-x 1 root root  4125 Jun 14  2017 exim4-base
-rwxr-xr-x 1 root root    21 Aug 21  2016 fstrim
-rwxr-xr-x 1 root root    89 Mai 17  2012 logrotate
-rwxr-xr-x 1 root root  1293 Dez 31  2014 man-db
-rwxr-xr-x 1 root root  1110 Mai 12  2012 ntp
-rwxr-xr-x 1 root root   249 Mai 26  2012 passwd
-rwxr-xr-x 1 root root   383 Mär 11  2016 samba
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Mon Dec 10, 2018 1:23 pm

did another test/fresh image.

this scenario arose again, after setting up the image/kodi/bluetooth/etc.

do you figure its even possible for an installation without trim to become corrupt so soon? (or unstable..not sure which terminology applies)

keep in mind this process is done (mmc-ssd) before "update/upgrade" of your image.

(for whatever reason, the built in migration script only works for me pre-update. post update the system still boots off of mmc. (from your gamestation setup script)


i will try again and update the trim immediately after migration.
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby mad_ady » Mon Dec 10, 2018 2:48 pm

trim should only affect ssd write speed, not data integrity.
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Mon Dec 10, 2018 4:19 pm

crooked wrote:did another test/fresh image.

this scenario arose again, after setting up the image/kodi/bluetooth/etc.

I don't even know exactly what doesn't work, so I can't really answer that question.
Could also be that bluetooth is causing issue or "etc." :D

Maybe you should write down what you did and what happened at which step, so we can backtrack what is causing your issues.

crooked wrote: (for whatever reason, the built in migration script only works for me pre-update. post update the system still boots off of mmc. (from your gamestation setup script)

Odd, I changed the script cause it did not work under different circumstances, for example if the partition was already mounted under /media/odroid for example it could not be deleted/formatted and the process stopped.
But I wonder why it should work worse than before, as it should be the other way around (did include much more checks than in the original script).
Maybe you can run the script from terminal, or even with sudo bash -x setup-ogst and then check the output when it fails.
This might give me an idea on what's going on/wrong.
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Wed Dec 12, 2018 6:37 am

will do. thank you.

im going to update/upgrade before migration. it seems more proper.

i suspect something is a foot pre-uprade and corrupting all my settings or data on the ssd.

i wish i knew more about linux...

also got a newer ssd enclosure, maybe the enclosure wasnt being nice.
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Wed Dec 12, 2018 11:28 am

fresh image, updated and all that via SU

delete all partitions on SSD

your bash script for OGST rootfs/hdd:
first try
Code: Select all
SU

+ update-initramfs -u -k 3.10.106+
ln: failed to create hard link ‘/boot/initrd.img-3.10.106+.dpkg-bak’ => ‘/boot/initrd.img-3.10.106+’: Operation not permitted

 


re-delete partitions and try again

Code: Select all
++ wc -l
++ ls -s /dev/sda /dev/sda1
+ '[' 1 -ge 2 ']'
+ NEW_DEVICE=/dev/sda1
++ echo /dev/sda1
++ sed 's?/dev/??'
+ NEW_DISK=sda1
+ NEW_PART=sda1
++ echo sda1
++ sed 's/.$//'
+ NEW_DISK=sda
++ bc
+++ cat /sys/block/sda/device/block/sda/sda1/size
++ echo '468860080*512/1024/1024/1024'
+ NEW_SIZE=223
+ '[' 223 -lt 5 ']'
+ pvcreate -fy /dev/sda1
  Can't initialize physical volume "/dev/sda1" of volume group "hdd" without -ff
+ '[' 5 -ne 0 ']'
+ msgbox 'Something went wrong while creating pysical volume for LVM'
+ whiptail --backtitle 'ODROID GameStation Turbo Setup ' --msgbox 'Something went wrong while creating pysical volume for LVM' 0 0 0
+ exit 1
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Wed Dec 12, 2018 11:44 am

tried root, and sudo.

blank /dev/sda
no partitions or anything
'Something went wrong while creating pysical volume for LVM'
Code: Select all
 
++ wc -l
++ ls -s /dev/sda /dev/sda1
+ '[' 1 -ge 2 ']'
+ NEW_DEVICE=/dev/sda1
++ echo /dev/sda1
++ sed 's?/dev/??'
+ NEW_DISK=sda1
+ NEW_PART=sda1
++ echo sda1
++ sed 's/.$//'
+ NEW_DISK=sda
++ bc
+++ cat /sys/block/sda/device/block/sda/sda1/size
++ echo '468860080*512/1024/1024/1024'
+ NEW_SIZE=223
+ '[' 223 -lt 5 ']'
+ pvcreate -fy /dev/sda1
  Can't initialize physical volume "/dev/sda1" of volume group "hdd" without -ff
+ '[' 5 -ne 0 ']'
+ msgbox 'Something went wrong while creating pysical volume for LVM'
+ whiptail --backtitle 'ODROID GameStation Turbo Setup ' --msgbox 'Something went wrong while creating pysical volume for LVM' 0 0 0
+ exit 1

crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Wed Dec 12, 2018 4:01 pm

crooked wrote:your bash script for OGST rootfs/hdd:
first try
Code: Select all
SU

+ update-initramfs -u -k 3.10.106+
ln: failed to create hard link ‘/boot/initrd.img-3.10.106+.dpkg-bak’ => ‘/boot/initrd.img-3.10.106+’: Operation not permitted

 

That is not an issue, that is normal. It tries to create a link on the boot partition, but since this is a fat32 partition it can not make links.
You can ignore this.

crooked wrote:
Code: Select all
++ wc -l
++ ls -s /dev/sda /dev/sda1
+ '[' 1 -ge 2 ']'
+ NEW_DEVICE=/dev/sda1
++ echo /dev/sda1
++ sed 's?/dev/??'
+ NEW_DISK=sda1
+ NEW_PART=sda1
++ echo sda1
++ sed 's/.$//'
+ NEW_DISK=sda
++ bc
+++ cat /sys/block/sda/device/block/sda/sda1/size
++ echo '468860080*512/1024/1024/1024'
+ NEW_SIZE=223
+ '[' 223 -lt 5 ']'
+ pvcreate -fy /dev/sda1
  Can't initialize physical volume "/dev/sda1" of volume group "hdd" without -ff
+ '[' 5 -ne 0 ']'
+ msgbox 'Something went wrong while creating pysical volume for LVM'
+ whiptail --backtitle 'ODROID GameStation Turbo Setup ' --msgbox 'Something went wrong while creating pysical volume for LVM' 0 0 0
+ exit 1

This means it can't create /dev/sda1 (probably cause it already exists)
But yes, this is the issue here:
Code: Select all
++ ls -s /dev/sda /dev/sda1
+ '[' 1 -ge 2 ']'

it should be ls -l instead of ls -s
that is why it says [ 1 -ge 2 ] cause it only outputs ONE line instead of 2 :(
So I need to fix that.
You can try yourself by editing /usr/local/sbin/setup-ogst and try to find and replace this "ls -s" with a "ls -l" but be careful, the script is huge.
You probably find it easier if you search for "hdd" first.
Also if you don't value your data on the SSD you probably want to delete this partition, as it might be the entire harddrive.
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Thu Dec 13, 2018 8:55 am

awesome! updating the script now.

i still for the life of me cant get it to boot off of SSD. even with correct uuid changes.

i will start from scratch with your script/update

thank you

found only 2 instances in the script, sound right? change both?

Code: Select all
 NUM_PART=`ls -s $USE_DEVICE* | wc -l`
                                fdisk $USE_DEVICE <<EOF
n
p
$NUM_PART


w
EOF
                                if [ $NUM_PART -ge `ls -s $USE_DEVICE* | wc -l` ]; then
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Thu Dec 13, 2018 10:12 am

I think it worked!

Code: Select all
odroid@gamestation-turbo:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0        14G  4.6G  8.4G  36% /
udev             10M     0   10M   0% /dev
tmpfs           399M  7.8M  391M   2% /run
tmpfs           996M  140K  996M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           996M     0  996M   0% /sys/fs/cgroup
/dev/mmcblk0p1   71M   19M   53M  27% /boot
tmpfs           200M   16K  200M   1% /run/user/1000
/dev/mmcblk0p2   29G  8.4G   21G  29% /media/odroid/GameStationTurbo
 
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby mad_ady » Thu Dec 13, 2018 2:44 pm

/media/odroid/GameStationTurbo is still on the sd card. Check your fstab/uuid.
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Thu Dec 13, 2018 4:52 pm

crooked wrote:I think it worked!

Code: Select all
odroid@gamestation-turbo:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/dm-0        14G  4.6G  8.4G  36% /
udev             10M     0   10M   0% /dev
tmpfs           399M  7.8M  391M   2% /run
tmpfs           996M  140K  996M   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           996M     0  996M   0% /sys/fs/cgroup
/dev/mmcblk0p1   71M   19M   53M  27% /boot
tmpfs           200M   16K  200M   1% /run/user/1000
/dev/mmcblk0p2   29G  8.4G   21G  29% /media/odroid/GameStationTurbo
 


Yep everything looks fine :)

mad_ady wrote:/media/odroid/GameStationTurbo is still on the sd card. Check your fstab/uuid.

This is the /media/odroid which is the automount point.. same as if you plug in a USB drive.. it has nothing to say.
/ is the root partition that is the important part and / is located on /dev/dm-0 which is an logical volume.
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby mad_ady » Thu Dec 13, 2018 8:32 pm

Sorry, I read it as /home/odroid. My bad.
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby So Solid Jedi » Thu Dec 13, 2018 10:03 pm

hi, i am having a little trouble running the startup off of the eMMC/MicroSD? The board powers on, i see the terminal script running, but shortly after part of the script, it resets the Odroid? I'm using a Sandisk Ultra 64GB MicroSD card, i flashed ODROID-GameStation-Turbo-3.9.6-20180619-XU3+XU4-Jessie.img using etcher. Anyone have any ideas? The power Supply i'm using has an Output rating of: 5.0V @2.5A, i know its not the recommended 5.0V @4A PSU but just to get me past the Startup process i thought it would be sufficient. I intend to swap it out for a rated 5.0V @4A one in the next couple of weeks. Can anyone share some help on my startup isssue, besides the obvious PSU issue?
So Solid Jedi
 
Posts: 1
Joined: Fri Dec 07, 2018 1:42 am
languages_spoken: english
ODROIDs: ODROID-XU4

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby mad_ady » Fri Dec 14, 2018 1:11 am

Based on previous experience, the psu is the issue. Wait until you get the 4A psu,
User avatar
mad_ady
 
Posts: 4936
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Fri Dec 14, 2018 4:01 am

So Solid Jedi wrote:The power Supply i'm using has an Output rating of: 5.0V @2.5A, i know its not the recommended 5.0V @4A PSU but just to get me past the Startup process i thought it would be sufficient.

Remove any attached USB device, in fact you should probably remove the Monitor/TV as well, power on the system and wait a while. If you see the blue LED keep blinking for a minute or two (no restart and such) re-attach TV and and later USB devices such as Keyboard.
The boot process uses A LOT of CPU power, and the 2.5A PSU may not be sufficient, once you're on the desktop after the boot process, the power usage is lower and it should be fine to connect devices again.
You could then lower the CPU speed, or even the cpu governor, to keep it running with a 2.5A PSU, but you will not have full performance and at peeks the system may still crash due to too much power usage.
So using 4A is definitely better.

Please Note: using a USB stick or even worse an external HDD is impossible with 2.5 A PSU.
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Fri Dec 14, 2018 9:35 am

anyone playing with the voice input packages?
was thinking of adding one to try for basic kodi searches
any suggestions?


damnnn kodi 18 will have goggle voice assistant....the future is near haha

@meveric, where do we find the new working cec?
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Fri Dec 14, 2018 1:46 pm

crooked wrote:@meveric, where do we find the new working cec?

installing libcec4 should be enough make sure cec is enabled in boot.ini
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Sun Dec 16, 2018 5:04 am

seem to be getting a dependancy issue

also tried installing libcec4 with dependancies, but said must install "URI's in list"

did an upgrade/update before as well, and enabled cec in boot.ini

Code: Select all
 The following packages have unmet dependencies:
 libcec4 : Depends: libp8-platform2 (>= 2.1.0.1+dfsg1-1~bpo8) but 2.0.1-1~jessie is to be installed
E: Unable to correct problems, you have held broken packages.
odroid@gamestation-turbo:/boot$ sudo apt-get build-dep libcec4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list


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

The following packages have unmet dependencies:
 libcec4 : Depends: libp8-platform2 (>= 2.1.0.1+dfsg1-1~bpo8) but 2.0.1-1~jessie is to be installed
E: Unable to correct problems, you have held broken packages.
odroid@gamestation-turbo:/boot$ 
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby meveric » Sun Dec 16, 2018 5:19 am

can you try apt-get install -t jessie libcec4
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: 9455
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

Re: ODROID GameStation Turbo with Kodi for XU3/XU4

Unread postby crooked » Sun Dec 16, 2018 7:12 am

worked, a bit more sluggish than usual. but ill take it.
crooked
 
Posts: 124
Joined: Sun Sep 28, 2014 3:55 am
languages_spoken: english
ODROIDs: u3

Previous

Return to OGST-XU4

Who is online

Users browsing this forum: No registered users and 3 guests