From: "Cristian Axenie" <cristian.axenie@gmail.com>
To: "Nicholas Mc Guire" <hofrat@hofr.at>,
linuxppc-embedded@ozlabs.org,
"Joachim Foerster" <mls.JOFT@gmx.de>
Subject: Re: USB Flash rootfs prep!
Date: Sun, 16 Nov 2008 16:21:52 +0200 [thread overview]
Message-ID: <9c789a000811160621o2ffb9051qff57d006a3af60f@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0811150700530.5061@vlab.hofr.at>
[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]
On Sat, Nov 15, 2008 at 6:02 PM, Nicholas Mc Guire <hofrat@hofr.at> wrote:
> > >
> >
> > I mount my ext2.img and run ls -l and I get
> >
> > crw-r----- 1 root root 5, 1 2008-11-15 02:24 console
> >
> > I think is not ok ?!
> >
> >
>
> thats fine - so that should not be your problem.
>
> what is the console device set to ? can you pass it an explicid
>
> console=/dev/ttyS0 or the like to map it to a device that exists for sure
> and is in /dev/ ? off course you also have to check that the driver
> support is in the kernel.
>
> hofrat
I've managed to solve my problem. I took a clean ramdisk (that came with the
ELDK) mount it , added my needed libs, devs and test apps , then generated
an ramdisk.img (using genext2fs) , compressed it and then created an uBoot
image file. The modified rootfs is now on my USB Flash stick and it works.
My USB Flash rootfs is loaded properly by the kernel and related to my
initial problem, to be more specific, I've created a root filesystem on my
USB Flash stick where I added the xenomai dir (including /bin /lib
/include...) generated during the Xenomai (from the trunk) install and also
the devices rtheap rtp0... in the /dev directory of my FS. I also used the
proper libc-2.6 standard shared libraries so the dynamic linker does't send
a SIGSEGV anymore and I am able now to run ./latency or ./cyclictest). I
don't receive SegFault anymore.
Thanks to all,
Cristian
[-- Attachment #2: Type: text/html, Size: 1844 bytes --]
prev parent reply other threads:[~2008-11-16 14:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-15 1:05 USB Flash rootfs prep! Cristian Axenie
2008-11-15 8:18 ` Joachim Foerster
[not found] ` <9c789a000811150112q3088a044ub8b38489b2119a60@mail.gmail.com>
2008-11-15 9:12 ` Cristian Axenie
2008-11-15 10:01 ` Nicholas Mc Guire
2008-11-15 10:17 ` Cristian Axenie
2008-11-15 10:40 ` Nicholas Mc Guire
2008-11-15 11:15 ` Cristian Axenie
2008-11-15 12:12 ` Cristian Axenie
[not found] ` <Pine.LNX.4.58.0811150700530.5061@vlab.hofr.at>
2008-11-16 14:21 ` Cristian Axenie [this message]
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=9c789a000811160621o2ffb9051qff57d006a3af60f@mail.gmail.com \
--to=cristian.axenie@gmail.com \
--cc=hofrat@hofr.at \
--cc=linuxppc-embedded@ozlabs.org \
--cc=mls.JOFT@gmx.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;
as well as URLs for NNTP newsgroup(s).