public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: lmc83 <lmc83@cs.ccu.edu.tw>
To: linux-kernel@vger.kernel.org
Subject: some question about ramdisk
Date: Wed, 18 Apr 2001 18:14:09 +0800	[thread overview]
Message-ID: <3ADD68F1.69DC083E@cs.ccu.edu.tw> (raw)

hi,
    I have some question about initrd.
    If I have a compressed ramdisk image: initrd.gz put at a memory location
    for example: 0x00070000 (in fact, in my application, it is flash)

    1. what is the meaning of initrd_start in rd.c (linux-2.4.0)?
       Is it means 0x00070000?
       or is it means the initrd.gz will be decompressed to the
       location initrd_start?

    2. I'm tracing the rd.c and found that initrd_load() will be
       called only if initrd_start != 0, but for my testing
       case, it seems always initrd_start==0.
       Which kernel parameter can modify the initrd_start?


    3. How to tell the kernel that I have a initrd who's image
       is located 0x00070000?
       I saw the Document/kernel-parameters.txt, is seems doesn't
       have suitable parameter for me to use.
       
       Should I modify the kernel source code to fit my requirement?
       I've saw the "How-To: make root/boot disk", it use floppy's
       specific sector as ramdisk image, 
       I think is's a little similar to my application,
       I will try to just specify memory location instead of 
       reading from floppy's specific sector.

    Thanks in advance for you help

    Liang Ming-Chung

                 reply	other threads:[~2001-04-18 10:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3ADD68F1.69DC083E@cs.ccu.edu.tw \
    --to=lmc83@cs.ccu.edu.tw \
    --cc=linux-kernel@vger.kernel.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