Hi Chris, On Wed, Jul 10, 2019 at 9:16 PM Chris Brandt <Chris.Brandt@xxxxxxxxxxx> wrote: > On Thu, Jul 04, 2019 1, Geert Uytterhoeven wrote: > > While this allows me to use TFTP, I still cannot boot my own non-XIP > > Linux kernel (uImage with LOADADDR=0x0c008000), as it seems to crash in > > the "blcs cache_on" in linux/arch/arm/boot/compressed/head.S. A similar > > kernel boots fine on RSK+RZA1. > > Maybe it is because of the fact that for RZ/A1, both the RSK and GENMAI > boards are using CS2 so the SDRAM was located at address 0x0800000. > But the RZ/A2M EVB has SDRAM on CS3, so the address is 0x0C000000. > > > Here was a patch that I had to do back in our linux-3.14 kernel for > those that were using CS3. > https://github.com/renesas-rz/rza_linux-3.14/commit/86ee3b7bc1f5 > > > It looks like the current kernel has the same mask, and will need the > same fix. > https://github.com/renesas-rz/rza_linux-4.19/blob/master/arch/arm/boot/compressed/head.S#L207 > > > Does that fix your issue? Thanks, that improves the situation. Now it continues to: Uncompressing Linux... done, booting the kernel. and then it hangs. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds