mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <ahmad@a3f.at>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/2] sandbox: env: set nv.autoboot=abort to drop to shell
Date: Tue, 13 Apr 2021 09:43:34 +0200	[thread overview]
Message-ID: <20210413074334.GJ19819@pengutronix.de> (raw)
In-Reply-To: <20210404111831.592821-1-ahmad@a3f.at>

On Sun, Apr 04, 2021 at 01:18:30PM +0200, Ahmad Fatoum wrote:
> barebox on sandbox defaults to network boot, which fails either due to
> missing TAP support (like not having CAP_NET_ADMIN) or because the files
> couldn't be fetched.
> 
> Arguably, the most user-friendly thing is to drop to shell. Do so.
> Users can still override nv.autoboot if they want to boot differently.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  arch/sandbox/board/env/nv/autoboot | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 arch/sandbox/board/env/nv/autoboot

Applied, thanks

Sascha

> 
> diff --git a/arch/sandbox/board/env/nv/autoboot b/arch/sandbox/board/env/nv/autoboot
> new file mode 100644
> index 000000000000..f7d13fd04662
> --- /dev/null
> +++ b/arch/sandbox/board/env/nv/autoboot
> @@ -0,0 +1 @@
> +abort
> -- 
> 2.30.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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


      parent reply	other threads:[~2021-04-13  7:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04 11:18 Ahmad Fatoum
2021-04-04 11:18 ` [PATCH 2/2] sandbox: state: reword warning about initial state errors Ahmad Fatoum
2021-04-07 10:59 ` [PATCH 1/2] sandbox: env: set nv.autoboot=abort to drop to shell Uwe Kleine-König
2021-04-13  7:43 ` Sascha Hauer [this message]

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=20210413074334.GJ19819@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=ahmad@a3f.at \
    --cc=barebox@lists.infradead.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