From: Cmmn Ml <cm...@ya...> - 2007-05-01 13:49:44
|
Hi Nobuhiro and Paul, First of all thanks for adding support for SH7705 in the latest kernel. With the sh: Solution Engine SH7705 board and CPU updates (http://git.kernel.org/?p=linux/kernel/git/lethal/sh-2.6.git;a=commit;h=5452d25e28f365938b36f3a972fe2a1bb69a4c3e) added by Nobuhiro Iwamatsu to the sh-2.6.git and some other additional modifications, I managed to successfully run the 2.6.20.7 kernel on SH7705. In addition to the above modifications added by Nobuhiro, following additional modification was needed. As I found that the file arch/sh/kernel/cpu/sh3/entry.S is broken for SH3 in 2.6.20.7 kernel. arch/sh/kernel/cpu/sh3/entry.S ... ... #if defined(CONFIG_CPU_SH4) #define ldmmupteh(r) mov.l 8f, r #else #define ldmmupteh(r) mov #MMU_PTEH, r #endif ... ... here for the SH3 (when CONFIG_CPU_SH4 is not defined), the ldmmupteh(r) is defined as "mov #MMU_PTEH, r". At this line the compiler throws the error - "value of 00000000fffffff0 too large for field of 2 bytes at ...". The error is due to that line attempts to load a long word value as an immediate data and it can be fixed by changing it some thing similar to "mov.l 8f, r" and it works for me. Please let me know if I'm wrong with this. Further more, in my system the Default bootloader kernel arguments is "mem=32M console=ttySC0,115200 root=/dev/ram". After the above modifications, the kernel uses SCIF2 as the console output, but SCIF2 should be selected only if console=ttySC1 is used... isn't it ? I guess this is because of the modifications done to arch/sh/kernel/cpu/sh3/setup-sh7705.c Please correct me if my argument is wrong. Still I couldn't verify the JFFS2 problem (I was experiencing with 2.6.16.9) is fixed or not in 2.6.20.7 kernel. I'm looking forward to find it out, and I'll keep posting any more useful findings. Thanks again. Cmmn Nobuhiro Iwamatsu <he...@t-...> wrote: Hi , On Wed, 25 Apr 2007 14:34:19 +0900 "Nobuhiro Iwamatsu" wrote: > Hi , members. > > 2007/4/24, Paul Mundt : > > On Mon, Apr 23, 2007 at 05:00:54AM -0700, Cmmn Ml wrote: > > > We are working on a SH 7705 processor based board. > > > The linux kernel we are using is 2.6.16 with SH linux stable patch > > > (sh--stable--2.6.16). > > > > Please verify that this is still a problem with 2.6.21-rc7 or something > > similarly recent. > > SH7705 doesn't work in the latest kernel. > > I am grappling with this problem. ( not your jffs2 issue ) > Please wait for a while. > The correction code of SH7705 was committed to the sh-2.6.git repository. Thank you , Paul. Please confirm the operation in the sh-2.6.git repository. regards, Nobuhiro -- Nobuhiro Iwamatsu E-Mail : he...@t-... GPG ID : 3170EBE9 --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos. |