linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Amre El-Hoiydi <amre.el-hoiydi@csem.ch>
To: ku2911@363.net
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: RAMDISK uncompress problem.
Date: Tue, 18 Apr 2000 11:13:38 +0200	[thread overview]
Message-ID: <38FC2742.B20C4C44@csem.ch> (raw)
In-Reply-To: 001e01beca40$ab7ac4e0$57c809c0@nt4srv87


Hi,

Your cmd_line is possibly using the memory zone where the compressed
ramdisk is stored.
In arch/ppc/mbxboot/misc.c, cmd_line = 0x200000 if CONFIG_MBX is not
defined.

Amre

ku2911@363.net wrote:
>
> hello:
>     i got a problem like this:
>
> loaded at:     00100000 002C5AD0
> board data at: 001001C4 001001E0
> relocated to:  00200100 0020011C
> zimage at:     0010B1F0 0013A3F3
> initrd at:     0013A400 003116E2
> avail ram:     00312000 01000000
>
> Linux/PPC load:
> Uncompressing Linux...done.
> Now booting the kernel
> Linux version 2.2.13 (root@bigeyes) (gcc version 2.95.2 19991024 (release)) #110
>  Tue Apr 18 15:35:59 EDT 2000
> Boot arguments: root=/dev/ram
> time_init: decrementer frequency = 90000000/60
> Calibrating delay loop... 23.81 BogoMIPS
> Memory: 13768k available (356k kernel code, 352k data, 20k init) [c0000000,c1000
> 000]
> DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
> Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.2
> Based upon Swansea University Computer Society NET3.039
> Starting kswapd v 1.5
> CPM UART driver version 0.02
> ttyS00 at 0x0280 is a SMC
> ttyS01 at 0x0100 is a SCC
> ttyS02 at 0x0200 is a SCC
> RAM disk driver initialized:  16 RAM disks of 4096K size
> RAMDISK: Compressed image found at block 0
> crc error!orig_crc=0xe211d8c1,CRC_VALUE=0x40e28495
> length error! orig_len=0x400000,bytes_out=0x4000d5
>
> i added some prink() for debug ... ;)
> my ramdisk.image.gz is broken?
> but i can mount(-o loop) it in my host(i386-linux) after gunziped.
>
> and how to creat a correct ramdisk image?
>     using following step?
>         mkfs -t ext2 /dev/loop0
>         mount /dev/loop0 /mnt/rd
>                 mkdir /mnt/rd/bin  /dev ...
>                 cp bash etc. to /mnt/rd/bin ...
>                  mknod ....
>         dd if=/dev/loop0 of=./ramdisk.image
>         gzip -9 ramdisk.image
>
> what can i do?
>
> thanks for any help.
>
> b.r.
> john zhan.
> hacking time.
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-04-18  9:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-09 19:24 RAMDISK uncompress problem ku2911
2000-04-18  9:13 ` Amre El-Hoiydi [this message]
1999-07-10  4:27   ` ku2911

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=38FC2742.B20C4C44@csem.ch \
    --to=amre.el-hoiydi@csem.ch \
    --cc=ku2911@363.net \
    --cc=linuxppc-embedded@lists.linuxppc.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).