Editing Building FreeBSD World
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Introduction= | =Introduction= | ||
* You can either cross-compile the FreeBSD world on your PC | * You can either cross-compile the FreeBSD world on your PC freeBSD or compile it natively on PS3. | ||
* Unfortunately, you can not change monitor resolution on PS3 FreeBSD dynamically yet. That means, you have to patch the loader and kernel syscon driver for your monitor resolution. | * Unfortunately, you can not change monitor resolution on PS3 FreeBSD dynamically yet. That means, you have to patch the loader and kernel syscon driver for your monitor resolution. | ||
= | =Checking Out Head= | ||
<pre> | <pre> | ||
svn co svn://svn.freebsd.org/base/head /usr/devel | svn co svn://svn.freebsd.org/base/head /usr/devel | ||
Line 24: | Line 17: | ||
<pre> | <pre> | ||
cd /usr/devel/sys/powerpc/conf | cd /usr/devel/sys/powerpc/conf | ||
mkdir /root/kernels | mkdir /root/kernels | ||
cp GENERIC64 /root/kernels/PS3 | cp GENERIC64 /root/kernels/PS3 | ||
ln -s /root/kernels/PS3 | ln -s /root/kernels/PS3 | ||
cd ../../.. | cd ../../.. | ||
env MAKEOBJDIRPREFIX=/usr/obj/PS3 make buildworld buildkernel installkernel installworld distribution \ | env MAKEOBJDIRPREFIX=/usr/obj/PS3 make buildworld buildkernel installkernel installworld distribution \ | ||
TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | ||
</pre> | </pre> | ||
=Rebuilding Loader= | =Rebuilding Loader= | ||
<pre> | <pre> | ||
Line 59: | Line 37: | ||
=Rebuilding Kernel= | =Rebuilding Kernel= | ||
<pre> | <pre> | ||
Line 67: | Line 43: | ||
TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | TARGET=powerpc TARGET_ARCH=powerpc64 KERNCONF=PS3 DESTDIR=/root/PS3 | ||
</pre> | </pre> | ||