Using the LZSS decoder:

The decoder expects to run from 06004000 and will write the decoded data to the address
specified by 'bin_dest' in lzssboot.s (06008000 by default). This address needs to be
beyond 06004000 + size of the decoder + size of the compressed binary.

Thus, the linkscript you use for linking the binary that you're going to compress should
put the .text section at the same address that you use for 'bin_dest' (this is what
linkcomp does).


/Mic