From: Oliver Korpilla <okorpil@fh-landshut.de>
To: Tom Rini <trini@kernel.crashing.org>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Initrd and PPCbug, can it work?
Date: Tue, 27 Apr 2004 08:39:06 +0200 [thread overview]
Message-ID: <408E000A.6040303@fh-landshut.de> (raw)
In-Reply-To: <20040426220944.GI19246@smtp.west.cox.net>
Tom Rini wrote:
>>Is this even possible with the PPCbug, or do I need a Linux-friendly
>>bootloader? I initially guessed, that if at bootup everything is
>>relocated, that would actually suffice, and no additional information from
>>the bootloader is required??
>>
>>
>
>It works from PPCBug. At least with cramfs, I _believe_ there is, or
>has been a problem with creating an image on an LE machine for a BE
>machine, and vice versa. What happens when you try and use an ext2
>ramdisk?
>
>
>
Tried this initially, and it didn't work - will try again, to supply you
with the exact messages later today (I'm not in work yet - lazy, lazy! :) )
The steps for my initrd image - AFAI can remember:
I made a file with
dd if=/dev/zero of=initrd.img bs=1k count=8192
(Made an ext2 on it, don't quite remember the command, but mounted ok!)
(as root)
mount --t ext2 -o loop initrd.img tmp/
cp -ar rootfs/ tmp
umount tmp/
(as me)
gzip -9 -c initrd.img > initrd.bin
(and copied it into the kernel dir)
cp initrd.bin <kernel_dir>/arch/ppc/boot/simple/images/ramdisk.image.gz
cd <kernel_dir>
make zImage.initrd
Is this correct, or is there anywhere a wrong assumption in between?
(Actually getting this ramdisk to boot seems to be getting more
important all the time, because the flash chip support in Memory
Technology Devices seems to be broken for good and so I cannot make a
flash fs like jffs2 over it, or a FTL-ext2... looks more and more I'm
running out of options :) )
Thanks and with kind regards,
Oliver Korpilla
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-04-27 6:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-21 13:16 Initrd and PPCbug, can it work? okorpil
2004-04-26 22:09 ` Tom Rini
2004-04-27 6:39 ` Oliver Korpilla [this message]
2004-04-27 7:18 ` Marius Groeger
2004-04-27 8:50 ` Oliver Korpilla
2004-04-27 9:22 ` Marius Groeger
2004-04-27 9:42 ` Oliver Korpilla
2004-04-27 10:48 ` Magnus Damm
2004-04-27 12:42 ` Oliver Korpilla
2004-04-27 11:13 ` Marius Groeger
2004-04-27 12:45 ` Oliver Korpilla
2004-04-27 13:39 ` Magnus Damm
2004-04-27 16:17 ` Different solution Oliver Korpilla
2004-04-28 7:28 ` Oliver Korpilla
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=408E000A.6040303@fh-landshut.de \
--to=okorpil@fh-landshut.de \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=trini@kernel.crashing.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;
as well as URLs for NNTP newsgroup(s).