FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)

Daisuke Aoyama aoyama at peach.ne.jp
Sat Jan 12 11:43:36 UTC 2013


Hi,

> You have made changes to files in contrib/llvm/. Are these needed?
> Clang should be supported in head without any patches. I would like to
> know if there are any issues with the copy of llvm & clang we have so I
> can fix them.

Did you run clang under ARM kernel? (not cross)

I think no need patch to contrib/llvm if it use OABI only.
I don't know about EABI. (currently dropped EABI in my patch)
However, you can not use clang completely until other patch is applied.

1) no vmrs/vmsr op code (used by VFP) in contrib/binutils/gas/config/tc-arm.c
2) no enough text size in sys/arm/include/vmparam.h, config/RPI-B-test13 (32MB or more is 
recommended)
3) cannot change max text size in sys/arm/include/vmparam.h, sys/conf/options.arm

I don't know why MAX size under VA is limited so small.
The physical memory is allocated when it requires, isn't it?

Thanks,
-- 
Daisuke Aoyama
 



More information about the freebsd-arm mailing list