Here is an easy way to patch your kernel and xam. Much easier then trying to make new patch bin files for fbbuild.
What you need.
Freeboot bin file with 12611 dashboard
Dashlaunch 2.11 Dashlaunch 1.0 (has patch maker in it)
1) Flash your jtag with 12611 Freeboot bin
2) Install Dashlaunch 2.11 via USB drive
(You can also ftp to your hard drive if you know how)
3) Download Dashlaunch 1.0 and extract it to your hard drive (on PC)
4) Open the kxampatch_builder.zip file inside of the Dashlaunch 1.0 download and extract that to your desktop.
5) Open the folder where you extacted kxampatch_builder and open the file patches.s in notepad. You should see an example of how to patch your kernel/xam.
6) Here is a real example of how to add patches to the file.
Hidden:
.set PingLimitPatch, 0x819831A8
.set XContentGetLicenseMask, 0x81936128
.set DasboardGameLicenseCheck, 0x818DBAC0
.globl _start
_start:
# ============================================================================
# PingLimitPatch - patches xam to allow any ping level to play games on lan
# ============================================================================
.long PingLimitPatch
.long (9f - 0f) / 4
0:
nop
9:
# ============================================================================
# XContentGetLicenseMask - patches xam to think all arcade are full at runtime
# ============================================================================
.long XContentGetLicenseMask
.long (9f - 0f) / 4
0:
li %r11, -1
stw %r11, 0(%r3)
li %r3, 0
blr
9:
# ============================================================================
# DasboardGameLicenseCheck - patches xam so all your arcade games appear as full
# ============================================================================
.long DasboardGameLicenseCheck
.long (9f - 0f) / 4
0:
lis %r11, 0xFFFF
li %r26, 0
ori %r30, %r11, 0xFFFF
9:
.long 0xFFFFFFFFYou can easily add in your own patch lines (just move the .long 0xFFFFFFFF down to the end of your last patch).
7) You will have to edit your kxam.patch file once you compile it so it will work with the 12611 Dashboard.
If you do use the old kxam.patch which was coded for 9199,
it will patch some random XUI (xbox user interface) function and
could cause all sorts of odd glitches. If you want to update your
kxam.patch to 12611, open with a hex editor and replace:
this (from original kxam patch)
Code:
81 98 31 A8
with this (from dash launch source)
Code:
81 91 D3 3C Now just replace the current kxam.patch file on your jtag with your newly compiled one and it will use any new patches you added on boot up.
This is by far the easiest way to patch your kernel/xam. If you need help understand what the PPC code means/does take a look at this web site. Using this method you should be able to get your jtag online once you figure out what to patch.
IBM Power PC programming Intro