maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
808 stars 133 forks source link

NOOB compile for pi3 #374

Open gi54321 opened 7 years ago

gi54321 commented 7 years ago

Hi guys. How do I compile berryboot for raspberry pi 3? I used ./build-berryboot.sh device_pi2 to compile. It completed successfully, but didn't work in the pi (no signal). Has anyone got any ideas? Thanks

ZanderBrown commented 7 years ago

Why do you need to compile it?

gi54321 commented 7 years ago

I'm a programming major. I wanted to have a pick about in the code and make some alterations. I have limited linux experience though, and can't get it to run on pi 3

ZanderBrown commented 7 years ago

Ah okay otherwise I would suggest you just use the precomputed binaries

Was there any compiler warnings?

gi54321 commented 7 years ago

hi I can't get past the raspberry pi rainbow splash screen. There is a constant red light, and the green light blinks twice when u turn it on. I've tried everything I can find on the net. Has anyone got any ideas?

It's a raspberry pi 3 B. Should I be using ./build-berryboot.sh device_pi2?

JarekKorus commented 7 years ago

Hello,

From last few days I'm facing the same issue but on the Raspberry Pi 2 B (v1.1). Berryboot compiling end successfully, output directory was created with all needed files but after upload it to the SD card and reboot, I see only splash screen. UART console from pi receive only 4 bytes (hex output): 00000000: af fe 73 eb

I try also use bootcode.bin, start and fixup files from the official raspberry pi repository but without any success. Does anyone have some idea what I may check or change to solve this issue ?

Thanks, Jarek

JarekKorus commented 7 years ago

Hi,

I found the solution. Looks that on raspberrypi master branch we have now kernel 4.9.y but in berryboot/configs/device_pi* we have still 4.4 . I was changed rpi-4.4.y to rpi-4.9.y and aufs4.4 to aufs4.9 in these config files. On clear repository I run build-berryboot.sh again and now berryboot is working :)

Best Regards, Jarek

ZanderBrown commented 7 years ago

How about a PR?

maxnet commented 7 years ago

Might be better to stick with 4.4 for now, and move rpi-firmware branch to stable instead.

macmpi commented 7 years ago

Please note that stable branch has changed last week, and is now on 4.9.24!... So current Berryboot build produces a mixed back of 4.4 Kernel and 4.9 firmware related files. Any plan to release Berryboot on stable 4.9.x now? Thanks.