foliagecanine wrote:Alright, one more thing.
Have you tried copying ALL the kernel files: kernel.img, kernel7.img, kernel8.img? I realize kernel8.img is the one that the Pi 3 should load, but just in case, try all of them.
Did you make sure you had bootcode.bin and start*.elf files? These files are necessary for the Pi to boot as well.
I don't know what they are talking about with checksums (other than perhaps ELF, but that would be a bug in your code). Maybe it is something with the new Raspberry Pi 4 EEPROM firmware, but I don't think the RPi3 is affected.
Thanks, I managed to make it boot from kernel7.img, but this time I made sure to have all the firmware files from
https://github.com/raspberrypi/firmware except ".img" files.
Also I made sure to have the "config.txt" properly configured with:
Code: Select all
kernel_old=1
disable_commandline_tags=1
disable_overscan=1
framebuffer_swap=0
I tried messing around with my compiler and it just isn't booting at all (still stuck at rainbow screen).
So, one problem fixed, I can boot into custom kernel7.img, but now I gotta fix my own kernel7.img.
I might just end up using FASMARM once I get my main (Windows 7) machine back if there's no fix on this GCC issue.
--I am open to trying GCC alternatives as long as you know how to configure them for my specific Raspberry PI 3B + device, and you know the exact steps to install required stuff without any fuss, any dependencies/etc (also no building should be required), preferably just one command as I am *not* a linux veteran. (using linux only out of necessity right now)