- Add the
static void set_init_ram_access_uc(void) { set_var_mtrr(0, 0x00000000, CONFIG_RAMTOP, MTRR_TYPE_UNCACHED); }
And call the set_init_ram_access_uc instead of set_init_ram_access and call again set_init_ram_access after the copy.
I'll look at that too
That didn't make any difference for my symptoms, but I'm interested in why you'd want to set it uncacheable.
Thanks, Myles