Wiki source for MIPSNotes


Show raw source

== MIPS Notes ==

* Add the following to /etc/make.conf:
WITHOUT_X11=yo
WITHOUT_PERL_MALLOC=1
TARGET_BIG_ENDIAN=yes
* Need to ntpdate device on every bootup
* Need to create a 2G swap file for the builder box:
dd if=/dev/zero of=/nfsroot/swap bs=128M count=16
and then enable it on RS:
mdconfig -a -f /swap
swapon /dev/md0
* Clock needs to be set on EVERY bootup with:
ntpdate time.nist.gov
* When cross compiling from the netboot -> mips netbooted device do something like:
RELELG_8_0-netboot# ln -s /nfsroot/usr/obj.pfSense /usr/obj.pfSense
RELELG_8_0-netboot# ln -s /nfsroot/usr/pfSensesrc /usr/pfSensesrc
Add SPLIT_ARCH_BUILD=true on the NETBOOT builder server in pfsense-build.conf
Afterwards. run a build on the netboot server. It will fail after the obj dir is built. Now run a build on the netboot machine and it will use the obj directory automatically generated by the NETBOOT machine.


Valid XHTML :: Valid CSS: :: Powered by WikkaWiki