On Thu, Aug 21, 2014 at 10:40 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 21 August 2014 13:37, Peter Crosthwaite <peter.crosthwa...@xilinx.com> > wrote: >> On Thu, Aug 21, 2014 at 10:33 PM, Peter Maydell >> <peter.mayd...@linaro.org> wrote: >>> I think the ELF loading thing is a separate issue -- if we're loading >>> an ELF file we should honour its entry point address instead of >>> trying to load from the vector table. (The question of what we >>> do about SP is an interesting one...) >>> >> >> Well for an elf load you can grab just the SP from VTOR and not the >> PC? You will still need to solve the problem of this patch however. > > As you say, it requires that you can at least load from the vector > table, which is problematic if there's nothing there. It's probably > reasonable to require than M profile boards have something in > the memory map where the vector table lives, though. >
Yes. I think for Netduino, that will be an alias of another already existing memory region. Regards, Peter > -- PMM >