Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rainbow Screen on raspberry pi 3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
tshade
n00b
n00b


Joined: 01 Oct 2007
Posts: 21

PostPosted: Fri Jan 06, 2017 12:20 am    Post subject: Rainbow Screen on raspberry pi 3 Reply with quote

Hello,

I am getting a rainbow screen on a raspberry pi 3. I am following these instructions:

https://wiki.gentoo.org/wiki/Raspberry_Pi

Just finished compiling everything. But no luck. The kernel seems not to get loaded by the raspberry board.

I am also following the most valued answer here:

http://raspberrypi.stackexchange.com/questions/19354/raspberry-pi-with-boots-up-with-rainbow-screen

Any hints?
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Fri Jan 06, 2017 6:20 am    Post subject: Reply with quote

Hi,

i got this a few days ago as well. Solution in my case was to get the stock config.txt/cmdline.txt from an Raspbian image and install these.

Maybe this helps you as well.

greets, bb
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 257

PostPosted: Sun Jan 08, 2017 9:16 am    Post subject: Reply with quote

On the RPi3, I believe the kernel needs to be called kernel7.img to boot. You'd need to post the contents of your /boot partition to get better guidance.

If you're just starting it up, you'll probably have an easier time installing raspberrypi-firmware, and raspberrypi-image. This is the firmware and kernel from the Raspberry Pi org's github releases.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54596
Location: 56N 3W

PostPosted: Sun Jan 08, 2017 3:13 pm    Post subject: Reply with quote

tshade,

Try with all the automatics first.
If you have a config.txt and cmdline.txt, rename them so that they are not found, we will come back to them later.

For 32 bit operation, the kernel file needs to be called kernel7.img
I'll pretend that 64 bit operation is not an option meanwhile :)
You also need bcm2710-rpi-3-b.dtb. That's the device tree binary.

At startup the ARM CPU is held reset while the GPU runs bootcode.bin
bootcode.bin has some sensible defaults preset but can be overridden by config.txt.
config.txt can do lots of things to prevent booting too, so lets not use it

fixup * and start* are required too.

bootcode.bin loads kernel7.img and bcm2710-rpi-3-b.dtb, then lets the ARM CPU go, which starts the kernel.
bcm2710-rpi-3-b.dtb describes the hardware to the kernel, if that's missing or incorrect, the kernel cannot control the hardware.

That's all that required to get kernel messages. Mounting root is an excercise for another day.
With that bare minimal setup. the rainbow should go away, the kernel start but I would not expect root to mount.

Try that and post the Pis
Code:
ls -l /boot
if you still have the rainbow screen,
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum