i am trying to initialize my ethernet driver, but unfortunately it is also not working and causing some issue.When i use any system call in the "hello.elf" ( printf, sleep ) kernel is killing the init process.It is unable to open the console!!! it seems there is a problem in the UART driver. i am attaching the sample "hello.c" program which i am using in filesystem. On Wed, Apr 15, 2009 at 7:22 AM, Fabio Estevam <fabioestevam@xxxxxxxxx> wrote: > > > --- On Tue, 4/14/09, Murali N <nalajala.murali@xxxxxxxxx> wrote: > >> From: Murali N <nalajala.murali@xxxxxxxxx> >> Subject: Re: Kernel panic while booting!!! ( Freescale i.MX35 ) >> To: fabioestevam@xxxxxxxxx >> Cc: kernelnewbies@xxxxxxxxxxxx >> Date: Tuesday, April 14, 2009, 4:29 AM >> Now i tried booting the kernel without the help of JATG ( >> Running from >> NOR ).Still i am facing the similar problem, i am not able >> to proceed >> further and not able to figure out what went wrong!!! below >> are the >> commands i am running: >> >> 1) tftpboot 0x80008000 10.232.160.221:mx35/uImage; >> 2) setenv bootargs console=ttymxc0,115200 root=/dev/ram >> init=/sbin/hello >> initrd=0x80800000,16M ip=off; >> 3) tftpboot 80800000 10.232.160.221:mx35/initrd.bin; >> 4) bootm 80008000 >> >> Any suggestions? > > Why don't you try a NFS boot? > > Regards, > > Fabio Estevam > > > > -- Regards, Murali N
Attachment:
hello.c
Description: Binary data