read NAND / enable serial debugging

xiangfu xiangfu at
Tue Jul 8 11:06:37 CEST 2008

 i change the code like this:
#define ADDR  ((volatile unsigned *)&buf)

int start_kboot()
  asm volatile("mov pc, %0\n"
       :                      /* output */
       :"r"(ADDR)       /* input */
  return 0;
and this .s file changed :

       ldr     r3, .L3
        mov pc, r3
i think the assembly code is right.
but the led still not blink.

More information about the openmoko-kernel mailing list