Look at the thread "Mangling output" on Thursday 15th Feb 2001. RedBoot wasn't mangling console output, then Hugo found this out: " I persisted with my other work - adding a flash driver - 'cos it needs doing anyway, and doing that brings my target more into line with the other targets that work. And LO! suddenly mangling works too. Yes, just confirmed that. Build RedBoot but remove the flash packages and it fails, build it "vanilla" and it works, the very same app binary and everything - just a new ROM build with FLASH packages. So, there's a RedBoot bug in there somewhere, I suspect, but I don't care - it works now. "
Jesper> OK, I'll have a look at the CDL state. Uh, baffled. No changes in the pkgconf headers (or CDL) which should be even remotely related. Off the top of my head, I'd guess at something related to caching. Flash drivers do some flushing at init time which you don't get otherwise. And looking at the sa11x0 init code, there's no flush before caches are enabled... Guess it could be done earlier, but hal_if_init call is just before caches get enabled... Jesper
Was due to missing HAL_DIAG_INIT call - now done from RedBoot main function. (including flash drivers would pull in diag_printf clients and thus the init call).