armv6 tree vs. buildkernel

Tim Kientzle kientzle at freebsd.org
Sat Jun 23 18:58:38 UTC 2012


On Jun 23, 2012, at 7:35 AM, Warner Losh wrote:

>> 
>> P.S.  How is CPUTYPE/TARGET_CPUTYPE supposed to be inferred for regular "buildworld"?
>> The only option I can find is to set it explicitly in /etc/src.conf
> 
> It can't possibly work very well.  We need to get TARGET_ARCH=armv6 working instead of continuing these kludges.


Help get me oriented and I'll start grinding through this.

What values of TARGET_ARCH should be supported?

Right now, there are ARCH values of arm and armeb.
Should there be armv6eb?  armv7?

I'm also unclear on the distinction between make's MACHINE_ARCH
and uname -p; are these supposed to be the same?  If so, shouldn't
make be using a sysctl instead of a hard-coded value?

Tim



More information about the freebsd-arm mailing list