From: Heiko S. <hei...@in...> - 2007-11-12 08:47:49
|
Hello Paul, Paul Mundt schrieb: > On Sun, Nov 11, 2007 at 12:22:13PM +0100, Heiko Schocher wrote: >> If I make a while (1); at the end of the function sh_cpu_init() in >> arch/sh/kernel/cpu/init.c the cpu dont restart, the next function >> called is start_kernel (). If I make there as first a while (1), the >> cpu restarts ... dont see an SH7750R specific thing in >> arch/sh/kernel/head.S on this place: >> > [snip] > >> Any ideas? >> (damned, dont have a debugger ...) >> > Sounds like something could be falling out as a result of the initial > cache flush in cache_init(), possibly due to things left over from your > boot loader. You might try playing with that a bit. Hmm.. didnt enable the cache in the bootloader ... Hmm.. I have running code from a selfmade OS, with caches enabled. There I set the CCR_CACHE_ORA bit in the CCR register, as I see in the cache_init() function, this bit is never set ... Doesnt Linux want this Bit to be set? thanks bye Heiko |