1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 12:57:42 +02:00

Add ps3 target

This patch adds a target for the Sony PlayStation 3.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9413 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-10-23 06:23:41 +00:00
parent e9a2e58a69
commit f539177523
4 changed files with 1169 additions and 0 deletions

34
target/linux/ps3/Makefile Normal file
View File

@ -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))

29
target/linux/ps3/README Normal file
View File

@ -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: <video mode ID> + 128
dither ON mode : <video mode ID> + 2048

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,18 @@
#
# 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
include $(INCLUDE_DIR)/image.mk
define Image/Prepare
cp $(LINUX_DIR)/arch/powerpc/boot/otheros.bld $(KDIR)/image
endef
define Image/BuildKernel
cp $(KDIR)/image $(BIN_DIR)/otheros-$(BOARD)-$(KERNEL).bld
endef
$(eval $(call BuildImage))