dietpi-cpu odroid xu4

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
kamilmirza
Posts: 13
Joined: Tue Mar 21, 2017 10:13 am

dietpi-cpu odroid xu4

Post by kamilmirza »

greetings

i really like the dietpi-cpu or cpu command/script on dietpi to view my temps and frequencies on my odroid XU4
can i import and use it in another OS?
if yes then how?
thank you in advance :)
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpi-cpu odroid xu4

Post by Fourdee »

kamilmirza wrote:greetings

i really like the dietpi-cpu or cpu command/script on dietpi to view my temps and frequencies on my odroid XU4
can i import and use it in another OS?
if yes then how?
thank you in advance :)
Yep, should work, although, you may need to define the HW_MODEL index of system (which script needs for XU4 identification of 8 cores).

Code: Select all

wget https://github.com/Fourdee/DietPi/raw/master/dietpi/dietpi-cpuinfo 
chmod +x dietpi-cpuinfo

#Set for XU4
mkdir -p /DietPi/dietpi
echo 11 > /DietPi/dietpi/.hw_model

#Run
./dietpi-cpuinfo
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
kamilmirza
Posts: 13
Joined: Tue Mar 21, 2017 10:13 am

Re: dietpi-cpu odroid xu4

Post by kamilmirza »

Fourdee wrote:
kamilmirza wrote:greetings

i really like the dietpi-cpu or cpu command/script on dietpi to view my temps and frequencies on my odroid XU4
can i import and use it in another OS?
if yes then how?
thank you in advance :)
Yep, should work, although, you may need to define the HW_MODEL index of system (which script needs for XU4 identification of 8 cores).

Code: Select all

wget https://github.com/Fourdee/DietPi/raw/master/dietpi/dietpi-cpuinfo 
chmod +x dietpi-cpuinfo

#Set for XU4
mkdir -p /DietPi/dietpi
echo 11 > /DietPi/dietpi/.hw_model

#Run
./dietpi-cpuinfo
thank you for your reply!
it works but frequencies are not correct
can't find anything of "HW_MODEL index of system"
how can i fix this?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpi-cpu odroid xu4

Post by Fourdee »

kamilmirza wrote: it works but frequencies are not correct
can't find anything of "HW_MODEL index of system"
how can i fix this?
Strange, should work, try (copy + paste all into term):

Code: Select all

mkdir -p /DietPi/dietpi
cat << _EOF_ > /DietPi/dietpi/.hw_model
11
oDroid XU3/4 (armv7l)
3
/dev/mmcblk0p2
non-DietPi-system
2
armv7l
Meveric
0

_EOF_
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
kamilmirza
Posts: 13
Joined: Tue Mar 21, 2017 10:13 am

Re: dietpi-cpu odroid xu4

Post by kamilmirza »

little processor stays at 200MHz and big at 2000MHz
tried and still the same output

EDIT: and its fine
changed the governor to performance and it raised
must tweak my interactive governor

thanks you for your work!
Post Reply