From f539177523a2c6235e8d20d87fdaa4ffbc3289a3 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 23 Oct 2007 06:23:41 +0000 Subject: Add ps3 target This patch adds a target for the Sony PlayStation 3. Signed-off-by: Jeremy Kerr git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9413 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ps3/Makefile | 34 ++ target/linux/ps3/README | 29 ++ target/linux/ps3/config-2.6.23 | 1088 +++++++++++++++++++++++++++++++++++++++ target/linux/ps3/image/Makefile | 18 + 4 files changed, 1169 insertions(+) create mode 100644 target/linux/ps3/Makefile create mode 100644 target/linux/ps3/README create mode 100644 target/linux/ps3/config-2.6.23 create mode 100644 target/linux/ps3/image/Makefile (limited to 'target/linux/ps3') diff --git a/target/linux/ps3/Makefile b/target/linux/ps3/Makefile new file mode 100644 index 000000000..3499d024b --- /dev/null +++ b/target/linux/ps3/Makefile @@ -0,0 +1,34 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +ARCH:=powerpc +BOARD:=ps3 +BOARDNAME:=Sony PlayStation 3 +LINUX_VERSION:=2.6.23 +KERNEL_CC:= + +include $(INCLUDE_DIR)/target.mk + +define Target/Description + Build bootloader images for the Playstation 3 +endef + +# no patches required +define Kernel/Prepare/ps3 + bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) +endef + +define Kernel/Prepare + $(call Kernel/Prepare/ps3) +endef + +# include the profiles +#-include profiles/*.mk + +KERNELNAME:="zImage" +$(eval $(call BuildTarget)) diff --git a/target/linux/ps3/README b/target/linux/ps3/README new file mode 100644 index 000000000..8e75980b8 --- /dev/null +++ b/target/linux/ps3/README @@ -0,0 +1,29 @@ +OpenWRT on PS3 + +To install the built image, you'll need to copy bin/otheros-ps3-2.6.bld +to a USB device, MMC card or CD image. The image will need to be placed +on your media, at the path: + + /ps3/otheros/otheros.bld + +Then insert the media into the ps3, and navigate to 'Install Other OS' +in the PS3's menu. + +Depending on your monitor, you may need to alter the kernel command +line options. The default is to autodetect, which should work on most +monitors. However, if you get a blank screen on boot, try changing +(through make kernel_menuconfig) "video=ps3fb:mode:0" to +"video=ps3fb:mode:1" for 480i, or "video=ps3fb:mode:3" for 720p. The +possible modes are: + +Video mode ID: + 0:auto mode + YUV 60Hz 1:480i 2:480p 3:720p 4:1080i 5:1080p + YUV 50Hz 6:576i 7:576p 8:720p 9:1080i 10:1080p + RGB 60Hz 33:480i 34:480p 35:720p 36:1080i 37:1080p + RGB 50Hz 38:576i 39:576p 40:720p 41:1080i 42:1080p + VESA 11:WXGA 12:SXGA 13:WUXGA + + full screen mode: