Forum
Update Xbian Rpi2 to Rpi3 with xbian-config - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: Update Xbian Rpi2 to Rpi3 with xbian-config (/thread-3506.html)

Pages: 1 2


Update Xbian Rpi2 to Rpi3 with xbian-config - howdy - 5th Apr, 2016 07:59 PM

Hi guys,

Im using xbian for a couple of months and im very happy, running also my Openhab stuff on it.
So, its getting time to test the new RPi3 with the config I have.

Newest 16.0 xbian installation.

I took my SD card with overclocking deactivated in xbian-config and test it with the Rpi3, works well!

So is it possible to update the Xbian environment to the new hardware seettings from the Pi 3 with xbian-config?
I use the preliminary setup with another SD card which is running fine with 1,2Ghz.
But then I ran in trouble to setup Java, openhab etc.
Burned some hours last night with that...

I'd like to avoid a new setup, because I took a lot of effort in installing java, openhab etc. stuff.

I'm happy to get some advice!
Cheers


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - Nachteule - 5th Apr, 2016 11:36 PM

(5th Apr, 2016 07:59 PM)howdy Wrote:  So is it possible to update the Xbian environment to the new hardware seettings from the Pi 3 with xbian-config?
what do you mean with "hardware settings"?
There is no difference between Rpi2 and Rpi3, only just a note: please leave your fingers from overclocking Smile

Quote:I use the preliminary setup with another SD card which is running fine with 1,2Ghz.
But then I ran in trouble to setup Java, openhab etc.
Burned some hours last night with that...

I'd like to avoid a new setup, because I took a lot of effort in installing java, openhab etc. stuff.

You already answered your question by yourself:

You took your Rpi2 card into Rpi3 and everything is working. So there is no need do do a fresh install. I did the same Smile


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - howdy - 6th Apr, 2016 05:45 AM

Hi Nachteule,

but when I have a look in system profile in Kodi it says 900Mhz, in case of using my old sd card.
After updating it decreases to 600 Mhz.

I dont understand whats going on.

HuhSmile


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - Nachteule - 6th Apr, 2016 06:04 AM

(6th Apr, 2016 05:45 AM)howdy Wrote:  but when I have a look in system profile in Kodi it says 900Mhz, in case of using my old sd card.
After updating it decreases to 600 Mhz.

If CPU is idle clock should be 600 MHz, otherwise 1.2 GHz


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - howdy - 6th Apr, 2016 08:10 AM

(6th Apr, 2016 06:04 AM)Nachteule Wrote:  
(6th Apr, 2016 05:45 AM)howdy Wrote:  but when I have a look in system profile in Kodi it says 900Mhz, in case of using my old sd card.
After updating it decreases to 600 Mhz.

If CPU is idle clock should be 600 MHz, otherwise 1.2 GHz

Ok, interesting. Do you know the difference compared to the preliminary build?
There are always 1,2Ghz shown in system profile.

It obviously has more power in using the Live tv addon Iptv simple client.
So its possible to switch Hd channels without crashing Kodi.


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - Nachteule - 6th Apr, 2016 08:32 AM

Quote:Ok, interesting. Do you know the difference compared to the preliminary build?

Difference is only the kernel (package)


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - howdy - 6th Apr, 2016 08:09 PM

(6th Apr, 2016 08:32 AM)Nachteule Wrote:  
Quote:Ok, interesting. Do you know the difference compared to the preliminary build?

Difference is only the kernel (package)

What's the current version?
Now i have 4.4.6+

But I see some power issues, when I boot, the rainbow box is showing up.
I will buy a new usb power supply with 2,5 A

So then perhaps I have 1,2Ghz possibility?


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - IriDium - 6th Apr, 2016 09:33 PM

Look at:

Terminal
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
(Max frequency allowed)

Terminal
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
(Idle frequency)

Terminal
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
(Current frequency)

So
Terminal
watch -n 1 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
will show the current frequency of CPU0

If you use
Terminal
top
and then press "1" it will show each CPU, so choose one that is under load.

If you want to force some CPU load, install stress.
Terminal
sudo apt-get install stress -y

and then run

Terminal
stress -c 1 - t 10
will stress CPU 0 for 10 seconds.

or

Terminal
stress -c 4 - t 10
will stress all CPUs for 10 seconds.


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - howdy - 7th Apr, 2016 12:32 AM

Thanks for help!

My request says in a Rpi3 with Kodi 16.1, Kernel 4.4.6

cpuinfo_max_freq: 900000
cpuinfo_min_freq: 600000
cpuinfo_cur_freq: 900000


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - Nachteule - 7th Apr, 2016 12:39 AM

@howdy

Please show me your /boot/config.txt


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - howdy - 7th Apr, 2016 12:48 AM

#initramfs initramfs.gz 0x1000000
gpu_mem_1024=320
gpu_mem_512=144
gpu_mem_256=100
initial_turbo=3
hdmi_ignore_cec_init=1
disable_overscan=1
disable_splash=1
dtoverlay=lirc-rpi
decode_MPG2=xxx
arm_freq=900
core_freq=250
sdram_freq=450
over_voltage=0

This is the old setting from the Rpi2 still running.


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - Nachteule - 7th Apr, 2016 02:13 AM

No wonder that you're only getting 900MHz Smile

please remove (or comment them out)

Code:
arm_freq=900
core_freq=250
sdram_freq=450
over_voltage=0

and after reboot you'll get 1.2GHz


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - howdy - 7th Apr, 2016 02:28 AM

Ah great! Big Grin
I will try


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - IriDium - 7th Apr, 2016 04:21 AM

Looks like someone changed the config from the normal xbian settings. The figures seem to suggest Raspbian "Moderate" settings without the overvolt.

Would it be possible in the upgrade to show a warning, something like smb.conf where it asks users if they want to use the current configuration or accept the defaults - might help in the future.


RE: Update Xbian Rpi2 to Rpi3 with xbian-config - Nachteule - 7th Apr, 2016 05:51 AM

Most guys (like me Tongue ) usually does not recognizing warnings and ignoring them