public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew Wozniak <awozniak@mc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] hello_world crashes U-Boot
Date: Sun, 17 Apr 2005 15:26:35 -0400	[thread overview]
Message-ID: <4262B86B.9030602@mc.com> (raw)

Hi,

I still need to investigate this further, but figured that a post might 
encourage some suggestions about this interesting issue.

hello_word was built with the default Makefile for the PPC440GX and it 
runs just fine. But when it is modified so that "no" stdio is used and a 
structure init is attempted, it crashed U-Boot (see attachment) when 
hello_world returns.

int hello_world (int argc, char *argv[])
{
         struct pci_controller thehose = {0};

	app_startup(argv);
	return (0);
}

The interesting part is that when one or more stdio functions is added, 
printf() for example, there is no crash.

I was hoping that someone else might be able to reproduce this crash.

My current U-Boot image has about 8 exported functions in addition to 
the default ones. hello_world was built against this image to insure ABI 
compatibility.

Thanks for any suggestions, Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crash.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050417/d734cf83/attachment.txt 

             reply	other threads:[~2005-04-17 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-17 19:26 Andrew Wozniak [this message]
2005-04-17 21:04 ` [U-Boot-Users] hello_world crashes U-Boot Andrew Wozniak

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=4262B86B.9030602@mc.com \
    --to=awozniak@mc.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox