Does anyone know how I can run a program in flash from my embedded linux
kernel that is also running in flash?  Below is the code that I tried but it
did not work.  It compiles but does not run correctly.

typedef int (codePtr(char *info));

void main(char *argv)
{
        int addr = 0xfff80000;
        codePtr* startloc = (codePtr *)addr;
        (startloc(argv));
}

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/



Reply via email to