execute from flash?

Steven Blakeslee BlakesleeS at embeddedplanet.com
Tue Feb 26 07:17:14 EST 2002


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/





More information about the Linuxppc-embedded mailing list