LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-21-2009, 03:32 AM   #1
mangeshwanjari
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
kernel boot process hangs after : Now booting the kernel


Respected sir,

I have solved almost every problem but the one with booting kernel is still there.

Actually I'm using EDK 8.2i to built the montavista kernel on the xilinx xup virtex II pro FPGA board as per the tutorial by J. W. Donaldson.
I'm using UARTLite and no ethernet configuration. I have created the system.ace file and put it on the CF card.

Now when I boot the kernel, I get:

loaded at: 00400000 004611E0
board data at: 0045E138 0045E150
relocated to: 00405318 00405330
zimage at: 0040581D 0045D524
avail ram: 00462000 10000000

Linux/PPC load: console=ttyS0,9600
Uncompressing Linux...done.
Now booting the kernel

and then system hangs in windows and reboots in Linux on minicom.
I'm not very sure whether it is crashed or hangs or in infinite loop.

I'm using only 256 MB RAM so that is also not a problem which have been stated for this bug in the tutorial.
I'm stuck up at the point.

Please, please help me.

Best regards
Mangesh Wanjari
VNIT Nagpur, INDIA
 
Old 05-22-2009, 12:10 AM   #2
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 17
Try stopping firewall services.
 
Old 05-22-2009, 11:09 PM   #3
mangeshwanjari
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you Mr GrepLinux for quick reply.

But it does not work. Already no firewall service is on.
Still I have tried to do that.

I will appreciate if somebody can help me.

Best Regards
Mangesh Wanjari
 
Old 05-25-2009, 02:35 AM   #4
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 17
Which boot loader are you using?
Can you please post the boot time commands you are using?
 
Old 05-25-2009, 02:49 AM   #5
mangeshwanjari
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Here I'm not having any stadard bootloader like grub or lilo.
I'm using SystemACE chip available on the board and Xilinx provides one script
to generate the file with .ace extension which works as a bios and also loads the
bitstream into the FPGA to configure hardware onto the board before booting.
I think the bootloader also is encarporated into this file.
 
Old 09-25-2009, 08:54 PM   #6
hilbertyhb
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
I encountered the same problem, I will appreciate for any help!
 
Old 09-26-2009, 12:49 AM   #7
mangeshwanjari
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
This problem is due to the memory map... in my kernel the memory map created was having some addresses which were falling into the range 256 MB to 512MB and I was using 256 MB SDRAM. I have changed to 512MB memory and it worked fine.
 
Old 09-27-2009, 06:14 AM   #8
hilbertyhb
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
Thanks for you help, I will check the memory mapping.
 
Old 09-27-2009, 08:54 AM   #9
hilbertyhb
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
when I boot the kernel , occur

loaded at: 00400000 004BD13C
board data at: 00000000 00000018
relocated to: 00405098 004050B0
zimage at: 00405A19 004BA9BA
avail ram: 004BE000 79391000

Linux/PPC load: console=ttyS0,115200,root=/dev/xsa2 rw
Uncompressing Linux...done.
Now booting the kernel

then hangs,
I power off the board and then boot kernel ,

avail ram: 004BE000 69200000
the rest is same with above information

why? I will appreciate you if you can help me.
 
Old 10-01-2009, 05:15 AM   #10
hilbertyhb
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
I have found the solusion of that problem, it need to change the version of ppc cross-compile tool.
powerpc-405-linux-gnu-3.4.5 is ok!

Last edited by hilbertyhb; 10-01-2009 at 05:18 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel-xen booting hangs hans21 Linux - Kernel 4 06-25-2008 10:13 AM
Booting process stops while loading kernel stelmed Slackware 1 05-25-2005 05:25 AM
Kernel 2.6.5 Hangs During Boot jrbush82 Linux - Software 3 04-27-2004 12:49 PM
Boot hangs with 2.4.18 and 2.4.19 kernel donni Linux - Newbie 1 10-31-2003 09:30 PM
kernel hangs/loops when booting Kellvyn Slackware 6 07-12-2002 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration