Booting FreeBSD on Sentry5

Bruce M. Simpson bms at incunabulum.net
Wed May 2 14:19:04 UTC 2007


To do this you need to do the following:

checkout mips2 branch
cd into it
make TARGET_ARCH=mips kernel-toolchain
cp sys/conf/ldscript.mips sys/conf/ldscript.mips.bak
cp sys/conf/ldscript.mips.cfe sys/conf/ldscript.mips
make TARGET_ARCH=mips buildkernel KERNCONF=SENTRY5

copy kernel from objdir to a tftp server

on wgt634u with console attached, from cfe prompt:
boot -elf xx.xx.xx.xx:/kernel

...where xx.xx.xx.xx is the IP address of your tftp server.

then watch the sparks fly.

Note that the console support currently uses the same kludge as the 
Malta target, that is, the memory addresses which the uart is mapped at 
are hardcoded. DELAY() is stubbed as the clock needs to be calibrated.

BMS


More information about the freebsd-mips mailing list