linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Error in head-common.S file while ARM Linux booting
@ 2011-04-21 10:31 Madhavi Manchala
  2011-04-21 20:22 ` Nicolas Pitre
  0 siblings, 1 reply; 4+ messages in thread
From: Madhavi Manchala @ 2011-04-21 10:31 UTC (permalink / raw)
  To: linux-arm-kernel

Dear All,

I have developed machine code for my Samsung S3C2510A MCU under Linux
kernel 2.6.36. The code exists at arch/arm/mach-s3c2510a. I developed
only CPU, UART and Clocks initialization code, especially. For
developing the S3C2510A HAL code, I have gone through the existing
mach-s3c2410 code.

I build vmlinux image on a Linux box in the ELF format for my Samsung
MCU. Then, I am trying to load the build vmlinux image on to my
device?s (targets) RAM area using J-link J-TAG and J-LinkGDBServer
tool with a gdbinit script file from Cygwin on a Windows XP system.
The gdb init script file initializes the CPU system configuration
registers, RAM, Flash and UART registers and then loads ELF image.

I am able to put break points in the developed HAL code. However, when
I run (continue) from gdb prompt, I did not see any break points in
the GDB server tool, but, when I press ?Ctrl+C?, I am seeing the
following messages.

<gdb> break s3c2510a_init
Breakpoint 1 at 0x3000b648: file arch/arm/mach-s3c2510a/s3c2510a.c, line 59.
<gdb> c
Continuing.

Pressing ?control+c?, then the statements are as follows.

Program received signal SIGTRAP, Trace/Breakpoint trap.
__error_p () at head-common.S:142

<gdb>bt
#0 __error_p () at head-common.S:142

Why am I seeing these errors? Am I missing any CPU configuration, still?

FYI: I build the kernel with debugging information enabled i.e. I set
CONFIG_DEBUG_KERNEL to y. I did not see any debug messages in the
hyper terminal.
I have gone through the following links. However, there are all based
on the 2.4.x kernel versions. I think, they are slightly different.
http://gicl.cs.drexel.edu/people/sevy/linux/ARM_Linux_boot_sequence.html
http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html

Any hints/help/links would be appreciated.

Thanks and Regards,
Madhavi M.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-11 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 10:31 Error in head-common.S file while ARM Linux booting Madhavi Manchala
2011-04-21 20:22 ` Nicolas Pitre
2011-05-05  7:24   ` Madhavi Manchala
2011-05-11 19:58     ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).