[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] XIP / PIC
Hi Steve et al,
> Steve Sanders wrote:
> I've never heard of running the kernel directly from flash. But that
doesn't mean it can't be done. You'd certainly have to > copy some
sections to SRAM _before_ starting the OS so that the kernel can update
variables...
Reading more about executing the kernel directly from FLASH I've seen
that this can be done if the kernel is built for XIP (eXecute In Place).
Some documentation say that the Kernel is always XIP. Is that true?
For applications to run directly from flash however the compiler must be
capable of generating Position Independent Code(PIC) and capable fo
generating the PIC form of flat executable.
Does the current version of mb-gcc support PIC?
Thanks in advance,
Vincent
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/