Dear xiangfu_gmail, In message <[email protected]> you wrote: > > I have try to add new device(PI) to u-boot. > when I compile the code I get error message: ... > -c -o bedbug.o bedbug.c > bedbug.c: In function 'find_next_address': > bedbug.c:1081: error: 'struct pt_regs' has no member named 'nip' > bedbug.c:1089: error: 'struct pt_regs' has no member named 'ctr' > bedbug.c:1090: error: 'struct pt_regs' has no member named 'ccr' > bedbug.c:1091: error: 'struct pt_regs' has no member named 'link' ... > give me some advice
Well, obviously you have a problem with the dfitions for your CPU in some of the header files. As I don't know your code (and I don't review any out-of-tree repositories) I can just say that you should fix your header files. As a quick and dirty workaound you could also disable KGDB support in your board configuration unless you really need it. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Brain: an apparatus with which we think we think. - Ambrose Bierce _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

