From: Frank Wunderlich <frank-w@public-files.de>
To: barebox@lists.infradead.org
Subject: blspec - autoboot + timeout/default
Date: Sat, 5 Feb 2022 15:58:54 +0100 [thread overview]
Message-ID: <trinity-36c99dd7-0b16-47b1-b6c1-0e86097fcc99-1644073134441@3c-app-gmx-bs06> (raw)
Hi,
can i boot directly to blspec-menu (boot -m sd.1) with setting in default env and boot a specific entry (by title/filename) after some time (e.g.3-5 sec)?
i have defined some blspec files in /mnt/sd.1/loader/entries/ and i want to show the menu by default and after some time the entry from specific file should be booted. this gives user the possibility to modify this conf to define his kernel for autoboot in headless mode.
i tried to modify defaultenv/nv/boot.default, but this needs filenames in /env/boot, no commands and if i use a script, it cannot start the "boot -m sd.1" because the /env/boot scripts run bootm (tried loading barebox with such script - ended with putting a separate script in /env/bin/)
btw. is there a way to load environment from a txt file from a specific partition (similar to uboots uEnv.txt)?
regards Frank
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2022-02-05 15:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-05 14:58 Frank Wunderlich [this message]
2022-02-07 8:59 ` Sascha Hauer
2022-02-07 16:09 ` Aw: " Frank Wunderlich
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=trinity-36c99dd7-0b16-47b1-b6c1-0e86097fcc99-1644073134441@3c-app-gmx-bs06 \
--to=frank-w@public-files.de \
--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