LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dan Wilson" <dwilson@dslextreme.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: ram-disk root file system
Date: Wed, 17 Jan 2007 18:22:47 -0800	[thread overview]
Message-ID: <200701171822470347.16A8224A@smtp.dslextreme.com> (raw)
In-Reply-To: <45ADD61A.7020005@dlasys.net>

On 1/17/2007 at 2:54 AM David H. Lynch Jr. wrote:

>           Before you attempt to exec init, you can add code to open
> anyfile that you want on the ramdisk. opening a file requires less
> things to be right than exec'ing and that may isolate your problem
> further. I beleive you can enable system call tracing and find out more
> about where things are going off the rails.
>           You can also write a trivial hello world - one that does not
> use any libraries and very little code, and see if you can exec that.
> 

Hello world executed, which proved that the initramfs was mounted=
 correctly.

I then rebuilt busybox as a static executable, and now it runs and I get an
ash prompt.  I've still got some problems, but at least I'm moving forward
again!

Thanks for the pointer - simplifying back a hello world program was the
right move...

Best regards,

Dan.

  reply	other threads:[~2007-01-18  2:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17  5:02 ram-disk root file system Dan Wilson
2007-01-17  7:54 ` David H. Lynch Jr.
2007-01-18  2:22   ` Dan Wilson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-01-17 22:57 dwilson

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=200701171822470347.16A8224A@smtp.dslextreme.com \
    --to=dwilson@dslextreme.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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