4

My brand Raspberry Pi B+ works perfectly when I plug in an sd card, HDMI cable, and power. When I plug the EXACT SAME wires + card that work for the pi B+ into my new Pi 2, it freezes at the rainbow screen. By the rainbow screen, I mean this: debug screen from elinux pic

Does this mean it's definitely a hardware problem?

My first guess was that the Pi 2 needed more power than the B+, but the same power supply i'm using for both says 5V 2.5A on it.

Do I need a new image for the pi 2 because it has an ARM7 chip, or is the pi 2 defective?

Note: The reason I'm asking a new question is that it works on my old pi.

Glorfindel
  • 620
  • 1
  • 9
  • 16
Luke Taylor
  • 203
  • 2
  • 12

5 Answers5

3

They use different SoC's, the bootloaders are not interchangable. As a test, make a new SD card for the Pi2 from the website download.

Rainbow screen means there is no way to boot, either something with the SD card, or not enough power from the supply.

John Keates
  • 349
  • 2
  • 5
2

You need an updated image for the Pi2.

"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi unbootable". https://www.raspberrypi.org/forums/viewtopic.php?p=916911#p916911 Even the rpi-update documentation now warns "Even on Raspbian you should only use this with a good reason. This gets you the latest bleeding edge kernel/firmware."

You could do a sudo rpi-update on the Pi B+. That will update the SD card with a new kernel image. That SD card can then be used to boot the Pi2 and the Pi B+.

sudo apt-get update && sudo apt-get upgrade

Will get the latest kernel/firmware for the OS

Milliways
  • 62,573
  • 32
  • 113
  • 225
joan
  • 71,852
  • 5
  • 76
  • 108
1

Sorry, I was stuck in OpenElec mode. I had struggled for an afternoon before I found this solution to my own problem. If there's no objection, I'll leave this in the event that it may help someone else.

From the Pi B+

First download the latest .tar file from: http://wiki.openelec.tv/index.php/Updating_OpenELEC#Manually_Updating_OpenELEC

Second, copy that file to the update directory on the rPi (from Mac, you can to this using the Finder).

Third, reboot the Pi B+. It will reboot and install the new files. It will then return to the Rainbow Screen.

Fourth (and last) shut off the Pi B+, remove the SD card, put it into the Pi 2 and voila, it works.

Mishka
  • 19
  • 2
1
  1. Do sudo apt-get update followed by sudo apt-get upgrade, with the card in your older Pi.
  2. Then modify your /boot/config.txt file appropriately for the new Pi, commenting out or updating your overclocking settings if applicable.
  3. Put the card into your new Pi and boot it up.

I had to do this today to get my Pi 2 card to run in my new Pi 3. Otherwise I got the permanent rainbow pixels of frozenness and it would not boot in my Pi 3. Once I completed the above steps, however, my Pi 2 card booted just fine in my Pi 3.

Also, originally I did not update my /boot/config.txt file to comment out the overclocking lines for my Pi 2, however, and my Pi 3 still booted just fine. Since my Pi 2 was overclocked to 1100 MHz, which is slower than the Pi 3's default 1200 MHz, commenting out those lines and rebooting seemed to speed up my Pi 3 by letting it run at its faster default speed of 1200 MHz.

~Gabriel Staples
ElectricRCAircraftGuy.com

Gabriel Staples
  • 343
  • 3
  • 11
0

The answer may be much, much simpler than people think. All I had to do to solve the same symptom was to plug the HDMI cable into the other HDMI port on the pi! See NOOBS stuck at rainbow screen - Raspberry Pi 4

I should add that I'm unfamiliar with the Pi 2. Does it also have two HDMI ports like the Pi 4?

Kevin
  • 101
  • 2