progress on the adi pronghorn metro board

M. Warner Losh imp at bsdimp.com
Thu Mar 22 17:01:18 UTC 2007


In message: <20070322152708.GA79016 at ci0.org>
            Olivier Houchard <mlfbsd at ci0.org> writes:
: I think one config file per board is not too much to handle, and detecting
: which board we're currently running can be difficult.

On Linux, the boot loader does all of the detection (usually by being
hard-wired for a board) and passes the result to the kernel...  The
one wrinkle that we have is that we often include extra devices via
hints for things on, eg, the IIC bus.  Multi-variant hint select isn't
supported.

I agree that auto detection would be hard.  Maybe we should at least
print a warning if we are compile for board type 43 and the loader
says we're 25.

It would be especially hard for different cores.  All AT91RM9200 would
be doable, if not a bit tedious in spots.  All AT91* ARM 9 parts would
be much harder, in part due to the multi-variant hint selection that
would be necessary and in part due to some of the kinkier differences
between the ARM910 core and the ARM926EJS core, not to mention the
while issue of 'do I need this workaround for this bad hunk of silicon
<cough MCI cough> or not'.

Warner


More information about the freebsd-arm mailing list