public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Gamble, Bradley <bradley.gamble@ncipher.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Multiple ramdisks in FIT image
Date: Fri, 8 Nov 2019 10:24:27 +0000	[thread overview]
Message-ID: <1573208667133.17485@ncipher.com> (raw)


Hi,


Apologies in advance if this isn't the right place to ask this question, but I'm not sure where else to ask!


I have a FIT image that currently boots a Linux Kernel (vmlinux.bin.gz), Ramdisk (rootfs.cpio.gz) and Device Tree (platform.dtb). This works fine and my default configuration looks as so:



    configurations {
        default = "conf at 1";
        conf at 1 {
            description = "Boot Linux kernel with FDT blob + ramdisk";
            kernel = "kernel at 0";
            fdt = "fdt at 0";
            ramdisk = "ramdisk at 0";
            hash at 1 {
                algo = "sha1";
            };
        };
    };


I want to extend this as to have a separate filesystem partition (ie jffs, ext2) that is mounted by Linux once the main kernel + ramdisk has booted, and will also be an image contained within the FIT tree. I am familiar with mounting Linux filesystems but my concern is whether it is possible to expose this image to the booted kernel, ie whether two ramdisks contained in the same FIT image can be mounted by Linux at boot time?


Kind regards,

BDG

                 reply	other threads:[~2019-11-08 10:24 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=1573208667133.17485@ncipher.com \
    --to=bradley.gamble@ncipher.com \
    --cc=u-boot@lists.denx.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