From: Jonas Dietsche <maillist@fsforth.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] minor changes brings system to hang
Date: Tue, 21 Dec 2004 11:05:30 +0100 [thread overview]
Message-ID: <41C7F56A.60201@fsforth.de> (raw)
Hello list,
I have a strange behaviour when I try to modify my u-boot image
(u-boot-1.1.0). The same results with u-boot-1.1.1.
I use a ARM9 of NetSilicon, uclibc toolchain.
When I modify e.g. CONFIG_BOOTCOMMAND or add a define in my config file
u-boot hangs booting. Maybe I'm blind and don't see what I have forgotten...
I disassembled the working and a not working version and compared them.
They looked completely different - about 800 differences - although I
deleted only two characters in the CONFIG_BOOTCOMMAND string.
What catched my eye were the start, bss_start and bss_end addresses.
Here the output of the working image:
00f80044 <_armboot_start>:
f80044: 00f80000 rsceqs r0, r8, r0
00f80048 <_bss_start>:
f80048: 00f9e308 rsceqs lr, r9, r8, lsl #6
00f8004c <_bss_end>:
f8004c: 00fa2784 rsceqs r2, sl, r4, lsl #15
and the output of the damaged one
00f80044 <_armboot_start>:
f80044: 00f80000 rsceqs r0, r8, r0
00f80048 <_bss_start>:
f80048: 00f9e300 rsceqs lr, r9, r0, lsl #6
00f8004c <_bss_end>:
f8004c: 00fa277c rsceqs r2, sl, ip, ror r7
The output fragment I get when u-boot boots is
ot code: 00F80000 -> 00F9E308 BSS: -> 00FA2784
Stack: 0badc0de
Stack: 0badc0de
Configuration:
#0: 00000000 16 MB?
The bss_start and bss_end addresses do not correspond to the addresses
of the disassembled image.
Any suggestions?
Thanks for your help,
--
Jonas Dietsche
next reply other threads:[~2004-12-21 10:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 10:05 Jonas Dietsche [this message]
2004-12-21 10:28 ` [U-Boot-Users] minor changes brings system to hang Marc Leeman
2004-12-21 11:03 ` Jonas Dietsche
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=41C7F56A.60201@fsforth.de \
--to=maillist@fsforth.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.