From: Heiko S. <hei...@in...> - 2007-11-10 19:01:23
|
Hello Adrian, Adrian McMenamin schrieb: > On Sat, 2007-11-10 at 18:06 +0100, Heiko Schocher wrote: >> Hello, >> >> I get the newest kernel from >> git clone git://newgolddream.dyndns.info/ > > Well, that's my Dreamcast git and it has some patches to get the kernel > to work with ST's compiler and that may well be the reason. By all means > use it but it has no official status and there is certainly no guarantee > it will work at any given time. > > Go to git.kernel.org instead. > Ups, didnt know this. Thought this is the "SH linux kernel", which contains the newest special SH patches (like the patches from this mailinglist), before they go into the mainline ... Is there somewhere such a special sh-linux kernel? BTW: I get this kernel compiling and running on a SH7750R based board without caches :-), following patch is additionally needed: diff --git a/include/asm-sh/cacheflush.h b/include/asm-sh/cacheflush.h index b912461..9d528ad 100644 --- a/include/asm-sh/cacheflush.h +++ b/include/asm-sh/cacheflush.h @@ -43,7 +43,7 @@ extern void __flush_purge_region(void *start, int size); extern void __flush_invalidate_region(void *start, int size); #endif -#ifdef CONFIG_CPU_SH4 +#if defined(CONFIG_CPU_SH4) && !defined(CONFIG_CACHE_OFF) extern void copy_to_user_page(struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len); I think, that has nothing to do with some special ST compiler, it should be fixed, or? (Same as my patch from today Date: Sat, 10 Nov 2007 18:06:59 +0100) Now I trying the sources from git.kernel.org ... One more question, if I have my board finally running, against which kernel have i do to make my patches? bye Heiko |