One could do that, but I am working on a clone of the TDB startup card... one which is legally free from Sony's copyrighted code. There are no checks to patch out actually, although the Sony TDB DECI2 stuff won't allow you to boot a disc directly because it doesn't seem to have such functionality.
Anyway, I've found the problem with the stock kernel, but I don't really have a simple solution for it.
Apparently, it's related to the fact that it's based on an early version of the TOOL's EE kernel, one which doesn't have a way to get reset. Since the EE DECI2 TTY is initialized by the OSD (browser) at bootup and nothing ever resets the EE DECI2 manager (and so it's never aware that the running EE program has changed), the EE kernel crashes when the IOP side of DECI2 finally comes up because it will invoke whatever that is at the old EE TTY handler's location. :gravedig:
This was probably why Sony added a reset to the modern-day DECI2 managers, so that they can reset the DECI2 managers back to their "power-on" state anytime.
As for the workaround, I'm re-copying and installing the EE kernel. :/
(Quite a drastic measure to fix up a design fault eh?)
***
EDIT: I'm wrong about early EE kernels not having a way to get reset. the NETMP RESET command was always there, but I was wrong from the start about how the reset works.
A target reset within the PS2 is initiated by the IOP, which will send a DISCONNECT message to the EE, via SIF2. The EE DECI2 manager will reset itself upon receiving that message. This message is not actually part of the DECI2 protocol.
TOOLS: Reset process gets initiated via the MRP device, which somehow gets received and processed by the PS2 side (assumed to be done through the PIF). No NETMP DECI2 packet is sent over the PIF.
TEST units: Since there is no PIF, an actual DECI2 NETMP RESET packet gets sent over the TIF (the virtual interface that runs over the network).
So this problem with the EE kernel crashing once the IOP side of DECI2 connects with the EE exists because a target reset is not performed when it is actually required. It does not happen with the original TDB startup card either, since it replaces the EE kernel and therefore leaves the console with an EE kernel that is in a clean state.
As for what I saw and caused me to arrive at my original assumption, it appears to be a new DCMP command that resets the EE's peripherals. I saw it in the TDB startup card's EE kernel, but I don't remember whether it exists within the (TOOL) EE kernel of SDK v3.00.
Therefore, my original workaround (which sends a DISCONNECT message to the EE before a CONNECT message), which I had previously dismissed as being a hack... was actually the right way to solve the problem. D:
Alternatively, adding an extra IOP reset will probably also solve the problem, since DECI2 will reset the EE during the first IOP reset. This should not require any extra modifications to the existing code at all, at a cost of (probably negligible) CPU time.