[U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-09-27 Thread Geoff Williams
Hi List, TLDR: As subject I've been following Alexander Graf's uEFI+grub2 presentation on Raspberry PI[1]. I have it working on PI 3 and 4 and its great but I need to re-compile u-boot for each board which means lots of images. I would like create a single image to boot grub on PI 3 and 4. I di

Re: [U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-09-27 Thread Geoff Williams
Hi Matthias, >> My dream is to be able to compile a single u-boot.bin compiled as armv8-a >> and be >> able to boot any Raspberry PI 3/4 to grub2 from it. Is this realistic? >> > > Yes it is. I was working on this the last weeks and just posted the patches > today. Would be nice if you could test

Re: [U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-09-28 Thread Geoff Williams
Hi Matthias, > Yes it is. I was working on this the last weeks and just posted the patches > today. Would be nice if you could test and provide feedback :) The patch works for me on Raspberry PI 4B 1GB and a Raspberry PI 3B v1.2 (BCM2837RIFBG) when applied to dfd590075c and using the rpi_4_defcon

Re: [U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-09-28 Thread Geoff Williams
Hi Matthias, >> 1. On the PI 4 with mainline u-boot the screen turns yellow and wraps around >> on >> itself a second or so into the linux boot (grub screen is fine). With the >> patch >> applied I get the same behaviour on the PI3. Everything still works >> the screen is >> just messed up. > >

Re: [U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-10-02 Thread Geoff Williams
> And with a U-Boot based on f5c626c64874d6e1482edf4a76aa22e5e54be63d without my > patches you see correct behavior? The screen turning off issue was caused by a deployment script copying the wrong u-boot binary to the SD card! The patch does not introduce a regression on RPI 3 (tested before/afte