All of lore.kernel.org
 help / color / mirror / Atom feed
From: 何勇 <hyyoxhk@163.com>
To: "Simon Glass" <sjg@chromium.org>
Cc: "U-Boot Mailing List" <u-boot@lists.denx.de>,
	 "Joe Hershberger" <joe.hershberger@ni.com>,
	"Wolfgang Denk" <wd@denx.de>
Subject: Re:Re: [PATCH v1 1/1] env: fat: Allow overriding interface, device and partition
Date: Sat, 29 Jan 2022 16:26:17 +0800 (CST)	[thread overview]
Message-ID: <2f83b48f.20f0.17ea4f13291.Coremail.hyyoxhk@163.com> (raw)
In-Reply-To: <CAPnjgZ2nJ6mk1z5O4i2sBi76QbcRDzz+C_7v-7KMkZa+zQg6Xw@mail.gmail.com>

Hi:
Override the env_fat_get_dev_part function in the board file, you can 
load env from sdcard or emmc without modifying any configuration 
of u-boot, it is very useful for  building wic firmware by yocto. 


it has been done under env/ext4.c

















At 2022-01-27 23:05:57, "Simon Glass" <sjg@chromium.org> wrote:
>Hi,
>
>On Thu, 30 Dec 2021 at 07:50, hyyxohk <hyyoxhk@163.com> wrote:
>>
>> For platform which can boot on different device, this allows
>> to override interface, device and partition from board code.
>>
>> Signed-off-by: hyyxohk <hyyoxhk@163.com>
>> ---
>>  env/fat.c              | 30 +++++++++++++++++-------------
>>  include/env_internal.h | 20 ++++++++++++++++++++
>>  2 files changed, 37 insertions(+), 13 deletions(-)
>>
>
>What is this feature used for?
>
>Regards,
>Simon
>[..]

  reply	other threads:[~2022-01-29  8:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 14:50 [PATCH v1 1/1] env: fat: Allow overriding interface, device and partition hyyxohk
2022-01-27 15:05 ` Simon Glass
2022-01-29  8:26   ` 何勇 [this message]
2022-02-11 15:05     ` Simon Glass
2022-02-17 15:16       ` hyyoxhk

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=2f83b48f.20f0.17ea4f13291.Coremail.hyyoxhk@163.com \
    --to=hyyoxhk@163.com \
    --cc=joe.hershberger@ni.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=wd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.