Changeset 11509


Ignore:
Timestamp:
2008-06-16T21:04:07+02:00 (10 years ago)
Author:
ymano
Message:

Update the PS3 target README with some installation tips, and
the PS3 image Makefile to create openwrt-ps3-vmlinux.elf.

Signed-off-by: Geoff Levand <geoffrey.levand@…>

Location:
trunk/target/linux/ps3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ps3/README

    r10860 r11509  
    1 OpenWRT on Sony PS3 Game Console 
     1OpenWRT on the Sony PS3 Game Console 
    22 
    3 To install the built image, you'll need to copy bin/otheros.bld to a 
    4 USB device, MMC card or CD image. The image will need to be placed 
    5 on your media, at the path: 
     3The OpenWRT build will create both a 1st stage PS3-Linux image 
     4suitable for programming into the PS3 flash memory, and a 2nd 
     5stage PS3-Linux image suitable for loading via bootloaders or 
     6the kexec utility. 
    67 
    7   /ps3/otheros/otheros.bld 
     8The 2nd stage image is convenient for testing new builds.  It can 
     9be loaded from disk, USB device, or the network by an existing 
     10Other OS bootloader.  After the 2nd stage image is tested and 
     11found to be good, the 1st stage image can then be programmed into 
     12flash memory.  It is recommended to use this method during 
     13development to avoid corrupting the flash memory contents, which 
     14requires a reboot to the Game OS to repair. 
    815 
    9 Then insert the media into the ps3, and navigate to 'Install Other OS' 
    10 in the PS3's menu. 
     16Known good Other OS bootloader images and installation information 
     17can be found here: 
    1118 
    12 Depending on your monitor, you may need to alter the kernel command 
    13 line options. The default is to autodetect, which should work on most 
    14 monitors. However, if you get a blank screen on boot, or you'd like to 
    15 use a different resolution, you can specify a different video mode. 
     19  http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ 
    1620 
    17 To do this, 'make kernel_menuconfig' and go to 'Kernel Options' -> 
    18 'Initial kernel command string', and add a video= parameter - for 
    19 example "video=720p". You can also specify a vide mode explicitly, 
    20 for example "video=9" for 1080i at 50Hz. Possible mode ids are: 
     21The 2nd stage image file is bin/openwrt-ps3-vmlinux.elf.  It can 
     22be loaded with an entry in the bootloader config file.  It has 
     23no initrd file. 
    2124 
    22 Video mode ID: 
    23  0:auto mode 
    24  YUV 60Hz  1:480i  2:480p  3:720p  4:1080i  5:1080p 
    25  YUV 50Hz  6:576i  7:576p  8:720p  9:1080i 10:1080p 
    26  RGB 60Hz 33:480i 34:480p 35:720p 36:1080i 37:1080p 
    27  RGB 50Hz 38:576i 39:576p 40:720p 41:1080i 42:1080p 
    28  VESA     11:WXGA 12:SXGA 13:WUXGA 
     25The 1st stage image is named bin/otheros.bld.  It can be programmed 
     26into flash memory either from Linux or the Game OS.  From Linux, 
     27use the command: 
    2928 
    30  full screen mode: <video mode ID> + 128 
    31  dither ON mode  : <video mode ID> + 2048 
     29  ps3-flash-util -w otheros.bld 
    3230 
     31From the Game OS, use the menu item 'Install Other OS'. 
     32 
     33Tips on how to recover your PS3-Linux system when it hangs up or no 
     34longer boots can be found here: 
     35 
     36  http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-howto/ps3-boot-recovery-howto.txt 
     37 
     38To alter the kernel command line options, run 'make kernel_menuconfig' 
     39and go to 'Kernel Options' -> 'Initial kernel command string'. 
     40 
     41The default video behavior is to autodetect the monitor capabilities, 
     42which should work for most monitors.  More info on video modes can be 
     43found in the man page of the ps3-video-mode utility. 
  • trunk/target/linux/ps3/image/Makefile

    r10860 r11509  
    1414define Image/BuildKernel 
    1515        cp $(KDIR)/image $(BIN_DIR)/otheros.bld 
     16        cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf 
    1617endef 
    1718 
Note: See TracChangeset for help on using the changeset viewer.