[Celinux-dev] Linux kernel hangs while booting on hardware
Bill Traynor
wmat at naoi.ca
Fri Dec 15 05:47:19 PST 2006
On 12/15/06, Ashay Jaiswal <ashayj at kpitcummins.com> wrote:
> Hello all,
>
> I have successfully build SH4-Linux toolchain based on
> (binutils-2.17, gcc-4.1.1, glibc-2.5) for Renesas SH target.
>
> I am trying to cross compile Linux-2.6.17 using the above mentioned
> Cross-toolchain for Renesas target (sh-7751R2D+).
Ashay, although some on this list may be able to help, you may wish to
pose your question on the linuxsh-dev mailing list found here:
https://lists.sourceforge.net/lists/listinfo/linuxsh-dev
You also may wish to try with the current kernel.
>
> I am facing following problem while booting kernel on the target:
> In "arch/sh/kernel/timers/timer-tmu.c" file:
> In "tmu_timer_init" function 'interval' variable is assigned 0
> value and thus kernel hangs while "initializing tmu".
>
> Observation:
> In "arch/sh/kernel/cpu/clock.c"-
> In function "clk_get" the initial value of rate (member of clk
> structure) is 0.
>
> I have initialized 'interval' variable to 80000(hard coded in kernel
> source)
> It then boots further but hangs after "Freeing unused kernel memory: 84k
> freed"
>
> After investigating into the kernel source I observed following problem:
>
> In "init/main.c" file
> Kernel hangs while executing "run_init_process" ("/sbin/init") even
> though "init"
> is present in sbin folder.
>
> I tried to execute some binaries using 'exec' system call in the kernel
> source
> but kernel hangs while executing 'exec' call.
>
> When tried with GCC-3.4.6 based toolchain (for cross compiling kernel)
> kernel
> boots properly on hardware.
>
> Any help on this will be appreciated.
>
> Regards,
> Ashay Jaiswal
> KPIT Cummins Infosystems Ltd,
> Pune (INDIA)
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~
> Free download of GNU based SH-Linux toolchains for Renesas' SH Series.
> The following site also offers free technical support to its users.
> Visit http://www.kpitgnutools.com for details.
> Latest versions of KPIT GNU SH-Linux tools were released on September
> 27, 2006.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~
>
> _______________________________________________
> Celinux-dev mailing list
> Celinux-dev at tree.celinuxforum.org
> http://tree.celinuxforum.org/mailman/listinfo/celinux-dev
>
More information about the Celinux-dev
mailing list