Skip to content

Instantly share code, notes, and snippets.

@uraimo
Last active May 15, 2018 10:58
Show Gist options
  • Select an option

  • Save uraimo/4e98661467e761828b96b626be4d10c4 to your computer and use it in GitHub Desktop.

Select an option

Save uraimo/4e98661467e761828b96b626be4d10c4 to your computer and use it in GitHub Desktop.
Use your old Ubuntu Mate 16.04 SD from a Rpi3 with a new Rpi3 B+

Yes! You can reuse your old Ubuntu Mate 16.04 installation from a Raspberry Pi 3 with a new B+.

Trying to boot the B+ with the old SD without modifications, will result in the rainbow screen with thunderbolt screen showing up.

  1. From your old Rpi, update the firmware(kernel.img&co) on the boot partition running sudo rpi-update. This will be enough to boot on the B+ but the wireless card will still not work.

  2. Set a country code for the wireless adapter in your wpa-supplicant.conf (usually under /etc/wpa-supplicant/) adding country=GB.

  3. Get all the files contained in https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm and copy them over the content in /lib/firmware/brcm. This will add a few new and updated drivers for the B+ wireless adapter.

If you are performing this step on the new B+, reload the brcmfmac module to enable the wifi:

sudo modprobe -r brcmfmac
sudo modprobe brcmfmac

Once the module is reloaded, the wlan0 interface should appear and the board should connect to the configured wireless AP.

If you are still on the old Rpi3, just switch it off and pop the SD in the new B+, the wifi will not work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment