Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RPI2 kernel dosn't link



Hi,

with -current source cvs-updated some minutes ago compiling a kernel for
RPI2 fails to link with

cpu.o: In function `cpu_attach':
cpu.c:(.text+0xa0c): undefined reference to `pmap_tlb0_info'
cpu.c:(.text+0xa14): undefined reference to `pmap_tlb0_info'
cpu.c:(.text+0xa20): undefined reference to `pmap_tlb_info_attach'
pmap.o: In function `pmap_clearbit.isra.17':
pmap.c:(.text+0x894): undefined reference to `pmap_tlb_invalidate_addr'
pmap.o: In function `pmap_remove':
pmap.c:(.text+0xe7c): undefined reference to `pmap_tlb_invalidate_addr'
pmap.c:(.text+0x1078): undefined reference to `pmap_tlb_invalidate_addr'
pmap.c:(.text+0x10f8): undefined reference to `pmap_tlb_invalidate_addr'
pmap.o: In function `pmap_protect':
pmap.c:(.text+0x1c48): undefined reference to `pmap_tlb_invalidate_addr'
pmap.o:pmap.c:(.text+0x20c4): more undefined references to `pmap_tlb_invalidate_addr' follow
...

after adding "no options     ARM11_COMPAT_MMU" to .../conf/RPI2
to revert the change (for RPI) done in
http://mail-index.netbsd.org/source-changes/2015/03/14/msg063971.html
for RPI2) the kernel links fine again.

===================================================================
RCS file: /cvsroot/src/sys/arch/evbarm/conf/RPI2,v
retrieving revision 1.2
diff -u -r1.2 RPI2
--- RPI2        4 Mar 2015 17:02:17 -0000       1.2
+++ RPI2        14 Mar 2015 17:42:30 -0000
@@ -6,6 +6,7 @@

 include "arch/evbarm/conf/RPI"

+no options     ARM11_COMPAT_MMU
 no options     CPU_ARM1176
 no options     TPIDRPRW_IS_CURLWP
 no options     __HAVE_MM_MD_CACHE_ALIASING


If thats the right thing to do is another question. ;-)

Kurt


Home | Main Index | Thread Index | Old Index