I am using ppc 405gp and monta vista. How to make a simple "Hello world" C program so that boot loader can load it and run it in RAM? The boot loader already has serial port enabled. I will be happy if I can see the string output on the serial monitor (I am using minicom). Is this kind of program considered running in kernel space or user space? Should I use printf or printk? Could anyone give some detailed compile and link commands?
Thanks!