From mboxrd@z Thu Jan 1 00:00:00 1970 From: xiangfu_gmail Date: Sun, 17 May 2009 22:25:29 +0800 Subject: [U-Boot] new cpu(Ingenic), new board(PI) In-Reply-To: <20090415192144.5F4A283420E8@gemini.denx.de> References: <49E5A2ED.2060503@gmail.com> <20090415192144.5F4A283420E8@gemini.denx.de> Message-ID: <4A101E59.8050505@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear xiangfu_gmail, > > In message <49E5A2ED.2060503@gmail.com> 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.