the first and most useful thing to do is set MAXIMUM_CONSOLE_LOGLEVEL and DEFAULT_CONSOLE_LOGLEVEL to 10 in the target config.lb.
Then send the output again.
Also, since you modified raminit.c, I think you should try an unmodified version first.
ron