Modify

Opened 5 years ago

Last modified 5 years ago

#12944 new enhancement

Reviving PS3 target

Reported by: phileas-fogg@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: ps3 Cc:

Description

Hi,

is it possible to revivie the PS3 target which was recently killed ?
I got it working with current OpenWRT trunk and Linux kernels 3.3.8, 3.6 and 3.7 and ready to maintain it.

Regards

Attachments (5)

openwrt-ps3-target.patch (63.6 KB) - added by anonymous 5 years ago.
petitboot-install-artwork.patch (1.0 KB) - added by anonymous 5 years ago.
030-petitboot-udevadm-action-fix.diff (429 bytes) - added by anonymous 5 years ago.
040-petitboot-mount-ufs2.diff (760 bytes) - added by anonymous 5 years ago.
050-petitboot-udev-change-event.diff (2.1 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 5 years ago by florian

Sure, if you can maintain that port in the future and make sure it gets updated as we support new kernel version. Can you submit patches to do that? Thanks!

Changed 5 years ago by anonymous

Changed 5 years ago by anonymous

Changed 5 years ago by anonymous

Changed 5 years ago by anonymous

Changed 5 years ago by anonymous

comment:2 Changed 5 years ago by phileas-fogg@…

I'm willing to maintain it.

I made patches which restore the PS3 port and fix any to me known problems with recent Linux kernels.
The patches were tested by me with current OpenWRT trunk and Linux 3.3.8, 3.6.11 and 3.7.5.
The produced OpenWRT images were tested by me on my PS3.

openwrt-ps3-target.patch restores the PS3 port in the current OpenWRT trunk.
The patch adds Linux 3.3.8, 3.6.11 and 3.7.5 support to the PS3 port.
Apply this patch in the OpenWRT trunk directory.
After that make some scripts executable like this:
chmod 755 target/linux/ps3/petitboot/base-files/sbin/initrun
chmod 755 target/linux/ps3/petitboot/base-files/sbin/ps3-bl-option
chmod 755 target/linux/ps3/petitboot/base-files/bin/login
chmod 755 target/linux/ps3/petitboot/base-files/etc/init.d/boot

The patch petitboot-install-artwork.patch fixes a bug in the Makefile of the package petitiboot. petitboot is the default bootloader of the ps3 port. Without this patch, the petitboot package won't compile. Apply this patch before building the target image.

The patches ​ 030-petitboot-udevadm-action-fix.diff​, 040-petitboot-mount-ufs2.diff​ and 050-petitboot-udev-change-event.diff​ should be stored in the directory patches of the package petitboot. These patches are applied when petitboot package is compiled.

The patch 030-petitboot-udevadm-action-fix.diff fixes the problem with the default action of udevadm.

The patch 040-petitboot-mount-ufs2.diff​ adds support for UFS2 mounting which is necessary if you want to boot FreeBSD on PS3 (PS3 arch is supported since FreeBSD 9.0).

The patch 050-petitboot-udev-change-event.diff​ fixes the problem with automounting a CDROM.

Thanks.

comment:3 Changed 5 years ago by jogo

Please submit these to the mailing list (see SubmittingPatches for details).

comment:5 Changed 5 years ago by jogo

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker (trunk)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.