Skip to content

Instantly share code, notes, and snippets.

@earthmeLon
Created April 24, 2012 04:29
Show Gist options
  • Save earthmeLon/2476441 to your computer and use it in GitHub Desktop.
Save earthmeLon/2476441 to your computer and use it in GitHub Desktop.
@gitbrew script to run glevand kernel patches on 3.3.x
#!/bin/bash
#glevand's PS3 kernel patches
#modified ./patches/series for NAND 3.3.x
#you on twitter? @earthmeLon
# git://gist.github.com:2476441.git
###
###
###Move to your kernel source root
### wget -r --no-parent --reject "index*" http://gitbrew.org/~glevand/ps3/linux/linux-3/patches-3.3/
### mv gitbrew.org/~glevand/ps3/linux/linux-3/patches-3.3/ ./
###
###Make sure nothing crazy has changed
### vim ./patches/README
patch -p1 < ./patches-3.3/0010-ps3stor-multiple-regions.patch
patch -p1 < ./patches-3.3/0020-ps3fb-use-fifo.patch
patch -p1 < ./patches-3.3/0030-ps3flash.patch
patch -p1 < ./patches-3.3/0040-ps3sysmgr-lpar-reboot.patch
patch -p1 < ./patches-3.3/0050-ps3sysmgr-char-device.patch
patch -p1 < ./patches-3.3/0060-ps3avmgr-char-device.patch
patch -p1 < ./patches-3.3/0070-ps3dispmgr.patch
patch -p1 < ./patches-3.3/0080-ps3rom-vendor-specific-command.patch
patch -p1 < ./patches-3.3/0090-syscall-spu-create-unlock-dput-fix.patch
patch -p1 < ./patches-3.3/0100-spu-enum-shared-param.patch
patch -p1 < ./patches-3.3/0110-lv1call-repo-node-lparid-param.patch
patch -p1 < ./patches-3.3/0120-lv1call-add-hvcalls-114-115.patch
patch -p1 < ./patches-3.3/0130-lv1call-add-storage-region-hvcalls.patch
patch -p1 < ./patches-3.3/0140-ps3physmem.patch
patch -p1 < ./patches-3.3/0150-ps3strgmngr.patch
#patch -p1 < ./patches-3.3/0160-ps3jupiter.patch #VFLASH/Slim Only.
patch -p1 < ./patches-3.3/0170-gelic-disable-eurus-ctrl-iface.patch
patch -p1 < ./patches-3.3/0180-gelic-wireless-print-cmd-status.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment