From pdelaney at tensilica.com Tue Jan 10 13:45:03 2012 From: pdelaney at tensilica.com (Piet Delaney) Date: Tue Jan 10 13:45:06 2012 Subject: [Linux-Xtensa] Re: invalid register number? In-Reply-To: <522C1DF17AF50042AD8AE87F7887BD3D021749DF73@exch.hq.tensilica.com> References: <522C1DF17AF50042AD8AE87F7887BD3D021749DF73@exch.hq.tensilica.com> Message-ID: <4F0CB15F.4060401@tensilica.com> Jim Li wrote: *Hi Jim: * > > Hi Piet, > > I had some time recently to revisit my linux endeavor. > > I am compiling the linux kernel (and buildroot) for ISS. > > The buildroot seems ok. But kernel build gives me error: > > /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux{415}% > make O=../build-iss ARCH=xtensa >& mymake.log > > /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux{416}% > > > /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux{416}% > m mymake.log > > Using > /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux > as source for kernel > > GEN > /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/build-iss/Makefile > > CHK include/linux/version.h > > CHK include/linux/utsrelease.h > > SYMLINK include/asm -> include/asm-xtensa > > CALL > /fac/vol15/archive_apps/jli/downloads/linux_kernel_and_buildroot/linux/scripts/checksyscalls.sh > > :1345:2: warning: #warning syscall sync_file_range not implemented > > :1377:2: warning: #warning syscall timerfd_create not implemented > > :1385:2: warning: #warning syscall fallocate not implemented > > :1389:2: warning: #warning syscall timerfd_settime not implemented > > :1393:2: warning: #warning syscall timerfd_gettime not implemented > > :1397:2: warning: #warning syscall signalfd4 not implemented > > :1401:2: warning: #warning syscall eventfd2 not implemented > > :1405:2: warning: #warning syscall epoll_create1 not implemented > > :1409:2: warning: #warning syscall dup3 not implemented > > :1413:2: warning: #warning syscall pipe2 not implemented > > :1417:2: warning: #warning syscall inotify_init1 not implemented > > CHK include/linux/compile.h > > CC arch/xtensa/mm/fault.o > > {standard input}: Assembler messages: > > {standard input}:17970: Error: invalid register number (235) for 'rsr' > instruction > > make[2]: *** [arch/xtensa/mm/fault.o] Error 1 > > make[1]: *** [arch/xtensa/mm] Error 2 > > make: *** [sub-make] Error 2 > > The ISA says 235 is PRID. So why would rsr not recognize PRID? > *I just fixed the #ifdef XCHAL_HAVE_PRID and push it to the git repo. Thanks for the heads up. * *-piet* > Thanks and best regards, > > Jim > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-xtensa.org/pipermail/linux-xtensa/attachments/20120110/40859599/attachment.html