From: Wolfgang Wegner <wolfgang@leila.ping.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot (porting) problem on MCF5445x board
Date: Thu, 14 Jan 2010 17:15:33 +0100 [thread overview]
Message-ID: <20100114161533.GD4092@leila.ping.de> (raw)
In-Reply-To: <20100114143353.GC4092@leila.ping.de>
Hi,
two more observations:
- there are some entries in the linker script reminiscent from
and embedded environment forcing .text from start.o, traps.o,
interrupts.o, dlmalloc.o and zlib.o to the beginning of the
.text section; if I remove these, U-Boot crashes without
any output (did not yet find out where)
- when debugging properly, I can break in console.c:printf()
and get these:
Breakpoint 1, printf (fmt=0x40030000 "`? RR\213$(") at console.c:381
381 i = vsprintf(printbuffer, fmt, args);
(gdb) c
Continuing.
Breakpoint 1, printf (
fmt=0x4003e556 "Freescale MCF%d (Mask:%01x Version:%x)\n") at console.c:381
381 i = vsprintf(printbuffer, fmt, args);
(gdb) c
0x40030000 is in the middle of the .text section. Furthermore, when
stepping further with 'c' U-Boot again crashes sometime before printing
the unexpected exception report. I do not understand where this different
behaviour with and without breakpoints results from.
Maybe this gives someone more experienced a hint what I am doing
wrong.
Regards,
Wolfgang
next prev parent reply other threads:[~2010-01-14 16:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-14 14:33 [U-Boot] U-Boot (porting) problem on MCF5445x board Wolfgang Wegner
2010-01-14 16:15 ` Wolfgang Wegner [this message]
2010-01-14 16:53 ` Wolfgang Wegner
2010-01-19 13:17 ` [U-Boot] Solved: " Wolfgang Wegner
2010-01-19 14:04 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100114161533.GD4092@leila.ping.de \
--to=wolfgang@leila.ping.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.