Official Gitbrew Forums
These forums cover all aspects of the Gitbrew biosphere. If you would like your development project to be based here, ask an admin.

Home » PS3 » OtherOS++ » FreeBSD » Beginner Quest to Test RSX (I'm going to try to install freebsd with rsx.)
Beginner Quest to Test RSX [message #887] Wed, 14 March 2012 21:33 Go to previous message
sluckxz is currently offline  sluckxz
Messages: 8
Registered: March 2012
Gitbrew Noob
I am going to use this spot for my notes and thoughts regarding this process.
I am not a complete beginner. I have installed an ubuntu based distro on my ps3 around a year ago.
My ps3 before freebsd is running 3.55 [sc-8 | hermes] according to multiman.

My model: 160 GB slim CECH-25xxA

install otheros++
http://wiki.gitbrew.org/wikibrew/PS3:OtherOS%2B%2B
The README
Instructions INSTALL_OTHEROS_ON_HDD
PS3DevWiki
Installing CFW (PUP) Files.

SS Patches?
A response from otheros irc channel
you don't need SS Patches, except if you've planned to use dev' tools like ps3dm/sm

"To use RSX on FreeBSD you need 4kb GPU IO page size patch in your Hypervisor else it won't work."
http://git.gitbrew.org/~glevand/ps3/cfw/test/CFW355-OTHEROS+ +-4KB-GPU-IOPAGE.PUP

It doesnt say but i have seen people recommend starting from Official firmware, i am not on official so i will install that first.

all right otheros++ is loaded and /dev/ps3dd looks good.

downloading http://gitbrew.org/~glevand/ps3/freebsd/livecd/freebsd_livec d_us_1920x1080.iso.bz2

http://wiki.gitbrew.org/wikibrew/PS3:FreeBSD

Booting Freebsd Live CD with OtherOS++


i am here at the moment trying to understand the boot process and video modes.
http://imgur.com/HjjJv would love to get ssh working so far all ports closed.

That was dumb, there's video options right in petitboot set it 1080 for the livefreebsd.
To change it manually from one of the other consoles in petitboot (remove the 5 for a list)

ps3-video-mode -m 5



mount /dev/sr0 /mnt
kexec -l /mnt/boot/loader-1920x1080.ps3
Warning: append= option is not passed. Using the first kernel root partition
Modified cmdline:
Unable to find /proc/device-tree//chosen/linux,stdout-path, printing from purgatory is diabled
segment[0].mem:0x947000 memsz:262144
segment[1].mem:0x987000 memsz:36864
segment[2].mem:0x7fff000 memsz:4096
root@ps3-linux:~# reboot



i took the long way around partitioning my drive. parted is built into petitboot. you can use ps3stor-utils (only Linux 2.6 based petitboot)
i couldnt figure out ps3stor-utils so i messed with partitions after nikitis debian default install.
glevands freebsd stuff (loader? i forgot) expects partition /dev/ps3dd3 for ufs

THIS DOES NOT WORK to accomplish a bsd filesystem im using red robbin because my live freebsd is unusable as per the pic posted previously. Also see that was dumb above.
dmesg mounting
[ 1512.120480] ufs was compiled with read-only support, can't be mounted as read-write
gonna look for a more current debian live.

Nikitis debian setup has ufs write enabled
Instructions for SLIM PS3's:
# git clone git://github.com/nikitis/PS3-Debian-Installer
# sh PS3-Debian-Installer/debian-installer.sh
gonna start this and go to bed. last time i used this installer it tool quite a while. it compiled a lot.

i am using the freebsdlivecd now for formatting ufs
newfs

create UFS2 filesystem for your FreeBSD with debian
apt-get install ufsutils
!! dont do this mkfs.ufs -O 2 /dev/ps3dd

i was able to get my partition ps3dd3 and formatted ufs expanded freebsd world on it. debian on ps3dd2.

mountroot ufs:/dev/ps3disk3p3

/etc/rc.d/dhclient glc0

Booting Fstab etc

fetch ports

having issues compiling. got ports loaded but nano and mc have failed to compile.

adduser dont forget wheel group if you want su
pw usermod sluckxz -G wheel

sshd is running.

still cant compile anything using ports. gonna stop for now.

portsnap looks good i was able to compile screen.
trying wget now.

another error.
Stop in /usr/ports/lang/perl5.12.

good grief glevand of course has it all ready.
http://gitbrew.org/~glevand/ps3/freebsd/packages/

trying xorg now
having issues with libgcrypt, i think.

===========================
wiping freebsd ps3disk3p3 to start with a clean world. i trashed it.
this time im installing with freebsd live cd using
the same freebsd_world_clean.tar.bz2
Setup Freebsd HD Boot
used usb stick mount_msdosfs /dev/da0s1 /mnt/usb for Ports
and glevands packages

crashed system here with a usb stick. had to
fsck -t ufs /dev/ps3disk3p3 from live cd

compiled bash from ports
pkg_add glevands packages
git clone git://gitorious.org/freebsd/freebsd-head.git /usr/devel

git clone
receiving objects: 99%
fatal kernel trap 0x800 (floating-point unavailable)
http://imgur.com/1qsej

reboot
fsck fixes some stuff

cd /usr/devel/.git
git pull
cancel it's empty and needs downloaded in its entirety. i'll do it from a pc.
===============================

stopped on ps3.

installed freebsd on virtualbox and am following
http://wiki.gitbrew.org/wikibrew/PS3:FreeBSD#Cross-Compiling
completed fine using the git repo added at /usr/devel

How to make a cross compiler (gcc) for freebsd under linux. A small tutorial.

boots in 480i
glevand pointed out how to fix this
http://wiki.gitbrew.org/forum/mv/msg/74/947/#msg_947

cd /usr/devel
wget http://gitbrew.org/~glevand/ps3/freebsd/patches/loader-conso le-1920x1080.patch
wget http://gitbrew.org/~glevand/ps3/freebsd/patches/syscons-1920 x1080.patch
patch <loader-console-1920x1080.patch
patch <syscons-1920x1080.patch



tar -cvf world03232012_patched1080.tar .
scp world03232012_patched1080.tar me@192.168.2.222:/
newfs
mount_msdosfs /dev/da0s1 /mnt/somewhere
mount
tar -xvf world03232012_patched1080.tar

[Updated on: Tue, 27 March 2012 18:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SPUFS on FreeBSD
Next Topic: FreeBSD Ports
Goto Forum:
  


Current Time: Wed Jun 19 19:31:59 CEST 2013

Total time taken to generate the page: 0.02031 seconds