Wolfgang Denk wrote: > Dear xiangfu_gmail, > > In message <[email protected]> you wrote: > >> there is a device name PI, >> the CPU is Ingenic 4740 [1], >> now we have the u-boot-1.1.6 patch. >> >> >> I have try to add new device(PI) to u-boot. when I compile the code I get error message: ------------------------------------ make[1]: Entering directory `/home/xiangfu/workspace/pi-project/pi-u-boot/common' mipsel-linux-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0x80100000 -I/home/xiangfu/workspace/pi-project/pi-u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/mipseltools-gcc412-glibc261/lib/gcc/mipsel-linux/4.1.2/include -pipe -DCONFIG_MIPS -D__MIPS__ -G 0 -mabicalls -fpic -msoft-float -march=4kc -mtune=4kc -EB -Wall -Wstrict-prototypes -fno-stack-protector -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' make[1]: *** [bedbug.o] Error 1 make[1]: Leaving directory `/home/xiangfu/workspace/pi-project/pi-u-boot/common' make: *** [common/libcommon.a] Error 2
give me some advice very thanks. you can find all the code at http://github.com/xiangfu/pi-u-boot/tree/master and checkout branch "xiangfu" it's the branch I try to merge with upstream. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

