mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: Vivien Didelot <vivien.didelot@gmail.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH v2 2/2] ARM: zii-vf610-dev: boot initrd from SD
Date: Wed, 23 Jan 2019 19:21:18 -0800	[thread overview]
Message-ID: <CAHQ1cqFV2W=J+0RP_dA+SL=Mcxe6VN-JkRnY9W13F-RN-2nk4g@mail.gmail.com> (raw)
In-Reply-To: <20190123151620.4398-2-vivien.didelot@gmail.com>

On Wed, Jan 23, 2019 at 7:16 AM Vivien Didelot <vivien.didelot@gmail.com> wrote:
>
> As for tftp, make use of the initramfs if one is present on the SD card.
>

Makes sense:

Reviewed-by: Andrey Smirnov <andrew.smirnov@gmail.com>

> Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
> ---
>  .../boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd    | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd b/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd
> index 92dfae0ab..dd8e99ba6 100644
> --- a/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd
> +++ b/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd
> @@ -6,3 +6,8 @@ path="/mnt/mmc1.0"
>
>  global.bootm.image="${path}/zImage"
>  global.bootm.oftree="${path}/vf610-zii-${global.hostname}.dtb"
> +
> +initramfs="${path}/initramfs"
> +if [ -f "${initramfs}" ]; then
> +       global.bootm.initrd="$initramfs"
> +fi
> --
> 2.20.1
>

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2019-01-24  3:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23 15:16 [PATCH v2 1/2] ARM: zii-vf610-dev: fix boot " Vivien Didelot
2019-01-23 15:16 ` [PATCH v2 2/2] ARM: zii-vf610-dev: boot initrd " Vivien Didelot
2019-01-24  3:21   ` Andrey Smirnov [this message]
2019-01-24  3:20 ` [PATCH v2 1/2] ARM: zii-vf610-dev: fix boot " Andrey Smirnov
2019-01-24  7:37 ` Sascha Hauer

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='CAHQ1cqFV2W=J+0RP_dA+SL=Mcxe6VN-JkRnY9W13F-RN-2nk4g@mail.gmail.com' \
    --to=andrew.smirnov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=vivien.didelot@gmail.com \
    /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