From: "Zatkovský Dušan" <msk.conf@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] "Embedding" default script with uboot image
Date: Wed, 30 Sep 2015 10:06:39 +0200 [thread overview]
Message-ID: <560B980F.1020502@gmail.com> (raw)
In-Reply-To: <560147AA.9080409@gmail.com>
Really nobody?
--
Dusan
D?a 22. 9. 2015 o 14:20 Zatkovsk? Du?an nap?sal(a):
> Hi all,
>
> Excuse my question if it was solved somewhere in forum, but I didn't
> found an answer yet (maybe I can't find the right keywords).
>
> I am building the uboot with yocto for imx6 board. I have started with
> some freescale defaults,
> edited environment for my needs, saved environment etc ... Now I want
> to create a custom
> "default" boot script, that will do some "heurestics", such as "look
> if usb stick is present, then boot from it, else boot from emmc, etc...".
> Currently I am storing that script on first partition on emmc and
> loading it with ext2load.
>
> But it has drawbacks:
> - user should delete that file -> brick
> - user should broke entire filesystem -> brick
>
> I want this script to be "embedded" somehow with uboot image (which is
> placed outside partition table on device), but I didn't found any doc
> how to do that.
> Currently I use CONFIG_EXTRA_ENV_SETTINGS for some basic stuffbut it
> is unmaintainable for bigger scripts.
>
> Any suggestions?
>
> Thank you.
> --
> Dusan
>
next prev parent reply other threads:[~2015-09-30 8:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 12:20 [U-Boot] "Embedding" default script with uboot image Zatkovský Dušan
2015-09-30 8:06 ` Zatkovský Dušan [this message]
2015-10-02 7:35 ` Przemyslaw Marczak
2015-10-02 9:55 ` Zatkovský Dušan
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=560B980F.1020502@gmail.com \
--to=msk.conf@gmail.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