Upgrade Xbian installation to support Raspberry Pi 3

Recently I bought two Raspberry Pi 3 devices, one for my RetroPie gaming center and one for my Kodi / Xbian always-on media-center.

Retropie with version 3.6 came out of the box with Raspberry Pi 3 support, so it was an easy to replace old unit with new one.

Xbian needs new kernel package (4.4.4+) to support Raspberry Pi 3. There are two ways to get your Xbian to support your new device:

  1. Download “Preliminary Raspberry Pi 3 version” from Xbian site, but this would mean you need to spend more time in copying your old configuration files or backups. Which I was not going to do.
  2. Enable devel repository on your existing installation, upgrade packages (Kernel to 4.4.4+ and new kodi package) then reboot.

I will explain the second method of course.

You need to edit your /etc/apt/sources.list.d/xbian.list file and remove comment from following line:

# deb mirror://apt.xbian.org/mirror.txt  devel   main rpi2-jessie

Save, do apt-get update and apt-get upgrade all on your old Raspberry Pi 2. Reboot just in case to check if everything works with new kernel as before.

Then you should transfer your SD card to your new Raspberry Pi 3 and all your cables, power, hdmi, ethernet and usb devices.

Power on and if you have entered static IP address your Raspberry Pi 3 should be responsive on the same IP like Raspberry Pi 2. If you use DHCP please check your router for new DHCP assignment since your new device has new MAC address.

One thing more I recommend to change is your /etc/udev/rules.d/70-persistent-net.rules file. You will see first ethernet device listed as eth0 that is your old device from Raspberry Pi 2 and then new eth1 device and wlan0 from Raspberry Pi 3. Comment first line with eth0 (old device), change “eth1” to “eth0” for the old device then reboot again.

# USB device 0x:0x (smsc95xx)
 #SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:7a:ab:66", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# USB device 0x:0x (smsc95xx)
 SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:40:3e:64", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# Unknown net device (/devices/platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1/net/wlan0) (brcmfmac_sdio)
 SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:15:09:1f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

These are the only changes I have done and my new Raspberry Pi 3 Xbian is working as expected.

Don’t forget to comment your overclocking settings in your /boot/config.txt if you have set it for Raspberry Pi 2.

Leave a Reply

Your email address will not be published. Required fields are marked *