Editing Building FreeBSD World

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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:
[[Category:OtherOS]]
=Introduction=
=Introduction=


Line 8: Line 6:
=Fetching Source Code=
=Fetching Source Code=


<pre>
svn co svn://svn.freebsd.org/base/releng/9.1 /usr/devel
</pre>
Or use the head branch (very unstable):
<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
# First apply patches if you want
# Update LV1 calls
cd /usr/devel/sys/powerpc/ps3
awk -f ps3-hv-asm.awk < ps3-hvcall.master > ps3-hvcall.S
awk -f ps3-hv-header.awk < ps3-hvcall.master > ps3-hvcall.h
cd /usr/devel/sys/powerpc/conf
cd /usr/devel/sys/powerpc/conf
mkdir /root/kernels
mkdir /root/kernels
Line 48: Line 31:


=Rebuilding Loader=
=Rebuilding Loader=
* If you make changes to loader source then you don't have to rebuild the whole world again. You can recompile the loader only.


<pre>
<pre>
Line 59: Line 40:


=Rebuilding Kernel=
=Rebuilding Kernel=
* If you change your kernel configuration or make changes to kernel source then you don't have to rebuild the whole world again. You can recompile the kernel only.


<pre>
<pre>
Line 87: Line 66:


mount -t msdosfs /dev/da0s1 /tmp/usb
mount -t msdosfs /dev/da0s1 /tmp/usb
mount -t ufs /dev/ps3disk3p3 /tmp/ufs
mount -t ufs /dev/da0s1 /tmp/ufs


cd /tmp/ufs
cd /tmp/ufs
Line 127: Line 106:
freebsd=/boot/loader.ps3
freebsd=/boot/loader.ps3
</pre>
</pre>
{{BSD}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Templates used on this page: